POI 4 XPages - document generation works only once

前端 未结 2 1181
情书的邮戳
情书的邮戳 2020-12-03 16:10

Ok, to be honest: the headline doesn\'t tell the whole truth. I am using a custom control with several buttons (save, close, edit etc.) and a button that executes a POI acti

2条回答
  •  北海茫月
    2020-12-03 17:05

    I believe the issue is you're generating the word document from the button on the same page.

    Do the generation from an XAgent. Have the button call the XPage containing the XAgent and you should be fine.

提交回复
热议问题