I am trying to implement a dropdown menu to dynamically display two different types of trees within a subview. I am able to swtich the trees and select the two different trees from the dropdown menu. Bun on mouseclick the subview does not automatically refresh.
I haave a poll in each of the trees and when I click the mouse within the tree node, the subview gets refreshed. that's how I know that the trees are indded getting switched from the menu selection logic. the only problem is that the subview itself needs to be updated or refreshed on mouseclick or selection from the menu itself instead of clicking within the tree and then getting refreshed.
Following is the code segment for the dropdoen menu:
<h:outputText value="View Selection"/>
<rich:menuItem submitMode="ajax" value="Children"
<rich:menuItem submitMode="ajax" value="Children and Features"
Many thanks for your help in advance --
Add a4j:log and check if there are any errors there.