| Bind <h:message> to inputText [message #600334] |
Mon, 08 May 2006 04:23 |
|
Originally posted by: crapulence.gmx.de
Hello there,
i am trying to bind an error message (required tag) to an inputText of my
form:
<h:form>
name: <h:inputText value="#{Visitor.firstname}" /><br>
surname: <h:inputText value="#{Visitor.lastname}"
></h:inputText><br>
date_of_birth: <h:inputText value="#{Visitor.birth}"
maxlength="10" size="10" required="true">
<f:convertDateTime dateStyle="short"
type="date"/>
</h:inputText>
<br><br>
<h:commandButton action="success" value="Submit" />
<h:message for "#{Visitor.birth}"/>
</h:form>
But thats not right. How to reference the field "date_of_birth" in
h:message?
Best regards,
a.k.
|
|
|
Powered by
FUDForum. Page generated in 0.01918 seconds