Todd O'Bryan wrote:
> How did you handle passing CayenneDataObjects around the Tapestry 
> application? The squeezer just lets you use them normally, handling 
> serialization and deserialization behind the scenes. Before I started 
> using it, I had to pass around ObjectIds and such to prevent my data 
> objects from thinking they were in different DataContexts and  generally
> being a pain.

I mostly did so via the Visit object and via setter methods on IPage
classes.  The only place I ever found I needed to pass ObjectIds was
with links with parameters.  Since I hardly use DirectLinks and for
external pages, I'd only want to pass the PK as the parameter anyway, I
never really had any issues.

-- 
Kevin

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

Reply via email to