-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
5.0.4
-
None
https://sourceforge.net/tracker/?func=detail&aid=3066512&group_id=152762&atid=785194
add a new attribute to traversal method of ZK component
such as getParent(Component);
//getNextSibling() , getChild(), .... also could do this
Example ZUL :
...
<div>
<grid>
<row>
<hlayout>
<span id="myspan">
....
Usage :
Div myDiv = myspan.getParent(div);
//return the first DIV found during getParent()
Origional :
Div myDiv = (Div) myspan.getParent().getParent().getParent().getParent();
//need to get A LOT and cast it to my DIV