Hi,
Yes, true. I'm setting up an implementation that checks a context param
org.apache.myfaces.DISABLE_FLASH_SCOPE (true/false) and throws a
FlashScopeDisabledException in case someone calls one of the public Map acces
methods like get, put, keep or putNow.
Best regards,
Ganesh
Am 10.03.2011 15:49, schrieb Jakob Korherr:
Hi Ganesh,
I would prefer option 2, but just disabling it maybe isn't the whole
story here. I don't know exactly, but what if Weld or something else
uses the Flash scope internally?
To avoid running into deep troubles here it would be great to check if
the Flash scope was disabled (via the new config parameter), but some
code wants to use it and then throw an exception in this case.
Regards,
Jakob
2011/3/9 Ganesh<[email protected]>:
Hi,
A customer of mine doesn't like MyFaces to send the
oam.Flash.RENDERMAP.TOKEN to his clients. There is
https://issues.apache.org/jira/browse/MYFACES-3005 for this issue. I see 3
possible solutions:
1 - adding a config param to disable JSF built-in scopes (they are using
weld)
2 - adding a config param to disable flash
3 - compiling a custom MyFaces 2.04a for the customer
I would provide a solution for 1 or 2, if you agree, if you don't I'd
probably have to switch to 3. What do you think?
Best regards,
Ganesh
Am 21.12.2010 11:44, schrieb Jakob Korherr:
Created MYFACES-3005.
Regards,
Jakob
2010/12/21 Jakob Korherr<[email protected]>:
Hi Ganesh,
Good point. Frankly I have not thought of not sending the cookie if
there is no data in the flash scope. Thanks for the hint!
Regards,
Jakob
2010/12/19 Ganesh<[email protected]>:
Though flash scope is not is use, MyFaces 2.0 sends this cookie. Is this
a
bug or a feature? If it's a feature: Have we provided a way to turn it
off?
Best regards,
Ganesh
--
Jakob Korherr
blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at
--
"There are two kinds of people in the world, those who believe there are two
kinds of people and those who don't."
— Robert Benchley
--
"There are two kinds of people in the world, those who believe there are two kinds
of people and those who don't."
— Robert Benchley