如何禁用 XPage 的客户端验证? [英] How to disable Client-side Validation for an XPage?

查看:14
本文介绍了如何禁用 XPage 的客户端验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以通过以下方式禁用 xsp.properties 中的服务器或应用程序:

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

xsp.client.validation=false

在控制级别通过:

disableClientSideValidation="true"

为每个控件设置 disableClientSideValidation 的不足,有没有办法在 XPage 级别禁用?

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

推荐答案

请尝试以下操作:

<?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>

这篇关于如何禁用 XPage 的客户端验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆