<?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: ItemRenderers vs ItemEditors</title>
	<atom:link href="http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors/feed" rel="self" type="application/rss+xml" />
	<link>http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors</link>
	<description>A blog about our experience with Adobe Flex</description>
	<lastBuildDate>Sun, 15 Jan 2012 16:29:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anatole tartakovsky</title>
		<link>http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors/comment-page-1#comment-3260</link>
		<dc:creator>anatole tartakovsky</dc:creator>
		<pubDate>Wed, 14 Feb 2007 07:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=91#comment-3260</guid>
		<description>Sorry - do not have 2.0 codebase handy to look up error. In short, running it under debugger would help to see offending item

I seldom use ClassFactory on a standard class - rather as mixin over &quot;virtual&quot; renderer - for example above classfactory actually hosts function. Other trick that really helps  dealing  with datagrid issues is to disable caching on datagrid.
Regards,
Anatole</description>
		<content:encoded><![CDATA[<p>Sorry &#8211; do not have 2.0 codebase handy to look up error. In short, running it under debugger would help to see offending item</p>
<p>I seldom use ClassFactory on a standard class &#8211; rather as mixin over &#8220;virtual&#8221; renderer &#8211; for example above classfactory actually hosts function. Other trick that really helps  dealing  with datagrid issues is to disable caching on datagrid.<br />
Regards,<br />
Anatole</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kishan Kumar</title>
		<link>http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors/comment-page-1#comment-3198</link>
		<dc:creator>Kishan Kumar</dc:creator>
		<pubDate>Tue, 13 Feb 2007 09:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=91#comment-3198</guid>
		<description>Hi,
  I am trying to use this solution to create really reusable item renders. I am finding a problem though putting this in a datagrid. When I use a classFactory for a itemrender (same way the article is showing) its giving a error during the verticalscroll of the datagrid. Infact I am able to reproduce the error not only using custom item render but for a code like this

buttonItemRenderer:ClassFactory
buttonItemRenderer = new ClassFactory(mx.controls.Button);



When I try to set the verticalScrollPosition property of the datagrid... like
dg.verticalScrollPosition = 2
It is giving a error. This error is described in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg50380.html

Would appreciate if you could share ur opinion on why this problem occurs when u use ClassFactory?

Regards,
Kishan</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I am trying to use this solution to create really reusable item renders. I am finding a problem though putting this in a datagrid. When I use a classFactory for a itemrender (same way the article is showing) its giving a error during the verticalscroll of the datagrid. Infact I am able to reproduce the error not only using custom item render but for a code like this</p>
<p>buttonItemRenderer:ClassFactory<br />
buttonItemRenderer = new ClassFactory(mx.controls.Button);</p>
<p>When I try to set the verticalScrollPosition property of the datagrid&#8230; like<br />
dg.verticalScrollPosition = 2<br />
It is giving a error. This error is described in <a href="http://www.mail-archive.com/flexcoders@yahoogroups.com/msg50380.html" rel="nofollow">http://www.mail-archive.com/flexcoders@yahoogroups.com/msg50380.html</a></p>
<p>Would appreciate if you could share ur opinion on why this problem occurs when u use ClassFactory?</p>
<p>Regards,<br />
Kishan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anatole Tartakovsky</title>
		<link>http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors/comment-page-1#comment-18</link>
		<dc:creator>Anatole Tartakovsky</dc:creator>
		<pubDate>Mon, 25 Sep 2006 03:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=91#comment-18</guid>
		<description>Well, did you figure out the way the picture (property bag above) was created? If you did, you can see where it goes. 
Basically, using class factories allow you to make grids that do not look like grids but dynamic forms, support runtime styles, any types of plugs - with all via either MXML or better well structured ActionScript.

Let me give you another example that got my head spin for a while:http://coenraets.org/samples/portfolio/portfolio.html
Chris&#039;s http://coenraets.org/samples/portfolio/srcview/source/OptimizedDataGrid.as.html is undeniably a way to follow for realtime Flex programming.

However, I got similar refresh rates by using very simplistic runtime styles based on unconventional use of class factories.
I would argue that depending on your experience you can take either our approach or more direct one . Imho, wrapping factories and making them aware of data they are presenting and event model is going to be more usable in long run. However, it gives you too much rope and leads you in the area where you would have to learn ~19000 lines of datagrid and surrounding objects code by heart.</description>
		<content:encoded><![CDATA[<p>Well, did you figure out the way the picture (property bag above) was created? If you did, you can see where it goes.<br />
Basically, using class factories allow you to make grids that do not look like grids but dynamic forms, support runtime styles, any types of plugs &#8211; with all via either MXML or better well structured ActionScript.</p>
<p>Let me give you another example that got my head spin for a while:http://coenraets.org/samples/portfolio/portfolio.html<br />
Chris&#8217;s <a href="http://coenraets.org/samples/portfolio/srcview/source/OptimizedDataGrid.as.html" rel="nofollow">http://coenraets.org/samples/portfolio/srcview/source/OptimizedDataGrid.as.html</a> is undeniably a way to follow for realtime Flex programming.</p>
<p>However, I got similar refresh rates by using very simplistic runtime styles based on unconventional use of class factories.<br />
I would argue that depending on your experience you can take either our approach or more direct one . Imho, wrapping factories and making them aware of data they are presenting and event model is going to be more usable in long run. However, it gives you too much rope and leads you in the area where you would have to learn ~19000 lines of datagrid and surrounding objects code by heart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Coghlan</title>
		<link>http://flexblog.faratasystems.com/2006/09/26/ditemrenderers-vs-itemeditors/comment-page-1#comment-17</link>
		<dc:creator>Marcus Coghlan</dc:creator>
		<pubDate>Mon, 25 Sep 2006 01:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=91#comment-17</guid>
		<description>Thanks for sharing another great idea.  I&#039;ve been making do with a far less elegant solution that I&#039;ve never been happy with. 
If you find a minute, I&#039;d love to hear your rationale for the warning you&#039;ve attached.
Have a good one.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing another great idea.  I&#8217;ve been making do with a far less elegant solution that I&#8217;ve never been happy with.<br />
If you find a minute, I&#8217;d love to hear your rationale for the warning you&#8217;ve attached.<br />
Have a good one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

