Thanks Martino,

I've updated it with:
<option jwcid="@Option" label="message:male" selected="ognl:selected" />

On 10/4/07, Martino Piccinato <[EMAIL PROTECTED]> wrote:
> If you write
>
> <option jwcid="@Option" label="message:male" selected="false" />
>
> ognl correctly resolve "false" as the literal "false" value in java.
>
> You have to write something like:
>
> <option jwcid="@Option" label="message:male" selected="selected" />
>
> and then implemente the "selected" property in your page/component, e.g.:
>
> public abstract boolean getSelected();
> public abstract void setSelected(boolean selected);


-- 
It's not just about coding, it's a matter of fulfilling your core being

YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/

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

Reply via email to