[JAVAEETUTORIAL-144] Error in required attribute of <h:inputText> and <h:inputSecret> Created: 20/Dec/12  Updated: 20/Dec/12  Resolved: 20/Dec/12

Status: Closed
Project: javaeetutorial
Component/s: None
Affects Version/s: 6.0.7-5
Fix Version/s: 6.0.7-6

Type: Bug Priority: Trivial
Reporter: winechess Assignee: Kim Haase
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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" />



 Comments   
Comment by Kim Haase [ 20/Dec/12 ]

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

Generated at Sun Jul 24 08:02:48 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.