I just checked my calendar code... and found this:

"The trick here is that you must include commons-lang-2.1.jar
        in your classpath if you want the calendar to work as a popup."

Bobby

On 11/29/05, Kurt Edegger <[EMAIL PROTECTED]> wrote:
Hi,

I would like to use the <inputCalender> element on one of my jsf pages.
I'd like to have the element rendered to use the _javascript_ popup to
display the calendar. But when I add the following to my jsp document, I
only get an "jsCalendarPopupCalendar is not defined" _javascript_ Error
after clicking on the calendar icon next to the input field.

<h:form id="dateOfDiagnosisForm">
   <t:inputCalendar monthYearRowClass="yearMonthHeader"
      weekRowClass="weekHeader" currentDayCellClass="currentDayCell"
      value="#{ecgViewer.diagDate}" renderAsPopup="true"
      popupTodayString="#{msg['calendarpopup_today_string']}"
      popupWeekString="#{msg['calendarpopup_week_string']}"
      renderPopupButtonAsImage="true" />
</h:form>

I did add the extension filter entries to my web.xml and I can use other
elements correctly. I found a former thread in this group relating to
the same issue, but there the issue was that the jsp document had no
<body> nor <head> elements, which I do have both in my jsp.

Any ideas?

Kurt


Reply via email to