Is there a special reason why an AjaxButton doesn't have a constructor that allows a label to be set onto it automatically like a normal form Button?

Shouldn't the AjaxButton have a constructor like the Button constructor?:

Button(java.lang.String id, IModel model)
Constructor taking an model for rendering the 'label' of the button (the value attribute of the input/button tag).

I realise you can use setLabel to set the label after it's been declared but it just seems inconsistent.



cheers,
Steve

---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT

email: [EMAIL PROTECTED]
phone: +44 (0) 1524 594870







Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to