I refactored the Resource and ResourceLocator a bit on my laptop. I
now have a ResourceLocator offering basic functionality and derived
from that a FileSystemResourceLocator, a ClassPathResourceLocator and
a ChainedResourceLocator. The latter one contains a customizable list
of ResourceLocators and is now used by Resource to locate the
resource. In order to allow for any locator to be added, I've added a
getResourceLocator() to ApplicationSettings(). Thus users may
add/replace there own locators and are now able to provide any mapping
between java class name and markup file name.

What do you think? shall I commit it?

Juergen


On Thu, 03 Feb 2005 15:16:22 -0800, Jonathan Locke <[EMAIL PROTECTED]> wrote:
> 
> ;-)
> 
> we'll make it so he can plug in his own ResourceLocator implementation.
> he could even contrib
> that for others to use.
> 
> Gwyn Evans wrote:
> 
> >Hi Jonathan,
> >  Just an aside, but have you checked Matt's domain name?  If the NZ
> >gov's anything like the UK one, he's not likely to have much option to
> >change the convention he has to follow in the short term, if at all!
> >:-)
> >
> >/Gwyn
> >
> >On Wed, 02 Feb 2005 12:59:32 -0800, Jonathan Locke <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>before.  if you really /have/ to do this, we could try to do that for
> >>1.0, but it's more likely we'd
> >>prefer to delay to 1.1.
> >>
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> >Tool for open source databases. Create drag-&-drop reports. Save time
> >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> >Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> >_______________________________________________
> >Wicket-user mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to