Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

AdfFacesContext.getCurrentInstance().isPostBack means?

Vamsi MuraliApr 12 2017 — edited Oct 18 2017

Hi All,

My Code is behaving diffrently in 11g and 12c release , the following is the code snippet

Boolean postBck = AdfFacesContext.getCurrentInstance().isPostBack();

My Page Structure is as JSF -->inside jsf ( TABS ) --> Each Tab has TF --> EachTF has a jsff(each jsff is linked to backing bean)

on the  backing bean constructor we have the following code to and loading  some parameters from the DB.

on the First Tab i am getting the AdfFacesContext.getCurrentInstance().isPostBack(); as false and subsequent tab changes its giving the as TRUE on the next TABs  .

On each click on the TAB the corresponding Backing Bean  the above code snippet is written  and giving as TRUE.

It is working fine in 11g(11.1.1.4) and giving issue in ADF 12c(12.1.3) .

Is this changes due to JSF 2.0 underlying implementation.

Please help me in understanding the concept of the PostBack in ADF/JSF

Thanks

Vamsi Balaga

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2017
Added on Apr 12 2017
4 comments
781 views