This content has been marked as final.
Show 3 replies
-
1. Re: rich:tree - masking unneccesary nodes/elements
nbelaevski Jun 10, 2009 3:58 AM (in response to samfisher2009)Hi Sam,
Use "includedNode" attribute to define boolean expression specifying condition for nodes inclusion. -
2. Re: rich:tree - masking unneccesary nodes/elements
samfisher2009 Jun 10, 2009 7:45 AM (in response to samfisher2009)Hi nbelaevski,
thanks for your quick answer. I've tried this before, but could not succeed with this approach.
If you have an concrete idea, please let me know.
This approach works fine for the 3rd level, because within this level I could useincludedNode="#{!empty itema3.children}"
to determine whether the 3rd level has children or not.
But there must be a possibility to determine from the 1st/2nd level, whether the 3rd level has children or not.
Sorry, but I'm a beginner with JSF/Trees...
Thanks for your help,
Sam -
3. Re: rich:tree - masking unneccesary nodes/elements
nbelaevski Jun 10, 2009 8:53 AM (in response to samfisher2009)Sam,
Create the property that will return true or false for this condition just in model.