Package org.apache.myfaces.trinidadinternal.ui.collection

Examples of org.apache.myfaces.trinidadinternal.ui.collection.UINodeList


  /**
   * Removes all of the indexed children.
   */
  public void clearIndexedChildren()
  {
    UINodeList indexedChildren = getIndexedNodeList(false);

    if (indexedChildren != null)
    {
      indexedChildren.clearUINodes();
    }
  }
View Full Code Here


    _setPoppedChild(pageLayout, UIConstants.INFO_STATUS_CHILD);
    _setPoppedChild(pageLayout, UIConstants.INFO_SUPPLEMENTAL_CHILD);
    _setPoppedChild(pageLayout, UIConstants.INFO_USER_CHILD);
    _setPoppedChild(pageLayout, UIConstants.MESSAGES_CHILD);
    _setPoppedChild(pageLayout, UIConstants.SEARCH_CHILD);
    UINodeList rootNodeList = RootUINodeList.getNodeList();
    pageLayout.setIndexedNodeList(rootNodeList);

    _setPoppedAttribute(pageLayout, UIConstants.CHROME_TYPE_ATTR);
    _setPoppedAttribute(pageLayout, UIConstants.ID_ATTR);
    _setPoppedAttribute(pageLayout, UIConstants.SHORT_DESC_ATTR);
View Full Code Here

    // the userInfo is rendered in the end area if the end child is rendered
    // otherwise it is rendered in the locator area
    MutableUINode endRegionLayout = _sCreateEndLayout(isEndRendered,
                                                      isUserInfoRendered);

    UINodeList rootNodeList = RootUINodeList.getNodeList();

    //
    // Create content of PageLayout to use when we have no page title
    //
    MutableUINode noTitleContentLayout = new MarlinBean(STACK_LAYOUT_NAME);
View Full Code Here

    _setPoppedChild(pageLayout, UIConstants.INFO_STATUS_CHILD);
    _setPoppedChild(pageLayout, UIConstants.INFO_SUPPLEMENTAL_CHILD);
    _setPoppedChild(pageLayout, UIConstants.INFO_USER_CHILD);
    _setPoppedChild(pageLayout, UIConstants.MESSAGES_CHILD);
    _setPoppedChild(pageLayout, UIConstants.SEARCH_CHILD);
    UINodeList rootNodeList = RootUINodeList.getNodeList();
    pageLayout.setIndexedNodeList(rootNodeList);

    _setPoppedAttribute(pageLayout, UIConstants.CHROME_TYPE_ATTR);
    _setPoppedAttribute(pageLayout, UIConstants.ID_ATTR);
    _setPoppedAttribute(pageLayout, UIConstants.SHORT_DESC_ATTR);
View Full Code Here

   */
  public int getIndexedChildCount(
    UIXRenderingContext context
    )
  {
    UINodeList indexedChildren = getIndexedNodeList(false);

    if (indexedChildren != null)
    {
      return indexedChildren.size(context);
    }
    else
    {
      return 0;
    }
View Full Code Here

  public UINode getIndexedChild(
    UIXRenderingContext context,
    int              childIndex
    )
  {
    UINodeList indexedChildren = getIndexedNodeList(false);

    if (indexedChildren != null)
    {
      return indexedChildren.getUINode(context, childIndex);
    }
    else
    {
      throw new IndexOutOfBoundsException();
    }
View Full Code Here

    // the userInfo is rendered in the end area if the end child is rendered
    // otherwise it is rendered in the locator area
    MutableUINode endRegionLayout = _sCreateEndLayout(isEndRendered,
                                                      isUserInfoRendered);

    UINodeList rootNodeList = RootUINodeList.getNodeList();

    //
    // Create content of PageLayout to use when we have no page title
    //
    MutableUINode noTitleContentLayout = new MarlinBean(STACK_LAYOUT_NAME);
View Full Code Here

   */
  public UINode removeIndexedChild(
    int childIndex
    )
  {
    UINodeList indexedChildren = getIndexedNodeList(false);

    if (indexedChildren == null)
      throw new IndexOutOfBoundsException();

    return indexedChildren.removeUINode(childIndex);
  }
View Full Code Here

  /**
   * Removes all of the indexed children.
   */
  public void clearIndexedChildren()
  {
    UINodeList indexedChildren = getIndexedNodeList(false);

    if (indexedChildren != null)
    {
      indexedChildren.clearUINodes();
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidadinternal.ui.collection.UINodeList

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.