Hi Jeremy,

Wasn't this on the which list for 1.5? [1] and [2]?

Cheers,

Ernesto

1-https://cwiki.apache.org/WICKET/wicket-15-wish-list.html#Wicket1.5WishList-multiplychild%252Fextendinheritance
2-https://issues.apache.org/jira/browse/WICKET-1134

On Tue, Jul 6, 2010 at 7:37 AM, Jeremy Thomerson
<jer...@wickettraining.com> wrote:
> Search the list for this and you'll find some quite long discussions.
> Basically, it's not going to happen. This would be multiple inheritance, not
> single.  You can easily use panels to accomplish what you're looking for.
>
> Jeremy Thomerson
> -- sent from my smartphone - please excuse formatting and spelling errors
>
> On Jul 5, 2010 12:41 AM, "Arjun Dhar" <dhar...@yahoo.com> wrote:
>
>
> Hi,
>  all the examples etc suggest that Single inheritence is possible but I cant
> break it up. The break up is essential when you want to merge common parts
> of your MARKUP with multiple specific parts of the Child page.
>
> Example:
>
>
> <HTML>
> <HEAD><title>BASE TEMPLATE / PARENT PAGE</title></HEAD>
>
> <BODY>
>       <wicket:child />
>       <br />
>       <h2>Some other Html common</h2>
>       <wicket:child />
> </BODY>
> </HTML>
>
>
> -------------------------------------------
>
> <HTML>
> <HEAD><title>CHILD PAGE 1</title></HEAD>
>
> <BODY>
>       <wicket:extend>
>                   Part 1 specific to Child Page
>       </wicket:extend>
>       Any HTML here can be ignored as conceptually anyway what appears in
> <extend> is what should be rendered from a child page.
>       <wicket:extend>
>                   Part 2 Specific to Child Page (will appear after common
> HTML in parent page)
>       </wicket:extend>
> </BODY>
> </HTML>
>
>
> I tried this, only the first part renders. I'm wondering if we can add such
> capability. Conceptually I don't see why not. If already possible do let me
> know or consider as a feature request?!
>
> -Thanks Arjun
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Single-inheritence-in-parts-tp2278064p2278064.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to