I am attempting to use the MyFaces calendar object as a popup (I have a working version of the inline calendar working). However, I am running into _javascript_ errors resulting from loadPopupScript not being defined as well as DateFormatSymbols not being defined. I have put the sample Extensions filters in place in my
web.xml and this does not seem to fix the issue. If it is of any help, the environment is RAD 6 / WebSphere Portal 5.1. Any help you might be able to provide would be most appreciated. Thank you in advance!
My web.xml is as follows:
<?
xml version="1.0" encoding ="UTF-8"?><!
DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"><
web-app id="WebApp_ID"> <display-name>CalendarPortlet</ display-name> <context-param> <param-name>com.ibm.ws.jsf.JSP_UPDATE_CHECK </param-name> <param-value>true</ param-value> <description>Monitors Faces JSP files for modifications and synchronizes a running server withthe changes without restarting the server. If this parameter is set to false or
removed from the deployment descriptor, any changes made to Faces JSP files may
not be seen by the server until it is restarted. This parameter is usually set
to true while the Faces JSP files are being developed and debugged in order to
improve the performance of the development environment.
</description> </context-param> <context-param> <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP </param-name> <param-value>true</ param-value> <description></description > </context-param> <filter> <filter-name>MyFacesExtensionsFilter </filter-name> <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter </filter-class> <init-param> <param-name>maxFileSize</ param-name> <param-value>20m</ param-value> <description>Set the size limit for uploaded files.Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description> </init-param> </filter> <filter-mapping> <filter-name>MyFacesExtensionsFilter </filter-name> <url-pattern>*.jsp</ url-pattern> </filter-mapping> <filter-mapping> <filter-name>MyFacesExtensionsFilter </filter-name> <url-pattern>/wps/*</ url-pattern> </filter-mapping> <listener> <listener-class>com.sun.faces.config.ConfigureListener </listener-class> </listener> <servlet id="Servlet_1133548584132" > <servlet-name>JS Resource Servlet </servlet-name> <servlet-class>com.ibm.faces.webapp.JSResourceServlet
</servlet-class> <load-on-startup>-1</ load-on-startup> </servlet> <servlet-mapping> <servlet-name>JS Resource Servlet </servlet-name> <url-pattern>/.ibmjsfres/*</ url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.html</ welcome-file> <welcome-file>index.htm</ welcome-file> <welcome-file>index.jsp</ welcome-file> <welcome-file>default.html</ welcome-file> <welcome-file>default.htm</ welcome-file> <welcome-file>default.jsp</ welcome-file> </welcome-file-list> <taglib id="PortletTLD" > <taglib-uri>http://java.sun.com/portlet </taglib-uri> <taglib-location>/WEB-INF/tld/std-portlet.tld </taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/datetime-1.0 </taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-datetime.jar </taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/string-1.0.1 </taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-string.jar </taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/utility </taglib-uri> <taglib-location>/WEB-INF/lib/utility.jar </taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/mailer-1.1 </taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-mailer.jar </taglib-location> </taglib></
web-app>