Package com.liferay.faces.bridge.component.icefaces

Examples of com.liferay.faces.bridge.component.icefaces.DataPaginator


  @Override
  public void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException {

    if ((uiComponent != null) && uiComponent.getClass().getName().equals(DATA_PAGINATOR_FQCN)) {

      DataPaginator dataPaginator = new DataPaginatorBridgeImpl(uiComponent);

      try {
        dataPaginator.setUIData(dataPaginator.findUIData(facesContext));
      }
      catch (Exception e) {
        logger.error(e);
      }
    }
View Full Code Here


    UIComponent wrappedUIComponent = wrappedApplication.createComponent(facesContext, componentType, rendererType);

    if (componentType.equals(DataPaginator.COMPONENT_TYPE)) {

      // Workaround for: http://jira.icesoft.org/browse/ICE-6398
      DataPaginator dataPaginator = new DataPaginatorBridgeImpl(wrappedUIComponent);

      try {
        dataPaginator.setUIData(dataPaginator.findUIData(facesContext));
        wrappedUIComponent = dataPaginator;
      }
      catch (Exception e) {
        logger.error(e);
      }
View Full Code Here

TOP

Related Classes of com.liferay.faces.bridge.component.icefaces.DataPaginator

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.