The solution in that case is to not specify an 'id' attribute in the markup.

Then each label and datepicker will be given generated 'for' and 'id'
attributes.  

You can use a 'class' attribute to attach css information.

Cameron

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wicket-develop-
> [EMAIL PROTECTED] On Behalf Of dongping lu
> Sent: Monday, 15 August 2005 12:29 PM
> To: [email protected]
> Subject: Re: [Wicket-develop] Re: Re: [ wicket-Bugs-1254001 ] DatePicker
> changes text field id
> 
> but If it was used in a ListView , many components share the same id ?
> 
> 
> On 8/14/05, Jan Bares <[EMAIL PROTECTED]> wrote:
> > Yes, I like it.
> >
> > Jan
> >
> > > Now that I think of it... DatePicker should use the id that is
> attached
> > > to the tag if there is one, and only generate one when there is none.
> > > Wouldn't that be a more elegant fix?
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Wicket-develop mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to