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
DateTimeField.hoursField and DateTimeField.minutesField?

--Phil


igor.vaynberg wrote:
> 
> 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
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DateTime.setLabel%28%29-issue-and-a-related-%28but-general%29-setLabel%28%29-question-tp16015278p16019096.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to