Examples of addIndexedChild()


Examples of org.apache.myfaces.trinidadinternal.ui.MutableUINode.addIndexedChild()

  {
    MutableUINode mutableNode = getMutableUINode();
   
    if (mutableNode != null)
    {
      mutableNode.addIndexedChild(index, node);
    }
    else
    {
      throw new UnsupportedOperationException(
       "It is illegal to add children to a " + _getClassName());
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.MutableUINode.addIndexedChild()

  {
    MutableUINode mutableNode = getMutableUINode();
   
    if (mutableNode != null)
    {
      mutableNode.addIndexedChild(node);
    }
    else
    {
      throw new UnsupportedOperationException(
       "It is illegal to add children to a " + _getClassName());
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.MutableUINode.addIndexedChild()

    //
    // Create content of PageLayout to use when we have no page title
    //
    MutableUINode noTitleContentLayout = new MarlinBean(STACK_LAYOUT_NAME);
    noTitleContentLayout.addIndexedChild(_sCreateContentTop(true));
    noTitleContentLayout.addIndexedChild(_createContentLayout(rootNodeList));


    // this is the name of the anchor used to skip the navigational area of a
    // pageLayout and jump to the content area.
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.MutableUINode.addIndexedChild()

    //
    // Create content of PageLayout to use when we have no page title
    //
    MutableUINode noTitleContentLayout = new MarlinBean(STACK_LAYOUT_NAME);
    noTitleContentLayout.addIndexedChild(_sCreateContentTop(true));
    noTitleContentLayout.addIndexedChild(_createContentLayout(rootNodeList));


    // this is the name of the anchor used to skip the navigational area of a
    // pageLayout and jump to the content area.
    final String skipNavigationAnchor = "TheContent";
View Full Code Here

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

                                  RootBoundValue.getBoundValue(), 3, false);
    menuList.setAttributeValue(UIConstants.RENDERED_ATTR, listRenderedBV);


    MarlinBean navigation3Flow = new MarlinBean(UIConstants.FLOW_LAYOUT_NAME);
    navigation3Flow.addIndexedChild(menuList);
    navigation3Flow.addIndexedChild(navigationTree);
    navigation3Flow.setAttributeValue(UIConstants.RENDERED_ATTR,
                           new OrBoundValue(treeRenderedBV,listRenderedBV));
    pageLayout.setNamedChild(UIConstants.NAVIGATION3_CHILD, navigation3Flow);
View Full Code Here

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

    menuList.setAttributeValue(UIConstants.RENDERED_ATTR, listRenderedBV);


    MarlinBean navigation3Flow = new MarlinBean(UIConstants.FLOW_LAYOUT_NAME);
    navigation3Flow.addIndexedChild(menuList);
    navigation3Flow.addIndexedChild(navigationTree);
    navigation3Flow.setAttributeValue(UIConstants.RENDERED_ATTR,
                           new OrBoundValue(treeRenderedBV,listRenderedBV));
    pageLayout.setNamedChild(UIConstants.NAVIGATION3_CHILD, navigation3Flow);

View Full Code Here

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

                               new NotBoundValue(hasLocation));


    UINode location = ContextPoppingUINode.getUINode(UIConstants.LOCATION_CHILD);
    MarlinBean locationFlow = new MarlinBean(UIConstants.FLOW_LAYOUT_NAME);
    locationFlow.addIndexedChild(navigationPath);
    locationFlow.addIndexedChild(location);
    pageLayout.setNamedChild(UIConstants.LOCATION_CHILD, locationFlow);

    //_setPoppedChild(pageLayout, UIConstants.LOCATION_CHILD);
    _setPoppedChild(pageLayout, UIConstants.MENU_SWITCH_CHILD);
View Full Code Here

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


    UINode location = ContextPoppingUINode.getUINode(UIConstants.LOCATION_CHILD);
    MarlinBean locationFlow = new MarlinBean(UIConstants.FLOW_LAYOUT_NAME);
    locationFlow.addIndexedChild(navigationPath);
    locationFlow.addIndexedChild(location);
    pageLayout.setNamedChild(UIConstants.LOCATION_CHILD, locationFlow);

    //_setPoppedChild(pageLayout, UIConstants.LOCATION_CHILD);
    _setPoppedChild(pageLayout, UIConstants.MENU_SWITCH_CHILD);
    _setPoppedChild(pageLayout, UIConstants.ACTIONS_CHILD);
View Full Code Here

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

    footerTable.setAttributeValue( WIDTH_ATTR, ONE_HUNDRED_PERCENT_ATTRIBUTE_VALUE);

    MarlinBean globalButtonsRow = new MarlinBean(ROW_LAYOUT_NAME);
    MarlinBean globalButtonsCell = new MarlinBean(CELL_FORMAT_NAME);
    globalButtonsCell.setAttributeValue( H_ALIGN_ATTR, CENTER_ATTRIBUTE_VALUE);
    globalButtonsCell.addIndexedChild(
                        ContextPoppingUINode.getUINode(NAVIGATION_GLOBAL_CHILD));
    globalButtonsRow.addIndexedChild( globalButtonsCell);
    footerTable.addIndexedChild( globalButtonsRow);

    MarlinBean copyrightRow = new MarlinBean(ROW_LAYOUT_NAME);
View Full Code Here

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

    MarlinBean copyrightRow = new MarlinBean(ROW_LAYOUT_NAME);
    MarlinBean copyrightCell = new MarlinBean(CELL_FORMAT_NAME);
    copyrightCell.setAttributeValue( H_ALIGN_ATTR, CENTER_ATTRIBUTE_VALUE);
    copyrightCell.setStyleClass( AF_PANEL_PAGE_COPYRIGHT_STYLE_CLASS ) ;
    copyrightCell.addIndexedChild(ContextPoppingUINode.getUINode(APP_COPYRIGHT_CHILD));
    copyrightRow.addIndexedChild( copyrightCell);
    footerTable.addIndexedChild( copyrightRow);


    MarlinBean privacyRow = new MarlinBean(ROW_LAYOUT_NAME);
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.