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 8318933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:08:50+00:00 2026-06-08T22:08:50+00:00

In JSF 2.0 specification in the restore/create View phase (section 2.2 Standard Request Processing

  • 0

In JSF 2.0 specification in the restore/create View phase (section “2.2 Standard Request Processing Lifecycle Phases”) it is said:

If the request is a postback, call setProcessingEvents(false) on the
current FacesContext. Then call ViewHandler.restoreView(), passing the
FacesContext instance for the current request and the view identifier,
and returning a UIViewRoot for the restored view. If the return from
ViewHandler.restoreView() is null, throw a ViewExpiredException with
an appropriate error message. …

when it is been talked about ViewHandler.restoreView() which state is being refered here ? the server component state or the client component state here ?

more generally, how does one differentiate between the client and the server state? how JSF 2.0 manage to keep both synchronized with each other, if there is interaction of any sort?

Where Wikipedia acknowledges several types of state saving, including client and Server State saving and restoring, it does not elaborate more on them.

  • 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-08T22:08:52+00:00Added an answer on June 8, 2026 at 10:08 pm

    when it is been talked about ViewHandler.restoreView() which state is being refered here ? the server component state or the client component state here ?

    It’s the JSF component tree, so I think that whatever you’ve definied the “server component state” term in your mind applies the most here, as your “client component state” term refers most probably the HTML DOM tree (which is by JSF generated during render response phase and sent from server to client).


    more generally, how does one differentiate between the client and the server state? how JSF 2.0 manage to keep both synchronized with each other, if there is interaction of any sort?

    Yes, the HTTP request (there’s basically no other way to let the HTTP client interact with the HTTP server…). Note particularly the javax.faces.ViewState request parameter.

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

Sidebar

Related Questions

In JSF, h:dataTable and h:panelGrid both create html table -tags. What is the difference
In JSF MVC framework who is Model, View, and Controller?
According to the JSF 2.0 specification, there are three ways to use h:graphicImage depending
JSF view code: <f:view> <h:form> <h:panelGrid> <h:inputText id=key value=#{myManagedBean.key}/> <h:selectBooleanCheckbox id=rerun value=#{myManagedBean.rerun} rendered=#{myManagedBean.displayRerun}/> <h:commandButton
In JSF 2 (SUN RI ) UI:repeat does not increment the id of table
JBoss JSF page cache doesn't always seem to be updated when I change my
In JSF 2 you can pass around ids, Strings other things that can be
In JSF's tag, if you feed it using a Map<Key, Value> <h:selectOneMenu value=#{bean.integerProperty}> <f:selectItems
In JSF + RichFaces, I have an inputText and a button, How can I
I have a JSF page that is included in other JSF pages (basically a

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.