Re: prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Wolfgang Woger
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.

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]
   


 



Re: prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Yves Sy
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.
> 
> 
> 
> 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]
> 
> 


-- 
For me to poop on!
http://www.formetopoopon.com
http://www.nbc.com/nbc/Late_Night_with_Conan_O'Brien/video/triumph.shtml

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



prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Wolfgang Woger
Hi,
I have acheckbox that needs to be prechecked with the value of myBean.toEat.

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]