<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Man with blog</title>
	<atom:link href="http://martypitt.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://martypitt.wordpress.com</link>
	<description>See spot code. Code spot, Code.</description>
	<lastBuildDate>Mon, 28 Sep 2009 16:12:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Mock Webservice in AS3 by pascualin</title>
		<link>http://martypitt.wordpress.com/2008/03/17/mock-webservice-in-as3/#comment-97</link>
		<dc:creator>pascualin</dc:creator>
		<pubDate>Mon, 28 Sep 2009 16:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=8#comment-97</guid>
		<description>I forgot to tick the &quot;notify me of follow-up comments&quot; :-)</description>
		<content:encoded><![CDATA[<p>I forgot to tick the &#8220;notify me of follow-up comments&#8221; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mock Webservice in AS3 by pascualin</title>
		<link>http://martypitt.wordpress.com/2008/03/17/mock-webservice-in-as3/#comment-96</link>
		<dc:creator>pascualin</dc:creator>
		<pubDate>Mon, 28 Sep 2009 16:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=8#comment-96</guid>
		<description>Do you know how to make this work when running Flex UnitTests??

It seems like dispatching the event in Flex 4 doesn&#039;t get picked up by the resultHandler:

FlexGlobals.topLevelApplication.callLater(operation.dispatchEvent, [ResultEvent.createEvent(response, token, message)]);</description>
		<content:encoded><![CDATA[<p>Do you know how to make this work when running Flex UnitTests??</p>
<p>It seems like dispatching the event in Flex 4 doesn&#8217;t get picked up by the resultHandler:</p>
<p>FlexGlobals.topLevelApplication.callLater(operation.dispatchEvent, [ResultEvent.createEvent(response, token, message)]);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rule based &amp; asynchronous validation in Flex forms by Gary Benade</title>
		<link>http://martypitt.wordpress.com/2009/08/26/rule-based-asynchronous-validation-in-flex-forms/#comment-95</link>
		<dc:creator>Gary Benade</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=56#comment-95</guid>
		<description>awesome! thanks for sharing</description>
		<content:encoded><![CDATA[<p>awesome! thanks for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on dpHibernate and Spring transactions by Marty Pitt</title>
		<link>http://martypitt.wordpress.com/2009/05/28/dphibernate-and-spring-transactions/#comment-81</link>
		<dc:creator>Marty Pitt</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=30#comment-81</guid>
		<description>Hi Ryan

It&#039;s been a little while since I edited the serializer, and there&#039;s a few other experimental changes in there, so I may miss something (unfortunately, I didn&#039;t commit the version that didn&#039;t work .. so my svn history doesn&#039;t help)-- but give this a try.

I added the @Transactional annotation to the class:
&lt;code&gt;@Transactional(readOnly=true)
public class HibernateSerializer implements ISerializer&lt;/code&gt;

Made the sessionFactory a resource, and gave it getters and setters:
&lt;code&gt;	@Resource
	private SessionFactory sessionFactory;
	
	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}


	public SessionFactory getSessionFactory() {
		return sessionFactory;
	}
&lt;/code&gt;

Then in getCollectionProxies() modified the beginning of the method to read:
&lt;code&gt;
			EventSource session = (EventSource) getSessionFactory().getCurrentSession();
&lt;/code&gt;

The actual sessionManager variable got trashed - it&#039;s no longer needed.


Hope that helps

Marty</description>
		<content:encoded><![CDATA[<p>Hi Ryan</p>
<p>It&#8217;s been a little while since I edited the serializer, and there&#8217;s a few other experimental changes in there, so I may miss something (unfortunately, I didn&#8217;t commit the version that didn&#8217;t work .. so my svn history doesn&#8217;t help)&#8211; but give this a try.</p>
<p>I added the @Transactional annotation to the class:<br />
<code>@Transactional(readOnly=true)<br />
public class HibernateSerializer implements ISerializer</code></p>
<p>Made the sessionFactory a resource, and gave it getters and setters:<br />
<code>	@Resource<br />
	private SessionFactory sessionFactory;</p>
<p>	public void setSessionFactory(SessionFactory sessionFactory) {<br />
		this.sessionFactory = sessionFactory;<br />
	}</p>
<p>	public SessionFactory getSessionFactory() {<br />
		return sessionFactory;<br />
	}<br />
</code></p>
<p>Then in getCollectionProxies() modified the beginning of the method to read:<br />
<code><br />
			EventSource session = (EventSource) getSessionFactory().getCurrentSession();<br />
</code></p>
<p>The actual sessionManager variable got trashed &#8211; it&#8217;s no longer needed.</p>
<p>Hope that helps</p>
<p>Marty</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on dpHibernate and Spring transactions by Ryan</title>
		<link>http://martypitt.wordpress.com/2009/05/28/dphibernate-and-spring-transactions/#comment-80</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=30#comment-80</guid>
		<description>Thanks for the post!

Can you tell me what exactly I need to replace in HibernateSerializer?

Do I change:

this.sessionManager = new SessionManager(sessionFactoryClazz, getSessionMethod);</description>
		<content:encoded><![CDATA[<p>Thanks for the post!</p>
<p>Can you tell me what exactly I need to replace in HibernateSerializer?</p>
<p>Do I change:</p>
<p>this.sessionManager = new SessionManager(sessionFactoryClazz, getSessionMethod);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by sandip patel</title>
		<link>http://martypitt.wordpress.com/about/#comment-71</link>
		<dc:creator>sandip patel</dc:creator>
		<pubDate>Wed, 17 Jun 2009 16:06:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-71</guid>
		<description>Good job with the Matrix project at Morgan Stanley. I am envious, I hope I get to do something like that in my career.</description>
		<content:encoded><![CDATA[<p>Good job with the Matrix project at Morgan Stanley. I am envious, I hope I get to do something like that in my career.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Morgan Stanley &#8211; Matrix by Alan</title>
		<link>http://martypitt.wordpress.com/2009/06/04/morgan-stanley-matrix/#comment-63</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Thu, 11 Jun 2009 17:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=42#comment-63</guid>
		<description>You worked on that, dude, I&#039;m jealous. It&#039;s beautiful.

Are you able to share any details on the dev process?  Meaning did you use Flex 3 or 4? Did you use Catalyst at all.  How many other Flex devs were on the project?

I&#039;d like to do this kind of work. I think this is what Flash is meant for.

What do you think?</description>
		<content:encoded><![CDATA[<p>You worked on that, dude, I&#8217;m jealous. It&#8217;s beautiful.</p>
<p>Are you able to share any details on the dev process?  Meaning did you use Flex 3 or 4? Did you use Catalyst at all.  How many other Flex devs were on the project?</p>
<p>I&#8217;d like to do this kind of work. I think this is what Flash is meant for.</p>
<p>What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Casting string to boolean &#8230; A little quirky&#8230;. by DenisPat</title>
		<link>http://martypitt.wordpress.com/2008/04/10/casting-string-to-boolean/#comment-62</link>
		<dc:creator>DenisPat</dc:creator>
		<pubDate>Wed, 10 Jun 2009 19:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=12#comment-62</guid>
		<description>I think your post is misleading. Unless things change with player version, here are the results I come up with:

var booleanTest:Boolean = false;
booleanTest = &quot;true&quot;;
trace(&quot;1: &quot;+booleanTest);	//1: true

booleanTest = &quot;false&quot;;
trace(&quot;2: &quot;+booleanTest);	//2: true

booleanTest = Boolean(&quot;true&quot;);
trace(&quot;3: &quot;+booleanTest);	//3: true

booleanTest = Boolean(&quot;false&quot;);
trace(&quot;4: &quot;+booleanTest);	//4: true

var stringTrue:String = &quot;false&quot;;
booleanTest = stringTrue;
trace(&quot;5: &quot;+booleanTest);	//5: true

stringTrue = &quot;true&quot;;
booleanTest = stringTrue;
trace(&quot;6: &quot;+booleanTest);	//6: true

stringTrue = &quot;false&quot;;
booleanTest = stringTrue as Boolean;
trace(&quot;7: &quot;+booleanTest);	//7: false

stringTrue = &quot;true&quot;;
booleanTest = stringTrue as Boolean;
trace(&quot;8: &quot;+booleanTest);	//8: false</description>
		<content:encoded><![CDATA[<p>I think your post is misleading. Unless things change with player version, here are the results I come up with:</p>
<p>var booleanTest:Boolean = false;<br />
booleanTest = &#8220;true&#8221;;<br />
trace(&#8220;1: &#8220;+booleanTest);	//1: true</p>
<p>booleanTest = &#8220;false&#8221;;<br />
trace(&#8220;2: &#8220;+booleanTest);	//2: true</p>
<p>booleanTest = Boolean(&#8220;true&#8221;);<br />
trace(&#8220;3: &#8220;+booleanTest);	//3: true</p>
<p>booleanTest = Boolean(&#8220;false&#8221;);<br />
trace(&#8220;4: &#8220;+booleanTest);	//4: true</p>
<p>var stringTrue:String = &#8220;false&#8221;;<br />
booleanTest = stringTrue;<br />
trace(&#8220;5: &#8220;+booleanTest);	//5: true</p>
<p>stringTrue = &#8220;true&#8221;;<br />
booleanTest = stringTrue;<br />
trace(&#8220;6: &#8220;+booleanTest);	//6: true</p>
<p>stringTrue = &#8220;false&#8221;;<br />
booleanTest = stringTrue as Boolean;<br />
trace(&#8220;7: &#8220;+booleanTest);	//7: false</p>
<p>stringTrue = &#8220;true&#8221;;<br />
booleanTest = stringTrue as Boolean;<br />
trace(&#8220;8: &#8220;+booleanTest);	//8: false</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FB &#8211; Internal build error by Espen Skogen</title>
		<link>http://martypitt.wordpress.com/2009/06/06/fb-internal-build-error/#comment-61</link>
		<dc:creator>Espen Skogen</dc:creator>
		<pubDate>Tue, 09 Jun 2009 13:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=47#comment-61</guid>
		<description>Yep. Loving the consistent error handling of Flex Builder.

Have you tried this one:

public function someFunction() : void 
{
a = &quot;some value&quot;;
var a : String = new String();
a = &quot;some other value&quot;;
}


If I remember correctly, the compiler will think that&#039;s great stuff - Not so during runtime.</description>
		<content:encoded><![CDATA[<p>Yep. Loving the consistent error handling of Flex Builder.</p>
<p>Have you tried this one:</p>
<p>public function someFunction() : void<br />
{<br />
a = &#8220;some value&#8221;;<br />
var a : String = new String();<br />
a = &#8220;some other value&#8221;;<br />
}</p>
<p>If I remember correctly, the compiler will think that&#8217;s great stuff &#8211; Not so during runtime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Morgan Stanley &#8211; Matrix by John Dowdell</title>
		<link>http://martypitt.wordpress.com/2009/06/04/morgan-stanley-matrix/#comment-56</link>
		<dc:creator>John Dowdell</dc:creator>
		<pubDate>Thu, 04 Jun 2009 18:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://martypitt.wordpress.com/?p=42#comment-56</guid>
		<description>Hey, looks great, I particularly like the use of off-plane text in the presentation. Next step is to see how it works for people in daily use. Congratulations!

jd/adobe</description>
		<content:encoded><![CDATA[<p>Hey, looks great, I particularly like the use of off-plane text in the presentation. Next step is to see how it works for people in daily use. Congratulations!</p>
<p>jd/adobe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
