Hi,

Please create a quickstart and attach it to a ticket in Jira.
I'm interested to see what breaks.
Thanks!


On Mon, Apr 29, 2013 at 1:02 AM, mazabel <[email protected]> wrote:

> Thank you for your reply.
>
> The Wicket help describes how to change the file location the markup is
> loaded from.
>
> Since some of the markup files will eventually be loaded from a data base,
> simply adding another resource folder is not sufficient. I need to override
> ResourceStreamLocator and return a custom IResourceStream. When I do this,
> I
> get the described error for any markup containing inheritence.
>
> It is irrelevant whether I use a FileResourceStream as in my example code
> or
> a StringResourceStream from the markup code or something else, the error is
> always the same.
>
> Putting *exactly* the same markup code to the default location and
> returning
> super.locate(clazz,path), all works fine. Therefore the markup itself has
> no
> errors. Obviously, there is a difference whether I created the stream
> myself
> or use the stream created by standard ResourceStreamLocator, although
> getInputStream()  delivers in both cases the same content.
>
> Martin
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Overriding-markup-loading-results-in-errors-with-inheritance-tp4658319p4658369.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
Wicket Training & Consulting
http://jWeekend.com <http://jweekend.com/>

Reply via email to