Butterfingers.

On Nov 29, 2007 9:21 PM, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> toggle.true=Disable
> toggle.false=Disable
The second one should be "Enable" of course.

> IModel action = new StringResourceModel("toggle.${account.enabled}",
> this,  new Model(user));

and the embedded model must reference the live user object instead of
copying it, so new PropertyModel(user) would make more sense.

I sure hope I got it right this time :-)


Gabor Szokoli

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

Reply via email to