| Author |
How to automatically invoke processAction (JSR 168 portlet)?
|
|
|
| Hi
i would like to invoke automatically processAction from the jsp. is this possible?
i know i could auto-submit a form with javascript which does that trick, but i don't like that solution. i would prefer a serverside rather than a clientside solution.
i'm looking at something similar as in struts:
<logic:forward name="xyzAction" />
any help would be appreciated!
cheers daniel
| |
|
| ooops, something went wrong:
i'm looking at something similar as in struts:
<logic:forward name="xyzAction" /> (logic:forward name="xyzAction" /)
cheers daniel
| |
|
| I realize this is two years later but, I am searching for a similar solution. Could you or any one else provide any leads?
Thanks
| |
| Jessica Garcia-Glennie 2007-06-18, 7:25 am |
| <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<a href="<portlet:actionURL>
<portlet:param name='action' value='myAction'/>
<portlet:param name='paramater' value='myParameter'/>
</portlet:actionURL>">
Do action
</a>
| |
| Jessica Garcia-Glennie 2007-06-18, 7:25 am |
| GRR!! Does anyone know how to fix the formatting for posts?! Here is the code, reposted, with spaces in the h ref.
<%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
< a h r e f="<portlet:actionURL>
<portlet:param name='action' value='myAction'/>
<portlet:param name='paramater' value='myParameter'/>
</portlet:actionURL>">
Do action
< / a>
|
|
|
|