Mike,

My comments in-line:

>
>                 Here is the situation (#4 is my main concern) .
>
> 1) I am using JSP portlets since I am not familiar with Velocity
> and I do NOT wish to use a DatabaseBrowser portlet
>
> 2) I have a task that makes sense to show a series of JSP's
> (within the same portlet "space" if possible) to accomplish.
> Thus there is a screen flow that I want to setup.
>
> 3) For example,
>
> - The first JSP (portlet) (JSP #1) shows a list of names of toys.
>  The toy name is actually a hyperlink to the details on that
> specific toy.
>
> - If the user clicks on that hyperlink (toy name), a new screen
> (JSP #2) is shown (in that same portlet "space") which shows the
> details of that toy.  The new screen has two buttons, one that
> says "update" and the other says "return".
>
> - If the user clicks the update button, the user is displayed a
> screen (JSP #3) that contains the toy details to be editted and a
> submit button.
>
> - And so on, you get the idea.  Extremely common functionality...
>

Sounds like a wizard portlet. I don't know of any examples of how to write
it but a generic wizard portlet would be a nice addition to Jetspeed. My
recommendation would be to use a driver JSP template which would include
different JSP templates depending on the step #, such as <%@ include
file="page-x.jsp" %>. You would write JSPPortletAction to control the screen
flow.

> 4) I have played with the jetspeed:portletlink tag, but it's
> doesn't seem to work.  I added this to a JSP portlet and when I
> click it, the page does seem to repaint, but no HelloJSP is shown:
>
> <a href="<jetspeed:portletlink name="HelloJSP"
> />"><jetspeed:portletlink name="HelloJSP" /></A>
>
> This is that the link looks like in the page (Note that I do NOT
> have an action specified above.  I guess that Maximize is the default):
>
>
http://localhost:8080/portal/user/m/page/default.psml/media-type/html?action
=controls.Maximize

The <jetspeed:portletlink> tag will need either "js_peid" (if portlet is in
the current psml) or "psml" and "portletname" (if portlet is in another
psml) to correctly generate the link. Just look at "JSP1_1andJetspeedTagLib"
portlet for an example.

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


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

Reply via email to