igor.vaynberg wrote:
>
> i would make the cancel button a Link, but thats just me...
>
> -igor
>
Yes, I too, but when I make it a link, the button's text isn't localized
<code>
form.add(new Link("cancel", new MyStyledResourceModel("cancel", this, null))
{
@Override
public void onClick() {
//...
});
</code>
And it display the default value "[Cancel]"...
--
View this message in context:
http://www.nabble.com/Several-localized-buttons-in-a-form-tf4770293.html#a13664181
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]