I want to be able to reRender a rich:datatable in an iframe from outside the iframe. How do I do this?
Here is my code
page hoding navigation and iframe with scrollable data table
. . <body> <div id="header" style="text-align:center"> <ui:include src="layout/header.xhtml" /> </div> <div id="navigation" > <ui:include src="layout/navigation.xhtml" /> </div> <div id="contentDiv"> CASES FOR: <USER> <iframe scrolling="no" id="contentFrame" onload="resize_iframe()" src="caselist.seam" style="width:100%;border:none"> </iframe> </div>
. . <h:form id="casetableform" style="width:802px;margin:auto;border:solid 1px"> <rich:scrollableDataTable id="casetable" rows="50" columnClasses="col" value="#{caseList}" var="case" sortMode="single" width="800px" height="600px" > . .
<h:form> <rich:toolBar> <rich:dropDownMenu value="View"> <rich:menuItem value="All Cases" submitMode="ajax" target="contentFrame" reRender="casetable" action="#{CASELISTFORM.doCaseListQry('ALL')}"></rich:menuItem>