Hi,
I want to pass objects between the pages so I am trying to write my custom
squeezer adaptor. In my hivemodule.xml I have an application ASO
<contribution
configuration-id="tapestry.state.ApplicationObjects">
<state-object name="manager" scope="application">
<create-instance
class="com.foobar.posting.application.Manager" />
</state-object>
</contribution>
In my unsqueeze method in my class which implements SqueezeAdaptor I need a
reference to initialized Manager ASO object which holds an initialized data
stucture (value objects of Cayenne data objects), so I can construct the
right value object from the oid (object id).
I am a complete newby to Hivemind. I saw in the archives something like
<service-point id="valueObjectSqueezeAdaptor" interface="
com.interseek.posting.application.ValueObjectSqueezeAdaptor">
<invoke-factory>
<construct class="
com.interseek.posting.application.ValueObjectSqueezeAdaptor" />
<set-object property="myService" value="spring:myService" />
</invoke-factory>
</service-point>
<contribution configuration-id="tapestry.data.SqueezeAdaptors">
<adaptor object="service:valueObjectSqueezeAdaptor" />
</contribution>
which uses some spring stuff (also new stuff to me). Can some veteran show
me an example of how can I obtain the required reference to Manager?
Regards,
Borut