Hi, I'm using IComponentInstantiationListener to add additional functionality to my components. But in this listener I need to know the model of the component to condition this functionality. If we inspect the code, we can see that the listeners are called before assigning the model to the component:
public Component(final String id, final IModel model) { setId(id); getApplication().notifyComponentInstantiationListeners(this); this.model = wrap(model); final IDebugSettings debugSettings = Application.get().getDebugSettings(); if (debugSettings.getComponentUseCheck()) { setMetaData(CONSTRUCTED_AT_KEY, Strings.toString(this, new MarkupException( "constructed"))); } } Are there any reason to do the notification in that moment? Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user