是什么$ {...}和!之间{...}在Spark视图引擎的区别? [英] What is the difference between ${...} and !{...} in the Spark View Engine?

查看:289
本文介绍了是什么$ {...}和!之间{...}在Spark视图引擎的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是什么在Spark $ {...} !{...} 之间的区别查看引擎?

What is the difference between ${...} and !{...} in the Spark View Engine?

有可能是两者之间的真正明显的差异,但我看到他们互换使用。

There probably is a really distinct difference between the two, but I see them used interchangeably.

做一件带code输出和其他不?我在组已经看到了一些讨论什么?如果这是真的,那么这是什么呢:

Does one encode the output and the other doesn't? Which I have seen some discussion about in the groups? If that is true then what does this do:

${H(Model.Name)}

另外如何将设置在配置效果如下 $ {} !{}

<pages automaticEncoding="true|false" />

我希望能记录这个为他人为好,因为当前的文档似乎支离破碎,过时了。

I am hoping to document this for others as well, because the current documentation seems fragmented and out of date.

http://sparkviewengine.com/documentation/

推荐答案

!{...} 从不带codeS, $ {...} 服从 automaticEncoding 设置和 H(...)将总是带code。

!{...} never encodes, ${...} obeys the automaticEncoding setting and H(...) will always encode.

这篇关于是什么$ {...}和!之间{...}在Spark视图引擎的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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