[richfaces-issues] [JBoss JIRA] Updated: (RF-10934) tree: simple variant of using default treeNode should not require var definition.

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Mon Apr 18 15:50:33 EDT 2011


     [ https://issues.jboss.org/browse/RF-10934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Shaikovsky updated RF-10934:
---------------------------------

    Description: 
I created simple swing tree node and added next page definition:
		<h:form>
			<rich:tree value="#{swingTreeNodeBean.rootNodes}" />
		</h:form>
that code rendered nothing. 
After var addition:
		<h:form>
			<rich:tree value="#{swingTreeNodeBean.rootNodes}" var="node" />
		</h:form>
it started to work as expected.

I think var should not  be mandatory for that case.

  was:
I created simple swing tree node and added next page definition:
		<h:form>
			<rich:tree value="#{swingTreeNodeBean.rootNodes}" />
		</h:form>
that code rendered nothing. 
After var addition:

        Affects: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial]


> tree: simple variant of using default treeNode should not require var definition.
> ---------------------------------------------------------------------------------
>
>                 Key: RF-10934
>                 URL: https://issues.jboss.org/browse/RF-10934
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 4.0.0.Final
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>
> I created simple swing tree node and added next page definition:
> 		<h:form>
> 			<rich:tree value="#{swingTreeNodeBean.rootNodes}" />
> 		</h:form>
> that code rendered nothing. 
> After var addition:
> 		<h:form>
> 			<rich:tree value="#{swingTreeNodeBean.rootNodes}" var="node" />
> 		</h:form>
> it started to work as expected.
> I think var should not  be mandatory for that case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list