Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8747147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:18:34+00:00 2026-06-13T12:18:34+00:00

In chapter 5 named Managed Beans and the JSF Expression Language in the section

  • 0

In chapter 5 named “Managed Beans and the JSF Expression Language” in the section named “Examining the Evolution of the EL:Deferrred vs. Immediate Expressions” of the book Java Server Faces 2.0 – The Complete Reference the authors write :

Immediate evaluation is perfect for JSP , but JSF needed something
more . JSF introduced the request processing lifecycle (described in
Chapter 3) , which governs what happens when the form is submitted
(postback) . During a posback, the JSP page that rendered the mark up
that is being posted back is not known and not available to the JSF
runtime ;therefore, any expressions in that page are not available ,
since they were evaluated immediately when the page was rendered.

Why are the authors saying that the “During a posback, the JSP page that rendered the mark up that is being posted back is not known” ? Isn’t this the exact responsibility of the restore view phase of the JSF lifecycle to restore the view described by the JSP view definition technology ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:18:35+00:00Added an answer on June 13, 2026 at 12:18 pm

    No, the author means that there’s no way to programmatically find the ${} EL expression references in order to evaluate them programmatically/individually. They are already been evaluated by the JSP engine once the JSF component tree is built based on JSP output. There are no references to ${} EL expressions in the JSF component tree. The #{} EL expressions are not recognized by the JSP engine and are therefore not directly been evaluated by the JSP engine. This way JSF can find them and turn them into ValueExpression references which allows programmatically evaluating by among others getValue() and setValue().

    So, imagine that you’ve a

    <h:inputText value="${bean.input}" />
    

    then during the view build time the ${} would immediately be evaluated by the JSP engine and the value attribute would end up being the already evaluated value (as obtained by the getter). The JSF component’s value would end up representing only the “literal” value which is the result the evaluation. There’s no way to find out the original EL expression in its entirety in order to be able to set the model value on postback.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SICP Chapter 3.5.3 http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5.3 In section Streams as signals , SICP gives an audio-visual
Let's say I have a method at Controller named book($chapter,$page); where $chapter and $page
url: /contents/view/chapter:models/section:associations class ContentsController extends AppController { function view() { $this->params['named']; } } For
SELECT DISTINCT _id, Game_name, Book, Chapter, Verse_start, Verse_stop, Scripture FROM Bible_Game WHERE God's Kingdom
If Book aggregates Chapter which in turn aggregates Page, then what should be the
So I started reading this book: http://www.amazon.com/Cocoa-Design-Patterns-Erik-Buck/dp/0321535022 On chapter 2 it explains about the
Am reading an O'Reilly book called Learning WCF and in chapter one, it mentions:
I tried to create a custom UIView with 3 labels, name, book and chapter
I'm reading a book called PHP 5 Advanced Techniques by Larry Ullman. In Chapter
i have a model named 'chapter' (whose only attributes are 'name' and 'course__id') which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.