I mit the error too, html code is:

 <SPAN 
  |                   onclick="__selectDate('j_id51:project_planStartDate', 
'j_id51:project_planStartDate');">

Above, parameter1 and parameter2 are same? Why the function definition in 
"calendar.htm" is different:
function __selectDate(calName, viewCtlName) {

<s:decorate template="/page/tiles/formFieldDecorate.xhtml">
  |                                                     <ui:define 
name="label">Plan Start Date</ui:define>
  |                                                             <h:inputText 
id="planStartDateInput" value="#{project.planStartDate}">
  |                                         <s:convertDateTime 
pattern="MM/dd/yyyy"/>
  |                                     </h:inputText>
  |                                     <s:selectDate id="planStartDateCal" 
for="planStartDateInput" startYear="2000" endYear="2010">
  |                                         <h:graphicImage 
url="/img/dtpick.gif" style="margin-left:5px;cursor:pointer" title="Select a 
date"/>
  |                                     </s:selectDate>
  |                                             </s:decorate>    

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059295#4059295

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059295
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to