Package org.apache.myfaces.trinidadinternal.ui.beans

Examples of org.apache.myfaces.trinidadinternal.ui.beans.MarlinBean.addIndexedChild()


                              new NotBoundValue(isUserInfoRendered)));

    // place these two possibilities in a flowLayoutBean
    // one or the other child will be rendered if an end is rendered
    MarlinBean endLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    endLayout.addIndexedChild(userEndTable);
    endLayout.addIndexedChild(endOnlyLayout);

    endLayout.setAttributeValue(RENDERED_ATTR, isEndRendered);
    return endLayout;
  }
View Full Code Here


    // place these two possibilities in a flowLayoutBean
    // one or the other child will be rendered if an end is rendered
    MarlinBean endLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    endLayout.addIndexedChild(userEndTable);
    endLayout.addIndexedChild(endOnlyLayout);

    endLayout.setAttributeValue(RENDERED_ATTR, isEndRendered);
    return endLayout;
  }
View Full Code Here

                                    new NotBoundValue(isEndRendered));
    locatorUserTable.setAttributeValue(RENDERED_ATTR, isUserInfoAndNoEnd);

    // render only the locator if locator and (no userInfo or end)
    MarlinBean locatorOnlyLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    locatorOnlyLayout.addIndexedChild(
                        ContextPoppingUINode.getUINode(LOCATION_CHILD));
    BoundValue isEndOrNoUserInfo =
                    new OrBoundValue(isEndRendered,
                      new NotBoundValue(isUserInfoRendered));
    locatorOnlyLayout.setAttributeValue(
View Full Code Here

                          new AndBoundValue(isLocatorRendered,
                                              isEndOrNoUserInfo));
    // place these two possibilities in a flowLayoutBean
    // one or the other child will be rendered
    MarlinBean locatorUserLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    locatorUserLayout.addIndexedChild(locatorUserTable);
    locatorUserLayout.addIndexedChild(locatorOnlyLayout);

    locatorUserLayout.setAttributeValue(
                          RENDERED_ATTR,
                          new OrBoundValue(isLocatorRendered,
View Full Code Here

                                              isEndOrNoUserInfo));
    // place these two possibilities in a flowLayoutBean
    // one or the other child will be rendered
    MarlinBean locatorUserLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    locatorUserLayout.addIndexedChild(locatorUserTable);
    locatorUserLayout.addIndexedChild(locatorOnlyLayout);

    locatorUserLayout.setAttributeValue(
                          RENDERED_ATTR,
                          new OrBoundValue(isLocatorRendered,
                                           isUserInfoAndNoEnd));
View Full Code Here

        MarlinBean sb = new MarlinBean(SCRIPT_NAME);
        sb.setAttributeValue(TEXT_ATTR, text.toString());

        MarlinBean flb = new MarlinBean(FLOW_LAYOUT_NAME);
        flb.addIndexedChild(choice);
        flb.addIndexedChild(sb);

        rangeNode = flb;
      }
      else
View Full Code Here

        MarlinBean sb = new MarlinBean(SCRIPT_NAME);
        sb.setAttributeValue(TEXT_ATTR, text.toString());

        MarlinBean flb = new MarlinBean(FLOW_LAYOUT_NAME);
        flb.addIndexedChild(choice);
        flb.addIndexedChild(sb);

        rangeNode = flb;
      }
      else
      {
View Full Code Here

  {
    MarlinBean headerContent = new MarlinBean(STACK_LAYOUT_NAME);
    headerContent.setIndexedNodeList(RootUINodeList.getNodeList());   

    MarlinBean noTitleFlowLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    noTitleFlowLayout.addIndexedChild(
      ContextPoppingUINode.getUINode(INFO_STATUS_CHILD));
    noTitleFlowLayout.addIndexedChild(headerContent);

    MarlinBean node = new MarlinBean(STACK_LAYOUT_NAME);
    node.addIndexedChild(ContextPoppingUINode.getUINode(MESSAGES_CHILD));
View Full Code Here

    headerContent.setIndexedNodeList(RootUINodeList.getNodeList());   

    MarlinBean noTitleFlowLayout = new MarlinBean(FLOW_LAYOUT_NAME);
    noTitleFlowLayout.addIndexedChild(
      ContextPoppingUINode.getUINode(INFO_STATUS_CHILD));
    noTitleFlowLayout.addIndexedChild(headerContent);

    MarlinBean node = new MarlinBean(STACK_LAYOUT_NAME);
    node.addIndexedChild(ContextPoppingUINode.getUINode(MESSAGES_CHILD));
    node.addIndexedChild(noTitleFlowLayout);
View Full Code Here

    noTitleFlowLayout.addIndexedChild(
      ContextPoppingUINode.getUINode(INFO_STATUS_CHILD));
    noTitleFlowLayout.addIndexedChild(headerContent);

    MarlinBean node = new MarlinBean(STACK_LAYOUT_NAME);
    node.addIndexedChild(ContextPoppingUINode.getUINode(MESSAGES_CHILD));
    node.addIndexedChild(noTitleFlowLayout);

    return node;
  }
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.