cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: [xsp:request] : get a checkbox value
Date Thu, 27 Mar 2003 17:54:52 GMT
On 27.Mar.2003 -- 03:11 PM, Maxime.Gheysen@swisscom.com wrote:
> Hi,
> I have a form with a checkbox and a textbox.
> I submit the form, and from the page I use 
> <xsp-request:get-parameter name="MyTextval"/>
> <xsp-request:get-parameter name="MyCheckval"/>
> 
> The value of the textbox is ok, but the checkbox's value returns
> nothing. How can I get a 0 or 1 (un- and checked)?

The tag knows a default attribute. Set it to "0" and you're there.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message