/** * Needed to find out JQMPage widget by its Element received usually from JavaScript. * <br> Only loaded (attached to DOM) pages can be found. **/ public static JQMPage findPage(Element elt) { if (elt == null) return null; Widget w = JQMCommon.findWidget(elt); return w instanceof JQMPage ? (JQMPage) w : null; }
/** * Needed to find out JQMPage widget by its Element received usually from JavaScript. * <br> Only loaded (attached to DOM) pages can be found. **/ public static JQMPage findPage(Element elt) { if (elt == null) return null; Widget w = JQMCommon.findWidget(elt); return w instanceof JQMPage ? (JQMPage) w : null; }
/** * Needed to find out JQMPage widget by its Element received usually from JavaScript. * <br> Only loaded (attached to DOM) pages can be found. **/ public static JQMPage findPage(Element elt) { if (elt == null) return null; Widget w = JQMCommon.findWidget(elt); return w instanceof JQMPage ? (JQMPage) w : null; }
protected static JQMSelect findCombo(Element elt) { Widget w = JQMCommon.findWidget(elt); while (w != null) { if (w instanceof JQMSelect) return (JQMSelect) w; w = w.getParent(); } return null; }
protected static JQMSelect findCombo(Element elt) { Widget w = JQMCommon.findWidget(elt); while (w != null) { if (w instanceof JQMSelect) return (JQMSelect) w; w = w.getParent(); } return null; }
protected static JQMSelect findCombo(Element elt) { Widget w = JQMCommon.findWidget(elt); while (w != null) { if (w instanceof JQMSelect) return (JQMSelect) w; w = w.getParent(); } return null; }