I'm trying to hide/show a button which lays on a xpage depdending on the number of docs. selected from a viewPanel
.
<xp:this.rendered><![CDATA[#{javascript:var viewPanel=getComponent("viewPanel1");
var docIDArray=viewPanel.getSelectedIds();
if (docIDArray.length != null ){ return true; }
else { return false; }}]]>
</xp:this.rendered>
How can I make a partial refresh ( if it's necessary ) for the button component while I'm selecting some documents using the showCheckbox
property of a column?