The link should look like $jslink.addPathInfo("js_peid", $portlet.ID).addQueryData("eventSubmit_doDetail" , "1")

To use javascript, try this:

<form name="myform" action="$jslink.addPathInfo("js_peid", $portlet.ID).addQueryData("eventSubmit_doDetail" , "1")">

</form>

<script>
 function submitMyform() {
  document.myform.submit();
 }
</script>


From: "dp" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: AW: velocityPortlet and link
Date: Thu, 2 Sep 2004 19:34:45 +0200


Hello Jeremy,

so how has the link has to look like?

btw: how can I open an vm & action by javascript within a portlet?

thanks

-----Ursprüngliche Nachricht-----
Von: Jeremy Ford [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. September 2004 19:22
An: [EMAIL PROTECTED]
Betreff: 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]


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



Reply via email to