You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bulling <sp...@phoenix.hadiko.de> on 2006/04/28 16:31:20 UTC
One question concerning Tapernate
Hi folks,
after having successfully changed my web application to Tapernate
(Honeycomb just didn't work for me and it was too complex to
change everything so that it works) there is one problem
left I don't know a solution to:
Using Persist("entity") on all the edit-pages doesn't seem
to work as the new values don't get assigned to the database
object. JFYI: The form on the page directly changes the
properties of the object, probably that's the problem?
Unfortunately I can't use Persist("session") on these
pages as I need to have access to a collection property
of the database object in another TabPanel tab and
I get LazyInitializationExceptions if I use the session scope.
Kind regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: One question concerning Tapernate
Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 28. Apr 2006 - 22:10:57, James Carman wrote:
| Well, I implemented it and another feature. Tapernate now includes support
| for transaction-per-request (turned on by default) and
| session-per-conversation (turned off by default). You can turn on/off these
| features by doing:
|
| <contribution configuration-id="hivemind.ApplicationDefaults">
| <default symbol="tapernate.transaction-per-request" value="false" />
| <default symbol="tapernate.session-per-conversation" value="true" />
| </contribution>
|
| This would turn off transaction-per-request and turn on
| session-per-conversation. Just download (svn update) the example
| application and it has the jars in it that you need. Enjoy! Let me know if
| you find any bugs, please.
That's awesome! :-)
I will download in a minute and give it a try...
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: One question concerning Tapernate
Posted by James Carman <ja...@carmanconsulting.com>.
Well, I implemented it and another feature. Tapernate now includes support
for transaction-per-request (turned on by default) and
session-per-conversation (turned off by default). You can turn on/off these
features by doing:
<contribution configuration-id="hivemind.ApplicationDefaults">
<default symbol="tapernate.transaction-per-request" value="false" />
<default symbol="tapernate.session-per-conversation" value="true" />
</contribution>
This would turn off transaction-per-request and turn on
session-per-conversation. Just download (svn update) the example
application and it has the jars in it that you need. Enjoy! Let me know if
you find any bugs, please.
-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Friday, April 28, 2006 6:15 PM
To: Tapestry users
Subject: Re: One question concerning Tapernate
On 28. Apr 2006 - 17:47:09, James Carman wrote:
| Well, it'd be quite easy. I'll write it tonight over a couple of beers.
:-)
*lol
You're a bit crazy if I may say that ;-)
Not that I want to complain about it because I'd really
appreciate it if this fixes the problem I have.
You're really doing a great job James - thanks a lot for
your great help (and Tapernate for sure).
Kind regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: One question concerning Tapernate
Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 28. Apr 2006 - 17:47:09, James Carman wrote:
| Well, it'd be quite easy. I'll write it tonight over a couple of beers. :-)
*lol
You're a bit crazy if I may say that ;-)
Not that I want to complain about it because I'd really
appreciate it if this fixes the problem I have.
You're really doing a great job James - thanks a lot for
your great help (and Tapernate for sure).
Kind regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: One question concerning Tapernate
Posted by James Carman <ja...@carmanconsulting.com>.
Well, it'd be quite easy. I'll write it tonight over a couple of beers. :-)
-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Friday, April 28, 2006 5:36 PM
To: Tapestry users
Subject: Re: One question concerning Tapernate
On 28. Apr 2006 - 10:33:11, James Carman wrote:
| You have to make sure your changes go on within a transaction. I'm going
to
| add transaction-per-request support in Tapernate soon.
Well, I'm urgently waiting for this feature then ;)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: One question concerning Tapernate
Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 28. Apr 2006 - 10:33:11, James Carman wrote:
| You have to make sure your changes go on within a transaction. I'm going to
| add transaction-per-request support in Tapernate soon.
Well, I'm urgently waiting for this feature then ;)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: One question concerning Tapernate
Posted by James Carman <ja...@carmanconsulting.com>.
You have to make sure your changes go on within a transaction. I'm going to
add transaction-per-request support in Tapernate soon.
-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Friday, April 28, 2006 10:31 AM
To: Tapestry users
Subject: One question concerning Tapernate
Hi folks,
after having successfully changed my web application to Tapernate
(Honeycomb just didn't work for me and it was too complex to
change everything so that it works) there is one problem
left I don't know a solution to:
Using Persist("entity") on all the edit-pages doesn't seem
to work as the new values don't get assigned to the database
object. JFYI: The form on the page directly changes the
properties of the object, probably that's the problem?
Unfortunately I can't use Persist("session") on these
pages as I need to have access to a collection property
of the database object in another TabPanel tab and
I get LazyInitializationExceptions if I use the session scope.
Kind regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org