Dashboard > Tempo > ... > FAQ > Debugging forms > View
Tempo Log In   View a printable version of the current page.
Debugging forms
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Nov 18, 2008

Debugging XForms, live version

Debugging XForms, going through the form manager loggers

The first thing you need to do is to update the following logger in the log4j.properties file of your distribution.
Change from this:

log4j.category.org.orbeon.oxf=WARN
# Uncomment to debug Orbeon forms
#log4j.category.org.orbeon.oxf.processor.DebugProcessor=INFO

to the following:

log4j.category.org.orbeon.oxf=WARN
# Uncomment to debug Orbeon forms
log4j.category.org.orbeon.oxf.processor.DebugProcessor=INFO

Then, you can put debug attribute to show defined values in xpl files of the form manager.
So, for example, in the act.xpl file, you could switch form:

<p:param name="data" type="input"/>

to

<p:param name="data" type="input" debug="act.xpl"/>

The orbeon logger will then show the content of data in the logs.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators