Hey Guys,
I'm building my first Wicket app and, so far, am really loving Wicket!
I've built my first form and am stumped on a issue with the DateTime
component. I call setLabel() on all the fields in my form and all the labels
I provide appear in the validation error messages except one, the
you can override newDateTextField(..) and call .setLabel() directly on the
DateTextField in there.
Gerolf
On Wed, Mar 12, 2008 at 10:26 PM, Phil Grimm [EMAIL PROTECTED] wrote:
Hey Guys,
I'm building my first Wicket app and, so far, am really loving Wicket!
I've built my first form and am
shouldnt DateField forward its label to the internal field?
-igor
On Wed, Mar 12, 2008 at 2:32 PM, Gerolf Seitz [EMAIL PROTECTED] wrote:
you can override newDateTextField(..) and call .setLabel() directly on the
DateTextField in there.
Gerolf
On Wed, Mar 12, 2008 at 10:26 PM, Phil
Igor,
That's what I was thinking to suggest too, but I think that solution breaks
down when the component has more than one internal field like DateTimeField
does.
Gerolf,
Thanks for the tip. I think that should work for the dateField.
Any ideas on what would one do to set the label on the