Author: andrei_exadel
Date: 2008-05-23 12:05:55 -0400 (Fri, 23 May 2008)
New Revision: 8735
Modified:
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/TemplateBean.java
trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
Log:
Modified:
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/TemplateBean.java
===================================================================
---
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/TemplateBean.java 2008-05-23
16:04:20 UTC (rev 8734)
+++
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/TemplateBean.java 2008-05-23
16:05:55 UTC (rev 8735)
@@ -36,6 +36,10 @@
String template = reqMap.get(PARAM_NAME);
this.template = template != null ? template : "simple";
}
+
+ public String getTemplateId() {
+ return template;
+ }
/**
Modified: trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
---
trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-23
16:04:20 UTC (rev 8734)
+++
trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-23
16:05:55 UTC (rev 8735)
@@ -7,7 +7,14 @@
<faces-config>
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
- </application>
+ </application>
+
+ <managed-bean>
+ <managed-bean-name>indexBean</managed-bean-name>
+ <managed-bean-class>org.ajax4jsf.IndexBean</managed-bean-class>
+ <managed-bean-scope>application</managed-bean-scope>
+ </managed-bean>
+
<!-- queue.xhtml -->
<managed-bean>
<managed-bean-name>bean</managed-bean-name>
Show replies by date