[ 
https://issues.apache.org/jira/browse/MYFACES-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974108#action_12974108
 ] 

Ganesh Jung commented on MYFACES-3005:
--------------------------------------

It's true that users will expect flash scope to work even if they add data 
during render phase. As JSF managed beans are kind of deprecated in favor of 
CDI the config param could go one step further and disable JSF managed beans 
all together. Every Weld developer I've seen has stepped at least once into the 
Session-Scope-From-Wrong-Package trap and using this new config param 
(ENABLE_JSF_MANAGED_BEANS->FALSE)  any usage of javax.faces.bean.SessionScoped 
would produce an Exception. The Flash Token would be disabled by this config 
param too.

> Only send Flash cookie if needed
> --------------------------------
>
>                 Key: MYFACES-3005
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3005
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.3
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>
> As pointed out by Ganesh on the mailing list [1], we do not always have to 
> send the Flash cookie oam.Flash.RENDERMAP.TOKEN (e.g. when there is no data 
> in the Flash scope).
> [1] http://old.nabble.com/oam.Flash.RENDERMAP.TOKEN-ts30491897.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to