Skip to main content

developerworkslabel >  WebSphere  >  forumlabel  >  Portal and Portlet Development  >  developerWorks

Missing information clicking on actionUrl Link    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

loginbox.header
 loginbox.welcomelabel loginbox.guestlabel
loginbox.signin
Permlink Replies: 1 - Pages: 1 - Last Post: Nov 23, 2009 10:42 AM Last Post By: jwbarnes
miq

Posts: 27
Registered: Aug 13, 2007 08:44:18 AM
Missing information clicking on actionUrl Link
Posted: Nov 03, 2009 04:30:30 AM
Click to report abuse...   Click to reply to this thread Reply
I have actionURL link on my form, clicking on this do triggere 'ProcessAction ' but it is not possible toi retrieve any values from the Form.

When I Submit the Form clicking on the Submit button it is not a problem.

In the ProcessAction I use following to acces the fieldconten.
'Map m = request.getParameterMap();'

And do work when I Submit the Form.

Is ActionUrl not the same as a Submit, do I really have to enter all the fieldinformation as parameter and then accces.

They must be a better Solution.

Thanks.

jwbarnes

Posts: 3,731
Registered: Sep 28, 2007 08:59:07 AM
Re: Missing information clicking on actionUrl Link
Posted: Nov 23, 2009 10:42:17 AM   in response to: miq in response to: miqthread.responsepost
Click to report abuse...   Click to reply to this thread Reply
correct actionurl is not the same as a form submit, and this is because the browsers handle them differently. In the browser it will just try to go to the link, ignoring the url, now the url can be the action of a form, but by itself it is just another link with no form information,

Now you could use ajax to autoappend the form variables to the url then submit it, OR you can use javascript to call the submit on the form itself

IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0

The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums