Re: Hint on best way of setting a dinamic value to a localized message
Thanks igor. Would it be possible to add this example to some wicket example page? Because I think it could be a common use case. Thanks, Esteban El 25/02/2010 20:22, Igor Vaynberg escribió: getstring(key,new model(new micromap(url,url)); -igor On Thu, Feb 25, 2010 at 1:59 PM, Esteban Masoero emaso...@getsense.com.ar wrote: Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hint on best way of setting a dinamic value to a localized message
you are more then welcome to add it to the wiki -igor On Fri, Feb 26, 2010 at 8:52 AM, Esteban Masoero emaso...@getsense.com.ar wrote: Thanks igor. Would it be possible to add this example to some wicket example page? Because I think it could be a common use case. Thanks, Esteban El 25/02/2010 20:22, Igor Vaynberg escribió: getstring(key,new model(new micromap(url,url)); -igor On Thu, Feb 25, 2010 at 1:59 PM, Esteban Masoero emaso...@getsense.com.ar wrote: Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - 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 - 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
Re: Hint on best way of setting a dinamic value to a localized message
ok, let me find the right place for it. In the meantime, who is allowed to give me access to edit the wiki? El 26/02/2010 14:12, Igor Vaynberg escribió: you are more then welcome to add it to the wiki -igor On Fri, Feb 26, 2010 at 8:52 AM, Esteban Masoero emaso...@getsense.com.ar wrote: Thanks igor. Would it be possible to add this example to some wicket example page? Because I think it could be a common use case. Thanks, Esteban El 25/02/2010 20:22, Igor Vaynberg escribió: getstring(key,new model(new micromap(url,url)); -igor On Thu, Feb 25, 2010 at 1:59 PM, Esteban Masoero emaso...@getsense.com.arwrote: Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - 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 - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hint on best way of setting a dinamic value to a localized message
you can sign up yourself -igor On Fri, Feb 26, 2010 at 10:06 AM, Esteban Masoero emaso...@getsense.com.ar wrote: ok, let me find the right place for it. In the meantime, who is allowed to give me access to edit the wiki? El 26/02/2010 14:12, Igor Vaynberg escribió: you are more then welcome to add it to the wiki -igor On Fri, Feb 26, 2010 at 8:52 AM, Esteban Masoero emaso...@getsense.com.ar wrote: Thanks igor. Would it be possible to add this example to some wicket example page? Because I think it could be a common use case. Thanks, Esteban El 25/02/2010 20:22, Igor Vaynberg escribió: getstring(key,new model(new micromap(url,url)); -igor On Thu, Feb 25, 2010 at 1:59 PM, Esteban Masoero emaso...@getsense.com.ar wrote: Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - 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 - 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 - 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
Hint on best way of setting a dinamic value to a localized message
Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Hint on best way of setting a dinamic value to a localized message
getstring(key,new model(new micromap(url,url)); -igor On Thu, Feb 25, 2010 at 1:59 PM, Esteban Masoero emaso...@getsense.com.ar wrote: Hi there: In a onSubmit() method, I'm supossed to send an email that says something like Follow this link: ${url} to activate your accout, and the url has just been obtained dynamically. I could add an url field to my page and do this.getString(someKey, new Model(this)) (using a .properties as it's supposed to), but is there a simpler option? I just don't want to add this temporal value as a field that will not be used always. Can't I just say this.getString(someKey, new Model(recentlyCalculatedUrl); and in the .properties file do something like someKey:Follow this link: ${theObjectItself} to activate your accout ? Thanks, Esteban - 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