Package org.apache.myfaces.trinidad.component

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


      TableRenderingContext tContext =
        TableRenderingContext.getCurrentInstance();
      UIComponent component = tContext.getTable();
      if (component instanceof UIXTable)
      {
        UIXTable table = (UIXTable) component;
        return table.isShowAll();
      }

      return false;
    }
View Full Code Here


    String source = parameters.get(XhtmlConstants.SOURCE_PARAM);
    String id = component.getClientId(context);
    if (!id.equals(source))
      return;

    UIXTable table = (UIXTable) component;
    Object eventParam = parameters.get(XhtmlConstants.EVENT_PARAM);
    if (XhtmlConstants.GOTO_EVENT.equals(eventParam))
    {
      _decodeGoto(table, parameters);
    }
View Full Code Here

{
  public void sendContent(FacesContext context, OutputStream out)
    throws IOException
  {
    Writer outw = new OutputStreamWriter(out, "UTF-8");
    UIXTable table = getTable();
    Object rowKey = table.getRowKey();
    for (int i = 0; i < table.getRowCount(); i++)
    {
      table.setRowIndex(i);
      if (!table.isRowAvailable())
        break;
      _exportRow(table, outw);
    }

    outw.flush();
    table.setRowKey(rowKey);
  }
View Full Code Here

    String id = clientId == null ? component.getClientId(facesContext) : clientId;
    if (!id.equals(source))
      return;

    UIXTable table = (UIXTable) component;
    Object eventParam = parameters.get(XhtmlConstants.EVENT_PARAM);
    if (XhtmlConstants.GOTO_EVENT.equals(eventParam))
    {
      _decodeGoto(table, parameters);
    }
View Full Code Here

      TableRenderingContext tContext =
        TableRenderingContext.getCurrentInstance();
      UIComponent c = tContext.getTable();
      if (c instanceof UIXTable)
      {
        UIXTable table = (UIXTable)c;
        return table.isShowAll();
      }

      return false;
    }
View Full Code Here

    protected boolean getDisclosed(
      UIComponent component,
      FacesBean   bean)
    {
      TableRenderingContext tContext = TableRenderingContext.getCurrentInstance();
      UIXTable table = (UIXTable) tContext.getCollectionComponent();
      return (table.getDisclosedRowKeys().isContained());
    }
View Full Code Here

    String source = parameters.get(TrinidadRenderingConstants.SOURCE_PARAM);
    String id = component.getClientId(context);
    if (!id.equals(source))
      return;

    UIXTable table = (UIXTable) component;
    Object eventParam = parameters.get(TrinidadRenderingConstants.EVENT_PARAM);
    if (TrinidadRenderingConstants.GOTO_EVENT.equals(eventParam))
    {
      _decodeGoto(table, parameters);
    }
View Full Code Here

      TableRenderingContext tContext =
        TableRenderingContext.getCurrentInstance();
      UIComponent component = tContext.getTable();
      if (component instanceof UIXTable)
      {
        UIXTable table = (UIXTable) component;
        return table.isShowAll();
      }

      return false;
    }
View Full Code Here

    String source = parameters.get(XhtmlConstants.SOURCE_PARAM);
    String id = component.getClientId(context);
    if (!id.equals(source))
      return;

    UIXTable table = (UIXTable) component;
    Object eventParam = parameters.get(XhtmlConstants.EVENT_PARAM);
    if (XhtmlConstants.GOTO_EVENT.equals(eventParam))
    {
      _decodeGoto(table, parameters);
    }
View Full Code Here

      TableRenderingContext tContext =
        TableRenderingContext.getCurrentInstance();
      UIComponent component = tContext.getTable();
      if (component instanceof UIXTable)
      {
        UIXTable table = (UIXTable) component;
        return table.isShowAll();
      }

      return false;
    }
View Full Code Here

TOP

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

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.