Fraley, Taylor wrote:
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.
I would guess that the remote browser is failing to fetch the stylesheets for the calendar (and possibly icons etc).

The generated page will be referring to various resource files back on the original server; these references will be using a special URL that gets intercepted by the myfaces ExtensionsFilter to locate and return the appropriate resource from inside the tomahawk jarfile. If it's working on your machine, then it looks like the ExtensionsFilter is ok though. I don't know what would be different about the remote system in this regard.

You might want to turn on logging output, and see what differences there are in the messages logged by the ExtensionsFilter when accessed locally vs remotely.

Regards,

Simon

Reply via email to