]
Nick Belaevski updated RF-9987:
-------------------------------
Fix Version/s: 4.0.0.CR1
(was: Future_4.X)
rich:treeModelRecursiveAdaptor - programmatic model able to support
isLeaf() condition on Node
----------------------------------------------------------------------------------------------
Key: RF-9987
URL:
https://issues.jboss.org/browse/RF-9987
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.Milestone5
Reporter: Lukas Fryc
Assignee: Nick Belaevski
Fix For: 4.0.0.CR1
With current implementation, you can only model your class similarly to following class:
public class Node {
int number;
List<Node> nodes;
List<Integer> leaves;
public Node(int number) {
this.number = number;
}
public int getNumber() {
return number;
}
public List<Node> getNodes() {
return nodes;
}
public List<Integer> getLeaves() {
return leaves;
}
}
I suggest to introduce mechanism for defining tree model without the need for getLeaves()
function and replacing it with boolean isLeaf() method.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: