> Page
>
>       [Page class = com.myapp.wicket.Home, id = 0]:
>       #         Path    Size    Type    Model Object
> ...
> = '0000@@@@@', nombre = 'sin nombre'], called with component
> [MarkupContainer [Component id = externalLink1, page =
> com.myapp.wicket.Home, path = 0:mainNavigation:externalLink1.ExternalLink,
> isVisible = true, isVersioned = false]]

That's part of the component dump. The first part (the stack trace) is
more interesting.

>     Regarding the "unable to get object, model" message, I believe it can be
> related to this code:
>
>     public Home() {
>         this(null);
>     }
>
>     /**
>      * Construct.
>      * @param model
>      */
>     public Home(IModel model) {
>         super(model);
>
>         // HERE FOLLOWS MY OWN CODE
>     }
>
>     This is copied from the example, as you can see, the first constructor
> with no parameters calls the second one with null parameter, and the second
> one starts calling super(model), so I guess the model is set to null, is
> this right ??  But after that, I call setModel:
>
>         final Input input = new Input();
>         setModel(new CompoundPropertyModel(input));

That's fine. As long as you set the model, that should work.

Eelco

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

Reply via email to