Remove icefaces-d2d.js from one page?
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Remove icefaces-d2d.js from one page?  XML
Forum Index -> JBoss Seam Integration
Author Message
jacobsma

Joined: 18/02/2008 00:00:00
Messages: 18
Offline


Hi all,

I use seam with icefaces. I have one page where I don't want iceface integration because it doesnt work with another javascript (mootools).

How can I remove iceface integration from one page? I would like the two js files icefaces-d2d.js and ice-extras.js to be removed from the header in the rendered html.

I have tried to remove the xmlns:ice="http://www.icesoft.com/icefaces/component" tag from my xhtml page, but it doesnt work :(

My page looks like this.

Code:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                      
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"       
       xmlns:s="http://jboss.com/products/seam/taglib">
 <head> 
 <script type="text/javascript" src="js/mootools.v1.11.js"></script>
 </head>
 
 <body>
 <script type="text/javascript">
 ..
 my javascript here
 ..
 </script>
 
 </body>
 </html>
 



Thanks,
regards
Jacob
philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2627
Offline


Hi Jacob,

Please refer to the "JSF Integration" section in our Developer's Guide. You'll have to use the just-ice.jar and multiple view handlers.

Thanks,
Philip

.
jacobsma

Joined: 18/02/2008 00:00:00
Messages: 18
Offline


Thanks Philip

But how do I work with multiple view handlers? It's quite difficult to find anything about using multiple view handlers on the net.

Thanks,
Jacob
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team