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 ... |
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 ... |
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. ... |
|
|
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 ... |
|
|
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 ... |
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 ... |
|
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 ... |
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. ... |
|
|
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 ... |
|
|
|
|
|
|
|
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 ... |
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 ... |
|
|
|
|
|
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 ... |
|
|
|
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 ... |
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 ... |
|
|
|
|
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 ... |
|
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 ... |
|