June 2014
Intermediate to advanced
578 pages
12h 2m
English
EL 3.0 (JSR 341, part of Java EE 7) represents a major boost of EL 2.2. The main features of EL 3.0 are as follows:
+, =, and ;In the upcoming sections, you will see how to use EL 3.0 features in JSF pages.
In an expression of type, x = y, the assignment operator (=), assign the value of y to x. In order to avoid an error of the kind PropertyNotWritableException, the x value must be an lvalue. The following examples show you how to use this operator in two simple expressions:
#{x = 3} evaluates to 3#{y = x + 5} evaluates to 8The assignment operator is right-associative (z = y = x is equivalent with z = (y ...