Hi again,

I'm working on a form where a particular checkbox should be initially
checked when the form first comes up.

None of the options in s:checkbox seem to support this.

I tried to have my backing object initialized with the particular Boolean set to true, but struts doesn't seem to actually create my object (counter to the docs),
until submission time.

If I have:

<s:checkbox name="user.sendEmail"/>

The docs say that if user doesn't exist (which is the case on initial display of the form), OGNL will get a null value, and struts will create a user object. This doesn't seem
to be happening.

Is there a way to do this using the UI tags?

Thanks,

Fred


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

Reply via email to