Package org.exoplatform.webui.form.UIFormInputWithActions

Examples of org.exoplatform.webui.form.UIFormInputWithActions.ActionData


   public UIRegisterForm() throws Exception
   {
      UIFormInputWithActions registerInput = new UIRegisterInputSet("RegisterInputSet");
      //Set actions on registerInput 's User Name field
      List<ActionData> fieldActions = new ArrayList<ActionData>();
      ActionData checkAvailable = new ActionData();
      checkAvailable.setActionListener(CheckUsernameAvailability.LISTENER_NAME);
      checkAvailable.setActionName(CheckUsernameAvailability.LISTENER_NAME);
      checkAvailable.setActionType(ActionData.TYPE_ICON);
      checkAvailable.setCssIconClass("SearchIcon");
      fieldActions.add(checkAvailable);
      registerInput.setActionField(UIRegisterInputSet.USER_NAME, fieldActions);

      addUIFormInput(registerInput);
      setActions(ACTIONS);
View Full Code Here


    public UIAccountForm(InitParams initParams) throws Exception {
        super("UIAccountForm");
        UIFormInputWithActions accountInputSet = new UIAccountInputSet("AccountInputSet");
        List<ActionData> actions = new ArrayList<ActionData>();
        ActionData addCategory = new ActionData();
        addCategory.setActionListener("SearchUser");
        addCategory.setActionType(ActionData.TYPE_ICON);
        addCategory.setActionName("SearchUser");
        addCategory.setCssIconClass("SearchIcon");
        actions.add(addCategory);
        accountInputSet.setActionField("username", actions);
        setSelectedTab(accountInputSet.getId());
        addChild(accountInputSet);
        UIFormInputSet userProfileSet = new UIUserProfileInputSet("UIUserProfileInputSet");
View Full Code Here

        UIFormInputWithActions registerInput = new UIRegisterInputSet("RegisterInputSet", skipCaptcha);

        // Set actions on registerInput 's User Name field
        List<ActionData> fieldActions = new ArrayList<ActionData>();
        ActionData checkAvailable = new ActionData();
        checkAvailable.setActionListener(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionName(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionType(ActionData.TYPE_ICON);
        checkAvailable.setCssIconClass("SearchIcon");
        fieldActions.add(checkAvailable);
        registerInput.setActionField(UIRegisterInputSet.USER_NAME, fieldActions);

        addUIFormInput(registerInput);
        setActions(ACTIONS);
View Full Code Here

    public UIRegisterForm() throws Exception {
        UIFormInputWithActions registerInput = new UIRegisterInputSet("RegisterInputSet");
        // Set actions on registerInput 's User Name field
        List<ActionData> fieldActions = new ArrayList<ActionData>();
        ActionData checkAvailable = new ActionData();
        checkAvailable.setActionListener(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionName(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionType(ActionData.TYPE_ICON);
        checkAvailable.setCssIconClass("SearchIcon");
        fieldActions.add(checkAvailable);
        registerInput.setActionField(UIRegisterInputSet.USER_NAME, fieldActions);

        addUIFormInput(registerInput);
        setActions(ACTIONS);
View Full Code Here

   }

   private List<ActionData> makeSearchUserActionData()
   {
      List<ActionData> actions = new ArrayList<ActionData>();
      ActionData searchUser = new ActionData();
      searchUser.setActionListener("SearchUser");
      searchUser.setActionType(ActionData.TYPE_ICON);
      searchUser.setActionName("SearchUser");
      searchUser.setCssIconClass("SearchIcon");
      actions.add(searchUser);
      return actions;
   }
View Full Code Here

    public UIAccountForm(InitParams initParams) throws Exception {
        super("UIAccountForm");
        UIFormInputWithActions accountInputSet = new UIAccountInputSet("AccountInputSet");
        List<ActionData> actions = new ArrayList<ActionData>();
        ActionData addCategory = new ActionData();
        addCategory.setActionListener("SearchUser");
        addCategory.setActionType(ActionData.TYPE_ICON);
        addCategory.setActionName("SearchUser");
        addCategory.setCssIconClass("SearchIcon");
        actions.add(addCategory);
        accountInputSet.setActionField("username", actions);
        setSelectedTab(accountInputSet.getId());
        addChild(accountInputSet);
        UIFormInputSet userProfileSet = new UIUserProfileInputSet("UIUserProfileInputSet");
View Full Code Here

        UIFormInputWithActions registerInput = new UIRegisterInputSet("RegisterInputSet", skipCaptcha);

        // Set actions on registerInput 's User Name field
        List<ActionData> fieldActions = new ArrayList<ActionData>();
        ActionData checkAvailable = new ActionData();
        checkAvailable.setActionListener(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionName(CheckUsernameAvailability.LISTENER_NAME);
        checkAvailable.setActionType(ActionData.TYPE_ICON);
        checkAvailable.setCssIconClass("SearchIcon");
        fieldActions.add(checkAvailable);
        registerInput.setActionField(UIRegisterInputSet.USER_NAME, fieldActions);

        addUIFormInput(registerInput);
        setActions(ACTIONS);
View Full Code Here

        return selectItemOptions;
    }

    private List<ActionData> makeSearchUserActionData() {
        List<ActionData> actions = new ArrayList<ActionData>();
        ActionData searchUser = new ActionData();
        searchUser.setActionListener("SearchUser");
        searchUser.setActionType(ActionData.TYPE_ICON);
        searchUser.setActionName("SearchUser");
        searchUser.setCssIconClass("SearchIcon");
        actions.add(searchUser);
        return actions;
    }
View Full Code Here

   public UIAccountForm(InitParams initParams) throws Exception
   {
      super("UIAccountForm");
      UIFormInputWithActions accountInputSet = new UIAccountInputSet("AccountInputSet");
      List<ActionData> actions = new ArrayList<ActionData>();
      ActionData addCategory = new ActionData();
      addCategory.setActionListener("SearchUser");
      addCategory.setActionType(ActionData.TYPE_ICON);
      addCategory.setActionName("SearchUser");
      addCategory.setCssIconClass("SearchIcon");
      actions.add(addCategory);
      accountInputSet.setActionField("username", actions);
      setSelectedTab(accountInputSet.getId());
      addChild(accountInputSet);
      UIFormInputSet userProfileSet = new UIUserProfileInputSet("UIUserProfileInputSet");
View Full Code Here

TOP

Related Classes of org.exoplatform.webui.form.UIFormInputWithActions.ActionData

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.