Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Bind <h:message> to inputText
Bind <h:message> to inputText [message #600334] Mon, 08 May 2006 08:23
Eclipse User
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.
Previous Topic:custom variableresolver support ?
Next Topic:Bind <h:message> to inputText
Goto Forum:
  


Current Time: Fri Sep 19 13:58:27 GMT 2014

Powered by FUDForum. Page generated in 0.01953 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software