[jboss-dev-forums] [JBoss Portal Development] - Submit portlet form using JavaScript

abhijitdas.cs@gmail.com do-not-reply at jboss.com
Tue Oct 6 01:22:09 EDT 2009


Hi,
  I am using javascript function  to submit a button in portlet. The URL is given by the createActionURL() in my Portlet class. Once it is submitted, processAction() is called but the input values are not passed in the ActionRequest object. So, I cannot get the inserted values in the processAction().
If the same URL is assigned to the action attribute of  tag , It is working fine using submit form.

But, my page consists of more than one submit , so I have to use buttons and javascript function to submit .

NOTE :I am dynmically assigning the URL value in the my XHTML page.

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

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



More information about the jboss-dev-forums mailing list