<?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>Web Development By George &#187; coldspring</title>
	<atom:link href="http://www.webdevelopmentbygeorge.com/category/coldspring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopmentbygeorge.com</link>
	<description>ColdFusion, JavaScript and more!</description>
	<lastBuildDate>Sat, 21 Aug 2010 00:16:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DefaultProperties for ColdSpring Bean Factories</title>
		<link>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/</link>
		<comments>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 18:13:35 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[coldspring]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbygeorge.com/?p=90</guid>
		<description><![CDATA[So I was playing with the defaultProperties configuration as mentioned on several sites, including this article by Dan Vega that got me going down the path.  I wasn&#8217;t able to get it working at first, until I did a little messing around.  Turns out that this:

1
2
3
      &#60;entry key=&#34;devFilepath&#34;&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>So I was playing with the defaultProperties configuration as mentioned on several sites, including this <a href="http://www.danvega.org/blog/index.cfm/ColdSpring">article by Dan Vega</a> that got me going down the path.  I wasn&#8217;t able to get it working at first, until I did a little messing around.  Turns out that this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;entry</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;devFilepath&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${baseFilepath}\logs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/entry<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Won&#8217;t work.  The ColdSpring engine won&#8217;t find this as a configuration to populate.  Instead, you have to make sure the whole space between the <value> tags is what you want to have replaced, like so:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;entry</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;devFilepath&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${devFilepath}<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/entry<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>Hope that helps someone out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevelopmentbygeorge.com/2009/06/29/defaultproperties-for-coldspring-bean-factories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
