RE: Trying to use StateObjectFactory...

2007-03-05 Thread Ben Dotte
Hi Alexander, The way I have done this is to make the factory a service as well. contribution configuration-id=tapestry.state.ApplicationObjects state-object name=security scope=session invoke-factory object=service:MyFactory/ /state-object /contribution

Re: Trying to use StateObjectFactory...

2007-03-05 Thread Richard Kirby
Hi Alexander, You need to define a service that you then reference in the invoke-factory: service-point id=SecurityBeanFactory interface=org.apache.tapestry.engine.state.StateObjectFactory invoke-factory construct class=com.test.util.SecurityBeanFactory !-- Any config you need

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Thank you, Richard, Are there any docs on what I can do in construct? Say, I want to obtain HttpRequest? Alexander -Original Message- From: Richard Kirby [mailto:[EMAIL PROTECTED] Sent: 05 March 2007 14:44 To: Tapestry users Subject: Re: Trying to use StateObjectFactory... Hi

RE: Trying to use StateObjectFactory...

2007-03-05 Thread Kolesnikov, Alexander GNI
Message- From: Richard Kirby [mailto:[EMAIL PROTECTED] Sent: 05 March 2007 15:10 To: Tapestry users Subject: Re: Trying to use StateObjectFactory... Hi Alexander, There are loads of docs! The thing to know is that the construct part is a general feature of HiveMind1, so look at the docs