Enabled debug logging for spring-faces

Switched to client state saving for JSF.
This commit is contained in:
Jeremy Grelle
2007-10-12 21:55:16 +00:00
parent b8ae0a5bf1
commit e26e7c3203
2 changed files with 7 additions and 0 deletions

View File

@@ -6,5 +6,6 @@ log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
# Enable web flow logging
log4j.category.org.springframework.webflow=DEBUG
log4j.category.org.springframework.faces=DEBUG
log4j.category.org.springframework.binding=DEBUG
log4j.category.org.springframework.transaction=DEBUG

View File

@@ -9,6 +9,12 @@
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<!-- Use JSF client-side state saving to allow management of state by SWF -->
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<!-- Here so the JSF implementation can initialize, not used at runtime -->
<servlet>