Class OmniExternalContext

    • Constructor Detail

      • OmniExternalContext

        public OmniExternalContext​(ExternalContext wrapped)
        Construct a new OmniFaces external context around the given wrapped external context.
        wrapped - The wrapped external context.
    • Method Detail

      • getFlash

        public Flash getFlash()
        If the current request is an unload request from ViewScoped, then return a dummy flash scope which does not modify the flash state, else if Mojarra is used and session is new, then return a patched flash which work arounds Mojarra issue 4431, else return the original flash scope.
        getFlash in class ExternalContextWrapper