How could I do that?  
Can I just do an @Inject inside my DataSqueezerAdapter?

Henri.

On 7/14/05, Robert Zeigler <[EMAIL PROTECTED]> wrote:
> Couldn't you just inject it with hivemind?
> 
> Robert
> 
> Henri Dupre wrote:
> > Thanks!! I have another tricky issue: in my datasqueezer, I need to
> > access a spring object. How can I access it? I used to get the
> > reference with a call to getEngine().getGlobals.... and get my main
> > spring object, but now there doesn't seem to be any direct way.
> >
> >
> > On 7/14/05, Eli Doran <[EMAIL PROTECTED]> wrote:
> >
> >>For a workaround  i created a subclass of DataSqueezerImpl and register
> >>my custom adaptors in the c'tor. to use it i put the text block below in
> >>my hivemodule. you only need extend the DataSqueezerImpl, put in a c'tor
> >>taking a ClassResolver parameter to pass to the super c'tor and then
> >>register your adaptors.
> >>
> >>  <implementation service-id="tapestry.data.DataSqueezer">
> >>    <invoke-factory>
> >>      <construct class="com.elidoran.tapestry.DataSqueezer">
> >>        <class-resolver/>
> >>      </construct>
> >>    </invoke-factory>
> >>  </implementation>
> >>
> >>~eli
> >>
> >>Mind Bridge wrote:
> >>
> >>
> >>>Hi,
> >>>
> >>>The ability to define custom datasqueezers in T4 using Hivemind is being
> >>>developed at this very moment. Should be included in the next beta. For the
> >>>time being please use the T3 approach.
> >>>
> >>>-mb
> >>>
> >>>----- Original Message -----
> >>>From: "Henri Dupre" <[EMAIL PROTECTED]>
> >>>To: "Tapestry users" <[email protected]>
> >>>Sent: Thursday, July 14, 2005 5:57 PM
> >>>Subject: custom datasqueezer in t4?
> >>>
> >>>
> >>>I can't find any info on how to register a custom datasqueezer in tapestry
> >>>4.
> >>>The old method in the Engine seems to be deprecated quite a bit.
> >>>
> >>>Henri.
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Thanks,

Henri.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to