portlet « Portlet « JSF Q&A





1. Accessing FacesContext in Util jar from multiple portlets    stackoverflow.com

We have several JSF portlets running in a websphere portal environment. A developer wants to create a Utility jar which would live in the shared library, so all portlets could access ...

2. Jetspeed2: Sample JSF portlet is needed    stackoverflow.com

I try to develop a simple JSF portlet and deploy it to the Jetspeed2, but it doesn't deploy or not available. I have tried to look for sample JSF portlets to ...

3. My JSF application is not working in IE8 but it works in IE7    stackoverflow.com

My application is a JSF based application. After logging in, I am unable to find correct page layout in my home page. Ajax Event and JSF page navigation is not working. ...

5. How Portlets and JSF are related    coderanch.com

6. Getting Httpservletresponse and servletoutputstream in Portlet JSF    coderanch.com

Either way what you are trying can not be achieved from portlets. Youa re trying to open a binary dowloadable file through portlet. Portlets do not recognize any MIME type except text/html. So also the httpservletresponse needs to be casted to a websphere specfic servlet response . Anyway the correct way of handling such calls and I need to send a ...

7. JSF portlet    coderanch.com

8. Namespace in JSF Portlet    coderanch.com

Hi all, There is an example code about getting namespace in IBM red book 6681: http://www.redbooks.ibm.com/abstracts/sg246681.html?Open page584 Its JSF168 project. The workflow is: a. Open the PageCodeBase.java file. Create the following attribute: protected String namespace; b. Create a method to get the portlet namespace from the RenderResponse: public String getNamespace() { if (namespace == null) { RenderResponse response = (RenderResponse)facesContext.getExternalContext().getResponse(); namespace ...

9. Save Dialog in JSF Portlet    coderanch.com

Hi All, I have a JSF portlet where i want to save the contents of my Text area on the click of a button to a word document.(IBM Websphere portal) In my page bean i have written the follwoing code but the response.setHeader() doesn't seem to work.I am not ...





11. JSF Portlets    coderanch.com

Hi, I m new in portal/portlet development. I m using RAD 6.0 websphere portal server 5.1 and created a sample portlet application having two portlets. in first portlet i m taking info from user and want to show on sencond portlet on the same page with the help of wires. Override processAction() for second (receiving portlet) but it is not executed ...

12. JSF with Portlet    coderanch.com

Hi, I have a question, if you guys know how to call a portlet using a wps:urlGeneration under JSF directly, because when i write the tag code of wps, the page do not display the link, i was using the verbatim and declare the table and all html sentences, but i can not get the link. Anyone has idea about it. ...

13. process action JSF Portlet    coderanch.com

14. New JSF/Portlet Developer Help needed    coderanch.com

15. JSF Portlet Question    coderanch.com

Hello All, I have been writing a portlet application using MyFaces 1.1.5, Java 5 with uPortal 2.5.3. I have been somewhat successful in getting the application to work inside of uPortal, but I have hit a snag. Whenever I use a MyFaces selectonemenu component and use the getter and setter methods along with the jsp action, the backing bean and the ...

16. getting PortletSession in JSF    coderanch.com





18. implementation of C2A of portlet in JSF    coderanch.com

21. JSF portlet    coderanch.com

23. response.setHeader() not working in JSF portlet    coderanch.com

Hi All, I have a JSF portlet where i want to save the contents of my Text area on the click of a button to a word document.(IBM Websphere portal) In my page bean i have written the follwoing code but the response.setHeader() doesn't seem to work.I am not ...

24. Accessing Portlet Title in JSF    coderanch.com

Hello Everyone, I have a question on retrieving the portlet title. 1) I need to retrieve the portlet title in the backend bean. Here is the code PortletRequest request =(PortletRequest)getFacesContext().getExternalContext().getRequest(); String portletTitle= request.getPreferences().getValue("title",null); However, the title for the portlet returns a null in the faces java file. I have an error page with a back button which is used across 3 ...

25. JSF jsr168 portlet flow    coderanch.com

26. JSF / Portlets    coderanch.com

28. JSF+Portlet Problem    coderanch.com

30. JSF Portlet and instance variables    coderanch.com

Keep your instance and static variables out of any classes that extend portlet, just like you keep them out of Servlets. Instance variables should be in your managed beans. Static variables? Those are tied to a JVM, right? So, if you have multiple JVMs in a clustered environment, I think they'd get out of sync, right? So, it's better to use ...

33. Jsf portlet basic help    coderanch.com

34. Inter portlet communication    coderanch.com

Hi, I have a jsf portlet page (page1.jsp) which has a button. On click of that button, it has to go to another portlet (page2). I have added the navigation rule in faces-config.xml and it is getting redirected to the page2 on click of the button in page1. The problem is, page2 has a link which has reference to page1. But ...

35. Portlet environment    coderanch.com

Portlets are special servlet-like objects defined by the JSR-168 standard, and updated by JSR-268. They run in a portlet container. Portlet websites are frequently used as "dashboards". SInce the container can display pages with multiple portlets on them, each portlet behaving as a separate web application, it makes it convenient to work with multiple apps at once. For example, you might ...

37. Navigate from one portlet to another    coderanch.com

38. JSF 2.0 portlet development    coderanch.com

40. Open PopUp in JSF/Portlet application using commandlink    coderanch.com

Welcome to the JavaRanch, Rami! Personally, I really hate pop-up windows. My browser is set to open them as tabs, so they don't even pop up, anyway. However, your real problem is that portlets are designed to run as panes within a portal window. In order to access portlet resources in a new window, that new window would have to open ...

42. Unable to show/hide JSF portlets    coderanch.com

Hello, I'm working on JSF portlet. I have 3 portlets side by side in a tabular form on a page. These portlets are from a Producer App and they have been consumed in a Consumer App with the help of WSRP connection. The Consumer is a Webcenter App. My question is, once an action performed in a portlet, I want to ...