开发者

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

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.

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)}

Also how will setting the following in the config effect ${} and !{}?

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜