Colin,

I remember trying to use MyFaces with Struts-Faces
when I was first learning JSF.  Unfortunately, it did
not work.  I had to use the Sun RI as mentioned in the
early (Struts 1.1 Struts-Faces) README File but even
then I didn't "feel" it:

* Add the following JAR files from the JavaServer Faces reference
  implementation's "lib" directory to your application's
  "/WEB-INF/lib" directory:  jsf-api.jar, jsf-ri.jar.

* Add the following JAR files, containing the JSTL release (or
  from the JavaServer Faces release) to your application's
  "/WEB-INF/lib" directory:  jstl.jar, standard.jar.

More details on the Struts-Faces from Struts 1.1 are here:
(warning the URL will probably split when emailed)
http://svn.apache.org/viewvc/struts/struts1/tags/STRUTS_1_1/contrib/struts-f
aces/README.txt?view=markup

Now that I know both Struts 1.X and JSF, I wonder why you
would try to optionally mix such very different frameworks.
I believe you would be better off using JSF+Facelets in a
clean implementation both for speed and simplicity.  Too
bad you weren't running WebWork 2.X (Struts 2.0 base) instead
of Struts 1.1 - then you could use the JSF connectors they
are working on in the Struts 2.0 code to intermingle the two
frameworks.

If you really want Struts-faces you might be safer trying
to compile it yourself from an older releases, like the
contrib/struts-faces folder of the 1.1 source tag release:
http://svn.apache.org/viewvc/struts/struts1/tags/STRUTS_1_1

Regards,
David

-----Original Message-----
From: Colin Doyle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 7:23 AM
To: user@struts.apache.org
Subject: Struts-Faces Version Compatible with Struts 1.1 and MyFaces


Hi,

I've been trying without success over the last few days to get an
application written using Struts 1.1 to use JSF by using
myfaces-all.jar. I haven't been able to find an up-to-date released
version of struts-faces, and was wondering whether this has been parked
in favour of Shale?

The following link which is referred to from Craig McClanahan's blog,
and some other struts-faces resources on the Web, is not active:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

This is a known problem, as per
http://issues.apache.org/struts/browse/STR-2926. Also, all of the issues
related to faces raised for Struts 1 are unresolved, as per
http://issues.apache.org/struts/secure/IssueNavigator.jspa?reset=true&&p
id=10121&resolution=-1&component=21237&sorter/field=priority&sorter/orde
r=DESC.
Thus, I am wondering whether struts-faces is being actively maintained,
and if so, which version of Struts and JSF it should be used with?

The most recent version of the released struts faces I could find is
struts-faces-0.4.zip, from
http://archive.apache.org/dist/struts/struts-faces/, but dates
07-Jun-2003.
I tried to use a nightly build of struts-faces from last week
(struts-faces-1.3.6-SNAPSHOT-20060901.jar) that I found in
http://people.apache.org/builds/struts/nightlies/1.3.x/, together with
myfaces-all.jar "Implementation-Version: 1.1.1" in the struts-blank.war
example from Struts 1.1. I doubted it would work together with Struts
1.1, but as Struts 1.3 is not yet fully released, I thought I'd give it
a try.
Before migrating my application from Struts 1.1 to 1.3, I would like to
know roughly how close Release 1.3.X would be? It is marked as pending
at http://struts.apache.org/1.x/roadmap.html.

Also, would anyone know whether there is a version of struts-faces for
Struts 1.1 that would work with a recent version of myfaces-all.jar or
previous released version of myfaces-all.jar?
Would anyone know whether there exists a version of struts-faces for a
released version of Struts 1.2 that I could try?

I would very much like to use JSF in this application, but have been
hindered by incompatible JARs, and difficulty in finding where the
released struts-faces JAR files are available, and which version of
Struts and JSF they should be used with.

Any help would be much appreciated.

To summarize, questions are:
1/ Is struts-faces still being maintained, and if so, for which
version(s) of Struts and MyFaces or other JSF implementation?
2/ How close is a release of Struts 1.3.X and will it include an
up-to-date struts-faces.jar?
3/ Is there a version of struts-faces for Struts 1.1 that would work
with a recent version of myfaces-all.jar or previous released version of
myfaces-all.jar?
4/ Does there exist a version of struts-faces for a released version of
Struts 1.2 that I could try?

Many thanks in advance,

Colin.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to