Examples of FacesBean


Examples of org.apache.myfaces.trinidad.bean.FacesBean

    protected void encodeAllChildren(
      FacesContext context, UIComponent component) throws IOException
    {
      ResponseWriter rw = context.getResponseWriter();
      RenderingContext rc = RenderingContext.getCurrentInstance();
      FacesBean bean = getFacesBean(component);

      ShuttleInfo shuttleInfo = _getShuttleInfo(rc);
      ContainerInfo containerInfo = _getContainerInfo(rc, _isLeading);

      rw.startElement("table", null);
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

    String[] values = (String[]) submittedValue;
    if (values.length == 0)
      return null;

    FacesBean bean = getFacesBean(component);
    Converter converter = getConverter(bean);
    if ( converter == null)
      converter = getDefaultConverter(context, bean);

    Class<?> modelClass = null;
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

    RenderingContext   arc,
    TableRenderingContext tContext,
    UIComponent           column,
    int                   sortability)
  {
    FacesBean bean = getFacesBean(column);
    String onclick  = getOnclick(bean);
    if (sortability == SORT_NO)
      return onclick;

    if (arc.getFormData() == null)
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

  {
    // no columns sortable when empty table
    if (tContext.getRowData().isEmptyTable())
      return SORT_NO;

    FacesBean bean = getFacesBean(column);
    // Check to make sure this is a sortable UIComponent column.
    // some columns are uix 2.2 fake columns for "select", "details" and other
    // special columns.
    // =-=AEW FIX
    if (column == null)
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

      cellClass = getTableDataStyleClass(tContext);
      renderHeadersAttr(context, tContext);
      borderStyleClass = CellUtils.getDataBorderStyle(arc, tContext);
    } // endif (isRowHeader)

    FacesBean bean = getFacesBean(column);
    String userStyleClass = getStyleClass(bean);
    String userInlineStyle = getInlineStyle(bean);

    renderStyleClasses(context, arc, new String[]{userStyleClass, cellClass, borderStyleClass});
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

    RenderingContext   arc,
    TableRenderingContext tContext,
    UIComponent           column,
    int                   sortability)
  {
    FacesBean bean = getFacesBean(column);
    String onclick  = getOnclick(bean);
    if (sortability == SORT_NO)
      return onclick;

    if (arc.getFormData() == null)
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

      {
        renderedInput = true;
        writer.startElement("input", null);
        writer.writeAttribute("type", "submit", null);
        String source = tContext.getTableId();
        FacesBean bean = getFacesBean(column);
        String value = getSortProperty(bean);
        String state = findSortState(sortability, bean);
        String nameAttri;
        if (state != "")
        {
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

  {
    // no columns sortable when empty table
    if (tContext.getRowData().isEmptyTable())
      return SORT_NO;

    FacesBean bean = getFacesBean(column);
    // Check to make sure this is a sortable UIComponent column.
    // some columns are uix 2.2 fake columns for "select", "details" and other
    // special columns.
    // =-=AEW FIX
    if (column == null)
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

                                    item,
                                    converter,
                                    valuePassThru,
                                    index);

    FacesBean bean = getFacesBean(component);
    ResponseWriter rw = context.getResponseWriter();

    // Render a <br> if necessary (in "vertical" alignment)
    if (renderBreak)
    {
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.FacesBean

  private Object _convertIndexedSubmittedValue(
    FacesContext context,
    UIComponent  component,
    Object       submittedValue)
  {
    FacesBean bean = getFacesBean(component);
    Converter converter = getConverter(bean);
    if ( converter == null)
      converter = getDefaultConverter(context, bean);

    List<SelectItem> selectItems = getSelectItems(component, converter, true);
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.