我想在执行zipManager.makeZip()时显示ajaxStatus ...直到下载开始.如果ajax = false,则文件下载有效,但不显示ajaxStatus.如果ajax = true,则显示ajaxStatus但下载不起作用!
知道如何让ajaxStatus和fileDownload一起工作.
提前致谢
KEM
<h:form id="form">
<p:commandLink id="download" value="Download"
onstart="showStatus()" oncomplete="hideStatus()"
actionListener="#{zipManager.makeZip()}">
<p:fileDownload value="#{zipManager.zip}"/>
</p:commandLink>
</h:form>
<p:ajaxStatus id="status" widgetVar="st" style="position:fixed;right:50%;bottom:50%">
<f:facet name="start">
<p:graphicImage value="images/wait.gif" />
</f:facet>
</p:ajaxStatus>
Run Code Online (Sandbox Code Playgroud) 我正在使用Google-Charts Treemap来显示大量节点.默认行为是当用户左键单击节点时向下移动树,并在用户右键单击图形时向上移动树.右键单击每次点击重绘图表.由于节点数量很大,重绘速度非常慢.如何在不禁用鼠标单击事件的情况下禁用节点向下移动功能?如何提高树图绘制的性能?
谢谢
我正在处理非常大的小物件集合.我正在使用ChronicleMap表现非常好的使用.
地图条目的最大数量是否限制为Integer.MAX_VALUE?
如果不是,如果条目数高于?,如何获得地图的实际大小作为map.size()返回?Integer.MAX_VALUEInteger.MAX_VALUE
提前致谢.
primefaces ×2
charts ×1
download ×1
java ×1
javascript ×1
jqplot ×1
jsf ×1
monitor ×1
treemap ×1