then just"model.object" will do :)

-igor

On Wed, Nov 26, 2008 at 2:08 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> Bupbow. - that Yields an exception because the FormComponentPanels model
> object is of type String - not user.
>
> editor = new TextField<T>("editor", new PropertyModel<T>(this,
> String.format("model.object.%s", id)));
>
> org.apache.wicket.WicketRuntimeException: No get method defined for class:
> class java.lang.String expression: name
>
> Rgds
>
> Ned
>
>
>
>
> igor.vaynberg wrote:
>>
>> String.format("model.object.%s", id)));
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Using-CompoundPropertyModel-with-FormComponentPanel-tp20697019p20709911.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to