<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Scoped Model Driven Interceptor</title>
	<atom:link href="http://www.englishteeth.co.uk/2008/07/04/scoped-model-driven-interceptor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.englishteeth.co.uk/2008/07/04/scoped-model-driven-interceptor/</link>
	<description>... the weblog of Ian "English Teeth" Robinson</description>
	<pubDate>Sat, 31 Jul 2010 23:03:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ian</title>
		<link>http://www.englishteeth.co.uk/2008/07/04/scoped-model-driven-interceptor/comment-page-1/#comment-69</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 07 Jul 2008 08:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=63#comment-69</guid>
		<description>Thanks Jonathan.

In this case model was defined and it was referenced successfully elsewhere in the template.
&lt;code&gt;
${(model.title)!} - no problem.
&lt;/code&gt;

It seemed to be the directive or perhaps just the collection reference such as 
&lt;code&gt;&lt;#if model.mycollection?has_content&gt; &lt;/code&gt;
that caused it to fail with the above stack trace.

And only with the Scoped Model Driven Interceptor. It's curious...

I'll dig further when I get the chance.</description>
		<content:encoded><![CDATA[<p>Thanks Jonathan.</p>
<p>In this case model was defined and it was referenced successfully elsewhere in the template.<br />
<code><br />
${(model.title)!} - no problem.<br />
</code></p>
<p>It seemed to be the directive or perhaps just the collection reference such as<br />
<code>< #if model.mycollection?has_content> </code><br />
that caused it to fail with the above stack trace.</p>
<p>And only with the Scoped Model Driven Interceptor. It&#8217;s curious&#8230;</p>
<p>I&#8217;ll dig further when I get the chance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Revusky</title>
		<link>http://www.englishteeth.co.uk/2008/07/04/scoped-model-driven-interceptor/comment-page-1/#comment-68</link>
		<dc:creator>Jonathan Revusky</dc:creator>
		<pubDate>Fri, 04 Jul 2008 20:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.englishteeth.co.uk/?p=63#comment-68</guid>
		<description>Try:

#if (model.myproperty)?has_content

WIthout the parentheses, it blows up if model is undefined.</description>
		<content:encoded><![CDATA[<p>Try:</p>
<p>#if (model.myproperty)?has_content</p>
<p>WIthout the parentheses, it blows up if model is undefined.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
