You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Volker Weber <v....@inexso.de> on 2007/04/06 11:47:22 UTC
How to configure a custom Lifecycle?
Hi *,
for better ajax integration tobago has a own lifecycle implementation,
since 1.0.11-SNAPSHOT see [1].
Now i'm searching for the best way to configure the use of the implementation.
According to the spec the lifecycle is taken from the LifecylceFactory
using a lifcycleId, but i can't find a way to specify the lifecycle id
to use.
Currently tobago has a own LifecycleFactory (this was easy to
configure) to return the TobagoLifecycle when the defaultLifecycle is
requested,
but i would prefer to have a own lifecycle id, and inject the
tobagoLifecycle into the default LifcycleFactory on application
startup.
Regards,
Volker
[1]:https://issues.apache.org/jira/browse/TOBAGO-312
Re: How to configure a custom Lifecycle?
Posted by Volker Weber <v....@inexso.de>.
Hi,
yes it is, but that's not what i need.
Is there no way to do this on library level, e.g. somehow inside the
tobago-core.jar?
Regards,
Volker
2007/4/6, Matthias Wessendorf <ma...@apache.org>:
> 't that a web.xml context-param ?
>
> On 4/6/07, Volker Weber <v....@inexso.de> wrote:
> > Hi *,
> >
> > for better ajax integration tobago has a own lifecycle implementation,
> > since 1.0.11-SNAPSHOT see [1].
> >
> > Now i'm searching for the best way to configure the use of the implementation.
> >
> > According to the spec the lifecycle is taken from the LifecylceFactory
> > using a lifcycleId, but i can't find a way to specify the lifecycle id
> > to use.
> >
> > Currently tobago has a own LifecycleFactory (this was easy to
> > configure) to return the TobagoLifecycle when the defaultLifecycle is
> > requested,
> > but i would prefer to have a own lifecycle id, and inject the
> > tobagoLifecycle into the default LifcycleFactory on application
> > startup.
> >
> >
> > Regards,
> > Volker
> >
> > [1]:https://issues.apache.org/jira/browse/TOBAGO-312
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
Re: How to configure a custom Lifecycle?
Posted by Matthias Wessendorf <ma...@apache.org>.
't that a web.xml context-param ?
On 4/6/07, Volker Weber <v....@inexso.de> wrote:
> Hi *,
>
> for better ajax integration tobago has a own lifecycle implementation,
> since 1.0.11-SNAPSHOT see [1].
>
> Now i'm searching for the best way to configure the use of the implementation.
>
> According to the spec the lifecycle is taken from the LifecylceFactory
> using a lifcycleId, but i can't find a way to specify the lifecycle id
> to use.
>
> Currently tobago has a own LifecycleFactory (this was easy to
> configure) to return the TobagoLifecycle when the defaultLifecycle is
> requested,
> but i would prefer to have a own lifecycle id, and inject the
> tobagoLifecycle into the default LifcycleFactory on application
> startup.
>
>
> Regards,
> Volker
>
> [1]:https://issues.apache.org/jira/browse/TOBAGO-312
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com