Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Example as follows:
      1) A facelet called Entry.xhtml

      <h:form>
      <table>
      <tr>
      <td>First Name:</td>
      <td>
      <h:inputText id="fname" value="#

      {flash.firstName}

      "required="true"/>
      </td>
      </tr>
      <tr>
      <td>Last Name:</td>
      <td>
      <h:inputText id="lname" value="#

      {flash.lastName}

      " required="true"/>
      </td>
      </tr>
      </table
      <p><h:commandButton value="Submit" action="confirmation?faces-redirect=true"
      /></p>
      </h:form>

      and the confirmation.xhtml:
      <table>
      <tr>
      <td>First Name:</td>
      <td>
      <h:outputText value="#

      {flash.keep.firstName}

      " />
      </td>
      </tr>
      <tr>
      <td>Last Name:</td>
      <td>
      <h:outputText value="#

      {flash.keep.lastName}

      "/>
      </td>
      </tr>
      </table>
      <h:form>
      <p><h:commandButton value="Confirm" action="finished?faces-redirect=true" /></p>
      </h:form>

      But when the confirmation page is loaded, the firstName and lastName I submitted
      is missing. Why? I am using flash.keep. According to what I read it should
      keep the values more than a PRG cycle.
      It works if I use Mojarra.

        Activity

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Jakob Korherr
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development