shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Zapryanov (JIRA)" <>
Subject [jira] Created: (SHALE-455) isPostBack() claims falsely TRUE in the View bean being forwarded to
Date Sun, 15 Jul 2007 08:39:12 GMT
isPostBack() claims falsely TRUE in the View bean being forwarded to

                 Key: SHALE-455
             Project: Shale
          Issue Type: Bug
          Components: View
    Affects Versions: 1.0.4
         Environment: not relevant
            Reporter: Stan Zapryanov

In the following scenario:

Postback processed by page A, which then navigates to page B: 
Backing bean for page A is instantiated during Restore View phase, which notices that there
is previous state to restore. 
The setPostback(true) and init() methods on your backing bean for page A are called.


 IT also seams that the setPostack(true) is called on page B (inappropriately) since the request
attribute remains in the map and bean B is created by the following code in the constructor:

In ViewViewHandler :

    private void setupViewController(FacesContext context, UIViewRoot view,
                                     String viewId, boolean postBack) {

        // Is there actually a view for us to procses?
        if (view == null) {

        // Cache the postback flag so that it can be used inside
        // the AbstractViewcontroller implementation
        if (postBack) {
              put(FacesConstants.VIEW_POSTBACK, Boolean.TRUE);
else {

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message