class mymodel extends abstractreadonlymodel<string> {
  string getobject() {
     if (show) return getstring("show.components") else return
getstring("hide.components");}}

-igor

On Sun, Dec 4, 2011 at 2:09 PM, cosmindumy <cosmind...@yahoo.com> wrote:
> Thanks. I red the tutorial and now is more clear.
> Now I am looking for a solution to change the ResourceModel of a Lable.
> For instance I want  the key to be changed between "show.components" and
> when the component is displayed the property to be "hide.componets".
> Therefore I need a way to set my label resource model.
> If you know a solution please tell me.
> Thanks.
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4158350.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to