Here is an approach I use for dynamically creating form-submit URL's in 
portlet-JSP pages (Using JSP 2.0 - EL support and JSTL):


  | <%-- create a page-scoped var containing the submit URL --%>
  | <c:set var="saveChangesURL"><portlet:actionURL><portlet:param name="action" 
value="saveChanges"/></portlet:actionURL></c:set>
  | 
  | Customize (EDIT) This Portlet<br />
  | <form action="${saveChangesURL}" method="POST">
  | 
  | .....
  | 
  | </form>
  | ....
  | 

The above code is simpler than what you are trying to do with your link code 
and setting the action property of a DOM object.

Hope this helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903539#3903539

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903539


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to