Hi all
We use Jetspeed as the foundation of our portal. Plain vanilla 1.4.
We decided to use Struts with JSPs for the development of new portlets.
The basic strategy goes like that:
All portlets are based on JSP template and use the same Turbine Action
class.
I extended Struts form tag and Jetspeed portletlink tag to supply additonal
parameter - the URI of the Struts action to run.
The Turbine Action (in the perform method) stores the original "portal-like"
URI in the request object and does RequestDispatcher forward to whatever was
specified as Struts URI.
The Struts action does whatever it supposed to do and at the end extracts
the original Turbine-style URI from the request and does doForward to it.
So far this seems to work and gives us the advantage of using Struts while
still doing work in the Portal.
does anyone else use the same or similar technique? Do you see any problems
with it? 
So far I identitifed a few: for example, I do not know how to get the Struts
action to run during the very first loading of the portlet.
Also the Struts validation (either via validate() or a Validator) does not
work for some reason.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to