Hi, thank you for the idea. I followed the thread discussing that the extension filter needs a <head> or <body> tag to be able to add the neccessary javaScripts. I do indeed work with a non standalone JSF application, but it's not in a portal environment. The thing is called Sakai and is a sort of classroom management software using frames. I did check the rendered response and there are proper <body> and <head> tags and additionally there are some javaScript extensionFilter entries defined. Just to show two examples:
<script type="text/javascript" src="/sakai-ecgviewer-tool/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/11302665/javascript/cookielib.js"> <script type="text/javascript"><!-- jscalendarMonthName = new Array("January","February","March","April","May","June","July","August","September","October","November","December");jscalendarMonthName2 = new Array("January","February","March","April","May","June","July","August","September","October","November","December");jscalendarDayName = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");jscalendarStartAt = 0; jscalendarTodayString = "Today is: "; jscalendarWeekString = "Wk"; if (!document.layers) { document.write('<img src="/sakai-ecgviewer-tool/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/11302665/images/calendar.gif" style="vertical-align:bottom;" onclick="jscalendarPopUpCalendar(this,document.getElementById(\'dateOfDiagnosisForm:_id63\'),\'M/d/yy\')" />'); } //--></script> Take care, Kurt Quoting CD <[EMAIL PROTECTED]>: > Hi Kurt, > > Are you working in a portal environment perhaps? I don't think that has any > bearing on the issue I'm dealing with as you are getting the same problems I > am, but it would be comforting to know :) > > > On 12/21/05, Kurt Edegger <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I posted the same issue couple of weeks ago and couldn't resolve it. I'm > > still > > stuck with an JavaScript error: jscalendarPopUpCalendar is not defined > > > > I do have the extensionsFilter declared in my web.xml, both mapped to > > /faces/* > > and *.jsf as shown by this snipplet of my web.xml: > > > > <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> > > </init-param> > > </filter> > > > > <filter-mapping> > > <filter-name>MyFacesExtensionsFilter</filter-name> > > <url-pattern>*.jsf</url-pattern> > > </filter-mapping> > > <filter-mapping> > > <filter-name>MyFacesExtensionsFilter</filter-name> > > <url-pattern>/faces/*</url-pattern> > > </filter-mapping> > > > > <servlet> > > <servlet-name>Faces Servlet</servlet-name> > > <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> > > <load-on-startup>2</load-on-startup> > > </servlet> > > > > <servlet-mapping> > > <servlet-name>Faces Servlet</servlet-name> > > <url-pattern>*.jsf</url-pattern> > > </servlet-mapping> > > > > It seems that some javaScripts are not loaded in the head or body of the > > page. > > > > Thanks for any help! > > > > Kurt > > > > >