Details
- 
        Type: Bug Bug
- 
        Status: Closed
- 
            Priority: Major Major
- 
            Resolution: Fixed
- 
            Affects Version/s: 2.0.0, 2.0.0-EE-Beta1
- 
            Fix Version/s: 3.0
- 
            Component/s: Framework
- 
            Labels:None
- 
            Environment:IE and Firefox
- 
                        Assignee Priority:P2
- 
                        Workaround Exists:Yes
- 
                        Workaround Description:Use a PhaseListener instead, this has been implemented in attached test case but had been commented out to show original issue.
Description
                    When using the following code:
<f:metadata>
<f:event type="preRenderView" id="prePayDayApproveEvent" listener="#{testBean.someAction}"/>
</f:metadata>
A forward navigation takes place in the event listener. The navigation is causing a JavaScript error to be thrown. See attachments for details.
<f:metadata>
<f:event type="preRenderView" id="prePayDayApproveEvent" listener="#{testBean.someAction}"/>
</f:metadata>
A forward navigation takes place in the event listener. The navigation is causing a JavaScript error to be thrown. See attachments for details.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Attachment | Case9915Example.war [ 12994 ] | |
| Attachment | js-error-bootstrap.JPG [ 12995 ] | |
| Attachment | firebug-error.JPG [ 12996 ] | 
| Attachment | Case9915Example.zip [ 12997 ] | 
| Salesforce Case | [5007000000GBZTT] | 
| Workaround Description | Use a PhaseListener instead | Use a PhaseListener instead, this has been implemented in attached test case but had been commented out to show original issue. | 
| Fix Version/s | 2.1 [ 10241 ] | |
| Assignee Priority | P2 | |
| Assignee | Mircea Toma [ mircea.toma ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Assignee | Mircea Toma [ mircea.toma ] | Carmen Cristurean [ ccristurean ] | 
| Status | Resolved [ 5 ] | Closed [ 6 ] | 
 
                                     
                                                             
                                                             
                             
                         
                        
Attached test case war file built for Tomcat 6. Attached screen shots of the errors in Firefox.