Guest User

Untitled

a guest
Aug 20th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>
  2. <ice:form id="form1" partialSubmit="false">
  3. <ice:panelLayout id="panelLayout3">
  4. <ice:graphicImage id="graphicImage1" url="/resources/images/LoginImage.jpg" width="560" />
  5. <ice:outputLabel for="j_username" id="outputLabel1" value="Username:"/>
  6. <ice:outputLabel for="j_password" id="outputLabel2" value="Password:"/>
  7. <ice:inputText binding="#{login.username}" id="j_username" required="true" />
  8. <ice:inputSecret binding="#{login.password}" id="j_password" required="true" />
  9. <ice:commandButton actionListener="#{login.login}" id="loginBtn" value="Login"/>
  10. <ice:commandButton action="#{login.reset}" id="resetBtn" value="Reset"/>
  11. <ice:outputText id="errorMessage" />
  12. <ice:message errorClass="errorMessage" for="j_username" fatalClass="fatalMessage" id="messages1" infoClass="infoMessage" showSummary="false" warnClass="warnMessage"/>
  13. </ice:panelLayout>
  14. </ice:form>
Add Comment
Please, Sign In to add comment