It seams that the lifecycle for s:link and s:button is different from h:commanButton:
The log shows me for s:button and s:link the following informations
2007-08-30 16:26:06,924 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning transaction
prior to phase: RESTORE_VIEW 1
| 2007-08-30 16:26:06,966 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing
transaction after phase: RESTORE_VIEW 1
| 2007-08-30 16:26:06,969 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning
transaction prior to phase: RENDER_RESPONSE 6
| 2007-08-30 16:26:06,996 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing
transaction after phase: INVOKE_APPLICATION 5
| 2007-08-30 16:26:07,002 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning
transaction prior to phase: INVOKE_APPLICATION 5
| 2007-08-30 16:26:07,418 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing
transaction after phase: RENDER_RESPONSE 6
|
|
for h:commandButton looks like
| 2007-08-30 16:22:13,633 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning
transaction prior to phase: RESTORE_VIEW 1
| 2007-08-30 16:22:14,659 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing
transaction after phase: INVOKE_APPLICATION 5
| 2007-08-30 16:22:14,677 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] beginning
transaction prior to phase: RENDER_RESPONSE 6
| 2007-08-30 16:22:16,022 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing
transaction after phase: RENDER_RESPONSE 6
|
Does anyone know the reason for seam 2.0.0.BETA1 doing this?
I'm using JSF-impl bundled with JBoss 4.2.0 -> jsf_impl_1.2_04-b10-p01
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079639#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...