<?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 for claymitchell.net</title>
	<atom:link href="http://claymitchell.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://claymitchell.net</link>
	<description></description>
	<lastBuildDate>Fri, 04 Dec 2009 11:05:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Spring Framework Annotation @SessionAttributes can be confusing by Alan Mehio</title>
		<link>http://claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/comment-page-1/#comment-11</link>
		<dc:creator>Alan Mehio</dc:creator>
		<pubDate>Fri, 04 Dec 2009 11:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/#comment-11</guid>
		<description>Thanks for the wonderful technical article. short and up to the point. I am actually working on an asset managment system on the weekend and I wanted to move forward with Spring and use annothation so this sort my problem of saving the user credential into http session.

Regards,
Alan Mehio
London, UK</description>
		<content:encoded><![CDATA[<p>Thanks for the wonderful technical article. short and up to the point. I am actually working on an asset managment system on the weekend and I wanted to move forward with Spring and use annothation so this sort my problem of saving the user credential into http session.</p>
<p>Regards,<br />
Alan Mehio<br />
London, UK</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Framework Annotation @SessionAttributes can be confusing by Phil</title>
		<link>http://claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/comment-page-1/#comment-10</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 21 Nov 2009 05:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/#comment-10</guid>
		<description>Clay - I don&#039;t believe this statement is accurate: 

&quot;The upshot of this is that the value identified in @SessionAttributes is not available to a different controller.&quot;

The values are available from some testing I did.  If you don&#039;t call a successful POST or fail to call SessionStatus.complete() these @SessionAttributes actually stay in the HTTP Session.

I actually just finished writing an interceptor that explicity ties the @SessionAttributes to the controller they were originally associated with.  Once the controller changes my interceptor will automatically remove the @SessionAttributes that are now stale.</description>
		<content:encoded><![CDATA[<p>Clay &#8211; I don&#8217;t believe this statement is accurate: </p>
<p>&#8220;The upshot of this is that the value identified in @SessionAttributes is not available to a different controller.&#8221;</p>
<p>The values are available from some testing I did.  If you don&#8217;t call a successful POST or fail to call SessionStatus.complete() these @SessionAttributes actually stay in the HTTP Session.</p>
<p>I actually just finished writing an interceptor that explicity ties the @SessionAttributes to the controller they were originally associated with.  Once the controller changes my interceptor will automatically remove the @SessionAttributes that are now stale.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring Framework Annotation @SessionAttributes can be confusing by JG</title>
		<link>http://claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/comment-page-1/#comment-9</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Tue, 06 Oct 2009 19:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/2008/02/11/spring-framework-annotation-sessionattribute-can-be-confusing/#comment-9</guid>
		<description>Argh, I find it hellishly confusing.  I vaguely understand that if you load up the model with reference data - IIUC &quot;attributes&quot; other than the distinguished &quot;command&quot; attribute - those attributes disappear when the POST shows up.  Instaed referenceData() regenerates them (if needed for a failure ModelAndView).  If you save a copy of the model Map, it can be overwritten by a different call to the controller.  Therefore it would be useful to save a copy of the reference data with the Session, and that, presumably, is what SessionAttribute does.  What I don&#039;t see is how to get the reference data back from the Session store, particularly as I&#039;m supposed to get it from the model via the attribute name.  Where&#039;s the model?  And what happens with referenceData() if there are errors?  do the attributes in the Session store overwrite the model Map after referenceData() does its thing, or are they simply ignored?

The pattern I&#039;m attempting to implement seems common.  I populate a form with information from a database, and allow the user to modify it.  Then I want to compare inputs with the orginal values to determine which entries the user returned.  This is mostly for efficiency, and secondly on the chance that someone else has changed database entries in the meantime (yeah that means dirty reads but I&#039;m ignoring it.)  So I need to keep a copy of the original values in reference data and the user inputs in the command object, and compare them on submit.  So far I&#039;ve found the documentation and literature for Spring MVC to be woefully inadequate to explain directly how one does this.</description>
		<content:encoded><![CDATA[<p>Argh, I find it hellishly confusing.  I vaguely understand that if you load up the model with reference data &#8211; IIUC &#8220;attributes&#8221; other than the distinguished &#8220;command&#8221; attribute &#8211; those attributes disappear when the POST shows up.  Instaed referenceData() regenerates them (if needed for a failure ModelAndView).  If you save a copy of the model Map, it can be overwritten by a different call to the controller.  Therefore it would be useful to save a copy of the reference data with the Session, and that, presumably, is what SessionAttribute does.  What I don&#8217;t see is how to get the reference data back from the Session store, particularly as I&#8217;m supposed to get it from the model via the attribute name.  Where&#8217;s the model?  And what happens with referenceData() if there are errors?  do the attributes in the Session store overwrite the model Map after referenceData() does its thing, or are they simply ignored?</p>
<p>The pattern I&#8217;m attempting to implement seems common.  I populate a form with information from a database, and allow the user to modify it.  Then I want to compare inputs with the orginal values to determine which entries the user returned.  This is mostly for efficiency, and secondly on the chance that someone else has changed database entries in the meantime (yeah that means dirty reads but I&#8217;m ignoring it.)  So I need to keep a copy of the original values in reference data and the user inputs in the command object, and compare them on submit.  So far I&#8217;ve found the documentation and literature for Spring MVC to be woefully inadequate to explain directly how one does this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Month 1 Pictures by shalomeclarke</title>
		<link>http://claymitchell.net/2008/07/16/month-1-pictures/comment-page-1/#comment-8</link>
		<dc:creator>shalomeclarke</dc:creator>
		<pubDate>Sat, 02 Aug 2008 13:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=37#comment-8</guid>
		<description>Congrats on baby Alaina!  So sorry for the belated wishes though.  Can you email me your mailing address?  I just have a little something to send to you for the wee one.  (sweetpea_on@hotmail.com)  Again, congrats!  Yes, there&#039;s the sleepless nights, the dirty diapers etc, but it&#039;s such an awesome trip!  Mine just turned two - can you believe it?  It flies by!  s:)</description>
		<content:encoded><![CDATA[<p>Congrats on baby Alaina!  So sorry for the belated wishes though.  Can you email me your mailing address?  I just have a little something to send to you for the wee one.  (sweetpea_on@hotmail.com)  Again, congrats!  Yes, there&#8217;s the sleepless nights, the dirty diapers etc, but it&#8217;s such an awesome trip!  Mine just turned two &#8211; can you believe it?  It flies by!  s:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Alaina Grace Mitchell by dtapscot</title>
		<link>http://claymitchell.net/2008/06/11/alaina-grace-mitchell/comment-page-1/#comment-7</link>
		<dc:creator>dtapscot</dc:creator>
		<pubDate>Wed, 11 Jun 2008 18:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=33#comment-7</guid>
		<description>Congratulations and welcome to Alaina!

Shalome&#039;s daughter Eleanor was born on this day 2 years ago, isn&#039;t that cute!  The grandaughters in the family all born on the same day.
Love the picture too, do a family one as soon as you can.

Love, Great Aunt Diane</description>
		<content:encoded><![CDATA[<p>Congratulations and welcome to Alaina!</p>
<p>Shalome&#8217;s daughter Eleanor was born on this day 2 years ago, isn&#8217;t that cute!  The grandaughters in the family all born on the same day.<br />
Love the picture too, do a family one as soon as you can.</p>
<p>Love, Great Aunt Diane</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blogging Baby Part 2: Hurry up and wait by dtapscot</title>
		<link>http://claymitchell.net/2008/06/11/blogging-baby-part-2-hurry-up-and-wait/comment-page-1/#comment-6</link>
		<dc:creator>dtapscot</dc:creator>
		<pubDate>Wed, 11 Jun 2008 14:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=32#comment-6</guid>
		<description>Hi Kandace and Clay,

Amber called last night to let us know it is time!  We are all watching your latest updates of the event.

Love to all and enjoy!

Aunt Diane</description>
		<content:encoded><![CDATA[<p>Hi Kandace and Clay,</p>
<p>Amber called last night to let us know it is time!  We are all watching your latest updates of the event.</p>
<p>Love to all and enjoy!</p>
<p>Aunt Diane</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blogging Baby Part 1: Does this mean we get a refund? by drodver</title>
		<link>http://claymitchell.net/2008/06/10/blogging-baby-part-1-does-this-mean-we-get-a-refund/comment-page-1/#comment-5</link>
		<dc:creator>drodver</dc:creator>
		<pubDate>Wed, 11 Jun 2008 01:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=31#comment-5</guid>
		<description>Good luck and prepare for the craziest and most awesome thing you will ever see.</description>
		<content:encoded><![CDATA[<p>Good luck and prepare for the craziest and most awesome thing you will ever see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Nursery Is Done! by SARAHV</title>
		<link>http://claymitchell.net/2008/05/25/the-nursery-is-done/comment-page-1/#comment-4</link>
		<dc:creator>SARAHV</dc:creator>
		<pubDate>Thu, 29 May 2008 19:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=29#comment-4</guid>
		<description>You guys did a great job! I love it!!!! Now all it needs is little Alaina!!! Please dont have her while I am away!!!! Ill be back  June 11th...your allowed anytime after that. Just kidding...I know how ready you are Kandace!!Please let me see her when I get back. Love you guys! Sarah and nicholas too</description>
		<content:encoded><![CDATA[<p>You guys did a great job! I love it!!!! Now all it needs is little Alaina!!! Please dont have her while I am away!!!! Ill be back  June 11th&#8230;your allowed anytime after that. Just kidding&#8230;I know how ready you are Kandace!!Please let me see her when I get back. Love you guys! Sarah and nicholas too</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on THAT&#039;S NO MOON by SARAHV</title>
		<link>http://claymitchell.net/2008/01/30/thats-no-moon/comment-page-1/#comment-2</link>
		<dc:creator>SARAHV</dc:creator>
		<pubDate>Thu, 29 May 2008 19:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/2008/01/30/thats-no-moon/#comment-2</guid>
		<description>ohhhh...so cute! I remember the begining baby belly. I bet its 3 times the size now!</description>
		<content:encoded><![CDATA[<p>ohhhh&#8230;so cute! I remember the begining baby belly. I bet its 3 times the size now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on One Month by russasaurous</title>
		<link>http://claymitchell.net/2008/05/10/one-month/comment-page-1/#comment-3</link>
		<dc:creator>russasaurous</dc:creator>
		<pubDate>Thu, 22 May 2008 20:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.claymitchell.net/?p=28#comment-3</guid>
		<description>Excellent writing...it`s like u were born 2 blog.  I do wish I&#039;d known your wife was expecting back in November.  I would have pushed much harder to find you something else.

R</description>
		<content:encoded><![CDATA[<p>Excellent writing&#8230;it`s like u were born 2 blog.  I do wish I&#8217;d known your wife was expecting back in November.  I would have pushed much harder to find you something else.</p>
<p>R</p>
]]></content:encoded>
	</item>
</channel>
</rss>
