<?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/"
	>

<channel>
	<title>VariaMind Blog</title>
	<atom:link href="http://blog.variamind.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.variamind.com</link>
	<description>A weblog about Java, Spring, Flex and other technologies.</description>
	<pubDate>Tue, 01 Dec 2009 10:42:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unwrap ObjectProxy to access real object</title>
		<link>http://blog.variamind.com/2009/12/unwrap-objectproxy-to-access-real-object/</link>
		<comments>http://blog.variamind.com/2009/12/unwrap-objectproxy-to-access-real-object/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:42:56 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=38</guid>
		<description><![CDATA[Sometimes you need to wrap Flex object with special mx.utils.ObjectProxy wrapper class to listen for property change events.  Documentation describes special object_proxy &#8220;object&#8221; property  containing reference to real object. But accessing this property at runtime always returns &#8220;null&#8221;,  althought this property is visible in debuger watch window with &#8220;package&#8221; icon. Code below [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to wrap Flex object with special mx.utils.ObjectProxy wrapper class to listen for property change events.  Documentation describes special object_proxy &#8220;object&#8221; property  containing reference to real object. But accessing this property at runtime always returns &#8220;null&#8221;,  althought this property is visible in debuger watch window with &#8220;package&#8221; icon. Code below demonstrates the problem, and shows &#8220;Real object: null&#8221; message:</p>
<pre class="brush: text;">
import mx.utils.ObjectProxy;
import mx.controls.Alert;
...
var o1:Object = { f1:&quot;test&quot;, f2:123 };
var o2:Object = new ObjectProxy(o1);
var o3:Object = ObjectProxy(o2).object;
Alert.show(&quot;Real object: &quot;+o3);
</pre>
<p>Solution is pretty simple. To access the original object, you need to use special namespaced property and  special code handling. Here is a sample:</p>
<pre class="brush: text;">
import mx.utils.ObjectProxy;
import mx.utils.object_proxy;
import mx.controls.Alert;
...
var o1:Object = { f1:&quot;test&quot;, f2:123 };
var o2:Object = new ObjectProxy(o1);
var o3:Object = ObjectProxy(o2).object_proxy::object;
Alert.show(&quot;Real object: &quot;+o3);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/12/unwrap-objectproxy-to-access-real-object/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Could not resolve mx:AdvancedDataGrid to a component implementation</title>
		<link>http://blog.variamind.com/2009/06/could-not-resolve-mxadvanceddatagrid-to-a-component-implementation/</link>
		<comments>http://blog.variamind.com/2009/06/could-not-resolve-mxadvanceddatagrid-to-a-component-implementation/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 19:21:50 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=20</guid>
		<description><![CDATA[Today my daily maven build was broken with wierd message:
[ERROR] Could not resolve &#60;mx:AdvancedDataGrid&#62; to a component implementation 
This happened after adding  &#60;mx:AdvancedDataGrid&#62; component to project mxml file. In Flex Builder all compiled fine, but build with maven failed. After spending some time with google, i&#8217;ve found the root of a problem.  The problem is [...]]]></description>
			<content:encoded><![CDATA[<p>Today my daily maven build was broken with wierd message:</p>
<pre class="brush: text;">[ERROR] Could not resolve &lt;mx:AdvancedDataGrid&gt; to a component implementation </pre>
<p>This happened after adding  &lt;mx:AdvancedDataGrid&gt; component to project mxml file. In Flex Builder all compiled fine, but build with maven failed. After spending some time with google, i&#8217;ve found the root of a problem.  The problem is that  this component isn&#8217;t included in Flex SDK, that was installed in my repository.  The files needed for successful compilation are &#8216;datavisualization.swc&#8217; and &#8216;datavisualization_rb.swc&#8217;. So i took these files from Flex SDK version 3.2 and installed two artifacts to maven repository:</p>
<pre class="brush: text;"> mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -Dfile=datavisualization.swc
mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisualization_rb -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=swc -Dfile=datavisualization_rb.swc
</pre>
<p>And added two dependencies to project pom.xml:</p>
<pre class="brush: xml;">

&lt;dependency&gt;
&lt;groupId&gt;com.adobe.flex.sdk&lt;/groupId&gt;
&lt;artifactId&gt;datavisualization&lt;/artifactId&gt;
&lt;version&gt;${flex.sdk.version}&lt;/version&gt;
&lt;type&gt;swc&lt;/type&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;com.adobe.flex.sdk&lt;/groupId&gt;
&lt;artifactId&gt;datavisualization_rb&lt;/artifactId&gt;
&lt;version&gt;${flex.sdk.version}&lt;/version&gt;
&lt;type&gt;swc&lt;/type&gt;
&lt;classifier&gt;en_US&lt;/classifier&gt;
&lt;/dependency&gt;
</pre>
<p>That&#8217;s all, hope it will be helpful for somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/could-not-resolve-mxadvanceddatagrid-to-a-component-implementation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How-to set proxy properties in Java</title>
		<link>http://blog.variamind.com/2009/06/how-to-set-proxy-properties-in-java/</link>
		<comments>http://blog.variamind.com/2009/06/how-to-set-proxy-properties-in-java/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 07:05:59 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=16</guid>
		<description><![CDATA[Sometimes you need to connect to internet from your java programs. It&#8217;s easy to do via URLConnection. But when you are behind the proxy server, your program doesn&#8217;t know how to deal with it. Configuration of proxy server is fairly easy. All you need to do is to setup following system properties:

System.setProperty(&#34;http.proxySet&#34;, &#34;true&#34;);
System.setProperty(&#34;http.proxyHost&#34;, &#34;name_of_proxy_server&#34;);
System.setProperty(&#34;http.proxyPort&#34;, &#34;proxy_server_port_number&#34;);

]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to connect to internet from your java programs. It&#8217;s easy to do via URLConnection. But when you are behind the proxy server, your program doesn&#8217;t know how to deal with it. Configuration of proxy server is fairly easy. All you need to do is to setup following system properties:</p>
<pre class="brush: java;">
System.setProperty(&quot;http.proxySet&quot;, &quot;true&quot;);
System.setProperty(&quot;http.proxyHost&quot;, &quot;name_of_proxy_server&quot;);
System.setProperty(&quot;http.proxyPort&quot;, &quot;proxy_server_port_number&quot;);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/how-to-set-proxy-properties-in-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Spring BlazeDS Integration Release</title>
		<link>http://blog.variamind.com/2009/06/spring-blazeds-integration-release/</link>
		<comments>http://blog.variamind.com/2009/06/spring-blazeds-integration-release/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 06:57:39 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[blazeds]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=14</guid>
		<description><![CDATA[Today Jeremy Grelle had announced that the first GA release of Spring BlazeDS Integration, the open source solution for building Spring-powered RIAs with Adobe Flex, is now available.
This project&#8217;s purpose is to make it easier to build Spring-powered Rich Internet Applications using Adobe Flex as the front-end client. It aims to achieve this purpose by [...]]]></description>
			<content:encoded><![CDATA[<p>Today Jeremy Grelle had announced that the first GA release of Spring BlazeDS Integration, the open source solution for building Spring-powered RIAs with Adobe Flex, is now available.</p>
<p>This project&#8217;s purpose is to make it easier to build Spring-powered Rich Internet Applications using Adobe Flex as the front-end client. It aims to achieve this purpose by providing first-class support for using the open source Adobe BlazeDS project and its powerful remoting and messaging facilities in combination with the familiar Spring programming model.</p>
<p>More details and download is available on <a title="http://www.springsource.org/node/1499" href="http://www.springsource.org/node/1499" target="_blank">http://www.springsource.org/node/1499 </a></p>
<p>For anyone who is just starting to explore the world of Spring-powered RIAs, be sure to check out <a href="http://blog.springsource.com/2009/06/10/using-spring-blazeds-integration-10/" target="_blank">Using Spring BlazeDS Integration 1.0</a> for an introduction and to get up and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/spring-blazeds-integration-release/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How-to download source files for maven dependencies</title>
		<link>http://blog.variamind.com/2009/06/how-to-download-source-files-for-maven-dependencies/</link>
		<comments>http://blog.variamind.com/2009/06/how-to-download-source-files-for-maven-dependencies/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 07:39:59 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[eclipse]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=12</guid>
		<description><![CDATA[If you want to have source files of your project dependencies in local repository, you need to execute following command:
mvn dependency:sources
If you are creating project for Eclipse and want source files to be included to the project, you can run this one:
mvn eclipse:eclipse -DdownloadSources
]]></description>
			<content:encoded><![CDATA[<p>If you want to have source files of your project dependencies in local repository, you need to execute following command:</p>
<p><code>mvn dependency:sources</code></p>
<p>If you are creating project for Eclipse and want source files to be included to the project, you can run this one:</p>
<p><code>mvn eclipse:eclipse -DdownloadSources</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/how-to-download-source-files-for-maven-dependencies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Formatter Eclipse Plug-in</title>
		<link>http://blog.variamind.com/2009/06/flex-formatter-eclipse-plug-in/</link>
		<comments>http://blog.variamind.com/2009/06/flex-formatter-eclipse-plug-in/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 10:29:22 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[eclipse]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[flex builder]]></category>

		<guid isPermaLink="false">http://blog.variamind.com/?p=5</guid>
		<description><![CDATA[If you’re using Eclipse and Flash/Flex Builder, you might want to have a look at the Flex Formatter Plug-in. It’s a great add-on that allows you to (auto-)format your ActionScript and MXML files, based on the templates you define.
More info: http://sourceforge.net/projects/flexformatter/
]]></description>
			<content:encoded><![CDATA[<p>If you’re using Eclipse and Flash/Flex Builder, you might want to have a look at the Flex Formatter Plug-in. It’s a great add-on that allows you to (auto-)format your ActionScript and MXML files, based on the templates you define.</p>
<p>More info:<a title="http://sourceforge.net/projects/flexformatter/" href=" http://sourceforge.net/projects/flexformatter/"> http://sourceforge.net/projects/flexformatter/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/flex-formatter-eclipse-plug-in/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://blog.variamind.com/2009/06/hello-world/</link>
		<comments>http://blog.variamind.com/2009/06/hello-world/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:39:06 +0000</pubDate>
		<dc:creator>Igor Samulenko</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://blog-variami.1gb.ua/?p=1</guid>
		<description><![CDATA[This is first post on VariaMind blog. Left here for historical purposes:)
]]></description>
			<content:encoded><![CDATA[<p>This is first post on VariaMind blog. Left here for historical purposes:)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.variamind.com/2009/06/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
