liferay « IceFaces « JSF Q&A





1. ICEFaces + Liferay : how to set value for public-render-parameter    stackoverflow.com

ICEFaces + Liferay : I created two war file firstApp.war and secondApp.war file and deployed on liferay. I want to implement, when I click submit button on firstApp.war application’s page ...

2. how to develop application like LifeRay Control panel    stackoverflow.com

I want to develop an application like LifeRay control panel which has right navigation menu and a page that renders the clicked menu. My question is how to develop at for example ...

3. How to make sure that a Javascript function is called after EVERY postback in Liferay/ICEFaces?    stackoverflow.com

I have very little experience with Liferay and ICEFaces. I need to build a portlet that calls a specific Javascript function every time a postback occurs. In fact, when the form is ...

4. Icefaces Porlets/Liferay/Glasshfish Deadlock    icefaces.org

I have the following setup: Portlets using Icefaces 1.7.1 Running in Lifeary 5.0.1 portal which is running in Glassfish (Sun App Server) 9.1_01 on Unix (Solaris 10) Java version: 1.5.0_12-b04 After some period of time, its impossible to access the portal and the following appears in the logs: Maximum Connections Reached: 4096 -- Retry later When I got a thread dump ...

9. IceFaces, Liferay, and MyEclipse    icefaces.org

Hello- I recently purchased MyEclipse as the recommended IDE for IceFaces development. I plan to deploy on Liferay, but found that their Eclipse add-on apparently does not apply to MyEclipse. What is my best bet? To use Eclipse 3.6.0 with LifeRay add-on and do without the IceFaces plug-ins, or use MyEclipse and do without the Liferay plugins? Of course, I may ...





12. Error when connect to Liferay by simplest way    icefaces.org

Create a new Liferay portlet by eclipse Liferay plugin. Iceface 3.0 with JSP 2.0. Then run on liferay 6.0.4 directly. I could find the new portlet in the portalets sample folder. but when I drop it on the page, I get the error of "XXXXX is temporarily unavailable." details error: ERROR [jsp:154] java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getSafeRequest(Ljavax/faces/context/FacesContext;)Ljavax/servlet/http/HttpServletRequest; at org.icefaces.ace.component.fileentry.FileEntryPhaseListener.beforePhase(FileEntryPhaseListener.java:111) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95) at ...

16. Icefaces samples do not work    liferay.com





17. IceFaces do not work    liferay.com

20. locale management with Icefaces    liferay.com

21. IPC with icefaces    liferay.com

23. Liferay 5.2.2 and Icefaces several issues    liferay.com

Hi Everybody, I'm developing a set of portlets using Liferay 5.2.2 and Icefaces. I tried different versions of Icefaces - 1.7.2 SP1, 1.8.0 DR1 and RC1 Development performed in EXT environment because we need to do modifications in Liferay. And i have several problems using this approach. Just after i add Icefaces configuration to web.xml i get the following two issues: ...

24. ICEFaces Object not found error    liferay.com

I also deployed the component showcase portlet sample on Liferay 5.2.2 Tomcat 6 bundle and getting 'Object Expected' error for all the portlet sample. Components seem to display on page fine but no funtionality works. For e.g., when I tried Calendar or any other samples I get similar message below. I reinstall everything from start in new environment but got same ...

25. component-showcase in Liferay 5.2.2 & Icefaces 1.8 has error on page    liferay.com

We are looking for tools to assist in the development of an application that uses AJAX server push extensively. For the tool evaluation, I am trying to get Liferay 5.2.2 running with the Icefaces 1.8 demos contained in component-showcase. The demo portlets are available to add in Liferay, but when dropped on a page, they all get errors and do not ...

26. IceFaces 1.8 + Liferay 5.2.2 PortalUtil.getHttpServletRequest( PortletReq    liferay.com

Trying to execute following code: FacesContext fc = FacesContext.getCurrentInstance(); ExternalContext ec = fc.getExternalContext(); PortletRequest request = (PortletRequest) ec.getRequest(); HttpServletRequest httpRequest = PortalUtil.getHttpServletRequest(request); and then get an error: Unable to get the HTTP servlet request from com.icesoft.faces.webapp.http.portlet.PortletExternalContext$4 here is my test method: public static void testRequest() { FacesContext fc = FacesContext.getCurrentInstance(); ExternalContext ec = fc.getExternalContext(); System.out.println("ContextUtil.testRequest: ec = " + ec); Object ...

27. icefaces button stays "pressed"    liferay.com

Hi, I have got a fundtion that is implemented in a bean and is executed. But after the execution of the function ends the button seems to be pressed. I am using icefaces and liferay 5.2.2. My icefaces page: [code ][/code] and my function out of the bean: [code public void addCompany(ActionEvent event) { .... } ][/code] Important: ...

28. icefaces + liferay    liferay.com

hi i m doing icefaces tree in liferay. when i try to expand or collapse the tree i m getting this error 2009-07-07 05:16:58,896 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CompositTree].[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception javax.faces.application.ViewExpiredException: viewId:/welcomeJSF.iface - View /welcomeJSF.iface could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:122) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:73) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:28) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) ...

29. IPC with icefaces    liferay.com

30. How to get login from IceFaces?    liferay.com

32. ICEFaces 1.8.2 rendeing problem    liferay.com

34. Icefaces and Liferay 5.2.3 problem on store values in session    liferay.com

I'm using Icefaces 1.8.2 and Liferay 5.2.3 and tomcat 6.0.20 I have a problem on storing selectOneMenu value in session.When my user select an item in selectOneMenu I want to save the selected value with spring bean and process on the selected value and then populate another selectOneMenu by the first selectOneMenu value. but the problem is that sometime when user ...

35. ICEfaces ActionListener Not Working in Liferay Portal    liferay.com

Hello... I 'm trying simple example a panelTabSet with a commandbutton which changes the panelTabset selected Index Code: and the managed Bean code is as follows Code: public void next_processAction(ActionEvent ae) { tabSet.setSelectedIndex(2); } The code is running in other application server like Tomcat but not running inside Liferay ...

36. Liferay-icefaces-stress testing    liferay.com

Hi all i have icefaces portlet on liferay 5.2.3 i want to do a stress and load testing i tried out JMeter , and used the (HTTP Proxy Server), and recorded my actions but it is not working i did a 10 hits , always getting (session-expire) so anybody know what the problem is ? Thnx

38. Obtaining ServletContext using LifeRay 6 and IceFaces    liferay.com

I am using Spring and need to access WebApplicationContext to obtain a spring bean. I have tried using this code in my LifeRay portlet: FacesContext context = FacesContext.getCurrentInstance(); ServletContext servletContext = (ServletContext)context.getExternalContext().getContext(); ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(servletContext); however I receive the following exception: java.lang.ClassCastException: com.liferay.portlet.PortletContextImpl cannot be cast to javax.servlet.ServletContext on the second line. I am using the latest ICEFaces jars (1.81). ...

39. ICEFACES shared.session.attributes in liferay    liferay.com

Has anyone had any success pulling session attributes using a ICEFace portlet? I am having trouble retrieving attributes using the same code that I had used previously and successfully in a normal JSF Portlet. I have set private.session.attributes=false in the liferay-portlet.xml file. The Bean is a backing bean to a ice:inputfile component, I am trying to set the uploadDirectory equal to ...

40. ICEfaces doesn't like my buttons!    liferay.com

42. Liferay 6 + PortletFaces Bridge + JSF 2.0 + ICEFaces 2.0    liferay.com

Hi, At work I need to develop portlets using the following technology stack: "Liferay 6 + PortletFaces Bridge + JSF 2.0 + ICEFaces 2.0". I set up a developpment environment using Liferay Portlal 6.0.6 bundle with Tomcat 6.0.29, Liferay Plugins SDK 6.0.5 and Liferay IDE. I also downloaded the binaries ICEfaces 2.0.1. I tried to put together a demo based on ...

43. [Liferay 5.3.2 & IceFaces 1.8.2] Session already invalidated    liferay.com

HI all I'm developing an icefaces portal application on Liferay 5.3.2. After few minutes of idle time console show me this error: "java.lang.IllegalStateException: getAttributesNames: session already invalidated" So I need to restart browser. I have setted "empty_session_path = true" in tomcat server.xml as suggested in many post but this workarounf doesn't help me. Is there a way to solve this problem? ...