You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "wicklist@nicolasius.net" <wi...@nicolasius.net> on 2007/10/23 16:55:52 UTC
i18n feedbackmessages
Hi, i wonder wether the
info("feedback message"); could be internationalized, ie.
info("feedback.success"); with a corresponding entry in the xyz.properties.
is there a workaround?
thanks very much,
best regards, nico
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: i18n feedbackmessages
Posted by nico <wi...@nicolasius.net>.
another issue,
Button.onComponentTag states in its documentation tag:
* <b>NOTE</b>. For a <tt><button></tt> the <tt>value</tt>
* attribute is not rendered, markup needs to be added within the button
* to display the button's label.
* </p>
however if i add markup the i18n is gone.
i currently use
<label for="button.send"><wicket:message
key="buttontxt.send" />:</label>
<input type="submit" wicket:id="button.send" value="" />
however the internationalized string is added as a label.
is there a way to use i18n in the value attribute of the button tag?
all three don't work, i tried to dig the code, but haven't found a way
to accomplish:
submitButton = new Button("button.send",new
Model(getString("buttontxt.send")));
submitButton.setLabel(new Model(getString("buttontxt.send")));
add(submitButton);
regards, nico
> info(getString("your.key"));
>
> Jeremy Thomerson
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: i18n feedbackmessages
Posted by Jeremy Thomerson <jt...@users.sourceforge.net>.
info(getString("your.key"));
Jeremy Thomerson
On 10/23/07, wicklist@nicolasius.net <wi...@nicolasius.net> wrote:
>
> Hi, i wonder wether the
> info("feedback message"); could be internationalized, ie.
> info("feedback.success"); with a corresponding entry in the xyz.properties
> .
> is there a workaround?
> thanks very much,
> best regards, nico
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: i18n feedbackmessages
Posted by Igor Vaynberg <ig...@gmail.com>.
info(getstring("feedback.success"));
-igor
On 10/23/07, wicklist@nicolasius.net <wi...@nicolasius.net> wrote:
> Hi, i wonder wether the
> info("feedback message"); could be internationalized, ie.
> info("feedback.success"); with a corresponding entry in the xyz.properties.
> is there a workaround?
> thanks very much,
> best regards, nico
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org