<?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: Spring Web Flow Bean Scopes and JSF</title>
	<atom:link href="http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Sun, 21 Mar 2010 14:08:54 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Agim&#8217;s notebook &#187; Blog Archive &#187; Spring Webflow 2.0 auf dem Weg</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-40640</link>
		<dc:creator>Agim&#8217;s notebook &#187; Blog Archive &#187; Spring Webflow 2.0 auf dem Weg</dc:creator>
		<pubDate>Sun, 19 Aug 2007 17:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-40640</guid>
		<description>[...] - Spring Webflow Scopes Seit der Version 2.0 des Spring Frameworks (welches von Spring Webflow verwendet wird), besteht die Möglichkeit das Beans unterschiedliche Gültigkeitzeiträume besitzen (Scopes). Von Haus aus werden von Spring die Scopes Singleton, Session, Request sowie Prototyp mitgeleifert. Mit Spring Webflow 2.0 stehen zudem die Scopes Conversation sowie Flow zur Verfügung. Dadurch können einzelne Objekten aus den beiden Scopes direkt aus dem ApplicationContext ausgelesen werden. Ben Hale hat hierzu einen Blog Eintrag (in Englisch) erfasst. [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; Spring Webflow Scopes Seit der Version 2.0 des Spring Frameworks (welches von Spring Webflow verwendet wird), besteht die Möglichkeit das Beans unterschiedliche Gültigkeitzeiträume besitzen (Scopes). Von Haus aus werden von Spring die Scopes Singleton, Session, Request sowie Prototyp mitgeleifert. Mit Spring Webflow 2.0 stehen zudem die Scopes Conversation sowie Flow zur Verfügung. Dadurch können einzelne Objekten aus den beiden Scopes direkt aus dem ApplicationContext ausgelesen werden. Ben Hale hat hierzu einen Blog Eintrag (in Englisch) erfasst. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-32721</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Sat, 07 Jul 2007 00:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-32721</guid>
		<description>Hi,

I am trying to integrate SWF with JSF. The problem I am running into is trying to access the JSF managed beans inside the SWF webflow.xml. How do i access the JSF managed bean inside the Spring webflow.xml ?

I did come across this patch but is that needed ?
http://forum.springframework.org/showthread.php?t=37781


TIA,
Vijay</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to integrate SWF with JSF. The problem I am running into is trying to access the JSF managed beans inside the SWF webflow.xml. How do i access the JSF managed bean inside the Spring webflow.xml ?</p>
<p>I did come across this patch but is that needed ?<br />
<a href="http://forum.springframework.org/showthread.php?t=37781" rel="nofollow">http://forum.springframework.org/showthread.php?t=37781</a></p>
<p>TIA,<br />
Vijay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Hale</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-24572</link>
		<dc:creator>Ben Hale</dc:creator>
		<pubDate>Fri, 25 May 2007 14:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-24572</guid>
		<description>[quote comment=&quot;24568&quot;]Hi...
Can you tell me the difference between the request and flash scopes.I don&#039;t know when to use one or another for doing any task...
thanksss....[/quote]

Sure!  I think the documentation spells it out nicely (http://static.springframework.org/spring-webflow/docs/current/reference/flow-execution.html#execution-scopes) but I&#039;ll give you some examples as well.

Request scope is basically the same as the request scope for a servlet.  Any data stored in request scope lives for a single request.  Therefore, request scoped data will not be accessible if the user refreshes a page because the refresh is a separate request.

Flash scope aims to solve that particular problem.  Any data in flash scope lives until an &#039;event&#039; is signaled to the flow.  Therefore, if the user refreshes a page (potentially even multiple times) the data will be accessible across each of those requests.  However, as soon as the user signals an event (a submit button for instance), the data becomes inaccessible.</description>
		<content:encoded><![CDATA[<p>[quote comment="24568"]Hi&#8230;<br />
Can you tell me the difference between the request and flash scopes.I don&#039;t know when to use one or another for doing any task&#8230;<br />
thanksss&#8230;.[/quote]</p>
<p>Sure!  I think the documentation spells it out nicely (<a href="http://static.springframework.org/spring-webflow/docs/current/reference/flow-execution.html#execution-scopes" rel="nofollow">http://static.springframework.org/spring-webflow/docs/current/reference/flow-execution.html#execution-scopes</a>) but I&#039;ll give you some examples as well.</p>
<p>Request scope is basically the same as the request scope for a servlet.  Any data stored in request scope lives for a single request.  Therefore, request scoped data will not be accessible if the user refreshes a page because the refresh is a separate request.</p>
<p>Flash scope aims to solve that particular problem.  Any data in flash scope lives until an &#039;event&#039; is signaled to the flow.  Therefore, if the user refreshes a page (potentially even multiple times) the data will be accessible across each of those requests.  However, as soon as the user signals an event (a submit button for instance), the data becomes inaccessible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Somebody</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-24568</link>
		<dc:creator>Somebody</dc:creator>
		<pubDate>Fri, 25 May 2007 14:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-24568</guid>
		<description>Hi...
Can you tell me the difference between the request and flash scopes.I don&#039;t know when to use one or another for doing any task...
thanksss....</description>
		<content:encoded><![CDATA[<p>Hi&#8230;<br />
Can you tell me the difference between the request and flash scopes.I don&#039;t know when to use one or another for doing any task&#8230;<br />
thanksss&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-23105</link>
		<dc:creator>Shashi</dc:creator>
		<pubDate>Wed, 16 May 2007 07:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-23105</guid>
		<description>Hi Ben,

I am not able to format the coding lines correct. Can you please have a look at my post at http://forum.springframework.org/showthread.php?t=38731

and http://forum.springframework.org/showthread.php?t=38781

I will appreciate your help in this regard.

Regards,
Shashi</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>I am not able to format the coding lines correct. Can you please have a look at my post at <a href="http://forum.springframework.org/showthread.php?t=38731" rel="nofollow">http://forum.springframework.org/showthread.php?t=38731</a></p>
<p>and <a href="http://forum.springframework.org/showthread.php?t=38781" rel="nofollow">http://forum.springframework.org/showthread.php?t=38781</a></p>
<p>I will appreciate your help in this regard.</p>
<p>Regards,<br />
Shashi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-23099</link>
		<dc:creator>Shashi</dc:creator>
		<pubDate>Wed, 16 May 2007 06:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-23099</guid>
		<description>The code part was formatted hence submitting the post once more.

Hi Ben,

I am trying to utilize various scopes discussed in the article.

Let me explain what all things I have done.

I have defined a bean called login in the flash scope as
&quot;&quot;

I have created a jsp file where the bean is referred as

&quot;
&quot;

When I submit this page, in the action bean I do not get the login bean in the Flash scope. It comes as null. However if I change the scope of the login bean to flow, I get the instance. Is there any thing I am doing wrong. Would appreciate your Help.

Regards,
Shashi</description>
		<content:encoded><![CDATA[<p>The code part was formatted hence submitting the post once more.</p>
<p>Hi Ben,</p>
<p>I am trying to utilize various scopes discussed in the article.</p>
<p>Let me explain what all things I have done.</p>
<p>I have defined a bean called login in the flash scope as<br />
&#034;&#034;</p>
<p>I have created a jsp file where the bean is referred as</p>
<p>&#034;<br />
&#034;</p>
<p>When I submit this page, in the action bean I do not get the login bean in the Flash scope. It comes as null. However if I change the scope of the login bean to flow, I get the instance. Is there any thing I am doing wrong. Would appreciate your Help.</p>
<p>Regards,<br />
Shashi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi</title>
		<link>http://blog.springsource.com/2007/05/08/spring-web-flow-bean-scopes-and-jsf/comment-page-1/#comment-23096</link>
		<dc:creator>Shashi</dc:creator>
		<pubDate>Wed, 16 May 2007 06:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/05/08/spring-web-flow-bean-scopes-and-jsf/#comment-23096</guid>
		<description>Hi Ben,

I am trying to utilize various scopes discussed in the article.

Let me explain what all things I have done.

I have defined a bean called login in the flash scope as 


I have created a jsp file where the bean is referred as




When I submit this page, in the action bean I do not get the login bean in the Flash scope. It comes as null. However if I change the scope of the login bean to flow, I get the instance. Is there any thing I am doing wrong. Would appreciate your Help.

Regards,
Shashi</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>I am trying to utilize various scopes discussed in the article.</p>
<p>Let me explain what all things I have done.</p>
<p>I have defined a bean called login in the flash scope as </p>
<p>I have created a jsp file where the bean is referred as</p>
<p>When I submit this page, in the action bean I do not get the login bean in the Flash scope. It comes as null. However if I change the scope of the login bean to flow, I get the instance. Is there any thing I am doing wrong. Would appreciate your Help.</p>
<p>Regards,<br />
Shashi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
