Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Multiple submit buttons on form not working

Dave Newton

2007-03-01

Replies:

--- Neil Aggarwal <neil@(protected):
> <s:form action="test/FormTest">
>  <s:property value="message"/>
>  <s:submit value="First Message" name="message1" />
> </s:form>
>
> Any ideas why this is not working?

I would guess because it's trying to convert the
string value into a true/false boolean and failing?
(If I change the value to "true" for the msg1/msg2
buttons it works.)

So I guess I'm a little confused as well.

I'm also running my test on 2.0.4 since I haven't
updated m playground project in awhile.

d.




____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.