Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

isPostBack and <p:commandButton> actionListener

 
Amr k. Saleh
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm using <p:commandLink> as below



and everything work fine, but when i use FacesContext.getCurrentInstance().isPostback() in homeBean postConstruct method, commanLink actionListener doesn't fire.
i don't know why? any suggestion how to fix this ?

thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic