title: returning a4j:included content using bean-generated rich:dropDownMenu
body: <p>I may be missing a couple of points, but I've hacked together a jsf/richfaces app and want to be able to do the simplest ajax-based nav:</p>
  
  <p>main page contains ref to my backing bean's menu</p>
  
  <pre><code>            &lt;h:form&gt;
                  &lt;rich:dropDownMenu binding="#{PrismBacking.nodeMenu}" /&gt;
              &lt;/h:form&gt;
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/2158009/deprecated-richfaces-javax-faces-el-methodbinding-replacement-use">this</a> refers to the code for the backing bean methods</p>
  
  <p>this is my main page ajax panel</p>
  
  <pre><code>    &lt;rich:panel id="content"&gt;
          &lt;a4j:include viewId="#{PrismBacking.viewId}" /&gt;
      &lt;/rich:panel&gt;
  </code></pre>
  
  <p>i can't work out how to get the backing bean to use the selected item from the rich:dropDownMenu to update that which is returned by getViewId.</p>
  
  <p>i guess:
  1) i need to ensure the menu items in the getNodeMenu method have the right payload so setViewId is called with the correct String and my rich:panel id="content" is reRendered.</p>
  
  <p>any pointers as to how to do this would be greatly appreciated.<br>
  mark</p>