Package com.liferay.faces.demos.bean

Examples of com.liferay.faces.demos.bean.ShowcaseModelBean


    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application application = facesContext.getApplication();
    ELResolver elResolver = application.getELResolver();
    ELContext elContext = facesContext.getELContext();
    ShowcaseModelBean showcaseModelBean = (ShowcaseModelBean) elResolver.getValue(elContext, null,
        "showcaseModelBean");
    ViewParameters viewParameters = showcaseModelBean.getViewParameters();
    String usage = viewParameters.getComponentUseCase();

    return usage;
  }
View Full Code Here

TOP

Related Classes of com.liferay.faces.demos.bean.ShowcaseModelBean

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.