我可以使用从dXh连接器返回的消息来自定义ektron html格式的回发消息吗 [英] Can I customise the post back message in ektron html form with the message returned from my dXh connector

查看:122
本文介绍了我可以使用从dXh连接器返回的消息来自定义ektron html格式的回发消息吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的ektron应用程序中,我创建了一个html表单,该表单被映射到dXh.我可以使用dXh连接器返回的消息来自定义html表单中的回发消息吗? 我能做到吗?

In my ektron application I have created an html form which is mapped to dXh. Can I customise the post back message in my html form with the message which is returned from my dXh connector? Am I able to do it or not?

推荐答案

我怀疑您能够这样做.从表单提交发送到DXH的数据是异步完成的,以免在您的站点上造成延迟,尤其是在出现问题(例如有人关闭DXH服务器)的情况下.因为它是异步的,所以表单不会以任何方式等待DXH的响应.因此,即使有某种方法可以使用这些数据,但如果DXH接收的数据比表单回发呈现的速度稍慢,则您最终还是会蒙受很多误报.

I doubt you'll be able to. Data sent to the DXH from form submissions is done asynchronously so as to not cause delays on your site, particularly in case something is going wrong (e.g., someone shut down the DXH server). Because it's asynchronous, the form isn't waiting for a response from the DXH in any way. So even if there were a way to use that data, you likely would end up with a lot of false negatives if the DXH is receiving data slightly slower than the form postback is rendering.

您可以 做的是使用通过表单提交的信息自定义回发消息,因为该数据被发回到服务器.因此,如果您的表单中有一个名称字段,则可以使用谢谢Sudha!"来自定义回发消息.

What you can do is customize the postback message with information submitted through the form because that data is posted back to the server. So if you have a name field in your form, you could customize the postback message with "Thanks Sudha!"

为此,您只需使用Request.Form("fieldname")即可检索该值,就像使用其他任何HTML表单一样.

To do that, you would just use Request.Form("fieldname") to retrieve the value as you would with any other HTML form.

这篇关于我可以使用从dXh连接器返回的消息来自定义ektron html格式的回发消息吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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