I just tried out firebug to see what was going on when I pressed the nodes of the richfaces tree and the request looks fine I think (is the URL correct? It shouldn't be /a4j/something?)
The request:
Code:
URL: ht tp:// localho st:8080/mysit e/main-flow?execution=e1s3
POST:
AJAXREQUEST _viewRoot
schemasForm:j_id16:input schemasForm:j_id16:j__id17:1:j__id20:1::j_id21
schemasForm:j_id16:j__id17:0::j_id18NodeExpanded true
schemasForm:j_id16:j__id17:0:j__id26:0::j_id27NodeExpanded false
schemasForm:j_id16:j__id17:1::j_id18NodeExpanded true
schemasForm:j_id16:j__id17:1:j__id20:0::j_id21NodeExpanded false
schemasForm:j_id16:j__id17:1:j__id20:0:j__id23:0::j_id24NodeExpanded false
schemasForm:j_id16:j__id17:1:j__id20:0:j__id23:10::j_id24NodeExpanded false
schemasForm:j_id16:j__id17:1:j__id20:0:j__id23:1::j_id24NodeExpanded false
...
schemasForm:j_id16:j__id17:1:j__id26:0::j_id27NodeExpanded false
schemasForm:j_id16:selectedNode schemasForm:j_id16:j__id17:1:j__id20:1::j_id21
schemasForm_SUBMIT 1
... but the response is a complete HTML page (the same as the original page) and not something I would expect as an ajax response (eg. a JSON message or similar)... This leads me to think that the incoming AJAX request is not detected properly. Here's how I have registered Rich Faces in my Flow Handler Adapter:
Code:
<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter">
<property name="flowExecutor" ref="flowExecutor" />
<property name="ajaxHandler">
<bean class="org.springframework.faces.richfaces.RichFacesAjaxHandler" />
</property>
</bean>