[jboss-user] [JBoss Seam] - Re: Setting up an ajax4jsf + trinidad project
dustismo
do-not-reply at jboss.com
Fri Mar 2 15:12:15 EST 2007
You were right, I didn't have the impl jar in there. So now everything starts with no exceptions but I'm not sure its working.
I set up the project using seam-gen (so I assume the jars are automatically added to the jar manifest by the build script).
<target name="ear" description="Build the EAR">
| <copy todir="${ear.dir}">
| <fileset dir="${basedir}/resources">
| <include name="*jpdl.xml" />
| <include name="hibernate.cfg.xml" />
| <include name="jbpm.cfg.xml" />
| <include name="security.drl" />
| </fileset>
| <fileset dir="${lib.dir}">
| <include name="jboss-seam.jar" />
| <include name="jbpm*.jar" />
| <include name="el-*.jar" />
| <include name="drools-*.jar"/>
| <include name="janino-*.jar"/>
| <include name="antlr-*.jar"/>
| <include name="commons-jci-*.jar"/>
| <include name="stringtemplate-*.jar"/>
| </fileset>
| <!-- Added for trinidad -->
| <fileset dir="${basedir}/resources/WEB-INF/lib">
| <include name="*.jar" />
| </fileset>
| </copy>
| <copy todir="${ear.dir}/META-INF">
| <fileset dir="${basedir}/resources/META-INF">
| <include name="application.xml" />
| <include name="jboss-app.xml" />
| </fileset>
| </copy>
| </target>
I have never used trinidad before so I am just trying to see if it is configured properly..
I add this xhtml page
| <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:tr="http://myfaces.apache.org/"
| template="layout/template.xhtml">
|
| <ui:define name="body">
|
| <tr:document title="NavigationModel Demo" maximized="true">
| <tr:form>
| <tr:panelPage>
| <f:facet name="branding">
| <tr:panelGroup layout="horizontal">
| <tr:objectIcon name="logo"/>
| <tr:outputText value="NavigationModel Demo"/>
| </tr:panelGroup>
| </f:facet>
| </tr:panelPage>
| </tr:form>
| </tr:document>
| </ui:define>
| </ui:composition>
|
which just renders the <tr:> elements directly into the html.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024748#4024748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024748
More information about the jboss-user
mailing list