It's 2.0 where I neede. In 1.2 I can override add. But in 2.0 there is no way (except overriding internalAdd) to have a callback on component insertion.
-Matej Eelco Hillenius wrote: > I agree with Johan. Not too crazy about that. And for 2.0 you don't > need it, right? > > Eelco > > > On 7/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote: >> You can add this method if it was me. >> >> But it should cleary state with a big warning that you shouldn't call >> methods on them. And if you do be very carefull what you call >> (it should only be none overrideable (final) methods of Component itself) >> >> I am not a big fan of these kind of methods because of the pittfalls we >> can have there. It is very bad programming to call methods on not >> fully constructed objects... >> >> johan >> >> >> On 7/21/06, Matej Knopp <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> does anyone mind these two to be added to markup container? >>> I know it first one could be little dangerous, because it's dealing with >>> object that is not fully constructed yet, but I think if the javadoc >>> states this clearly it should not be a problem. >>> >>> Currently I can accomplish it overriding internalAdd and remove, but >>> that's not good because internalAdd is ... erm.. internal. >>> >>> -Matej >>> >>> >> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >>> opinions on IT & business topics through brief surveys -- and earn cash >>> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Wicket-develop mailing list >>> Wicket-develop@lists.sourceforge.net >>> >> https://lists.sourceforge.net/lists/listinfo/wicket-develop >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> Wicket-develop mailing list >> Wicket-develop@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-develop >> >> >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop