incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günther, Thorsten <Thorsten.Guent...@medocino.de>
Subject AW: Trinidad and Facelets
Date Fri, 29 Sep 2006 08:26:41 GMT
Hi Markus,

you need to have el-api.jar and el-ri.jar in your classpath. I took them from the trinidad-demo.
I you like you can take the "pprTest" webapp from http://www.aposso.de/pprTest.zip (from an
earlier discussion of a problem on this list) as a reference to identify problems in your
setup.

Regards,
Thorsten

-----Ursprüngliche Nachricht-----
Von: Döring Markus [mailto:Markus.Doering@tcc-products.de] 
Gesendet: Freitag, 29. September 2006 10:15
An: adffaces-user@incubator.apache.org
Betreff: Trinidad and Facelets

Hello,
i'm trying to get a simple web-app running using MyFaces1.1.4, Trinidad M1 and Facelets.
I tried around with the sample in the wiki but I don't get it working.

My web.xml is the same as http://wiki.apache.org/myfaces/Facelets_with_Trinidad (bottom of
page)
My faces-config.xml is: 
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >
<faces-config>
	<application>
		<default-render-kit-id>
			org.apache.myfaces.trinidad.core
		</default-render-kit-id>
		<locale-config>
			<default-locale>de</default-locale>
			<supported-locale>en</supported-locale>
		</locale-config>
	</application>
	<render-kit></render-kit>
</faces-config>

And my xhtml is:
<tr:document xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:tr="http://myfaces.apache.org/trinidad" title="Facelets">
	<tr:form>
		<tr:inputText label="Your name" id="input1" />
		<tr:commandButton id="button1" text="press me"
			action="" />
	</tr:form>
</tr:document>

I always get the following exception when accessing the page via http://localhost/FaceletTest/faces/test.xhtml
(deployed @ tomcat 5.5)

java.lang.NoClassDefFoundError: javax/el/ELException
	at com.sun.facelets.tag.AbstractTagLibrary.addTagHandler(AbstractTagLibrary.java:469)
	at com.sun.facelets.compiler.TagLibraryConfig$TagLibraryImpl.putTagHandler(TagLibraryConfig.java:90)
	at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:200)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633
...


What I'm doing wrong?
Thanks for any help

Greetings
Markus



Mime
View raw message