It's easy:

$jslink.Template.addQueryData("eventSubmit_doUpdate", 
"1").addQueryData("param1","value") and so on.

ending up with a url like:
http://basejetspeedurl/template?eventSubmit_doUpdate=1&param1=value


>>> [EMAIL PROTECTED] 06/10/03 04:52AM >>>
The tutorial explains how to access a portlet action using forms:

<form method="post" 
action="$jslink.setAction("portlets.CobiJonesPortletAction")">
<input type="submit" name="eventSubmit_doUpdate" value="Save Cobi"/>


will execute the doUpdate() method in the CobiJonesPortletAction.

Is it possible to have a similar behaviour but with a simple link 
instead of a form? I.E. can a <a href="..." link execution to a given 
action method in a given portlet?


Thanks,


Bernd


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

Reply via email to