Hello Ben,
This works in Velocity:
<a
href='$jslink.addQueryData("eventSubmit_doLogin","true").addQueryData("ugroup",
$group)'> $group </a>
And I get into doLogin method of my portlet's action.
So I believe that query parameter like "?eventSubmit_doLogin=true"
must lead to target action's method invocation.
Thursday, November 11, 2004, 11:11:38 AM, you wrote:
BB> Dear List,
BB> Great project. I would like to pass an action to my action class. This works
BB> fine within
BB> a JSP page as a FORM tag. (see below)
BB> <FORM method="get" action="<jetspeed:link template="AdvanceSearch"
BB> action="portlets.AdvanceSearchAction"/>">
BB> <tr align='top'>
BB> <td><input type="submit" name="eventSubmit_doSearch"
value="Search"/>></td>
BB> </tr>
BB> </FORM>
BB> Is it possible to pass an action parameter via a HREF link ? something like
BB> this ?
BB> <a href="<jetspeed:link template="AdvanceSearch"
BB> action="portlets.AdvanceSearchAction"/>?eventSubmit_doSearch=true">Search</a
>>
BB> Would really appreciate help
BB> regards
BB> Ben
BB> ---------------------------------------------------------------------
BB> To unsubscribe, e-mail:
BB> [EMAIL PROTECTED]
BB> For additional commands, e-mail:
BB> [EMAIL PROTECTED]
--
Best regards,
Peter mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]