[
http://jira.jboss.com/jira/browse/JBSEAM-388?page=comments#action_12345567 ]
Rob Jellinghaus commented on JBSEAM-388:
----------------------------------------
The deploy.tomcat task doesn't work out of the box.
The problem is that the jfash_v2 build.xml file overrides the "war" target to
include the jfash ext-libs (mainly ajax4jsf.jar), but does NOT override the
"war.tomcat" target. Hence, the tomcat version of the war does not include
ajax4jsf.jar and you get
ERROR 19-10 23:59:50,359 (Log4JLogger.java:error:119) -Exception starting filter
ajax4jsf
java.lang.ClassNotFoundException: org.ajax4jsf.Filter
when starting Tomcat after doing "ant deploy.tomcat".
Copying the war.tomcat target from Seam's build.xml to jfash's build.xml, and
adding the <copy> target for the ext-libs, fixes it and then it seems to work great
under Tomcat. Nice work, Todd!
Additional Example: JBoss Seam Hibernate3 Example -- Running under
JSF+Facelets+Ajax4jsf+Seam+Hibernate (jFASH)
---------------------------------------------------------------------------------------------------------------
Key: JBSEAM-388
URL:
http://jira.jboss.com/jira/browse/JBSEAM-388
Project: JBoss Seam
Issue Type: Feature Request
Components: Examples
Reporter: Todd Smart
Assigned To: Gavin King
Priority: Critical
Fix For: 1.1
Attachments: jfash.zip, jfash_v2.zip
Though the Seam framework includes an abundance of support for AJAX (through remoting,
etc.), there are no good examples of how one would integrate Seam with existing AJAX
Frameworks.
Ajax4jsf (
https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf) is an open-source framework
viewed by many as a leader in this market segment.
I've been working on extending the JBoss Seam Hibernate example to integrate and
leverage the Ajax4jsf framework to "ajaxify" the web app. This work also
included proofing out the capabilities for using the Hibernate Validation Framework and
Seam Annotations for supporting JSF Converters.
The attached sample is built upon facets of JSF, Facelets, Ajax4jsf, Seam, and Hibernate
(hence the name -- jFASH). Feel free to take this sample and use it as is or modify it at
will.
** NOTE: Take a look at the readme.txt on the root for additional info. **
Regards,
Todd
todd.smart(a)smartbinary.com
941.538.1814
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira