WebSphere Portal Server - How to automatically invoke processAction (JSR 168 portlet)?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2007 > How to automatically invoke processAction (JSR 168 portlet)?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to automatically invoke processAction (JSR 168 portlet)?

2005-11-24, 7:49 am

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

2005-11-24, 7:49 am

ooops, something went wrong:
i'm looking at something similar as in struts:
<logic:forward name="xyzAction" /> (logic:forward name="xyzAction" /)

cheers daniel

2007-06-17, 7:22 pm

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>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com