I would like to manage transactions using annotations on pages. Something like that...
@Transaction(type = TransactionType.RequiresNew, scope="OrderWizardTx") public class OrderWizardPage1 extends BasePage { // do some initial stuff } @Transaction(type = TransactionType.Requires, scope="OrderWizardTx") public class OrderWizardPage2 extends BasePage { // do even more stuff } @Transaction(type = TransactionType.Requires, scope="OrderWizardTx") public class OrderWizardLastPage extends BasePage { // finish the stuff public void onSave() { // end user transaction // go home } } As the user could navigate to any other page at any time I need some demarcation where the transaction begin, continues or ends. Regards Peter > --- Ursprüngliche Nachricht --- > Von: Kent Tong <[EMAIL PROTECTED]> > An: tapestry-user@jakarta.apache.org > Betreff: Re: "Page Transactions" > Datum: Thu, 29 Sep 2005 10:41:06 +0000 (UTC) > > Peter Ertl <pertl <at> gmx.org> writes: > > > My current solution required access access to the full lifecycle > > of the page. The only way I know is through IMonitor. > > Actually, what would you like to do? > > -- > Author of a book for learning Tapestry (www.agileskills2.org/EWDT) > > > --------------------------------------------------------------------- > 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]