I am getting the below given error when i select the date in Calendar. Actually calendar pops up when i click on Button using the tag given. Please find attachments for errors and tags. I am using JSF and javascript in my jsp pages.
Error: Stack over flow at line:1825
Code: <script type="text/javascript">
var startDateId=doc ument.getElemen tById("startDat e").title;
Calendar.setup( {
inputField : startDateId, // id of the input field
ifFormat : "%b %e, %Y %I:%M %p", // format of the input field
showsTime : true, // will display a time selector
button : "f_trigger_ 1", // trigger for the calendar (button ID)
singleClick : true, // double-click mode
step : 1 // show all years in drop-down boxes (instead of every other year as default)
});
</script>
<tr>
<td align="left">Ef fective Date</td>
<td style="width: 5px"> </td>
<td><h:inputTex t id="text155"
value="#{agtPro fBean.agtProfMa p.effectiveDate }"
styleClass="inp utText" size="30" required="true" >
<f:convertDateT ime type="both" dateStyle="medi um"
timeStyle="shor t" />
<j4j:idProxy id="startDate" />
</h:inputText>
<button type="reset" id="f_trigger_1 ">...</button>
<h:message styleClass="mes sage" id="message3" for="text155"
style="color: red"></h:message></td>
</tr>
Error: Stack over flow at line:1825
Code: <script type="text/javascript">
var startDateId=doc ument.getElemen tById("startDat e").title;
Calendar.setup( {
inputField : startDateId, // id of the input field
ifFormat : "%b %e, %Y %I:%M %p", // format of the input field
showsTime : true, // will display a time selector
button : "f_trigger_ 1", // trigger for the calendar (button ID)
singleClick : true, // double-click mode
step : 1 // show all years in drop-down boxes (instead of every other year as default)
});
</script>
<tr>
<td align="left">Ef fective Date</td>
<td style="width: 5px"> </td>
<td><h:inputTex t id="text155"
value="#{agtPro fBean.agtProfMa p.effectiveDate }"
styleClass="inp utText" size="30" required="true" >
<f:convertDateT ime type="both" dateStyle="medi um"
timeStyle="shor t" />
<j4j:idProxy id="startDate" />
</h:inputText>
<button type="reset" id="f_trigger_1 ">...</button>
<h:message styleClass="mes sage" id="message3" for="text155"
style="color: red"></h:message></td>
</tr>