On 1/4/06, David Bowers <[EMAIL PROTECTED]> wrote:
>
> Unless I'm missing something big, the struts-faces library doesn't
> address the concern I was talking about.
> Struts-faces allows a jsp page that uses JSF components to post back
> to a Struts Action, and it allows events
> from JSF components to be handled by Struts actions (albeit very
> awkwardly, since I think you have to use
> JSF components from the struts-faces library).


The awkwardness comes primarily from the fact that you end up with two
controller frameworks that have *lots* of redundant features.  The
frustration of trying to make this non-awkward is what led me to the
conclusion that Shale would be *much* easier to build, and understand,
because it eliminates all the redundancies :-).

I've looked at the code for Struts-faces several times, (as
> documentation seems pretty scarce)
> and it seems to me like its scope is pretty limited.  That's why I'm
> looking at other options for integration.


It's not clear what your long term goals are ... if you don't want to use
JSF components, then the only thing you seem to want to leverage from JSF is
the binding expressions?  If that is actually the case, in the short term I
would solve the problem a different way by building a custom ActionForward
that has some non-EL based mechanism to do the "poor man's prerender call"
:-), and dispense with JSF entirely.

Once you get the ability to run on a JSP 2.1 container (Java EE 5), you'll
have more flexibility ... the EL processing logic has been extracted out
into its own spec, and you'll be able to use it programmatically without
involving JSF.  But that will be then, and this is now, so that is not
likely to help you much in the short term.

Craig

-----David Bowers <vivelafrique <at> gmail.com> wrote: -----
>
> > I'm trying to figure out a good way to start migrating from struts to
> JSF
> > (w/o Shale at this point).
>
> Hi David, have you looked at the struts-faces integration library? I
> believe the intention for that library was to do just what you propose:
>
> http://www-128.ibm.com/developerworks/java/library/j-integrate/
>
> Regards,
> Geeta
>
>

Reply via email to