Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF2.0 & Datepicker

 
Octav Bund
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !


 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!