Expression Language: "#" or "$"?

When looking at the source code of JSF application pages have you ever noticed some EL Expressions might begin with an "#" (e.g.: #{foo.bar}) while others begin with an "$" (e.g.: ${foo.bar}). If you ever wondered why, check out the following Sun Developer Network article on Unified Expression Language which does a good job of describing the difference between immediate "$" vs. deferred "#" expression language evaluation. Typically, ADF applications will utilize the deferred "#" style to evaluate the expression at the appropriate time during the page life cycle. I guess "$" is not always the answer... ;)

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Harness the power of ORACLE ADF for your applications!

Search

Archives
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today