Hmm, just a thought, but not completely thought through though...
The auto border could be set as an autoparent, in the base constructor. This would give Wicket the means to use the border as an auto look up thing. The idea was that in your base class you define the border as auto. As the super constructor is always called first, you can be sure (as a user) that your tranparent resolver is already in place when the new components are added. As for the parent path... when a component is resolved to a transparent parent, why not set the parent automagically to the border ourselves? The search algorithm could be: pointer = current component; while(parent != null) do { if (any siblings of pointer that are Transparent?) resolved, set parent to the transparent sibling else move pointer to parent of current component } The usecase is still there: if you have some tag that surrounds the <wicket:child>. We can't support it properly without solving this problem. Martijn On 9/12/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > new Label(getMyBorder(), "label", ..); > > Ah, yeah, of course. > > Eelco > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > -- Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow -- http://wicketframework.org ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop