<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Basically every RichFaces component is supposed to work in stateless mode, even though it can be ineffectively.</span><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I.e. every component should keep functioning properly when switching a view from non-transient to transient,</div>

<div style="font-family:arial,sans-serif;font-size:13px">but it is possible that slight modification of an app will be necessary (.e.g change of scopes).</div><div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">I.e. we shouldn&#39;t have components that are not able to run in transient mode in under at least one configuration.</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">~ Lukas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 10:02 AM, Jiri Stefek <span dir="ltr">&lt;<a href="mailto:jstefek@redhat.com" target="_blank">jstefek@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
the JSF 2.2 has introduced a new feature of stateless views. It is done by setting a transient attribute of f:view to true. All components in such tree become stateless.<br>
<br>
Some features of using stateless views [1, 2]:<br>
* It should bring memory and performance advantages (bigger views -&gt; bigger advantage).<br>
* Preventing of view expired exceptions.<br>
(* The @ViewScoped bean in such view will behave like @RequestScoped.)<br>
* no state is saved and applied to components<br>
<br>
<br>
Questions:<br>
How should we test this feature with RichFaces components and which components should be tested?<br>
Some components will probably not fully work since they are dependent on its state (tables?), how do we handle this? By throwing an exception?<br>
<br>
<br>
Regards,<br>
<br>
JS<br>
<br>
<br>
<br>
[1] <a href="http://jdevelopment.nl/jsf-22/#1055" target="_blank">http://jdevelopment.nl/jsf-22/#1055</a><br>
[2] <a href="http://jsfcorner.blogspot.cz/2013/05/jsf-22-stateless-views-explained.html" target="_blank">http://jsfcorner.blogspot.cz/2013/05/jsf-22-stateless-views-explained.html</a><br>
_______________________________________________<br>
richfaces-dev mailing list<br>
<a href="mailto:richfaces-dev@lists.jboss.org">richfaces-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/richfaces-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/richfaces-dev</a><br>
</blockquote></div><br></div>