[jboss-user] [JBoss Tools (users)] - Re: VPE facelets ui:composition

mwr0707 do-not-reply at jboss.com
Mon Jan 5 13:03:55 EST 2009


Thanks for the followup!

The project that demonstrates the behavior was created with:
New->JSF Project
Environment: JSF 1.2 with Facelets
Template: FaceletsBlankWithoutLibs

I notice that the generated web.xml does include:
javax.faces.DEFAULT_SUFFIX

Working in Web Development perspective.

web.xml:

<?xml version="1.0"?>
  | <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  |  <description>Facelets StarterKit</description>
  |  <display-name>facelets1</display-name>
  |  <context-param>
  |   <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  |   <param-value>.xhtml</param-value>
  |  </context-param>
  |  <context-param>
  |   <param-name>facelets.REFRESH_PERIOD</param-name>
  |   <param-value>2</param-value>
  |  </context-param>
  |  <context-param>
  |   <param-name>facelets.DEVELOPMENT</param-name>
  |   <param-value>true</param-value>
  |  </context-param>
  |  <context-param>
  |   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
  |   <param-value>client</param-value>
  |  </context-param>
  |  <context-param>
  |   <param-name>com.sun.faces.validateXml</param-name>
  |   <param-value>true</param-value>
  |  </context-param>
  |  <context-param>
  |   <param-name>com.sun.faces.verifyObjects</param-name>
  |   <param-value>true</param-value>
  |  </context-param>
  |  <servlet>
  |   <servlet-name>Faces Servlet</servlet-name>
  |   <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  |   <load-on-startup>1</load-on-startup>
  |  </servlet>
  |  <servlet-mapping>
  |   <servlet-name>Faces Servlet</servlet-name>
  |   <url-pattern>*.jsf</url-pattern>
  |  </servlet-mapping>
  |  <login-config>
  |   <auth-method>BASIC</auth-method>
  |  </login-config>
  | </web-app>

faces-config.xml:
anonymous wrote : <?xml version="1.0" encoding="UTF-8"?>
  | <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
  |  xmlns:xi="http://www.w3.org/2001/XInclude"
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
  |  
  |   <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
  |   <locale-config/>
  |  
  |  
  |  
  | </faces-config>


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199603



More information about the jboss-user mailing list