Creating a JCR Client Node Provider
The JCR Client Node Provider enables you to update the properties of a JCR node, for example, the description of a folder, or update the properties of items in the folder.
You must enable the JCR client for your CAF application before you can use a JCR provider. For more information, see
Enabling the JCR Client for a CAF
Application.
When you create a node provider, you drag a folder from the MWS Admin view or Palette view into the Bindings view to add a provider to a managed bean, instead of dragging a folder onto the design canvas.
To use the Node Provider
1. In the UI Development perspective, click the MWS Admin view or Palette view, select drag the folder containing the items with the properties that you want to update to the managed bean in the Bindings view.
2. Click Node Provider, and then click Finish.
3. In the Bindings View, right-click the new provider, click Add, and then click Import Property Names.
4. In the RepositoryURL text box, type the URL to the repository.
5. In the UserName text box, type the user name.
6. In the Password text box, type the password, and then click Next.
7. Select the JCR node type property that you want to update, and then click Finish. The properties are added to the Bindings view under the new provider.
8. Drag the property that you want to update into the form on the design canvas.
9. Drag Node > Save() into the form on the design canvas.
Related Topics