portlet

What Java portal server do you use?

I've been tasked with learning Vignette and setting it up is a nightmare. There are many different components in the wizard. If something fails, you get a cryptic error message and then have to start again. This is the worst "Wizard" since Kwame Brown. Are there other Portal servers out there that are easy to configure, or at least see...

Your experience with "modular" web sites in Java?

I'm building small web site in Java (Spring MVC with JSP views) and am trying to find best solution for making and including few reusable modules (like "latest news" "upcoming events"...). So the question is: Portlets, tiles or some other technology? ...

How do I start designing portlets in Eclipse?

Is there any plugins for Eclipse for portlet design and deployment? I have never designed portlets so are there any good tutorials on the web as well? ...

Liferay: Initialization order of servlets and portlets

I think that it used to the be the case that in Liferay 4, if a war contained both a portlet and a servlet, the servlet was initialized before the portlet. Now with Liferay 5 I notice that the opposite is going on. How can I setup my web application, or Liferay to always have the servlets initialized before the portlets? ...

Uniquely identify an instance of a JSR-168 portlet

I am writing a JSR-168 portlet that can be added to a container multiple times. Each container (Liferay, JBoss, etc.) has its own internal way of differentiating between multiple instantiations of the same portlet. I, however, would like to uniquely identify my portlet instance inside the doView() method itself. Is there any standard, ...

Login in JBoss Portal

How can I create custom links to login and logout in admin mode at JBoss Portal? ...

WebSphere Portal 6.0 Portlet Error Logging

Where I can find the error logs from a portlet deployed to WebSphere Portal 6.0 (Linux) ...

Deploy a WebSphere Portal 6 portlet to WebSphere Portal 5

I am using Eclipse 3.2.2 with WebSphere Portlet Factory Designer 6.0.2. I have a portlet that was developed for Portal 6 which works fine, I can build the portlet War and deploy to a Portal 6 server fine. However, we only have production servers running Portal 5. So how do I build a War file which is compatible with Portal 5? ...

Websphere Portlet migration, missing parameter in DispatchAction

I'm migrating an old portlet application from WPS5 to WPS6. The application is using IBM legacy container. According to the migration guide, I only renew some portal library and some tag reference. The application is still using IBM legacy container and the modified Struts Portlet. When I create a link like by: <html:link page="/page1....

Redirecting from the doView method in a portlet

I'm using Websphere portal 6.0 and I'm wondering if there's a way in which I can tell the server which page to render from the doView method. I know I can do it from the processAction method but unfortunately the semantics of the problem don't allow it. Thank you for your help ...

jQuery portlet and dialog box problem

Dear All, I create sortable element and attach an on-click event on every portlet to open dialog box, but when i open (drag more portlet to the main dashboard), and click the setup link (on the header of the portlet) the alert() (i setup for testing purpose) always fire for every portlet on the main dashboard, why is this happen ? B...

What are all the portlet classes in Spring mvc?

In Spring MVC there seem to be two parallel class hierarchies, one with portlet, one without. What is that? Why is it so and what should I use. ...

portlet 2.0 (jsr286) development with spring

Hi! We are discussing whether it's a good idea to switch from plain portlet development on a liferay installation to spring webmvc portlet based development. We're starting the development of some portlets soon, so now is the time. But the problem I see is that we'd like to use some of the portlet 2.0 features, which won't work with ve...

Simple portlet jsp page flow question

I'm new to Java portlets, and am trying to get a handle on how these things work at a fairly basic level. I'm confused now about how to have multiple "views" in my portlet. Let's say my portlet will be used for CRUD operations. For the sake of simplicity, I'm imagining that when a user first views the portlet they'll see a table wit...

Displaytag library - detecting a paging request

Hi, I'm currently developing a portlet for Liferay (using the Spring MVC framework). Now I just used the displaytag library for implementing paging on a list I'm displaying on the portlet. My problem now is that I would need to detect whether the current request has been started by the paging control of the displaytag library. What I ...

How to implement a JSR Specification

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 familiar with them. I have read that the JSR process includes implementing a Test Compatibility Kit (TCK) for testing said JSR implementations. Before I start writing a bunc...

Portal/portlets programming - portlet linking/page flow

I am writing my first portlet based application (for liferay, but the solution should be container agnostic) and I am wondering how people solve to provide links to the user that "lead" to different portlets (maybe on different "pages" in the portal). While you can easily have different view modes inside your portlet, how can you link t...

Keeping request parameters on Spring SimpleFormController with Validator

I hope I'll be able to explain this properly. I'm developing a portlet for Liferay by using Spring. It's a pinboard system. So I have a view (Jsp) which shows the detail of a certain pinboard entry, given its id. Furthermore there is a link which goes to an AddCommentController for adding a new comment to the pinboard entry the user is c...

JSF Faces Bridge get java.lang.NullPointerException when deploying to oc4j container

I am running JDeveloper 10.1.3.4 with the webcenter pre-configured oc4j. I'm trying to portletize a vanilla JSF webcenter project. I create a application using the webcenter application template. Add a JSF JSP, simple called it index with all the default values. Add a deployment profile and deploy to local oc4j navigate to the jsf pag...

Is it possible to create dynamically pluggable GWT widgets/portlets in separate war files?

Is it possible to create widgets / portlets in GWT that can be dynamically loaded and added to a GWT web application, and where the GWT widgets can reside in a separate war files? To clarify my question: JSR168/JSR286 compliant portals make it possible to create portlets in separate projects (war files) and to dynamically load these int...