After post is setting a value in JSF2 flash scope, it is visible again on second GET request to a page (Flash scope considered harmful)
问题 I tested new Flash scope in JSF2 but I found a major issue with it or I am lacking some knowledge. Having a page: <h:body> Value in flash: #{flash.text} <h:form> <h:inputText value="#{flash.text}" /> <h:commandButton value="Test" /> <!-- Same behavior with faces redirect --> </h:form> </h:body> I have a scenario: Put a value 'foo' and click Test I get 'Value in flash: foo' I open new page with the same adress I get 'Value in flash:' I open another new page with the same adress I get 'Value in