[ http://jira.jboss.com/jira/browse/RF-3781?page=all ]
Mikhail Vitenkov closed RF-3781.
--------------------------------
Resolution: Rejected
Assignee: Mikhail Vitenkov (was: Nick Belaevski)
Not a bug: component submit should be added.
> tree: problem with getRowData() in rich:tree component. It's difficult to
> output selected treeNode.
> ---------------------------------------------------------------------------------------------------
>
> Key: RF-3781
> URL: http://jira.jboss.com/jira/browse/RF-3781
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2
> Environment: IE,FF,Safari,Opera
> Reporter: Mikhail Vitenkov
> Assigned To: Mikhail Vitenkov
>
> Step 1. Implement method, that save name of selected node in rich:tree
> component like this:
> public void processLSelection(NodeSelectedEvent event) {
> UITree tree = (UITree) event.getComponent();
> leftSelectedNodeTitle = (String) tree.getRowData();
> }
> Step 2. Implement getter & setter for leftSelectedNodeTitle.
> Step 3. On the page add nodeSelectListener inside rich:tree tag, like this:
> nodeSelectListener="#{treeDndBean.processLSelection}"
> Step 4.Output selected node's title:
> <h:outputText escape="false"
> value="Selected Node:
> <b>#{treeDndBean.leftSelectedNodeTitle}</b>"
> id="selectedNodeL" />
> Step 5. Navigate on the page, contained tree component.
> Step 6. Select any node of tree & verify output value of h:outputText defined
> in Step 4.
> Actual behavior:
> Value is empty;
> Expected behavior:
> Selected node's title should be shown
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues