How to disable Client-side Validation for an XPage

2019-02-11 03:07发布

问题:

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>