Thanks, that worked for me,
however i needed to add the modifier in onBeforeRender, within the
constructor an exception
was thrown
@Override
public void onBeforeRender() {
submitButton.add(
new SimpleAttributeModifier("value",
getString("buttontxt.send")));
super.onBeforeRender();
}
Not at a computer, but have you tried:
button.add(new SimpleAttributeModifier("value", getString("your.key"));
Or
button.add(new SimpleAttributeModifier("value", new ResourceModel("your.key"));
It may not be called ResourceModel - the name is escaping me right now.
Jeremy Thomerson
-- sent from a wireless device
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]