Hi,

I am using a t:inputCalendar tag from Tomahawk 1.1.8:
[code]
<t:inputCalendar id="mycal"
 addResources="false" 
 monthYearRowClass="yearMonthHeader" 
 weekRowClass="weekHeader" 
 popupButtonStyleClass="standard_bold"
 currentDayCellClass="currentDayCell" 
 value="#{BB.geburtsdatum}" 
 renderAsPopup="true"
 popupTodayString="Heute ist der: " 
 helpText="MM/DD/YYYY">
</t:inputCalendar>
<h:outputText value="#{BB.geburtsdatum}" />
[/code]

geburtsdatum is a DATE in my BB with its getter and setter.
The t:inputCalendar is embedded in an form.
When I open the JSF Page with Internet Explorer 6 I get the following 
JavaScript error:
[code]
org_apache_myfaces_PopupCalendar() is undefined
[/code]

I read a lot on the web, and tryed to use the command addResources="false" 
in combination with
the extension filter in my web.xml:
[code]
<filter-mapping> 
       <filter-name>MyFacesExtensionsFilter</filter-name> 
        <servlet-name>Faces Servlet</servlet-name>
</filter-mapping> 
[/code]

My page source code look like this:
[code]
<input id="frm1:mycal" name="frm1:mycal" type="text" 
onfocus="selectText('MM/DD/YYYY', 'frm1:mycal')" 
onclick="selectText('MM/DD/YYYY', 'frm1:mycal')" value="MM/DD/YYYY" 
/><span id="frm1:mycalSpan"></span><script type="text/javascript"><!--
frm1_3AmycalCalendarVar=new org_apache_myfaces_PopupCalendar();
frm1_3AmycalCalendarVar.initData.themePrefix = "jscalendar-DB";
frm1_3AmycalCalendarVar.initData.imgDir = 
"/ewc/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12385048/calendar.HtmlCalendarRenderer/DB/";
frm1_3AmycalCalendarVar.initData.monthName = new 
Array("Januar","Februar","M\u00E4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
frm1_3AmycalCalendarVar.initData.dayName = new 
Array("Mo","Di","Mi","Do","Fr","Sa","So");
frm1_3AmycalCalendarVar.initData.startAt = 1;
frm1_3AmycalCalendarVar.dateFormatSymbols.weekdays = new 
Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
frm1_3AmycalCalendarVar.dateFormatSymbols.shortWeekdays = new 
Array("So","Mo","Di","Mi","Do","Fr","Sa");
frm1_3AmycalCalendarVar.dateFormatSymbols.shortMonths = new 
Array("Jan","Feb","M\u00E4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez");
frm1_3AmycalCalendarVar.dateFormatSymbols.months = new 
Array("Januar","Februar","M\u00E4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
frm1_3AmycalCalendarVar.dateFormatSymbols.eras = new Array("v. Chr.","n. 
Chr.");
frm1_3AmycalCalendarVar.dateFormatSymbols.ampms = new Array("AM","PM");
frm1_3AmycalCalendarVar.initData.todayString = "Heute ist der: ";
frm1_3AmycalCalendarVar.initData.popupLeft = false;

frm1_3AmycalCalendarVar.initData.selectMode = "day";
frm1_3AmycalCalendarVar.init(document.getElementById('frm1:mycalSpan'));

//--></script><input type="button" 
onclick="frm1_3AmycalCalendarVar._popUpCalendar(this,document.getElementById('frm1:mycal'),'dd.MM.yy')"
 
value="..." class="standard_bold" /></div>
[/code]

Is it possible, that there is no path found for creating the instance in 
the java script:
[code] 
frm1_3AmycalCalendarVar=new org_apache_myfaces_PopupCalendar();
[/code]

Anyone any idea, why this can't be found?
Thanks,



Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich 
Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium 
nicht ausgetauscht werden.

Correspondence with a.m. sender via e-mail is only for information purposes. 
This medium is not to be used for the exchange of legally-binding 
communications.

Reply via email to