简体   繁体   English

多节点树选择器验证

[英]MultiNode Tree Picker validation

I want to capture the submit event of multinode tree picker in order to add a validation message that will be shown when the user is selecting more than the max no. 我想捕获多节点树选择器的Submit事件,以添加一条验证消息,该消息将在用户选择的数量超过最大数量时显示。 of nodes allowed. 允许的节点数。

We can capture the save n publish event using "ContentService", so I was wondering if we can capture the submit event of property editors as well? 我们可以使用“ ContentService”捕获save n publish事件,所以我想知道是否也可以捕获属性编辑器的Submit事件?

Any help appreciated! 任何帮助表示赞赏!

Thanks 谢谢

I guess this is only possible if you extend a property editor or rewrite it and add validation to it. 我猜只有在扩展属性编辑器或重写它并向其添加验证后才有可能。

You can always create a custom property editor and add customizations to that. 您始终可以创建自定义属性编辑器,并向其添加自定义项。

Hope this helps! 希望这可以帮助!

Thanks 谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM