Looks like my issue.
I'll give it a try.

Thanks

Am 22.04.2008 um 17:46 schrieb Howard Lewis Ship:

Yes, it does sound like

https://issues.apache.org/jira/browse/TAPESTRY-2247

which is fixed in the nightly snapshots.

On Tue, Apr 22, 2008 at 8:26 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote:
Hi,

There seems to be some threading issues when doing database updates from
page to page.
E.G. we have a page that displays a list of elements in a Database table
and a button that you can click to add a new entry.
The button is a ActionLink. Its method handler adds an element to the
database table and returns the user to the same page.
Normally, for each click of the button, I can see one row added to the database and visible in the grid on the page. But sometimes if I click the button, the content of the grid does not change although I can see that an
element was added to the database.
From other similar problems we have with the application, I would guess, that the display of the new page happens with a new database session, where the old session's transaction (to add the element) is not yet finished. The environment we use is OS X with Java 1.5.0 and a PostgreSQL Database.
Has anybody else seen this behaviour?
Is there somewhere  I can for a transaction to be completely finished
before the new page is activated ?

Thanks

Moritz

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





--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
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]

Reply via email to