I'm considering implementing one or two JSR APIs. I have not yet read the entire specification (the plan is to read them as I code the implementation) but I am very ... |
I need to return some special Latin letter (e.g. á) in the response of a portlet serveResource() method. I have tried the following ways:
response.setCharacterEncoding("ISO-8859-1") ;
PrintWriter out = resWrapper.getWriter();
out.println("á");
out.close();
OR
response.setContentType("text/plain; charset=ISO-8859-1");
PrintWriter out ...
|
I would like to ask people their testing strategies for portlet controllers, particularly spring portlet mvc based portlet controllers.
Do you use the eclipse debugging function? What kind of portlet container set ... |
The Java world has a JSR-286 standard for how portals and portlets should interoperate: software components sharing a unified web page.
There seem to be a number of portal implementations. ... |
I'm trying to use external paging in a JSR-286 portlet with DisplayTag 1.2.
I would like DisplayTag to generate the paging links from a parameterized Action URL that i have defined, but ... |
That's a pure newbie question.. actually not even newbie.. still investigating! I want to know if 2 instances of the same Portlet would have separate scopes? What is this scope ... |
We've been given a requirement that our new project be JSR 286 compliant so that it can eventually be hosted in SharePoint. But in the same breath we were told ... |
|
I'm new to portlet development, but not app development. And I'm working on "new to us install" of Sun 7 Portal Server and we are going to try to do ... |
There are many Java web application frameworks available but what are my alternatives when developing JSR 168 portlets? I found a couple:
|
is there a way to access URL parameters in a Jetspeed2 Portlet/Portal?
like: www.bla.com/portal/page.psml?param=12345
I can only find some tools for liferay (PortalUtil.java) to access the httpservletrequest, but as far as i ... |
I am trying to do some logging in a JBoss Portal Server; I would like to log the IP Address (and possibly the Remote Host Information) of the user accessing any ... |
For a simple project when I don't need an MVC framework like Spring - how should I test my JSR 168 portlet? The business layer is easy enough with jUnit but ... |
I try to create portlet, which act as "web-service", only on client.
In other words:
Portlet wait, until somebody send to him several parameters (over http in exmple), and then perform some actions.
It ... |
We have developed JSR 286 portlet. While loading the JSP page in IE8, we are facing some alignment issues due to which our screen is not loading properly. We could figure ... |
|
The major difference is the IBM portlet API lets you define an abstract portlet application and using this via concrete portlet applications. In JSR 168 API, there is no concept for concrete portlet application. But JSR 168 API is independent across platforms. You can choose any of the API as per your requirements. |
Not sure if there is a difference or not. But JSR is a specification, not an actual implementation. So IBM Api should be an implementation of the JSRs specification. You want to use anything that is complying and completely implementing the SPecification so you are following a standard that everyone agrees on, which removes you from vendor lock/porting issues, and make ... |
|
|
Yes, I find if frustrating that Sun wants you to download their JavaDoc and extract it locally, as opposed to being able to just browse through it on their site. Like, wouldn't that be a reasonable service to offer? I can download the JavaDoc myself, and I'd love to put it up on my site, but I think that's violation somehow ... |
|
Hi, I am trying to develop JSR 168 compatiable cooperative portlets on RAD. I have two portles, Demo1portlet and Demo2portlet. Demo1portlet is a source for sending an output parameter and Demo2portlet is a target portlet. Although i added wsdl files for these two portlets configuring output/input parameters and i added com.ibm.portal.propertybroker.wsdllocation in the portlet deployment desciptor, when i right click on ... |
JSR168 is the standard API for developing portlets. Basically, it's the API. WSRP is Web Services for Remote Portlets. It allows a portal server to provide a portlet to a client, even though the portlet may be hosted on a separate server, or even a different type of portal server (BEA, WebSphere, JBoss). Web Services are used to take content from ... |
PortletServiceHome psh; User user = null; try { // get the puma user object javax.naming.Context ctx = new javax.naming.InitialContext(); psh = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.um.portletservice.PumaHome"); if (psh != null){ PumaHome service = (PumaHome) psh.getPortletService(PumaHome.class); PumaProfile pp = service.getProfile(request); user = (User)pp.getCurrentUser(); } // get the groups for this user if not already Collection groups = new ArrayList(); List puma_groups = user.getGroups(); Iterator iter ... |
Hi, I am using WPS 5.1.0.1. We have developed, deployed few custom portlets (JSR 168) and added those to Portal page. There is one portlet called locale portlet. In locale portlet one dropdown list box is present. It contains locales like en_us,de etc., When the user changes the locale in dropdown, this parameter(or value) should be stored somewhere else globally and ... |
|
Hi all, I am working in RAD6 with Websphere portal server 5.1. I am using JSR 168 with JSF of Sun RI. My portlets are retaining the state within the same session. I have set the expiration cache of the Portlet to '0' in the portlet.xml and also programmatically but to no effect. Example i have two pages search and home ... |
28. JSR 168 coderanch.com |
|
I am trying to download a text file from a jsp. Portal server is VAP. This appplication is deployed and shared to an other site in the portal. controls from a jsp has been forwarded to the above jsp. Since this is an portlet application so I can not set header,content-type from the first jsp. Right now whole file is being ... |
Can i use popups in jsr 168 portlets.I am trying to open a jsp running in an application server as pop up from a portlet application.Pop up is working fine fine and i am able to set values from popup to parent portlet jsp.But wen i submit the portlet jsp i am losing track of the current state.What can be done ... |
Can i use popups in jsr 168 portlets.I am trying to open a jsp running in an application server as pop up from a portlet application.Pop up is working fine fine and i am able to set values from popup to parent portlet jsp.But wen i submit the portlet jsp i am losing track of the current state.What can be done ... |
|
Hold on, hold on, hold on!!! An IBM portlet uses something called the JetSpeed API, and it is IBM's own implementation of the JetSpeed API that you are using when you create an "IBM Portlet." This is an ancient API found alongside the dead sea scrolls in the middle east many years ago. JSR-168 is a portlet development standard agreed upon ... |
I am having several portlets in a home page. If any of the portlets is in maximized state, on click of "Home" link in the Web Sphere Portal page, the window state is still remains in maximized state. so the user gets an illusion that the home link is not working. How to resolve this problem? can any one help? |
|
WebSphere Portal 6 certainly supports JSR168. If you're doing WebSphere portal development, you likely have access to Rational Appilcation Developer. That tool provides a portlet development toolset that allows you to create, compile and deploy JSR168 portlets. It also provides extra features such as C2A and Portlet Services. Having said that, WPS can handle a standard JSR168 portlet developed in any ... |
|
|
|
Hi all, I have a portal page with 3 portlets developed following the JSR 168 specification standards. Now, I want to display the results of 1st portlet in 2nd portlet when a submit button is clicked on the first portlet. Is there any solution to achieve this ? All the portlets are developed using Spring porltet mvc framework, portal server is ... |
|
HI parveen, if you are using Jboss Portal 4.2 or 5.0 then just go through the following stuff: Set the LOG4J_PATH environment variable to C:\ or anything else where you want to create the log file. Place the log4j.jar file in your \WEB-INF\lib In your JBOSS_INSTALL/bin directory there will be a file called run.conf. Around line 42 (+tee hee+) you will ... |
|
I am building portlets (jsr 168 api in Websphere Portal 6.0 using web service client of Rational). Now needed some suggestions on caching the web services data on the portlet. We have a number of portlets (somewhere around 4 or 5) on a portal page which basically rely on a single wsdl Lotus Domino Web Service. Is there a way I ... |
|
Is there anyway to hide portlets on Portal Page using Javascript?? or some others way?? Actually i want is: I have PORTLETA that contains textbox and button in openPortal So the thing i want is when i click on button, the value passed to other portlet like PORTLETB i.e not visible yet. After clicking on button PORTLETA should be hide and ... |
|
|
|
And this entry will indicate that a portlet being deployed supports a given locale. However, the portlet must have appropriate translations incorporated to support this locale. And the client will need to either request this locale through registration or browser settings. Of course, if this is the only locale that the portlet supports, this locale will always be used during rendering. ... |
Hi As per teh new specification, the ETag can be set on the response. I have a couple of doubts here: 1. The ETag is in the http header. However, when i implemented a sammple JSR 286 portlet, there was no caching infomation in the page rendered, although the caching was working fine. Why is there no cachhing header in the ... |
Hi all, How big are the differences between the portlet V1 and V2 specs??You see unfortunately I bought a JSR168 book that was quite expensive when it turns out we are going to be using 286 from now on... I'm hoping that studying the 168 book will still give me most of the info I need to develop the 286 portlets... ... |
Hi there, I can find a lot of books about JSR 168 but not a single one ocovering JSR 286. The best book for me would be if both standards where covered in one book. Does any one know if there are books out there on JSR 286 or planned to be released shortly? Regards Erik |
|
|
Hi , WSRP is not working for me when I use createActionURL. error code : com.ibm.wps.state.accessors.utils.ObjectIDMapperOnIdentification logException exception com.ibm.wps.services.identification.SerializationExceptionImpl: EJPFD0047E: The object supplied is no valid object ID [null] I switched from JSR 168 to JSR 286 now. What are the methods I need to use to generate the single portlet refresh url for making ajax calls in JSR 286 for ... |
|
Well the application under consideration here will have no forms, neither will it access any database. It will rather get data from various WS as XML and display the data on screen. There is no transaction involved , and even if it has to go that route it has to go the XML over the wire way. In that respect would ... |
Hello all, i am new to that great forum and a newbie in developing portlets. I hope you can help me. I have two portlets. The first one should be the peferences Portlet. There i use the 'PortletPreferences' Class to store user specific preferences. The second portlet needs access to those preferences. I tried it with the PortletSession.APPLICATION_SCOPE In the doView() ... |
We have set the cookies by invoking the addProperty method : Cookie lCookie = new Cookie("testCookie", data4Cookie); lCookie.setPath("/"); Response.addProperty(lCookie); in evironement IBM WPS 6.1 (JSR 286). But, we cannot retrive the cookie that we have set, what's wrong in the configration ? Anyone can give us some suggestions, please ? Thans in advance, |
|
Hi, Few days before someone asked me that how I can change the title of the portlet. So i told him by using the settitle() method in render phase he can change the title of portlet at run time. but then he asked that he want to change it on basis of some parameter value. for ex. if var1=hi then title ... |
assuming you're clustering the JBoss instances and JBoss server supports WSRP (I haven't checked) it depends what your require in Session Management. eg I just finished doing some fairly extensive WSRP testing using Liferay and the support is very good, but while the Portlet spec defines management of state between portlets and portlet instances it does not define any inter-portlet state ... |
Hello everybody, I am new in JSR 286, I have to portlets and i want to move from page in first protlet to page in the second protlet. how can i do that? my scenario is: i have menu in a page contains ordered links in the first protlet, when i click on any link i want to view the page ... |
|