Hi Igor,

Is there any interface available that we can override to implement that
kind of behavior?

Wicket's usually pretty good like that - there's usually some interface
available that allows us to put in our own home grown implementation of
something.

I don't know if IResourceLocator is the one.... maybe it is.

Regards,
Chris

> -----Original Message-----
> From: Igor Vaynberg [mailto:[email protected]]
> Sent: Friday, 11 September 2009 12:56 AM
> To: [email protected]
> Subject: Re: Variation algorithm
> 
> wicket will not iterate over '_' delimiters that you supply in the
> return value of getVariation().
> 
> -igor
> 
> On Thu, Sep 10, 2009 at 1:21 AM, Chris Colman
> <[email protected]> wrote:
> > With using the getVariation() method is the 'fallback' process for
when
> > a particular variant isn't found like this:
> >
> > (a) Incremental removal of variant suffixes using '_' as the
delimeter:
> >
> > i.e. Wicket looks for files in the following order until one is
found:
> >
> > HeaderPanel_Var1_Var2_Var3.html
> > HeaderPanel_Var1_Var2.html
> > HeaderPanel_Var1.html
> > HeaderPanel.html
> >
> > OR this:
> >
> > (b) Total removal of entire variant suffix if no variant markup file
is
> > found:
> >
> > i.e. Wicket looks for files in the following order until one is
found:
> >
> > HeaderPanel_Var1_Var2_Var3.html
> > HeaderPanel.html
> >
> >
> >
---------------------------------------------------------------------
> > 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]
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.409 / Virus Database: 270.13.89/2359 - Release Date:
09/10/09
> 05:50:00

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to