You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Michael Mosmann <mi...@mosmann.de> on 2009/01/09 13:06:54 UTC
wicket:extend variation template search order
Hi,
I have two components. Extend and Base.
Markup Base.html:
<wicket:panel>
[something here]
<wicket:child></wicket:child>
</wicket:panel>
Markup Base_variation.html:
<wicket:panel>
<span class="some">[something here]</span>
<wicket:child></wicket:child>
</wicket:panel>
Markup Extend.html:
<wicket:extend>
[hulahup]
</wicket:extend>
and the overwrite getVariation following happens:
Wicket searches for Extend_variation.html (does not exist).
Wicket searches for Extend.html (does exist) and stops.
Should Wicket search also for Base_variation.html cause of
wicket:extend?
When i copy Extend.html to Extend_variation.html Wicket will search
Base_variation.html as well. Bug?
We are using Wicket 1.3.3.
Thanks...
Re: wicket:extend variation template search order
Posted by Juergen Donnerstag <ju...@gmail.com>.
could be a bug. Can you create a junit test case please and attach it
to a Jira bug report. Thanks.
Re: wicket:extend variation template search order
Posted by Jeremy Thomerson <je...@wickettraining.com>.
Yes - this is a bug in 1.3.X - I know that it is fixed in 1.4 because I
submitted the patch. Give that a try. Also, 1.3.5 I think has the patch in
it. You can search JIRA if you wish.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Jan 9, 2009 at 10:59 AM, Michael Mosmann <mi...@mosmann.de> wrote:
> Am Freitag, den 09.01.2009, 16:39 +0100 schrieb Martijn Dashorst:
> > On Fri, Jan 9, 2009 at 1:06 PM, Michael Mosmann <mi...@mosmann.de>
> wrote:
> > > We are using Wicket 1.3.3.
> >
> > Maybe this is your problem?
>
> maybe..
> will test this soon.. (with 1.3.5 and 1.4)
>
> mm:)
>
> p.s.: got around this with a better solution :)
>
>
Re: wicket:extend variation template search order
Posted by Michael Mosmann <mi...@mosmann.de>.
Am Freitag, den 09.01.2009, 16:39 +0100 schrieb Martijn Dashorst:
> On Fri, Jan 9, 2009 at 1:06 PM, Michael Mosmann <mi...@mosmann.de> wrote:
> > We are using Wicket 1.3.3.
>
> Maybe this is your problem?
maybe..
will test this soon.. (with 1.3.5 and 1.4)
mm:)
p.s.: got around this with a better solution :)
Re: wicket:extend variation template search order
Posted by Martijn Dashorst <ma...@gmail.com>.
On Fri, Jan 9, 2009 at 1:06 PM, Michael Mosmann <mi...@mosmann.de> wrote:
> We are using Wicket 1.3.3.
Maybe this is your problem?
Martijn
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.