[jboss-user] [JBoss Seam] - TransactionalSeamPhaseListener and upgrade seam 2.0

rodrigotico do-not-reply at jboss.com
Tue Sep 11 23:11:20 EDT 2007


Hello,

I migrated to seam 2.0 my project that was using 1.2.1 GA.

On the seam 1.2.1GA I had a custom TransactionalSeamPhaseListener on the faces-config.xml


  |    <!-- Seam transaction management -->
  |    <lifecycle>
  |  <phase-listener>br.com.projeta.util.MySeamPhaseListener</phase-listener>
  |    </lifecycle>
  | 


  | public class MySeamPhaseListener extends TransactionalSeamPhaseListener {
  | 
  | 	public MySeamPhaseListener() {
  | 		super();
  | 	}
  | 
  | 	@Override
  | 	public void handleTransactionsBeforePhase(PhaseEvent e) {
  | 		super.handleTransactionsBeforePhase(e);
  | 
  | 		// "my code"
  | 
  | 	}
  | }
  | 

Seam 2.0 doesn't have a Transactional Mannagement on the faces-config.xml. 

What can I do to run "my code" on handleTransactionBeforePhase?

Thanks,





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083250#4083250

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083250



More information about the jboss-user mailing list