volosied commented on PR #473: URL: https://github.com/apache/myfaces/pull/473#issuecomment-1378906192
The problem is with client window mode is that the view's clientid is used as a key to store the render map and execute map tokens. See https://github.com/apache/myfaces/blob/6ee216abb06a790c2dbd9012c4400756014f7323/impl/src/main/java/org/apache/myfaces/context/flash/FlashImpl.java#L769 With url mode enabled, a refresh of the page generates a new id and then the previous maps can't be found. Hence, the values in the flash map aren't displayed. Url mode works fine if you got to a different page (unless you use the disableClientWindow in the tag). My code was for the scenario where url mode was enabled by default (not via user), but I think you're that that I should update it to check for the URL mode specifically. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
