>>>>> "Mahesh" == Mahesh Agarwal <[EMAIL PROTECTED]> writes:
Mahesh> Hi all
Mahesh> I am facing a strange problem in Struts.
Mahesh> The situation is as follows
Mahesh> There is a check box (<html:checkbox property="allowOffContractPricing"
Mahesh> disabled="true" />)which is disable and checked.When I submit that page,
Mahesh> the corresponding set method(public void setAllowOffContractPricing(String
Mahesh> val)) in Action form is not called.
Someone else just asked a related question (Subject: RE: Has anyone seen this
issue).
The issue is that disabled components are not submitted by the browser.
You might consider a strategy of rendering an "html:hidden" tag with the same
name if you render a disabled checkbox. That Might Just Work.
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED] ; BrainBench CJ12P (#12004)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>