On 2/20/06, Leila Carvalho <[EMAIL PROTECTED]> wrote:
>
> Dear Craig,
>
> Thanks a lot, but I'm still a bit confused...
> Is mybean an ActionForm, an Action or an adapter to Faces Backing Bean ???
> Gracias!!


Technically, "mybean" would be a Faces backing bean, but it *could* be any
of the above ... JSF does not care whether or not backing beans implement a
particular interface, or subclass a particular base class.  But you have to
be careful of one particular scenario.  Struts only creates one instance of
an Action class for the entire application, so that is not a good place to
put request-specific event handlers.

By the way, are you writing a new application, or trying to adapt something
that already exists?  If it is a new work, you'll find it a *lot* simpler to
just go with JSF, or use JSF+Shale, rather than trying to use the
integration library.  The library fits best when you are trying to
incrementally add JSF based facilities to an existing Struts based webapp.

Craig



This kind of thing will work in Struts-Faces, but only if you correctly
> > specify the expressions, and use an input field :-)
> >
> >   <h:inputText id="city" value="#{mybean.city}" valueChangeListener="#{
> > mybean.cityChanged}"/>
> >
> > Craig
>
>
> ---------------
>
>

Reply via email to