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]



Reply via email to