Hi Folks,
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...
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
5) I have read the tutorial and I must admit that I do not find it very clear on how
to accomplish this type of functionality. I read about the "action" and the
"template" which seems to work great if you are showing a single screen full of data...
6) It would simply be a case of passing the toy name (see example above) as a
parameter to JSP #2 from JSP #1 as part of the link. Something like:
----- snipet from JSP #1 -----
<a href="JSP#2.jsp?toyname=legos">Legos</a>
7) Any larger examples of how to do this would be greatly appreciated
Thanks very much in advance,
Mike
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now