I believe Seam supports JSF 1.2.
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2
http://jira.jboss.org/jira/browse/JBSEAM-156
Have you thought about using it instead of AppFuse?
Here's a Mavenized version (AFAICT):
http://vyzivus.host.sk/maven2-seam.html
Matt
On 6/4/07, Steve Tynor <[EMAIL PROTECTED]> wrote:
I've decided to try a different approach: use the Sun reference
implementation instead of the myfaces 1.2 snapshot. I'm having a h*ll
of a time getting the maven dependencies to work however properly.
I've found and am using the java.net maven repository
<repository>
<id>dev.java.net</id>
<name>dev.java.net-repo</name>
<url>https://maven-repository.dev.java.net/repository/</url>
<layout>legacy</layout>
</repository>
and am including the following dependencies in my pom:
javax.el.el-api-1.2
com.sun.el.el-ri-1.2
javax.faces.jsf-api-1.2_04
javax.faces.jsf-ri-1.2_04
jstl.jstl-1.2
com.sun.facelents.jsf-facelets-1.1.11
but no matter what I try, I get errors in tomcat6 and jetty6. Sometimes
NoClassDefFound involving javax.el.ExpressionFactory; sometimes
LinkageError (loader constraints) on that same class. With jetty6, I get
errors about the com.sun...commons.logging.Log class being visible more
than once.
Can anyone recommend a HOWTO or archetype to bootstrap a simple JSF1.2
(Sun RI)/Facelets application with all the right pom dependencies, etc.
Google is not being enlightening...
Steve
On 6/1/2007 1:20 PM, Matt Raible wrote:
> I don't know what the problem could be, I removed all the unnecessary
> filters from web.xml and changed the userForm.xhtml to be very
> minimal:
>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:c="http://java.sun.com/jstl/core"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:t="http://myfaces.apache.org/tomahawk">
>
> <f:view>
>
> <h:form id="userForm">
> <h:inputHidden value="#{userForm.user.id}" id="id"/>
>
> <h:panelGrid columns="3">
> <h:outputLabel for="username" styleClass="desc"
> value="#{text['user.username']}"/>
> <t:message for="username" styleClass="fieldError"/>
> <h:inputText value="#{userForm.user.username}" id="username"
> required="true" styleClass="text large"/>
>
> <h:commandButton value="#{text['button.save']}"
> action="#{userForm.save}" styleClass="button"/>
> </h:panelGrid>
> </h:form>
>
> </f:view>
> </html>
>
> The problem still happens. You might try getting the above to work on
> a bare-bones MyFaces 1.2 application - maybe they have an archetype
> you could use?
>
> Matt
>
> On 6/1/07, Steve Tynor <[EMAIL PROTECTED]> wrote:
>> Matt,
>>
>> Have you had a chance to try to reproduce this yet? Any insights?
>>
>> Thanks,
>> Steve
>>
>> -------- Original Message --------
>> Subject: Re: [appfuse-user] integration-test: cargo and jetty6x
>> Date: Wed, 30 May 2007 18:43:01 -0400
>> From: Steve Tynor <[EMAIL PROTECTED]>
>> To: Matt Raible <[EMAIL PROTECTED]>
>> References: <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>> <[EMAIL PROTECTED]>
>>
>> I wonder if this form-submit bug and the f:loadBundle bug I reported
>> last week are related? (e.g., faces-config.xml is being mis-parsed or
>> only partially understood?) The zip I sent you "fixes" the f:loadBundle
>> error by avoiding calling it. But that should not have been necessary --
>> it's supposed to still work in JSF 1.2.
>>
>> On 5/30/2007 6:28 PM, Steve Tynor wrote:
>> > I'm pretty sure save() is never called (I've added log.info()
>> statements
>> > to it). Here's a copy of my modified sources - hopefully a second set
>> > of eyes will find the problem. (this is basic-jsf 2.0-M5 plus my
>> edits).
>> >
>> > Thanks Matt!
>> > Steve
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]