Class LookupQueryPopup


  • public final class LookupQueryPopup
    extends java.lang.Object
    Helper class for advanced form-based lookup-query-popups.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void openPopup​(AdvancedLookupField field, java.lang.String formName, java.lang.String title, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> listener)
      Opens the query form.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • openPopup

        public static void openPopup​(AdvancedLookupField field,
                                     java.lang.String formName,
                                     java.lang.String title,
                                     org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> listener)
        Opens the query form.
        Parameters:
        field - the parent field this popup belongs to
        formName - name of the form to open
        title - title of the window the form will be contained in
        listener - listener to call when the user selected a row in the forms result set. The listener will be called with a generic Event containing the selected row as ResultProperties in it's data field.