« Introducing the New ADF Declarative Debugger! | Main | How Do I Include a Region Within an <af:popup>? »

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… ;)

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mt/mt-tb.cgi/8503

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on November 14, 2008 4:36 PM.

The previous post in this blog was Introducing the New ADF Declarative Debugger!.

The next post in this blog is How Do I Include a Region Within an <af:popup>?.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle