Hmm...I'm interested in seeing the difference as well. I would love to
get it but right now I don't.

Chris Colman wrote:
"This new feature, or extension of the exiting feature, allows more than
one section of markup to be "specialized" by derived (extended) markups
whereas currently wicket only supports the deferred
definition/implementation of a single markup section in any page. In
other words we want to make a powerful feature even more powerful."

Is the above statement really true considering that by adding abstract
methods to your page you defer the creation of the markup in just the
same way as the new proposed solution?

BasePage.java

public BasePage() {
    addAbstract1("abstractId1");
    addAbstract2("abstractId2);
}

public abstract addAbstract1(String abstractId1);
public abstract addAbstract2(String abstractId2);


BasePage.html

<span wicket:id="abstractId1"/>
<span wicket:id="abstractId2"/>

What is the difference between that and doing abstract / implements?

Each page inheriting from BasePage can choose to be as abstract or as
concrete as it wants.
Chris, I feel like I'm missing something vital here....can you try to
explain it just one more time?

/Regards Mats

On Nov 7, 2007 11:11 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> ok tell me with 2 examples what is soo different about having 2 panels (or
> fragments)
> in a page and implement that in a sub page or having 2 wicket childs in a
> page
> and implement those in a sub page.
>
> A basepage can also have ofcourse an extend area and 2 panels..
>
> johan
>
>
>
>
> On 11/7/07, Chris Colman <[EMAIL PROTECTED]> wrote:
> >
> > > > Wouldn't this essentially be the same as using <wicket:panel
> > > > id="header"/> and using WebMarkupContainers on the java side?
> > >
> > >
> > > yes it would be exactly the same thing.
> >
> > If you think that these are the same then you've missed some vital plot
> > points of the movie that it child/extend.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to