Re: [Wicket-user] Resource not found: Enable debug messages?

2006-03-17 Thread Matthias Albert

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] > 
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]
 >> wrote:
 >
 > Could anyone give me a hint how to "enable debug messages for
 > wicket." 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


 >
>
 > ___
 > Wicket-user mailing list
 > 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

___
Wicket-user mailing list
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


Re: [Wicket-user] Resource not found: Enable debug messages?

2006-03-16 Thread Igor Vaynberg
do you call getResourceSettings().getResourceFinder(wpath).add(wpath) ?-IgorOn 3/16/06, Matthias Albert <
[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 adifferent folder "content" and configured that asWebApplicationPath wpath =new  WebApplicationPath( getWicketServlet().getServletContext());
wpath.add("content");Apparently the HTML pages cannot be found.MatthiasIgor 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] [EMAIL PROTECTED]>> wrote:>> Could anyone give me a hint how to "enable debug messages for
> wicket." 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
> > ___
> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 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 webcastand 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Resource not found: Enable debug messages?

2006-03-16 Thread Johan Compagner
you still have the package structure in the content dir?That is still a requirement or else you have to do the resource loading completely yourselfjohanOn 3/16/06, 
Matthias Albert <[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 adifferent folder "content" and configured that asWebApplicationPath wpath =new  WebApplicationPath( getWicketServlet().getServletContext());
wpath.add("content");Apparently the HTML pages cannot be found.MatthiasIgor 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] [EMAIL PROTECTED]>> wrote:>> Could anyone give me a hint how to "enable debug messages for
> wicket." 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
> > ___
> Wicket-user mailing list> Wicket-user@lists.sourceforge.net> 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 webcastand 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Resource not found: Enable debug messages?

2006-03-16 Thread Matthias Albert
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] > 
wrote:

Could anyone give me a hint how to "enable debug messages for
wicket." 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

___
Wicket-user mailing list
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


Re: [Wicket-user] Resource not found: Enable debug messages?

2006-03-16 Thread Igor Vaynberg
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.
-IgorOn 3/16/06, Matthias Albert <[EMAIL PROTECTED]> wrote:
Could anyone give me a hint how to "enable debug messages forwicket." package, please?I found log4j in the dependencies, looked on the website of log4j, triedto 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 forwicket.util.resource.Resource to get a list of all filenames tried:
I am sure this is a matter of one line of the right initialisationsetting. Any help is welcome.ThanksMatthias Albert---This SF.Net
 email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand 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 listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



[Wicket-user] Resource not found: Enable debug messages?

2006-03-16 Thread Matthias Albert
Could anyone give me a hint how to "enable debug messages for 
wicket." 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
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user