Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries from April 3rd, 2009

Debugging Seam applications

April 3rd, 2009 No Comments

Seam provides two different pages that can be useful for debugging applications.  The Facelets Debug page which shows page-rendering errors, and the Seam Debug page which shows any uncaught application exceptions.
Enable the Facelets Debug Page:
In web.xml you set Facelets to development mode.
WEB-INF/web.xml
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
The Facelets debug page gives you the line number in [...]

Tags:   ·