[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

petemuir do-not-reply at jboss.com
Mon Nov 13 06:56:40 EST 2006


If you want to do some non-trivial cleanup you can still call an action method - just set immediate="true", place the command{Button, Link} inside the form and make sure to NOT flush the persistence context from the method (either use a FlushModeType.MANUAL conversation OR set TransactionAttributeType.NOT_SUPPORTED on the cancel method).

If the cleanup is trivial (conversation control) then use s:conversationPropogation (or of course s:link) which can end or leave-active-but-not-current the conversation.

http://docs.jboss.com/seam/1.1BETA2/reference/en/html/controls.html

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

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



More information about the jboss-user mailing list