官术网_书友最值得收藏!

EL immediate and deferred evaluation

EL evaluates expressions as immediate or deferred.

Immediate evaluation returns the result as soon as the page is first rendered. These kinds of expressions are read-only value expressions and they can be present only in tags that accept runtime expressions. They are easy to recognize after the ${} notation. Usually, they are used for arithmetic and logical operations in JSP pages.

Deferred evaluation can return the result at different phases of a page's life cycle depending on the technology that is using the expression. JSF can evaluate the expression at different phases of the life cycle (for example, during the rendering and postback phase), depending on how the expression is being used in the page. These kind of expressions can be value and method expressions, and they are marked by the #{} notation.

Note

In Facelets, ${} and #{} act the same.

主站蜘蛛池模板: 富民县| 即墨市| 平乐县| 辽宁省| 闽侯县| 新丰县| 会同县| 平远县| 雷州市| 许昌县| 兴安盟| 库伦旗| 大城县| 石渠县| 景德镇市| 无棣县| 兴安县| 滨海县| 迭部县| 十堰市| 台北市| 荥经县| 柘城县| 酉阳| 资阳市| 镇赉县| 喀什市| 平乐县| 麦盖提县| 南平市| 望城县| 集安市| 于都县| 安宁市| 鸡泽县| 勃利县| 九龙坡区| 丰镇市| 宁化县| 仪征市| 江源县|