views:

200

answers:

1

Hello everyone,

i'm facing the following problem, there are two pages (views) in my portlet, first with rich:tree of components and the second with create/edit form for this components. On the first page i have the following code:

 <s:link value="#{treeitem.name}" view="/view/testSet/testSetCreation.xhtml">
   <a4j:support event="onclick">
       <f:setPropertyActionListener value="#{treeitem}" target="#{testSetParamDto.t}"/>
   </a4j:support>
 </s:link>

When i click on component name occures the following exception:

13:18:12,483 ERROR [SeamPhaseListener] swallowing exception
java.lang.IllegalStateException: Could not start transaction
        at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:598
)
        at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:583
)
...
13:18:12,790 WARN  [SeamPhaseListener] uncaught exception, passing to exception
handler
java.lang.IllegalStateException: No active conversation context
        at org.jboss.seam.core.Conversation.instance(Conversation.java:122)
        at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java
:260)

Can anyone tell me what am i doing wrong? Thank you

A: 

Whats happening here?

<f:setPropertyActionListener value="#{treeitem}" target="#{testSetParamDto.t}"/>

Show us a example code and the whole exception please.

asrijaal