Found the problem. I was not actually finding the correct file. I was using
the WebApplicationPath class as the resource finder. When adding a path to
it's search list, if the folder exists on the file system it will look there
instead of the servlet context.


mchack wrote:
> 
> At a loss. I have been trying to locate my markup from the classpath to
> the root web context. It appears to find the file(s0 but for a particular
> one I get the following exception
> 
> WicketMessage: The component(s) below failed to render. A common problem
> is that you have added a component in code but forgot to reference it in
> the markup (thus the component will never be rendered).
> 
> ..list of components
> 
> It found the file. When I reference this from the classpath it works fine.
> Any help would be appreciated.
> Thanks
> 

-- 
View this message in context: 
http://www.nabble.com/ResourceFinder-issue-tf3818855.html#a10822248
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to