Author: alevkovsky
Date: 2008-06-25 09:33:07 -0400 (Wed, 25 Jun 2008)
New Revision: 9218
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml
Log:
Add contentType for correct XPath working
Modified: trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml 2008-06-25
13:15:09 UTC (rev 9217)
+++ trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml 2008-06-25
13:33:07 UTC (rev 9218)
@@ -5,6 +5,7 @@
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
+<f:view contentType="text/html">
<head>
<a4j:loadScript
src="resource:///org/ajax4jsf/javascript/scripts/AJAX.js"></a4j:loadScript>
<script>
@@ -59,7 +60,6 @@
<ui:insert name="style"/>
</style>
</head>
-<f:view>
<body>
<div style="padding: 10px; font-size: 24px;">Rich faces component testing
by Selenium</div><br/>