commands, e-mail: [EMAIL PROTECTED]
-
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/Model-never-called-tp20577931p20578051.html
Sent from the Wicket - User mailing list archive at Nabble.com
@wicket.apache.org
Betreff: Re: Model never called
you should rather add an IModel to the link e.g. new
Link(foobar, myModel);
than letting a component implement IModel. the way you did
it, the model is
never recognised as a model, as it wasn't set as a model of a
component.
hope that makes sense
Hi,
I do have a link class which should render different icons when clicked.
So I decided to implement IModel and return different icons depending on the
state of the object. But to my surprise getObject() never get called!
Does anyone give me a clue where to look next or give me a hint as to
]
Enviada em: quarta-feira, 19 de novembro de 2008 09:28
Para: [EMAIL PROTECTED] Apache. Org (E-Mail)
Assunto: Model never called
Hi,
I do have a link class which should render different icons when clicked.
So I decided to implement IModel and return different icons depending on the
state
PROTECTED]
Gesendet: Mittwoch, 19. November 2008 12:37
An: users@wicket.apache.org
Betreff: Re: Model never called
you should rather add an IModel to the link e.g. new
Link(foobar, myModel);
than letting a component implement IModel. the way you did
it, the model is
never recognised