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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to