myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Jung (JIRA)" <>
Subject [jira] Commented: (MYFACES-3005) Only send Flash cookie if needed
Date Wed, 22 Dec 2010 08:12:03 GMT


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:
>             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]

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

View raw message