Author: msorokin
Date: 2009-03-19 10:39:38 -0400 (Thu, 19 Mar 2009)
New Revision: 13028
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419
Added new sections and fixed menu
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
---
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19
14:39:10 UTC (rev 13027)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-19
14:39:38 UTC (rev 13028)
@@ -57,6 +57,31 @@
<value>enable</value>
</managed-property>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuState</managed-bean-name>
+ <managed-bean-class>org.docs.util.MenuState</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ <managed-property>
+ <property-name>menu</property-name>
+ <property-class>java.util.Map</property-class>
+ <value/>
+ </managed-property>
+ <managed-property>
+ <property-name>selectedMenuItem</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>menuBean</managed-bean-name>
+ <managed-bean-class>org.docs.util.MenuBean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>menuState</property-name>
+ <property-class>org.docs.util.MenuState</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
<locale-config>
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-19
14:39:10 UTC (rev 13027)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-19
14:39:38 UTC (rev 13028)
@@ -76,16 +76,15 @@
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
- </servlet-mapping>
+ </servlet-mapping>
- <security-constraint>
- <display-name>Restrict raw XHTML Documents</display-name>
- <web-resource-collection>
- <web-resource-name>XHTML</web-resource-name>
- <url-pattern>*.xhtml</url-pattern>
- </web-resource-collection>
- <auth-constraint/>
- </security-constraint>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </servlet-mapping>
+
+
+