<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sheila&#039;s Blog &#187; debug</title>
	<atom:link href="http://sheilapollard.com/tag/debug/feed/" rel="self" type="application/rss+xml" />
	<link>http://sheilapollard.com</link>
	<description>Software Development</description>
	<lastBuildDate>Wed, 24 Mar 2010 17:19:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debugging Seam applications</title>
		<link>http://sheilapollard.com/2009/04/03/debugging-seam-applications/?utm_campaign=feed&utm_medium=feed&utm_source=blog</link>
		<comments>http://sheilapollard.com/2009/04/03/debugging-seam-applications/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 10:52:18 +0000</pubDate>
		<dc:creator>Sheila</dc:creator>
				<category><![CDATA[seam]]></category>
		<category><![CDATA[debug]]></category>

		<guid isPermaLink="false">http://sheilapollard.wordpress.com/?p=249</guid>
		<description><![CDATA[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
&#60;context-param&#62;
  &#60;param-name&#62;facelets.DEVELOPMENT&#60;/param-name&#62;
  &#60;param-value&#62;true&#60;/param-value&#62;
&#60;/context-param&#62;
The Facelets debug page gives you the line number in [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p><strong>Enable the Facelets Debug Page:</strong><br />
In web.xml you set Facelets to development mode.<br />
WEB-INF/web.xml
<code>&lt;context-param&gt;
  &lt;param-name&gt;facelets.DEVELOPMENT&lt;/param-name&gt;
  &lt;param-value&gt;true&lt;/param-value&gt;
&lt;/context-param&gt;</code></p>
<p>The Facelets debug page gives you the line number in the .xhtml page where the error occured and access to the JSF component tree.</p>
<p>You can access the facelets debug page at any point by setting a hot key for that page.  To launch a debug popup on a page using CTRL-SHIFT-D, add &lt;ui:debug hotkey=&#8221;d&#8221;/&gt; in the page.</p>
<p><strong>Enable the Seam Debug Page:</strong><br />
You need to <a href="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NoZWlsYXBvbGxhcmQuY29tLzIwMDkvMDQvMDIvYWRkaW5nLWZhY2VsZXRzLWFuZC1zZWFtLXVpLXRvLXlvdXItYXBwbGljYXRpb24vP3V0bV9jYW1wYWlnbj1mZWVkJnV0bV9tZWRpdW09ZmVlZCZ1dG1fc291cmNlPWJsb2c=">add Facelets and Seam UI Support</a>, then enable debugging in components.xml</p>
<p>WEB-INF/components.xml
<code>&lt;core:init jndi-pattern="example/#{ejbName}/local" debug=true/&gt;</code>where example is the name of the application.</p>
<p>You can always access the seam debug page by going to the /debug.seam page in your browser.</p>
<br /><a href="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NoZWlsYXBvbGxhcmQud29yZHByZXNzLmNvbS8/cD0yNDkjY29tbWVudHM=" title=\"Comments on &quot;Debugging Seam applications&quot;\"><img src="http://sheilapollard.com/wp-content/plugins/feed-comments-number/image.php?249" alt="Comments" /></a> <img src="http://sheilapollard.com/wp-content/plugins/feed-statistics.php?view=1&post_id=249" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://sheilapollard.com/2009/04/03/debugging-seam-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
