JSF calendar is not working in IE8 with WPS portal server v6.1.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lakshminarasimh
    New Member
    • Dec 2010
    • 1

    #1

    JSF calendar is not working in IE8 with WPS portal server v6.1.5

    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">&nbsp;</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>
    Attached Files
Working...