JBoss.orgCommunity Documentation
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
selectorClass | string | ![]() | The component to display. | selectorClass=org.exoplatform.ecm.webui.tree.selectone.UIOneNodePathSelector |
selectorIcon | string | ![]() | The action icon. | selectorIcon=SelectPath24x24Icon |
Depending on the selectorClass
, some other parameters can be added.
For example, the component org.exoplatform.ecm.webui.tree.selectone.UIOneNodePathSelector
needs the following parameter:
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
workspaceField | string | ![]() | The field which enables you to select a workspace. | workspaceField=targetWorkspace |
The component org.exoplatform.ecm.webui.selector.UIPermissionSelector
does not need any special parameters.
See also: Common parameters
<%
String[] fieldPath = ["jcrPath=/node/exo:targetPath", "selectorClass=org.exoplatform.ecm.webui.tree.selectone.UIOneNodePathSelector", "workspaceField=targetWorkspace", "selectorIcon=SelectPath24x24Icon"] ;
uicomponent.addActionField("targetPath", fieldPath) ;
%>