You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Rahul Akolkar <ra...@gmail.com> on 2007/05/02 18:20:18 UTC

Re: SV: Dialog SCXML Data class - Setter injection, ViewController etc. pp.

On 4/29/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> No - i want to migrate to spring later - and some things are spring
> already through a DelegatigVariableResolver from SWF.
>
> But i am not using the shale-spring integration.
>
> But the question is - is it possible to have this without springs IoC
> Container, but using the facility provided through JSF, or shale.
>
<snip/>

There isn't a (built-in) way to declaratively wire things to the
dialog data ATM:

 * The dialog data exists its the dialog (pseudo) scope i.e. its
instantiation (and disposal) is managed by the dialog implementation
in use, rather than the JSF impl.

 * I'd say the intended primary purpose of the dialog data is meant to
capture the interaction with the user in a given instance of a dialog,
so I personally haven't given much thought to DI in this context.

 * Finally, it might be possible to leverage certain listener
callbacks to procedurally manage some of the (simpler) dependencies,
say on DCL#onActivate().

-Rahul



> Torsten
>
> Am Sonntag, den 29.04.2007, 14:24 +0200 schrieb Hermod Opstvedt:
> > Hi
> >
> > Are you using the Shale-spring integration?
> >
> > Hermod
> >
> >
> > -----Opprinnelig melding-----
> > Fra: Torsten Krah [mailto:tkrah@fachschaft.imn.htwk-leipzig.de]
> > Sendt: 29. april 2007 12:08
> > Til: user@shale.apache.org
> > Emne: Dialog SCXML Data class - Setter injection, ViewController etc. pp.
> >
> > The configured data class is not managed trough the bean facility - am i
> > right?
> >
> > However, it would be nice to have things like setter injection & view
> > controller for this data class too.
> > Is there already a good way there yet to do this?
> >
> > Torsten
> >
>
>