How to disable Client-side Validation for an XPage?

前提是你 提交于 2019-12-18 17:55:09

问题


I know i can disable for the server or application in the xsp.properties via:

xsp.client.validation=false

And at the control level via:

disableClientSideValidation="true"

Short of setting disableClientSideValidation for each control, is there any way to disable at the XPage level?


回答1:


Please try the following:

<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">

    <xp:this.properties>
        <xp:parameter name="xsp.client.validation" value="false" />
    </xp:this.properties>

</xp:view>


来源:https://stackoverflow.com/questions/24212756/how-to-disable-client-side-validation-for-an-xpage

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