Hello Martin, thanks for your reply. The setButtonImage method is defined in org.odlabs.wiquery.ui.datepicker.DatePicker<T>, see here: http://code.google.com/p/wiquery/source/browse/trunk/src/main/java/org/odlabs/wiquery/ui/datepicker/DatePicker.java?r=553
My BrDatePickerField looks something like this: public class BrDatePickerField<T> extends DatePicker<T> { public BrDatePickerField(String id, IModel<T> model) { super(id, model); // do some stuff with model, add validators etc. PackageResourceReference pcgRef = new PackageResourceReference(BrDatePickerField.class, "calendar.gif"); String url = urlFor(pcgRef, null).toString(); setButtonImage(url); // inherited from DatePicker<T> } } Now I've just realized, that the hole process of adding new rows to the view is implemented manually. I guess I'll have to change this so that a RefeshingView is used. If this doesn't work, I'll come back here. Thanks! Benedikt -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-when-adding-component-with-PackagedResourceReference-during-submit-tp4661896p4661900.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org