javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-144

Error in required attribute of <h:inputText> and <h:inputSecret>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 6.0.7-5
    • Fix Version/s: 6.0.7-6
    • Component/s: None
    • Labels:
      None

      Description

      Now:
      <h:outputLabel for="usernameInput">#{bundle['login.username']</h:outputLabel>
      <h:inputText id="usernameInput" value="#

      {loginBean.username}" require="true" />
      <br />
      <h:outputLabel for="passwordInput">#{bundle['login.password]</h:outputLabel>
      <h:inputSecret id="passwordInput" value="#{loginBean.password}" require="true" />

      Must be:
      <h:outputLabel for="usernameInput">#{bundle['login.username']</h:outputLabel>
      <h:inputText id="usernameInput" value="#{loginBean.username}

      " required="true" />
      <br />
      <h:outputLabel for="passwordInput">#{bundle['login.password]</h:outputLabel>
      <h:inputSecret id="passwordInput" value="#

      {loginBean.password}

      " required="true" />

        Activity

        Hide
        Kim Haase added a comment -

        Thank you for pointing this out. The error is fixed, and the correction will appear in the next version of the tutorial.

        Show
        Kim Haase added a comment - Thank you for pointing this out. The error is fixed, and the correction will appear in the next version of the tutorial.

          People

          • Assignee:
            Kim Haase
            Reporter:
            winechess
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: