Package com.saperion.ngc.util
Class ComponentHandler
java.lang.Object
com.saperion.ngc.util.ComponentHandler
ComponentHandler is a utility class to provide methods for operations on zul components.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.zkoss.zk.ui.Component
findComponentById
(org.zkoss.zk.ui.Component comp, String id) Searches all children of the given component (incl.
-
Method Details
-
findComponentById
public static org.zkoss.zk.ui.Component findComponentById(org.zkoss.zk.ui.Component comp, String id) Searches all children of the given component (incl. children of children) for a child with the given ID. If no child is foundnull
is returned.- Parameters:
comp
- Componentid
- Component id- Returns:
- Component
-