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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]