Hello all,

I'm using Tomahawk 1.1.5 in a JBoss Seam / Facelets / RI environment, and I am 
having problems displaying JSCookMenu. In IE it is deployed, in
Firefox, it isn't, so I suspect it's some xhtml issue.

I've had a look at the generated source and found one single line of JavaScript 
which is not embedded in CDATA:

<script type="text/javascript"><!--
var
myThemeOfficeBase='http://localhost:8080/Argos3Web/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11920263/navmenu.jscookmenu.HtmlJSCookMenuRenderer/ThemeOffice/';
//--></script>

Might be it's the reason. All else JavaScript is within an autogenerated CDATA 
block.

I've tried to figure out the reason (why are there some CDATAs, but not all?), 
but I'm far too new to this all to understand it completely. I've
debugged a bit around in DefaultAddResource, HtmlResponseWriterImpl and so on. 
I saw that there are different ResponseWriters in use, some of them
know about xhtml, others don't, but if I force the latter to xhtml by patching 
DefaultAddResource, I get a NullPointerException in
isAllowedCdataSection().

Can anybody help me? Will I have to replace RI by Myfaces? Will that help? But 
Seam recommends using RI, and for legacy reasons I am forced to use
Tomahawk.

Please help!!

Marcus.
_____________________________________________________________________
prosystems IT GmbH
Anwendungsentwicklung
Postfach 31 51
53021 Bonn (Germany)

Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329
mailto:[EMAIL PROTECTED] http://www.prosystemsIT.de
Amtsgericht Bonn - HR B 13189
Geschaeftsfuehrer: Vassilios Timiliotis, Richard Adams


Der Austausch von Nachrichten mit der prosystems IT GmbH via E-Mail dient 
ausschliesslich Informationszwecken. Rechtsgeschaeftliche Erklaerungen
duerfen ueber dieses Medium nicht ausgetauscht werden. Verfaelschungen des 
urspruenglichen Inhaltes dieser Nachricht bei der Datenuebertragung koennen
nicht ausgeschlossen werden.


Reply via email to