开发者

How is f:view in useful in jsf 2.0?

开发者 https://www.devze.com 2023-02-11 02:04 出处:网络
In jsf 2.0 the <f:view>..</f:view> (assuming f corresponds to faces tags) is said to be useful but I can see no actual use of it, if it 开发者_如何学Pythoncan be omitted.

In jsf 2.0 the <f:view>..</f:view> (assuming f corresponds to faces tags) is said to be useful but I can see no actual use of it, if it 开发者_如何学Pythoncan be omitted.

P.S.: I actually found not comments on this matter in specs.


You can set the contentType (in some cases useful for Safari browsers), locale (I18N, L10N) and encoding with it:

<f:view locale="#{sample.locale}" encoding="UTF-8" contentType="text/html">
0

精彩评论

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