You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 22 Members of 4546 |
| Forum: Seam Users |
27. Feb 2008, 17:08 CET | Link |
Hello, I have an EL resolver working fine when deployed to JBoss AS but does not work with TestNG/Embedded EJB. I use Seam 2.0.1.GA, JBoss Tools style project layout and here follows my faces-config.xml. What would be different?
<?xml version='1.0' encoding="UTF-8"?> <faces-config version="1.2" 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-facesconfig_1_2.xsd"> <application> <locale-config> <default-locale>en</default-locale> </locale-config> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> <el-resolver>datassist.payroll.action.DatassistELResolver</el-resolver> </application> <lifecycle> </lifecycle> </faces-config>
Seam doesn't process faces-config.xml for tests. Override the getELResolvers() method on SeamTest
Read about how to report a bug.
Great, Thank you.