<?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>betweenGo &#187; Nucleus</title>
	<atom:link href="http://betweengo.com/category/atg/nucleus/feed/" rel="self" type="application/rss+xml" />
	<link>http://betweengo.com</link>
	<description>We make Ruby on Rails easy.  We make ATG easy.</description>
	<lastBuildDate>Tue, 06 Dec 2011 14:03:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sets cannot be used as property types</title>
		<link>http://betweengo.com/2008/08/06/sets-cannot-be-used-as-property-types/</link>
		<comments>http://betweengo.com/2008/08/06/sets-cannot-be-used-as-property-types/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 01:04:45 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Nucleus]]></category>
		<category><![CDATA[ATG]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=262</guid>
		<description><![CDATA[I create a JavaBean with a Set property because I wanted to enforce that there were only unique values in that Set.  However when I tried to use this JavaBean with a properties file, Nucleus complained it could not resolve the elements of the Set property.  When I changed the property to be a List [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2007/02/07/user-defined-property-types/' rel='bookmark' title='ATG Repository User-Defined Property Types'>ATG Repository User-Defined Property Types</a></li>
<li><a href='http://betweengo.com/2006/10/11/atg-does-not-allow-property-values-with-commas-for-string-properties/' rel='bookmark' title='ATG does not allow property values with commas for String[] properties'>ATG does not allow property values with commas for String[] properties</a></li>
<li><a href='http://betweengo.com/2005/07/28/user-defined-property-type-gotchas/' rel='bookmark' title='user-defined property type gotcha&#8217;s'>user-defined property type gotcha&#8217;s</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I create a JavaBean with a Set property because I wanted to enforce that there were only unique values in that Set.  However when I tried to use this JavaBean with a properties file, Nucleus complained it could not resolve the elements of the Set property.  When I changed the property to be a List or a String [] Nucleus had no problem.</p>
<p>Here is the properties file.</p>
<pre>$class=com.betweengo.droplet.VerifyImages
$scope=request

# supported image dimensions
supportedImageDimensions=75x90,88x31,120x90</pre>
<p>ATG Support pointed me to the <a title="Property Types" href="http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG2006.3/dynprog/dynprog0204.html#propertytypes01">Property Types</a> subsection of the <a title="Using Nucleus" href="http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG2006.3/dynprog/dynprog0204.html">Using Nucleus</a><br />
section of the <a title="ATG Programming Guide" href="http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG2006.3/dynprog/index.html">ATG Programming Guide</a>.  Specifically only these simple types are supported.  I am not sure why Set was excluded.</p>
<blockquote><p>boolean<br />
byte<br />
char<br />
short<br />
int<br />
long<br />
float<br />
double<br />
java.lang.Boolean<br />
java.lang.Byte<br />
java.lang.Character<br />
java.lang.Short<br />
java.lang.Integer<br />
java.lang.Long<br />
java.lang.Float<br />
java.lang.Double<br />
java.lang.String<br />
java.util.List<br />
java.util.Map<br />
java.util.Locale</p></blockquote>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2008%2F08%2F06%2Fsets-cannot-be-used-as-property-types%2F&amp;title=Sets%20cannot%20be%20used%20as%20property%20types" id="wpa2a_2"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2007/02/07/user-defined-property-types/' rel='bookmark' title='ATG Repository User-Defined Property Types'>ATG Repository User-Defined Property Types</a></li>
<li><a href='http://betweengo.com/2006/10/11/atg-does-not-allow-property-values-with-commas-for-string-properties/' rel='bookmark' title='ATG does not allow property values with commas for String[] properties'>ATG does not allow property values with commas for String[] properties</a></li>
<li><a href='http://betweengo.com/2005/07/28/user-defined-property-type-gotchas/' rel='bookmark' title='user-defined property type gotcha&#8217;s'>user-defined property type gotcha&#8217;s</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/08/06/sets-cannot-be-used-as-property-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATG Consulting Interview</title>
		<link>http://betweengo.com/2008/03/10/atg-consulting-interview/</link>
		<comments>http://betweengo.com/2008/03/10/atg-consulting-interview/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 05:55:49 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Commerce]]></category>
		<category><![CDATA[Form Handlers]]></category>
		<category><![CDATA[Java SE]]></category>
		<category><![CDATA[Nucleus]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[ATG]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://betweengo.com/atg/2008/03/10/atg-consulting-interview/</guid>
		<description><![CDATA[Today I had the most detailed but at same time most interesting ATG consulting interview yet. Here are the questions I was asked with answers when appropriate in italics. Which versions of ATG have you worked with? What parts of ATG&#8217;s stack have you worked with? How do you compare ATG with Ruby on Rails? [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2008/03/12/data-structures-interview-questions/' rel='bookmark' title='Data Structures Interview Questions'>Data Structures Interview Questions</a></li>
<li><a href='http://betweengo.com/2008/03/12/computing-basics-interview-questions/' rel='bookmark' title='Computing Basics Interview Questions'>Computing Basics Interview Questions</a></li>
<li><a href='http://betweengo.com/2005/08/08/atg-forms-do-not-work-if-action-is-an-html-page/' rel='bookmark' title='ATG forms do not work if action is an HTML page'>ATG forms do not work if action is an HTML page</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today I had the most detailed but at same time most interesting ATG consulting interview yet.  Here are the questions I was asked with answers when appropriate in italics.</p>
<ol>
<li>Which versions of ATG have you worked with?</li>
<li>What parts of ATG&#8217;s stack have you worked with?</li>
<li>How do you compare ATG with Ruby on Rails?</li>
<li>What is Nucleus?</li>
<li>What is the ATG Repository?</li>
<li>When creating form handlers typically what ATG base class do you extend?  <em>GenericFormHandler.java</em></li>
<li>When creating droplets what ATG base class do you extend?  <em>DynamoServlet.java</em></li>
<li>What form handlers and methods do you use during checkout?  <em>ShoppingCartFormHandler, numerous handlers like handleMoveToConfirm, etc.</em></li>
<li>What does a user typically see during checkout?  <em>Add to shopping cart, login, billing and shipping address, payment, confirm, confirmation, email confirmation, shipped email.</em></li>
<li>How do you compare strings in Java?  If String a = &#8220;hello&#8221; and String b= &#8220;hello&#8221; what is a == b?  <em>True, a and b both reference the same constant string.</em></li>
</ol>
<p>In another interview I was asked these questions.</p>
<ol>
<li>What is HTTP?  How does it work?</li>
<li>If HTTP is stateless then how does a web application maintain state.</li>
</ol>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2008%2F03%2F10%2Fatg-consulting-interview%2F&amp;title=ATG%20Consulting%20Interview" id="wpa2a_4"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2008/03/12/data-structures-interview-questions/' rel='bookmark' title='Data Structures Interview Questions'>Data Structures Interview Questions</a></li>
<li><a href='http://betweengo.com/2008/03/12/computing-basics-interview-questions/' rel='bookmark' title='Computing Basics Interview Questions'>Computing Basics Interview Questions</a></li>
<li><a href='http://betweengo.com/2005/08/08/atg-forms-do-not-work-if-action-is-an-html-page/' rel='bookmark' title='ATG forms do not work if action is an HTML page'>ATG forms do not work if action is an HTML page</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/03/10/atg-consulting-interview/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ATG does not allow property values with commas for String[] properties</title>
		<link>http://betweengo.com/2006/10/11/atg-does-not-allow-property-values-with-commas-for-string-properties/</link>
		<comments>http://betweengo.com/2006/10/11/atg-does-not-allow-property-values-with-commas-for-string-properties/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 17:05:43 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Nucleus]]></category>
		<category><![CDATA[ATG]]></category>

		<guid isPermaLink="false">http://betweengo.com/uncategorized/2006/10/11/howto-set-a-property-of-strings/</guid>
		<description><![CDATA[Typically when you have a property of Strings, either an array or a collection, you would set them like this: foos=hello,good-bye,this is a test In the above example if the foos property is of type String [], then ATG initializes foos to { &#8220;hello&#8221;, &#8220;good-bye&#8221;, &#8220;this is a test&#8221; }. However if one of the [...]
Related posts:<ol>
<li><a href='http://betweengo.com/2007/02/07/user-defined-property-types/' rel='bookmark' title='ATG Repository User-Defined Property Types'>ATG Repository User-Defined Property Types</a></li>
<li><a href='http://betweengo.com/2005/07/28/user-defined-property-type-gotchas/' rel='bookmark' title='user-defined property type gotcha&#8217;s'>user-defined property type gotcha&#8217;s</a></li>
<li><a href='http://betweengo.com/2009/08/31/how-to-set-array-property-in-atg-form/' rel='bookmark' title='How to Set an Array Property in an ATG Form'>How to Set an Array Property in an ATG Form</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Typically when you have a property of Strings, either an array or a collection, you would set them like this:</p>
<p>foos=hello,good-bye,this is a test</p>
<p>In the above example if the foos property is of type String [], then ATG initializes foos to { &#8220;hello&#8221;, &#8220;good-bye&#8221;, &#8220;this is a test&#8221; }.</p>
<p>However if one of the String&#8217;s has a comma in it then this method won&#8217;t work because ATG will treat the comma as a delimiter.  For example if foos is configured like this:</p>
<p>foos=hello,good-bye,this is a test\, a big test</p>
<p>then foos is initialized to { &#8220;hello&#8221;, &#8220;good-bye&#8221;, &#8220;this is a test&#8221;, &#8220;a big test&#8221; }</p>
<p>To get around this apparent limitation, which is documented in <a href="http://www.atg.com/esupport/bugs/?FullViewBug=ViewBug&amp;bugId=29380">Bug #29380</a>, ATG provides a class called atg.core.util.StringList.  If you set the type of the foos property to StringList and configure it like this:</p>
<p>foos=hello,good-bye,this is a test,, a big test</p>
<p>then fools will be initialized to { &#8220;hello&#8221;, &#8220;good-bye&#8221;, &#8220;this is a test, a big test&#8221; }.  Note that &#8220;,,&#8221; is the method for escaping commas when using StringList.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbetweengo.com%2F2006%2F10%2F11%2Fatg-does-not-allow-property-values-with-commas-for-string-properties%2F&amp;title=ATG%20does%20not%20allow%20property%20values%20with%20commas%20for%20String%5B%5D%20properties" id="wpa2a_6"><img src="http://betweengo.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><p>Related posts:<ol>
<li><a href='http://betweengo.com/2007/02/07/user-defined-property-types/' rel='bookmark' title='ATG Repository User-Defined Property Types'>ATG Repository User-Defined Property Types</a></li>
<li><a href='http://betweengo.com/2005/07/28/user-defined-property-type-gotchas/' rel='bookmark' title='user-defined property type gotcha&#8217;s'>user-defined property type gotcha&#8217;s</a></li>
<li><a href='http://betweengo.com/2009/08/31/how-to-set-array-property-in-atg-form/' rel='bookmark' title='How to Set an Array Property in an ATG Form'>How to Set an Array Property in an ATG Form</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2006/10/11/atg-does-not-allow-property-values-with-commas-for-string-properties/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
