06-29-04 11:00 PM
Would be helpful if I could see your code, but you should be able to do
something like this
<a href="<portletAPI:createURI><portletAPI:URIAction
name="Action1"/></portletAPI:createURI>">First Action</a><BR>
<a href="<portletAPI:createURI><portletAPI:URIAction
name="Action2"/></portletAPI:createURI>">Second Action</a><BR>
<a href="<portletAPI:createURI><portletAPI:URIAction
name="Action3"/></portletAPI:createURI>">Third Action</a><BR>
If that doesn't work please send me some code and I can investigate it
further.
Justin Rosenberg
akloppe wrote:
> I have three View-JSPs for my portlet.
>
> viewPortlet_one
> viewPortlet_two
> viewPortlet_three
>
> each jsp (all are for viewing) has a previous and next button, which
> allows me to navigate between them (next-previous, etc..
>
> To generate the action i perform a createURI; effectivly reloading
> the portlet and passing it an action to determine in doView() the
> approproate previous or next jsp page.
>
> The problems is that after creating the FIRST createURI > actionURI >
> actionPerform() - doView() the action doesn't seam to change. Even
> though I see the JSP page calling distinct action the acitonPerform
> always picks up me the action I triggered in the first jsp.
>
> Question: is it at all possible to call within view Mode multiple JSP
> (via createURI) and passing them changing actions? The sense I'm
> getting is, that this is not possible (?)
[ Post a follow-up to this message ]
|