Igor,

I think there is a better way because you would need to remove final
from remove(), removeAll() etc. as well. If you do
panel.setTransparent(true) it is all done for you.

Juergen

---------- Forwarded message ----------
From: Igor Vaynberg <[EMAIL PROTECTED]>
Date: Mar 4, 2006 8:20 AM
Subject: [Wicket-autocvs] wicket/src/java/wicket
MarkupContainer.java,1.112,1.113
To: [EMAIL PROTECTED]


Update of /cvsroot/wicket/wicket/src/java/wicket
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30480/src/java/wicket

Modified Files:
        MarkupContainer.java
Log Message:
made add() nonfinal. for example, if i have a panel that acts as an
adapter for a repeater, i might want to forward the add call to the
repeater instead of adding the child directly to the panel.

Index: MarkupContainer.java
===================================================================
RCS file: /cvsroot/wicket/wicket/src/java/wicket/MarkupContainer.java,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** MarkupContainer.java        4 Mar 2006 00:31:47 -0000       1.112
--- MarkupContainer.java        4 Mar 2006 07:20:23 -0000       1.113
***************
*** 129,133 ****
         * @return This
         */
!       public final MarkupContainer add(final Component child)
        {
                if (log.isDebugEnabled())
--- 129,133 ----
         * @return This
         */
!       public MarkupContainer add(final Component child)
        {
                if (log.isDebugEnabled())



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-autocvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-autocvs


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to