Package org.apache.myfaces.trinidad.component

Examples of org.apache.myfaces.trinidad.component.UIXNavigationLevel


    )
  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;

    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();

    if ( component != null)
    {
      int rowCount = component.getRowCount();

      if (rowCount > 0 )
        return false;
    }
View Full Code Here


    UINode           node
    ) throws IOException
  {
    boolean initialLinkSelectedStatus = LinkUtils.isSelected(context);
   
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();    
    
    UINode stamp = node.getNamedChild(context, NODE_STAMP_CHILD);
   
    if(stamp != null)
    {

      // Save the current key
      Object oldKey = component.getRowKey();     
      int size = component.getRowCount();
      int rowIndex = component.getRowIndex();
     
      for (int i = 0; i < size; i++)
      {
        component.setRowIndex(i);
        renderStamp(context, stamp,i == rowIndex);
       
        if ( i < (size - 1))
          renderBetweenNodes(context);
      }
     
      if (getVisibleIndexedChildCount(context, node) > 0)
        renderBetweenNodes(context);
     
      // Restore the old path
      component.setRowKey(oldKey);

    }
   
    super.renderContent(context, node);
    //Reset the selected status, which might have been changed on rendering
View Full Code Here

  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;
     
         
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();  
    int rowCount = component.getRowCount();     
   
    if (rowCount > 0 )
      return false;
     
    return true;
View Full Code Here

    UINode           node
    ) throws IOException
  {
    boolean initialLinkSelectedStatus = LinkUtils.isSelected(context);
   
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();    
    
    UINode stamp = node.getNamedChild(context, NODE_STAMP_CHILD);
   
    if(stamp != null)
    {

      // Save the current key
      Object oldKey = component.getRowKey();     
      int size = component.getRowCount();
      int rowIndex = component.getRowIndex();
     
      for (int i = 0; i < size; i++)
      {
        component.setRowIndex(i);
        renderStamp(context, stamp,i == rowIndex);
       
        if ( i < (size - 1))
          renderBetweenNodes(context);
      }
     
      if (getVisibleIndexedChildCount(context, node) > 0)
        renderBetweenNodes(context);
     
      // Restore the old path
      component.setRowKey(oldKey);

    }
   
    super.renderContent(context, node);
    //Reset the selected status, which might have been changed on rendering
View Full Code Here

  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;
     
         
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();  
    int rowCount = component.getRowCount();     
   
    if (rowCount > 0 )
      return false;
     
    return true;
View Full Code Here

    )
  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;

    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();

    if ( component != null)
    {
      int rowCount = component.getRowCount();

      if (rowCount > 0 )
        return false;
    }
View Full Code Here

    UINode           node
    ) throws IOException
  {
    boolean initialLinkSelectedStatus = LinkUtils.isSelected(context);
   
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();    
    
    UINode stamp = node.getNamedChild(context, NODE_STAMP_CHILD);
   
    if(stamp != null)
    {

      // Save the current key
      Object oldKey = component.getRowKey();     
      int size = component.getRowCount();
      int rowIndex = component.getRowIndex();
     
      for (int i = 0; i < size; i++)
      {
        component.setRowIndex(i);
        renderStamp(context, stamp,i == rowIndex);
       
        if ( i < (size - 1))
          renderBetweenNodes(context);
      }
     
      if (getVisibleIndexedChildCount(context, node) > 0)
        renderBetweenNodes(context);
     
      // Restore the old path
      component.setRowKey(oldKey);

    }
   
    super.renderContent(context, node);
    //Reset the selected status, which might have been changed on rendering
View Full Code Here

  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;
     
         
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();  
    int rowCount = component.getRowCount();     
   
    if (rowCount > 0 )
      return false;
     
    return true;
View Full Code Here

    )
  {
    if (getVisibleIndexedChildCount(context, node) != 0)
      return false;

    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();

    if ( component != null)
    {
      int rowCount = component.getRowCount();

      if (rowCount > 0 )
        return false;
    }
View Full Code Here

    UINode           node
    ) throws IOException
  {
    boolean initialLinkSelectedStatus = LinkUtils.isSelected(context);
   
    UIXNavigationLevel component = (UIXNavigationLevel) node.getUIComponent();    
    
    UINode stamp = node.getNamedChild(context, NODE_STAMP_CHILD);
   
    if(stamp != null)
    {

      // Save the current key
      Object oldKey = component.getRowKey();     
      int size = component.getRowCount();
      int rowIndex = component.getRowIndex();
     
      for (int i = 0; i < size; i++)
      {
        component.setRowIndex(i);
        renderStamp(context, stamp,i == rowIndex);
       
        if ( i < (size - 1))
          renderBetweenNodes(context);
      }
     
      if (getVisibleIndexedChildCount(context, node) > 0)
        renderBetweenNodes(context);
     
      // Restore the old path
      component.setRowKey(oldKey);

    }
   
    super.renderContent(context, node);
    //Reset the selected status, which might have been changed on rendering
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.component.UIXNavigationLevel

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.