Package org.exoplatform.webui.form

Examples of org.exoplatform.webui.form.UIForm


   {
      if ((uiInput.getValue() != null))
         return;
      //  modified by Pham Dinh Tan
      UIComponent uiComponent = (UIComponent)uiInput;
      UIForm uiForm = uiComponent.getAncestorOfType(UIForm.class);
      String label;
      try
      {
         label = uiForm.getLabel(uiInput.getName());
      }
      catch (Exception e)
      {
         label = uiInput.getName();
      }
View Full Code Here


   {
      if (uiInput.getValue() == null || ((String)uiInput.getValue()).trim().length() == 0)
         return;
      //  modified by Pham Dinh Tan
      UIComponent uiComponent = (UIComponent)uiInput;
      UIForm uiForm = uiComponent.getAncestorOfType(UIForm.class);
      String label;
      try
      {
         label = uiForm.getLabel(uiInput.getName());
      }
      catch (Exception e)
      {
         label = uiInput.getName();
      }
View Full Code Here

         }
      }

      //  modified by Pham Dinh Tan
      UIComponent uiComponent = (UIComponent)uiInput;
      UIForm uiForm = uiComponent.getAncestorOfType(UIForm.class);
      String label;
      try
      {
         label = uiForm.getLabel(uiInput.getName());
      }
      catch (Exception e)
      {
         label = uiInput.getName();
      }
View Full Code Here

   {
      if (uiInput.getValue() == null || ((String)uiInput.getValue()).length() == 0)
         return;
      //  modified by Pham Dinh Tan
      UIComponent uiComponent = (UIComponent)uiInput;
      UIForm uiForm = uiComponent.getAncestorOfType(UIForm.class);
      String label;
      try
      {
         label = uiForm.getLabel(uiInput.getName());
      }
      catch (Exception e)
      {
         label = uiInput.getName();
      }
View Full Code Here

         uiPopupMenu_.setParent(this);
   }

   public String event(String name, String beanId) throws Exception
   {
      UIForm uiForm = getAncestorOfType(UIForm.class);
      if (uiForm != null)
         return uiForm.event(name, getId(), beanId);
      return super.event(name, beanId);
   }
View Full Code Here

    *
    * @return the form name
    */
   public String getFormName()
   {
      UIForm uiForm = getAncestorOfType(UIForm.class);
      return uiForm.getId();
   }
View Full Code Here

      }
   }

   public String event(String name, String beanId) throws Exception
   {
      UIForm uiForm = getAncestorOfType(UIForm.class);
      if (uiForm != null)
         return uiForm.event(name, getId(), beanId);
      return super.event(name, beanId);
   }
View Full Code Here

         return;
      }

      //modified by Pham Dinh Tan
      UIComponent uiComponent = (UIComponent) uiInput;
      UIForm uiForm = uiComponent.getAncestorOfType(UIForm.class);
      String label;
      try
      {
         label = uiForm.getLabel(uiInput.getName());
      }
      catch (Exception e)
      {
         label = uiInput.getName();
      }
View Full Code Here

      public void execute(Event<UIPermissionSelector> event) throws Exception
      {
         UIPermissionSelector uiPermissionSelector = event.getSource();
         uiPermissionSelector.setValue(null);
         uiPermissionSelector.setRendered(true);
         UIForm uiForm = uiPermissionSelector.getAncestorOfType(UIForm.class);
         uiForm.findFirstComponentOfType(UIListPermissionSelector.class).setRendered(false);
         event.getRequestContext().addUIComponentToUpdateByAjax(uiForm.getParent());
      }
View Full Code Here

      return listMemberhip;
   }

   public String event(String name, String beanId) throws Exception
   {
      UIForm uiForm = getAncestorOfType(UIForm.class);
      if (uiForm != null)
      {
         return uiForm.event(name, getId(), beanId);
      }
      return super.event(name, beanId);
   }
View Full Code Here

TOP

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

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.