Title: RE: [Wicket-user] Wicket details
The error message is telling you that wicket cannot find the markup file for the WicketExampleHeader component in the gov.irs.cts package, the file should be named WicketExampleHeader.html.
 
In order to enable the debug messages you need to edit your log4j.properties file and add the following line:
 
log4j.logger.wicket.util.resource=DEBUG
 
this will turn on debug msgs only for the resource package, if you want to turn on debug messages for the entire wicket change
log4j.logger.wicket=INFO
to
log4j.logger.wicket=DEBUG
 
see http://logging.apache.org/log4j/docs/ for docs on how to configure log4j
 
Igor
 
 
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trussell David N
Sent: Thursday, June 30, 2005 8:21 AM
To: '[email protected]'
Subject: RE: [Wicket-user] Wicket details

I'm a Java rookie and certainly new to Wicket. I'm trying to hack up the Nested Wicket example and do some of my own stuff. I've copied, pasted, refactored and run. I receive the following error:

-------------
wicket.WicketRuntimeException: Markup of type 'html' for component 'gov.irs.cts.WicketExampleHeader' not found or invalid Enable debug messages for wicket.util.resource.Resource to get a list of all filenames tried:

-------------

I have searched the list archives and looked at the Javadoc. I have two questions/observations:

1. Javadoc doesn't show a "wicket.util.resource.Resource" class, and
2. How does one "Enable debug messages" for a class?

Pardon the extreme newbie questions. Gotta learn somehow...........

Thank you,
Dave

Reply via email to