link = new AjaxSubmitLink(....);
link.add(new AttributeModifier("value", true, new
ResourceModel("speichern.textkey"));

--
Jeremy Thomerson
http://www.wickettraining.com



On Mon, Apr 20, 2009 at 6:59 AM, Peter Diefenthaeler <pdief...@csc.com>wrote:

>
> Hi,
> is it possible to localize a AjaxSubmitLink?
> I would like to replace "Speichern" with a localized value from a
> properties file ...
>
> HTML:
>      <input wicket:id="save": type="submit" value="Speichern"/>&nbsp;
> Java:;
>      form.add(new AjaxSubmitLink("save") { ... });
>
> Thanx, Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to