Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-06-20 Thread nabbling1138
Howard W. Smith, Jr. wrote ViewExpiredExceptions are 'no' longer a concern of mine since I am using OmniFaces restoreView component. Nice! I hadn't seen that. I will be checking that out. Also, for my home-grown/custom security-n-session-management implementation, my login page access

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-06-19 Thread nabbling1138
I think you are missing the point. This has nothing to do with performance. It has everything to do with avoiding your users experiencing a ViewExpired state exception on a trivial form such as a login. It is non-intuitive for users to get errors (however you have handled them) on simple forms

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-06-19 Thread Howard W. Smith, Jr.
On Wed, Jun 19, 2013 at 12:15 PM, nabbling1138 newton.whit...@gmail.comwrote: It has everything to do with avoiding your users experiencing a ViewExpired state exception on a trivial form such as a login. ViewExpiredExceptions are 'no' longer a concern of mine since I am using OmniFaces

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-06-19 Thread Leonardo Uribe
Hi Anyway, transient attribute was added in JSF 2.2, but there are not strong enough reasons to add it to myfaces 2.1.x, which is the main question of this thread. Just for the record, there is a small difference when f:view transient=true is used. When there is a validation error, since there

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-06-19 Thread Mike Kienenberger
On Wed, Jun 19, 2013 at 7:00 PM, Leonardo Uribe lu4...@gmail.com wrote: It is good to know how a user expect to use this feature, so I'll keep in mind it the suggestions. While I didn't previously have any need for stateless JSF, I might need it in the future. I've been asked to consider

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
This isn't exactly stateless, the viewRoot needs still to be created every request. The state just won't be saved anymore. This can be done via UIViewRoot#setTransient(true) with MyFaces, too. 2013/2/22 Howard W. Smith, Jr. smithh032...@gmail.com Mark Struberg, and to whom this may concern,

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Thomas Andraschko
AFAIK UIViewRoot#setTransient(true) is defined in the specs. Maybe they implemented more features dependent on this flag, don't know. Someone should check there code :) 2013/2/22 Howard W. Smith, Jr. smithh032...@gmail.com On Fri, Feb 22, 2013 at 7:55 AM, Thomas Andraschko

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Howard W. Smith, Jr.
Fair enough. Definitely not a concern of mine; seems not to be a real concern to MyFaces Dev/users as well. :) On Fri, Feb 22, 2013 at 8:15 AM, Thomas Andraschko andraschko.tho...@gmail.com wrote: AFAIK UIViewRoot#setTransient(true) is defined in the specs. Maybe they implemented more

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread l.pe...@senat.fr
On 22/02/2013 14:19, Howard W. Smith, Jr. wrote: Fair enough. Definitely not a concern of mine; seems not to be a real concern to MyFaces Dev/users as well. :) Dear all, maybe a stupid question... So, a f:view transient=true can be used to design a nice login form leveraging JSF power ?

Re: Add 'Stateless JSF' to MyFaces Core? Is it really necessary?

2013-02-22 Thread Leonardo Uribe
Hi To be clear use UIViewRoot#setTransient(true) just save time when the state is calculated, because it just skip that calculation. But in MyFaces, calculate the state is quite fast, so at the end the saved time is less than 1 or 2%. Why? because what really has an impact over the time spent