form « JSP « JSF Q&A





1. How do I convert this h:form into xhtml form    stackoverflow.com

<h:form id="login">
    Email: <h:inputText id="email" value="#{user.email}"/>
    <h:commandLink id="signupLink"  value="signup" action="#{userManager.validate}"/>
</h:form>
To something like this:
<form action="#{userManager.validate}">
    Email: <input type="text" id="email" value="#{user.email}"/>
   ...

2. JSF form validation easy way to use custom text    stackoverflow.com

I am using this to validate my form <h:message for="username" showDetail="false" showSummary="true"/> with required="true" but I get really ugly text because these cryptic ids are shown. Can I somehow check if ...

4. JSF and Dynamic Forms    coderanch.com

Hi Michael, JSF will work quite well with data fetched from the db. One place in the JSF spec to look at is the UIData component. If you are referring to the concept of DynaActionForms in Struts then there is nothing specifically in place to replace DynaActionForms. However achieving the same effect is relatively easy with the EL syntax for value ...

6. JSP with two forms    coderanch.com

7. forms and #{} with jsp question    coderanch.com