Revision history [back]

click to hide/show revision 1
initial version

answered 2017-05-31 05:25:09 +0800

chillworld gravatar image chillworld flag of Belgium

https://github.com/chillw...

Your answer is actually in the link that I provided.

You can use the class [selectors].
(http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/select/Selectors.html)

You can use this method : find(Component root, java.lang.String selector)

These are the selectors :

  • find(root,"#componentId")
  • find(root,"tagName")
  • find(root,".className")
  • find(root,":root")
  • find(root,"button[label='Submit']")
  • find(root,"window > button")

Chill.

Your answer is actually in the link that I provided.

You can use the class [selectors].selectors.
(http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/select/Selectors.html)

You can use this method : find(Component root, java.lang.String selector)

These are the selectors :

  • find(root,"#componentId")
  • find(root,"tagName")
  • find(root,".className")
  • find(root,":root")
  • find(root,"button[label='Submit']")
  • find(root,"window > button")

Chill.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More