Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>
- <ice:form id="form1" partialSubmit="false">
- <ice:panelLayout id="panelLayout3">
- <ice:graphicImage id="graphicImage1" url="/resources/images/LoginImage.jpg" width="560" />
- <ice:outputLabel for="j_username" id="outputLabel1" value="Username:"/>
- <ice:outputLabel for="j_password" id="outputLabel2" value="Password:"/>
- <ice:inputText binding="#{login.username}" id="j_username" required="true" />
- <ice:inputSecret binding="#{login.password}" id="j_password" required="true" />
- <ice:commandButton actionListener="#{login.login}" id="loginBtn" value="Login"/>
- <ice:commandButton action="#{login.reset}" id="resetBtn" value="Reset"/>
- <ice:outputText id="errorMessage" />
- <ice:message errorClass="errorMessage" for="j_username" fatalClass="fatalMessage" id="messages1" infoClass="infoMessage" showSummary="false" warnClass="warnMessage"/>
- </ice:panelLayout>
- </ice:form>
Add Comment
Please, Sign In to add comment