maybe it's possible to add some querydata to the link an redirect within the
actionclass...

-----Ursprüngliche Nachricht-----
Von: Ajonjolis [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 2. September 2004 20:25
An: Jetspeed Users List; [EMAIL PROTECTED]
Betreff: Re: velocityPortlet and link


But if i remove the setAction(), how could i do to set the new action to my
portlet ?
With the portletID in the url, it behaves the same way.
Any other idea? The solution  would be to use only one Action, with the
logic of both ActionA and ActionB ?

Thank you very much
ALfonsina




----- Original Message ----- 
From: "Jeremy Ford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 02, 2004 2:22 PM
Subject: RE: velocityPortlet and link


> It looksl like the problem is in the fact that you have the setAction.
Try
> removing this.  Also, you may want to add the portlet id to the URL
> (uniquely identifies which portlet should fire the action, otherwise, if
> another instance of the same portlet exists, its action might fire).
>
> Jeremy Ford
> [EMAIL PROTECTED]
>
>
> >From: "Ajonjolis" <[EMAIL PROTECTED]>
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: velocityPortlet and link
> >Date: Thu, 2 Sep 2004 13:57:22 -0300
> >
> >I have a problem with VelocityPortlets and VelocityPortletAction
> >My PortletA is define in registry  with default ActionA and TemplateA
> >In TemplateA i've got a link like this :
> ><a href='$jslink.setAction("ActionB").addQueryData("eventSubmit_doDetail"
,
> >"1")More Info</a>
> >
> >When i want to go to the DoDetail , it execute fine and there I set
another
> >template with de setTemplate(rundata, "TemplateB"), but when  finalize
the
> >execution of method doDetail, inmediatly execute  the buildNormalContext
of
> >ActionA again, and so never foward to templateB.
> >
> >
> >What it´s wrong here? I suppose the link is bad.  It's possible to
execute
> >2 differents actions (with there respective templates) in the same
> >VelocityPortlet?
> >
> >Really appreciate your help.
> >Best regards
> >Alfonsina
> >
>
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from McAfee®
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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




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

Reply via email to