> > I think I shouldn't use FormValidator , because MyDatePicker is not a > > form ; MyDatePicker is embed in a form , with other fields included , > > such as username , password , title ...etc. > > The cool thing about how components are nested and form components > work in Wicket, is that you can nest any levels deep. > > So, if your date picker extends panel - easiest way to provide your > custom markup - and you nest some form components in that panel, and > embed the panel in a form, it will just work together nicely with that > form. >
Thank you , it seems MyDatePicker extends Panel is correct... But , what is the "custom markup" ?? Does that look like <wicket:MyDatePicker> ?? And if it is , is there any implemention example about custom markup ?? Thanks in advanced. _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user