Ok, thanks! I did not see a keyword hit on 'TransactionalSeamPhaseListener' in
the 2.0.0.GA ref pdf so I got a little confused when comparing with the Seam
chapter in Bauer/king book.
thanks again.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115062#41150
This is enabled by default in Seam 2.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115059#4115059
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115059
___
jboss-user mailin
On pg. 814 of JPA/Hibernate book, it talks about
TransactionalSeamPhaseListener. I am currently not using this in my
faces-config.xml. Is it required to use this with SMPC and flushMode=MANUAL?
| http://java.sun.com/xml/ns/javaee";
| xmlns:xsi="http://www.w3.org/2001/XMLSche
I noticed that when I reverted to the @PersistenceContext (EXTENDED) config
without SMPC but with flushMode=MANUAL on @Begin, the problem was reproduced.
So the key is SMPC + flushMode=MANUAL.
Please correct me if that statement is wrong.
View the original post :
http://www.jboss.com/index.htm
Hey it works now! Not sure if JBoss wasn't picking up the deployment or what
(I had to remove an @Out annotation as well that wasn't being used).
The premature update is gone with flushMode=MANUAL and SMPC. thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
SEAM 2.0.0.GA
JBOSS 4.2.1.GA
So I tried using SMPC and it still updates the record prematurely (before @End
submit method is executed). There is another SFSB (session-scope) but it
should not have anything to do with this particular table persistence. Here is
the current code:
SFSB:
package
If I replace EXTENDED PersistenceContext with SMPC, will it solve the premature
update to the table?
I will try that now with flushMode=MANUAL and w/o bypassUpdates in a4j:support.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114731#4114731
Reply to the po
I tried using the following and in the debugger I'm seeing that in myAuditList
(3rd param in action method) that row's value for the radio button clicked
'yes' is null. If I remove the 'bypassUpdates' from a4j:support, the value
shows as true. I tried this twice to make sure...
xhtml:
Are you using manual flush mode? Or bypassUpdates on the a:support?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114649#4114649
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114649
___
here's the server.log output:
2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing:
org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.core.Events] Processing
event:org.jboss.seam.afterPhase
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Na
10 matches
Mail list logo