<?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: Templates in Prana&#8217;s application context</title>
	<atom:link href="http://www.herrodius.com/blog/96/feed" rel="self" type="application/rss+xml" />
	<link>http://www.herrodius.com/blog/96</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Wed, 30 Nov 2011 09:13:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-13179</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Wed, 12 Mar 2008 07:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-13179</guid>
		<description>Hi biju,

this is probably because you are still instantiating the ServiceLocator via the Service.mxml file. If you still have the problem, please get on the prana user mailinglist or e-mail at info [at] herrodius [dot] com.</description>
		<content:encoded><![CDATA[<p>Hi biju,</p>
<p>this is probably because you are still instantiating the ServiceLocator via the Service.mxml file. If you still have the problem, please get on the prana user mailinglist or e-mail at info [at] herrodius [dot] com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biju</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-13178</link>
		<dc:creator>biju</dc:creator>
		<pubDate>Wed, 12 Mar 2008 06:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-13178</guid>
		<description>when i click play in .swf file i get an error like Error: C0001E: Only one ServiceLocator instance can be instantiated plz help</description>
		<content:encoded><![CDATA[<p>when i click play in .swf file i get an error like Error: C0001E: Only one ServiceLocator instance can be instantiated plz help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12756</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Thu, 03 Jan 2008 20:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12756</guid>
		<description>Hi Norbert,

I&#039;m glad it&#039;s working now.

You are absolutely right about the documentation. I&#039;m aware of that fact that there should be some updates here and there. I&#039;ll try my best to address these issues in the coming days/weeks.

A wiki would actually be a great idea. I&#039;ll see what I can do. Thanks for your comments and suggestions!</description>
		<content:encoded><![CDATA[<p>Hi Norbert,</p>
<p>I&#8217;m glad it&#8217;s working now.</p>
<p>You are absolutely right about the documentation. I&#8217;m aware of that fact that there should be some updates here and there. I&#8217;ll try my best to address these issues in the coming days/weeks.</p>
<p>A wiki would actually be a great idea. I&#8217;ll see what I can do. Thanks for your comments and suggestions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norbert Kopcsek</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12752</link>
		<dc:creator>Norbert Kopcsek</dc:creator>
		<pubDate>Thu, 03 Jan 2008 14:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12752</guid>
		<description>Hey Christophe,

its working now and it also makes sense ;). It&#039;s the first time that I&#039;m using Dependency Injection but I think I got the idea. Instead of a hard coded ServiceLocator we get an external and variable one. Of course there&#039;s other stuff we can configure externally using Prana/DI.
Im also interested in feature driven development and want to be able to enable/disable features (for example a feature could be a &quot;Remember me&quot; option in an login screen, which can be enabled or disable for different customers) and I hope/think that should be possible using  Prana.

What it makes somewhat hard to start with Prana is the missing or not up to date documentation. As you can see I  used your older examples with the newest version and it didn&#039;t work out as expected :P.

Maybe it would help if there would be a wiki on pranaframework.org which could be kept up to date by the users. With topics like &quot;Setting up Cairngorm Service Locator using Prana&quot; ;), hehe.

Anyway, thanks for the hint.
Greeting,
Norbert</description>
		<content:encoded><![CDATA[<p>Hey Christophe,</p>
<p>its working now and it also makes sense <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . It&#8217;s the first time that I&#8217;m using Dependency Injection but I think I got the idea. Instead of a hard coded ServiceLocator we get an external and variable one. Of course there&#8217;s other stuff we can configure externally using Prana/DI.<br />
Im also interested in feature driven development and want to be able to enable/disable features (for example a feature could be a &#8220;Remember me&#8221; option in an login screen, which can be enabled or disable for different customers) and I hope/think that should be possible using  Prana.</p>
<p>What it makes somewhat hard to start with Prana is the missing or not up to date documentation. As you can see I  used your older examples with the newest version and it didn&#8217;t work out as expected <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
<p>Maybe it would help if there would be a wiki on pranaframework.org which could be kept up to date by the users. With topics like &#8220;Setting up Cairngorm Service Locator using Prana&#8221; <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , hehe.</p>
<p>Anyway, thanks for the hint.<br />
Greeting,<br />
Norbert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12751</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Thu, 03 Jan 2008 13:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12751</guid>
		<description>Hi Norbert,

you no longer need a Services.mxml in your code if you use the CairngormServiceLocator class. Just define all your services in your application context file and remove the Services.mxml file (or its reference in your application).

The only thing to make sure is that the CairngormServiceLocator class and the ones of the services (e.g. RemoteObject) are compiled in your application.

Let me know if this works out for you.

regards,
Christophe</description>
		<content:encoded><![CDATA[<p>Hi Norbert,</p>
<p>you no longer need a Services.mxml in your code if you use the CairngormServiceLocator class. Just define all your services in your application context file and remove the Services.mxml file (or its reference in your application).</p>
<p>The only thing to make sure is that the CairngormServiceLocator class and the ones of the services (e.g. RemoteObject) are compiled in your application.</p>
<p>Let me know if this works out for you.</p>
<p>regards,<br />
Christophe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norbert Kopcsek</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12750</link>
		<dc:creator>Norbert Kopcsek</dc:creator>
		<pubDate>Thu, 03 Jan 2008 13:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12750</guid>
		<description>Meh, my XML got killed: &quot;getDiscussionTopicService&quot; should be the following code:
	{object id=&quot;serviceLocator&quot; class=&quot;org.pranaframework.cairngorm.CairngormServiceLocator&quot; factory-method=&quot;getInstance&quot;}
		{property name=&quot;getDiscussionTopicsService&quot;}
			{ref}getDiscussionTopicsService{/ref}
		{/property}
	{/object}</description>
		<content:encoded><![CDATA[<p>Meh, my XML got killed: &#8220;getDiscussionTopicService&#8221; should be the following code:<br />
	{object id=&#8221;serviceLocator&#8221; class=&#8221;org.pranaframework.cairngorm.CairngormServiceLocator&#8221; factory-method=&#8221;getInstance&#8221;}<br />
		{property name=&#8221;getDiscussionTopicsService&#8221;}<br />
			{ref}getDiscussionTopicsService{/ref}<br />
		{/property}<br />
	{/object}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norbert Kopcsek</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12748</link>
		<dc:creator>Norbert Kopcsek</dc:creator>
		<pubDate>Thu, 03 Jan 2008 13:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12748</guid>
		<description>Hi Christophe,

I&#039;m trying to configure my ServiceLocator using Prana and got into some troubles. My application context contains the following lines:

	
		
			getDiscussionTopicsService
		
	

referencing an HTTPService (getDiscussionTopicsService).

My Services.mxml is inheriting the CairngormServiceLocator which is part of the prana framework.

Whenever i start the app it tells me that: Error: C0001E: Only one ServiceLocator instance can be instantiated

Thanks in advance for any hint ;)</description>
		<content:encoded><![CDATA[<p>Hi Christophe,</p>
<p>I&#8217;m trying to configure my ServiceLocator using Prana and got into some troubles. My application context contains the following lines:</p>
<p>			getDiscussionTopicsService</p>
<p>referencing an HTTPService (getDiscussionTopicsService).</p>
<p>My Services.mxml is inheriting the CairngormServiceLocator which is part of the prana framework.</p>
<p>Whenever i start the app it tells me that: Error: C0001E: Only one ServiceLocator instance can be instantiated</p>
<p>Thanks in advance for any hint <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Hillerson</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12627</link>
		<dc:creator>Tony Hillerson</dc:creator>
		<pubDate>Thu, 27 Dec 2007 16:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12627</guid>
		<description>That&#039;s a good point, Christophe. I bet that&#039;s it. I&#039;ll post back if it works.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point, Christophe. I bet that&#8217;s it. I&#8217;ll post back if it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12522</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Fri, 21 Dec 2007 07:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12522</guid>
		<description>Hey Tony,

have you referenced the RemoteObject class in your code so it gets compiled? I haven&#039;t tried it with Flex Builder 3, but I don&#039;t think it will result in different behavior than Flex Builder 2.</description>
		<content:encoded><![CDATA[<p>Hey Tony,</p>
<p>have you referenced the RemoteObject class in your code so it gets compiled? I haven&#8217;t tried it with Flex Builder 3, but I don&#8217;t think it will result in different behavior than Flex Builder 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Hillerson</title>
		<link>http://www.herrodius.com/blog/96/comment-page-1#comment-12519</link>
		<dc:creator>Tony Hillerson</dc:creator>
		<pubDate>Thu, 20 Dec 2007 23:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=96#comment-12519</guid>
		<description>When I run an example using this using Flex Builder 3, I get an error:

A class with the name &#039;mx.rpc.remoting.mxml.RemoteObject&#039; could not be found.

Have you run into this?</description>
		<content:encoded><![CDATA[<p>When I run an example using this using Flex Builder 3, I get an error:</p>
<p>A class with the name &#8216;mx.rpc.remoting.mxml.RemoteObject&#8217; could not be found.</p>
<p>Have you run into this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

