Another huge bunch of s...uper nice probs with AJAX4JSF. It screws up my 
DOCTYPE definition as it automatically adds <?xml version="1.0"?>to the top of 
any processed document and displaces the doctype definition downwards. And 
since Internet Explorer only parses the very first line for a doctype it falls 
back to quirks mode and the whole CSS stuff is hosed.

Try it out, and change the beginning of the web.xml of the booking example:
    <!-- Seam -->
  |    
  |     <listener>
  |         <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
  |     </listener>
  |    
  |    
  |     <!-- Propagate conversations across redirects -->
  |     <filter>
  |         <filter-name>Seam Redirect Filter</filter-name>
  |         
<filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
  |     </filter>
  |     
  |     
  |     <!-- ajax4jsf -->
  |     
  |     <filter>
  |             <display-name>Ajax4jsf Filter</display-name>
  |             <filter-name>ajax4jsf</filter-name>
  |             <filter-class>org.ajax4jsf.Filter</filter-class>
  |     </filter>
  |     
  |     <!-- filter-mapping>
  |             <filter-name>ajax4jsf</filter-name>
  |             <servlet-name>Faces Servlert</servlet-name>
  |             <dispatcher>REQUEST</dispatcher>
  |             <dispatcher>FORWARD</dispatcher>
  |             <dispatcher>INCLUDE</dispatcher>
  |     </filter-mapping -->
  |     
  |     <filter-mapping>
  |             <filter-name>ajax4jsf</filter-name>     
  |             <url-pattern>*.bosch</url-pattern>
  |     </filter-mapping>
  |     
  |     <context-param>
  |             <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  |             <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  |     </context-param>
  |     
  |     <filter-mapping>
  |         <filter-name>Seam Redirect Filter</filter-name>
  |         <url-pattern>*.bosch</url-pattern>
  |     </filter-mapping>
Plus add ajax4jsf.jar from 
https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/download.html#binary to 
$JBOSS_HOME\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs

See it with your own eyes. The booking example looks totally goofed (and I used 
it as a template for my own app *sigh*).

I contacted Sergey Smirnov, but since my recent question at Exadel took quite 
long I wanted to ask you for experiences with this issue.[/url]

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974650#3974650

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974650
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to