如何仅打印具有分页的 ADF 表,并且从集合中显示


I have a adf table which is displaying from collection and there is a command button like PRINT.
           <af:commandButton text="Print"
                            binding="#{backingBeanScope.backing_ReportHealthCheck.cb2}"
                            id="cb2">
            <af:showPrintablePageBehavior/>
          </af:commandButton>

我正在使用上面的代码,但它显示整个页面。我的要求是当我单击该按钮时,我只需要 jsff 中的 adf 表全部内容,它具有分页.Print 选项可能就像我们在打印某些应用程序时获得的普通打印选项一样。有人会为此要求发布源代码吗?

按钮相对于表格的位置在哪里?尝试将按钮放在围绕表的面板集合的工具栏部分。

最新更新