Re: set method in Action form is not called

2002-01-16 Thread David M. Karr

> "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 ( 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:   
For additional commands, e-mail: 




set method in Action form is not called

2002-01-16 Thread Mahesh Agarwal

Hi all

I am facing a strange problem in Struts.

The situation is as follows

There is a check box ()which is disable and checked.When I submit that page,
the corresponding set method(public void setAllowOffContractPricing(String
val)) in Action form is not called.

Can any one pls help me solving this problem

thanks a lot in advance

Mahesh

--
To unsubscribe, e-mail:   
For additional commands, e-mail: