Thank you, Yves

I solved my problem, the form-bean was not preset in the
right action.

Wolfgang

Yves Sy wrote:

Hi,

Try declaring eatable in your form-bean declaration as
java.lang.Boolean and in the action before your edit page go
myForm.set("eatable", new Boolean(true))

-Yves-

On Tue, 31 Aug 2004 12:25:18 +0200, Wolfgang Woger
<[EMAIL PROTECTED]> wrote:


Hi,
I have acheckbox that needs to be prechecked with the value of myBean.toEat.

<html:checkbox property="eatable" value="true"/>

I use a DynaValidatorForm, "eatable" is a property of my
DynaValidatorForm, I
tried to set: myForm.set("eatable","true"); before forwarding to the jsp
page,
but without success.

Any ideas ?

Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








Reply via email to