[jboss-user] [JBoss Seam] - Re: selectDate not popping up on click

chicochen do-not-reply at jboss.com
Fri Jun 29 14:58:43 EDT 2007


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



More information about the jboss-user mailing list