Hi !
I'm using RichFaces with Seam on Jboss-4.2.1
After upgrading RichFaces to 3.1.4 from 3.1.1 i'v got some troubles:
1. modalPanel onshow event broken :
xhtml code (updateVarId is a4j:jsFunction) :
<rich:modalPanel id="mp" minHeight="200" minWidth="450" height="200" width="500" zindex="2000" onshow="updateVarId(event.parameters.param1);"> ...
<script type="text/javascript">
//<![CDATA[
new ModalPanel('mp',
{
width: 500,
height: 200,
minWidth: 450,
minHeight: 200,
resizeable: true,
moveable: true,
left: "auto",
top: "auto",
zindex: 2000,
onshow: 'updateVarId(event.parameters.param1);',
onhide: '',
keepVisualState: false,
showWhenRendered: false,
selectBehavior: "disable",
autosized: false
});
//]]>
</script>
onshow: 'updateVarId(event.parameters.param1);',line in html output generated by Richfaces 3.1.4 line
<a4j:form>
<rich:tree switchType="ajax" id="sectionsTree" limitToList="true"
reRender="sectionContentPanel" icon="/img/iconFolder.gif"
iconLeaf="/img/iconFolder.gif"
nodeSelectListener="#{jcrController.nodeSelectedEvent}">
<rich:recursiveTreeNodesAdaptor roots="#{jcrController.jcrRoot}"
var="item" nodes="#{item.nodes}">
<rich:treeNode>
<a4j:commandLink
action="#{jcrController.nodeSelectedClick(item.path)}"
value="#{item.humanName} (#{item.nodeCount}/#{item.contentCount})"
reRender="sectionContentPanel" />
</rich:treeNode>
</rich:recursiveTreeNodesAdaptor>
</rich:tree>
Sorry, it was my bug with tree - i just removed limitToList="true" reRender="sectionContentPanel" attributes from tree and it works fine.