简体   繁体   English

什么是“发布更改”或“反映”功能?

[英]What is “Post on Changes” or “Reflection” functionality?

I am new to CC Guidewire.我是 CC Guidewire 的新手。 I didnt understand what post on change will do?我不明白关于更改的帖子会做什么?

Thanks.谢谢。

The "postOnChange" attribute on a PCF UI element can either be true or false. PCF UI 元素上的“postOnChange”属性可以是 true 也可以是 false。

If it is true then everytime that UI field is changed by a user;如果为 true,则每次用户更改 UI 字段时; it will POST back to the server.它将 POST 回服务器。

The server will then execute the code in corresponding UI elements "onChange" attribute.然后服务器将执行相应 UI 元素“onChange”属性中的代码。

These together basically allows you to add a piece of code that will fire when that UI field is been changed on screen by the user.这些一起基本上允许您添加一段代码,当用户在屏幕上更改 UI 字段时将触发该代码。

The reflection items can be used to use AJAX style updates to multiple fields on the basis of others.反射项可用于在其他字段的基础上对多个字段使用 AJAX 样式更新。 It is a bit more complex to use and understand.使用和理解起来有点复杂。

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

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