First, let me say I'm relatively new to myfaces and tomahawk, so please be kind :)
 
So, I'm using:
 
myfaces 1.1.4
tomahawk 1.1.3
tomcat 5.5
 
I'm using the Tomahawk calendar as a popup.  Everything works great locally on my development machine where everything is running, in both IE7 and Firefox 2.  But when the page is rendered in a remote browser, all that displays is the calendar's input text box, sans button.  IE 6 on a remote machine reports the following _javascript_ error:
 
Line: 136
Char: 1
Error: 'org_apache_myfaces_PopupCalendar' is undefined
Code: 0
 
The generated source is identical between the local browser and the remote.  My guess is that there's something up with my web.xml, or perhaps a problem on Tomcat or something.  I'll paste my web.xml below.  If anyone has any pointers or insight, that would be great.
 
Thanks,
Taylor
 
----> web.xml
 

<?xml version="1.0" encoding="UTF-8"?>

<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<display-name>IDDReports</display-name>

<description>Idd Reporting Application</description>

<context-param>

<param-name>javax.faces.STATE_SAVING_METHOD</param-name>

<param-value>client</param-value>

</context-param>

<servlet>

<servlet-name>Faces Servlet</servlet-name>

<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

<load-on-startup>1</load-on-startup>

</servlet>

<servlet-mapping>

<servlet-name>Faces Servlet</servlet-name>

<url-pattern>/reports/*</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>Faces Servlet</servlet-name>

<url-pattern>*.jsf</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>Faces Servlet</servlet-name>

<url-pattern>/faces/*</url-pattern>

</servlet-mapping>

<filter>

<filter-name>MyFacesExtensionsFilter</filter-name>

<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>

</filter>

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<url-pattern>*.jsf</url-pattern>

</filter-mapping>

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<servlet-name>Faces Servlet</servlet-name>

</filter-mapping>

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<url-pattern>/faces/*</url-pattern>

</filter-mapping>

</web-app>

Reply via email to