Xpages File upload control Partial Refresh - Stopped working in Chrome 84 version

喜欢而已 提交于 2020-07-31 05:49:24

问题


I was doing a file upload using a fileupload control and partial refresh the panel in onchange event of the fileupload control to load the file into download control. It was working fine in chrome earlier version but chrome 84 version onwards partial refresh is not working, shows blank page. Did any one has this problem, please advise.

here is the source :

<xp:panel id="pnlAttachment6">
    <xp:label value="Attachment" id="label60" styleClass=" control-label small" for="xpDocDate_1">  </xp:label>
    <div class="#{javascript:return (getComponent('fileDownload6').getRowCount() == 1 ? 'hidden' : 'visible');}">
        <xp:fileUpload id="fileUpload6" value="#{document1.Body_6}" styleClass="custom-file-input">
            <xp:eventHandler event="onchange" submit="true" refreshMode="partial" refreshId="pnlAttachment6" disableValidators="true"></xp:eventHandler>
        </xp:fileUpload>
    </div>

    <xp:fileDownload rows="30" id="fileDownload6" displayLastModified="false" value="#{document1.Body_6}" displaySize="false"
        displayType="false" displayCreated="false"
        styleClass="table-borderless" hideWhen="true"
        allowDelete="true" fileNameTitle=" ">
    </xp:fileDownload>
</xp:panel>

来源:https://stackoverflow.com/questions/63124417/xpages-file-upload-control-partial-refresh-stopped-working-in-chrome-84-versio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!