Examples of UILayout


Examples of cgl.shindig.usermanage.UILayout

        //This will encrypt the password as a hash.
            boolean succ = UserDBMgr.insertUser( user );
            if( succ == true ){
           //Note the defaultLayoutData string is actually some non-trivial JSON loaded from
           //a file.
                UserDBMgr.insertUILayout(new UILayout(user.getScreenname(), defaultLayoutData));
                proxystoreKeyAdjust(openid, screenname);
            }else{
                state = 2; //the user with that screen name has existed.
            }
        }else{//the user has input invalid information.
View Full Code Here

Examples of cgl.shindig.usermanage.UILayout

        Properties config =
            portal.getConfig().getSecurityConfig().getSecurityManagerConfig().getUserManagerConfigProps();
        if (config != null && config.getProperty("subsystem") != null &&
                config.getProperty("subsystem").equalsIgnoreCase("osg")) {
            if (UserDBMgr.getUILayoutBySN(screenname) == null) {
                UserDBMgr.insertUILayout(new UILayout(screenname, SignUp.defaultLayoutData));
            }
        }
    }
View Full Code Here

Examples of cgl.shindig.usermanage.UILayout

        this.layoutSuiteBuilder=layoutSuiteBuilder;
    }

    public LayoutSuite build(String username)
            throws JSONException, LayoutRESTOPException {
        UILayout wholelayout = UserDBMgr.getUILayoutBySN(username);
        if (wholelayout == null) {
            throw new LayoutRESTOPException(errorTxtLSNonExist);
        } else {
            String wholeLayoutRawdata = wholelayout.getLayout();
            if (wholeLayoutRawdata.trim().equals("")) {
                return new LayoutSuite();
            } else {
                JSONObject wholeLayoutObj = new JSONObject(wholeLayoutRawdata);
                LayoutSuite layoutSuite = layoutSuiteBuilder.build(wholeLayoutObj);
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Iterator i = panel.getChildren().iterator(); i.hasNext();) {
        UIComponent child = (UIComponent) i.next();
        encode(facesContext, child);
      }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UILayout

  public static void encodeChildren(FacesContext facesContext,
      UIComponent panel)
      throws IOException {
//    UIComponent layout = panel.getFacet("layout");
    UILayout layout = UILayout.getLayout(panel);
    if (layout != null) {
      layout.encodeChildrenOfComponent(facesContext, panel);
    } else {
      for (Object o : panel.getChildren()) {
        UIComponent child = (UIComponent) o;
        encode(facesContext, child);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.