agreed, all you should be rerendering is "dothis"

Here is an example that I know works from my app

    <h:selectOneMenu id="departmentCode_select" value="#{departmentCode}">
  |         <s:selectItems label="#{deptCode.department.departmentNumber} - 
#{deptCode.department.departmentName}" 
  |             value="#{departmentCodeList}" 
  |             noSelectionLabel="(None)" var="deptCode"/> 
  |         <s:convertEntity/> 
  |         <a4j:support event="onchange" 
  |              
actionListener="#{serviceRequestManager.fillDepartmentSectionList}" 
  |              ajaxSingle="true" reRender="departmentSection_select"/>        
                                     
  |     </h:selectOneMenu>
  |     <h:outputLabel for="departmentSection_select" 
value="#{messages['AssignmentList.departmentSection']}"/>            
  |     <h:selectOneMenu id="departmentSection_select" 
value="#{departmentSection}">
  |         <s:selectItems label="#{deptSection.departmentSectionName}" 
  |             value="#{departmentSectionList}" 
  |             noSelectionLabel="(None)" var="deptSection"/> 
  |         <s:convertEntity/>                                             
  |     </h:selectOneMenu>
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075329
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to