Igor Vaynberg schrieb:
do you call getResourceSettings().getResourceFinder(wpath).add(wpath) ?
No, because IResourceFinder doesn't have an add method.
This is my code int MyWebApplication.init(), now the root path being the
root of the HTML files ("content" is already the topmost package name):
WebApplicationPath rfinder = new
WebApplicationPath(getWicketServlet().getServletContext());
rfinder.add("/");
getResourceSettings().setResourceFinder(rfinder);
Btw, I am using Wicket 1.2beta1.
Matthias
-Igor
On 3/16/06, *Matthias Albert* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Thanks, that helped. I changed the wrong file. Now I still have to
analyse the messages. I moved the html file from the classpath to a
different folder "content" and configured that as
WebApplicationPath wpath =
new WebApplicationPath( getWicketServlet().getServletContext());
wpath.add("content");
Apparently the HTML pages cannot be found.
Matthias
Igor Vaynberg schrieb:
> the error means that wicket could not find the markup file for
your page
> or panel. make sure it is named propely.
>
> as far as logging goes, usually you need to add wicket=debug,
stdout <==
> that stdout is the name of the logger defined. see the log4j
webpage for
> details.
>
> -Igor
>
>
> On 3/16/06, *Matthias Albert* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>> wrote:
>
> Could anyone give me a hint how to "enable debug messages for
> wicket.xxxx" package, please?
>
> I found log4j in the dependencies, looked on the website of
log4j, tried
> to edit a sample properties file, but without success.
>
> The error message on my console is:
>
> ERROR - RequestCycle - Markup of type 'html'
for component
> 'content.MasterPage' not found. Enable debug messages for
> wicket.util.resource.Resource to get a list of all filenames
tried:
>
> I am sure this is a matter of one line of the right
initialisation
> setting. Any help is welcome.
>
> Thanks
> Matthias Albert
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking
scripting
> language
> that extends applications into web and mobile media. Attend
the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
>
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
> <mailto:Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> < https://lists.sourceforge.net/lists/listinfo/wicket-user>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user