[jboss-user] [JBoss Portal] - Re: Adding custom Window Property

nystaa do-not-reply at jboss.com
Sun May 11 08:44:22 EDT 2008


Tho code to retrieve the window properties does not need an active UserTransaction but the code to write them does.

Your options:

1. You can configure in jboss-portlet that your portlet need a transaction and then JBP will always wrap your portlet code in a transaction.

2. Lookup and begin a UserTransaction on your own exactly when you need it

the second is preferable.


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

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



More information about the jboss-user mailing list