Hello Tapestry users devs,
I have a component which does lots of ajax requests. Parameters setted at
the first render are not available upon ajax requests so I decided to
persist them in specific properties.
One of those parameter is a database entity (I use tapestry-jpa) so I
decided to use the the "entity" strategy so that my entity is reload and
managed on every request.
My problem is that when I use my component on a non persisted (yet) entity,
it crashes as it is a transient entity that cannot be found.
Do you think of a better way than creating my own persistence strategy ?
Thx in advance :D
I have a component which does lots of ajax requests. Parameters setted at
the first render are not available upon ajax requests so I decided to
persist them in specific properties.
One of those parameter is a database entity (I use tapestry-jpa) so I
decided to use the the "entity" strategy so that my entity is reload and
managed on every request.
My problem is that when I use my component on a non persisted (yet) entity,
it crashes as it is a transient entity that cannot be found.
Do you think of a better way than creating my own persistence strategy ?
Thx in advance :D