This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes JSF2.0 & Datepicker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF2.0 & Datepicker" Watch "JSF2.0 & Datepicker" New topic
Author

JSF2.0 & Datepicker

Octav Bund
Greenhorn

Joined: Jul 31, 2011
Posts: 1
Hello,
help me please to solve one little problem:
how to assign a jQuery Datepicker tu <h:inputText> tag...
Haw I do:


<h:form>
....
<h:inputText value="#{contact.date_connect}" size="25" styleClass="component" id="date">
....
</h:form>
but it not work in this way ... because id is the unique identifier value for this component. The value must be unique within the closest naming container (e.g.,h:form or f:subview).This value must be a static value.

thank you !


 
Consider Paul's rocket mass heater.
 
subject: JSF2.0 & Datepicker
 
Similar Threads
Clear validation message dynamically for the Datepicker
Enable/Disable the datepicker
Datepicker Validation
jquery datepicker not working
how to use selectOneRadio with javascript?