[jboss-user] [JBoss Portal Users] - Re: Only GET supported?
thinwath
do-not-reply at jboss.com
Wed Nov 18 05:23:53 EST 2009
Hi Andy,
yes I've problems with post forms.
Example:
<form method="post" action="/portal/authsec/portal/Portlet_Window">
| <input type="hidden" name="action" value="1" />
| <input type="test" name="user_name" value="" />
| <input type="submit" name="submit" value="submit" />
| </form>
|
When this form is submitted no "processAction" method will be triggerd. Change the method to GET - it will work.
I've found a workaround (?) for this problem
<form method="post" action="/portal/authsec/portal/Portlet_Window?action=1">
| <input type="test" name="user_name" value="" />
| <input type="submit" name="submit" value="submit" />
| </form>
|
This piece of code will trigger the action method. The Portal has Version 2.7.0
Dunno why first solution doesn't work.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266250#4266250
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266250
More information about the jboss-user
mailing list