Package org.exoplatform.webui.form

Examples of org.exoplatform.webui.form.UIFormPageIterator


         uiInputSet.addChild(uiInfo);
         uiTableInputSet.addChild(uiInputSet);
         uiInputSetList.add(uiInputSet);
         i++;
      }
      UIFormPageIterator uiIterator = uiTableInputSet.getChild(UIFormPageIterator.class);
      SerializablePageList<UIFormInputSet> pageList = new SerializablePageList<UIFormInputSet>(UIFormInputSet.class, uiInputSetList, 10);
      uiIterator.setPageList(pageList);
   }
View Full Code Here


        UICheckBoxInput uiPublicMode = new UICheckBoxInput("publicMode", null, false);
        addChild(uiPublicMode);
        UIFormGrid uiGrid = addChild(UIFormGrid.class, null, "PermissionGrid");
        uiGrid.setLabel("UIListPermissionSelector");
        uiGrid.configure("expression", new String[] { "groupId", "membership" }, new String[] { "Delete" });
        UIFormPageIterator uiIterator = (UIFormPageIterator) uiGrid.getUIPageIterator();
        uiIterator
                .setPageList(new SerializablePageList<Permission>(Permission.class, Collections.<Permission> emptyList(), 10));
        addChild(uiIterator);
        uiIterator.setRendered(false);
        UIFormPopupWindow uiPopup = addChild(UIFormPopupWindow.class, null, null);
        uiPopup.setWindowSize(540, 0);

        UIGroupMembershipSelector uiMembershipSelector = createUIComponent(UIGroupMembershipSelector.class, null, null);
        uiMembershipSelector.setId("ListPermissionSelector");
View Full Code Here

        public void validate(UIFormInput uiInput) throws Exception {
            UIListPermissionSelector uiInputContainer = (UIListPermissionSelector) uiInput;
            if (uiInputContainer.isPublicMode()) {
                return;
            }
            UIFormPageIterator uiInputIterator = uiInputContainer.findFirstComponentOfType(UIFormPageIterator.class);
            if (uiInputIterator.getAvailable() < 1) {
                String[] args = { "UITabPane.title.UIListPermissionSelector" };
                throw new MessageException(new ApplicationMessage("EmptyIteratorValidator.msg.empty", args,
                        ApplicationMessage.INFO));
            }
        }
View Full Code Here

            uiInputSet.addChild(uiInfo);
            uiTableInputSet.addChild(uiInputSet);
            uiInputSetList.add(uiInputSet);
        }

        UIFormPageIterator uiIterator = uiTableInputSet.getChild(UIFormPageIterator.class);
        SerializablePageList<UIFormInputSet> pageList = new SerializablePageList<UIFormInputSet>(UIFormInputSet.class,
                uiInputSetList, 5);
        uiIterator.setPageList(pageList);
    }
View Full Code Here

            uiInputSet.addChild(uiInfo);
            uiTableInputSet.addChild(uiInputSet);
            uiInputSetList.add(uiInputSet);
            i++;
        }
        UIFormPageIterator uiIterator = uiTableInputSet.getChild(UIFormPageIterator.class);
        SerializablePageList<UIFormInputSet> pageList = new SerializablePageList<UIFormInputSet>(UIFormInputSet.class,
                uiInputSetList, 10);
        uiIterator.setPageList(pageList);
    }
View Full Code Here

      UIFormCheckBoxInput<Boolean> uiPublicMode = new UIFormCheckBoxInput<Boolean>("publicMode", null, false);
      addChild(uiPublicMode);
      UIFormGrid uiGrid = addChild(UIFormGrid.class, null, "PermissionGrid");
      uiGrid.setLabel("UIListPermissionSelector");
      uiGrid.configure("expression", new String[]{"groupId", "membership"}, new String[]{"Delete"});
      UIFormPageIterator uiIterator = (UIFormPageIterator)uiGrid.getUIPageIterator();
      uiIterator.setPageList(new SerializablePageList<Permission>(Permission.class, Collections.<Permission>emptyList(), 10));
      addChild(uiIterator);
      uiIterator.setRendered(false);
      UIFormPopupWindow uiPopup = addChild(UIFormPopupWindow.class, null, null);
      uiPopup.setWindowSize(540, 0);

      UIGroupMembershipSelector uiMembershipSelector = createUIComponent(UIGroupMembershipSelector.class, null, null);
      uiMembershipSelector.setId("ListPermissionSelector");
View Full Code Here

         UIListPermissionSelector uiInputContainer = (UIListPermissionSelector)uiInput;
         if (uiInputContainer.isPublicMode())
         {
            return;
         }
         UIFormPageIterator uiInputIterator = uiInputContainer.findFirstComponentOfType(UIFormPageIterator.class);
         if (uiInputIterator.getAvailable() < 1)
         {
            String[] args = {"UITabPane.title.UIListPermissionSelector"};
            throw new MessageException(new ApplicationMessage("EmptyIteratorValidator.msg.empty", args,
               ApplicationMessage.INFO));
         }
View Full Code Here

         uiInputSet.addChild(uiInfo);
         uiTableInputSet.addChild(uiInputSet);
         uiInputSetList.add(uiInputSet);
      }
     
      UIFormPageIterator uiIterator = uiTableInputSet.getChild(UIFormPageIterator.class);
      SerializablePageList<UIFormInputSet> pageList = new SerializablePageList<UIFormInputSet>(
         UIFormInputSet.class, uiInputSetList, 5
      );
      uiIterator.setPageList(pageList);
   }
View Full Code Here

        UICheckBoxInput uiPublicMode = new UICheckBoxInput("publicMode", null, false);
        addChild(uiPublicMode);
        UIFormGrid uiGrid = addChild(UIFormGrid.class, null, "PermissionGrid");
        uiGrid.setLabel("UIListPermissionSelector");
        uiGrid.configure("expression", new String[] { "groupId", "membership" }, new String[] { "Delete" });
        UIFormPageIterator uiIterator = (UIFormPageIterator) uiGrid.getUIPageIterator();
        uiIterator
                .setPageList(new SerializablePageList<Permission>(Permission.class, Collections.<Permission> emptyList(), 10));
        addChild(uiIterator);
        uiIterator.setRendered(false);
        UIFormPopupWindow uiPopup = addChild(UIFormPopupWindow.class, null, null);
        uiPopup.setWindowSize(540, 0);

        UIGroupMembershipSelector uiMembershipSelector = createUIComponent(UIGroupMembershipSelector.class, null, null);
        uiMembershipSelector.setId("ListPermissionSelector");
View Full Code Here

        public void validate(UIFormInput uiInput) throws Exception {
            UIListPermissionSelector uiInputContainer = (UIListPermissionSelector) uiInput;
            if (uiInputContainer.isPublicMode()) {
                return;
            }
            UIFormPageIterator uiInputIterator = uiInputContainer.findFirstComponentOfType(UIFormPageIterator.class);
            if (uiInputIterator.getAvailable() < 1) {
                String[] args = { "UITabPane.title.UIListPermissionSelector" };
                throw new MessageException(new ApplicationMessage("EmptyIteratorValidator.msg.empty", args,
                        ApplicationMessage.INFO));
            }
        }
View Full Code Here

TOP

Related Classes of org.exoplatform.webui.form.UIFormPageIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.