I know it's not good. But it would be handly to be able somehow to get 
references of added components (in order they are added to container).

-Matej

Johan Compagner 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] <mailto:[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
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     Wicket-develop mailing list
>     Wicket-develop@lists.sourceforge.net
>     <mailto: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

Reply via email to