Guys,

Ok, I am going to try the @Checkbox component.... inside some html

Typical usage follows...

<td>
        <span jwcid="@Insert" value="message:label.rememberMe"/>
                <input jwcid="[EMAIL PROTECTED]" value="ognl:rememberMe"/>
</td>

Now I do not want to operate any *.Page files (although an alternative sample would be nice to refer to)

I want to do everything in JAVA... period

1. Can someone provide an example of how to GET this boolean property into the JAVA onFormSubmit() method?

Why isn't there just an @Property(id="rememberMe" type="boolean") annotation

   Ideally it wuold be nice if this existed

       @Property(id="rememberMe" type="boolean")
public abstract boolean isRememberMe(); // to be used inside onFormSubmit()


   I dillied with @Component but the docs are partial and non-intuitive.

        @Component(type = "Checkbox", id = "rememberMe", bindings = {
                    "value = ognl:rememberMe",
                           "displayName = message:label.rememberMe" })
        public abstract Checkbox getRememberMe();
        public abstract boolean isRememberMe();

              // so far none of the above works

I am just looking for that boolean in my java ........ thats all.

2. Should I be modeling isRememberMe() or getRememberMe() ?

3. What are the specs on modeling the methods ... are they abstract or not?

Some clarification on this would be terrific.

Thanks in advance.

_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


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

Reply via email to