IStringResourceLoader is what you want most likely. -igor
On Thu, Sep 10, 2009 at 11:37 AM, Chris Colman <chr...@stepaheadsoftware.com> wrote: > 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:igor.vaynb...@gmail.com] >> Sent: Friday, 11 September 2009 12:56 AM >> To: users@wicket.apache.org >> 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 >> <chr...@stepaheadsoftware.com> 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: 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 >> >> >> 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: 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