Yep, disabled form fields are not included in the HTTP post.
http://www.w3.org/TR/html401/interact/forms.html#adef-disabled Stupid decision
that only causes problems IMO..
You have to use readonly=true and some css to simulate disabled if you need it
to be included the post.
From: CN Yee [mailto:[email protected]]
Sent: Tuesday, June 23, 2009 2:25 AM
To: [email protected]
Subject: [Stripes-users] Stripes tag - disabled="true" will bind a null value?
Hi,
I have a <stripes:select disabled="true"> tag.
I just discovered that the disabled="true" is setting null to my actionBean
object.
Is that the intended behavior? Is there a way to disable it?
Many thanks
Yee
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users