This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes isPostBack and <p:commandButton> actionListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "isPostBack and <p:commandButton> actionListener" Watch "isPostBack and <p:commandButton> actionListener" New topic
Author

isPostBack and <p:commandButton> actionListener

Amr k. Saleh
Ranch Hand

Joined: Aug 23, 2010
Posts: 42
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
 
Have you checked out Aspose?
 
subject: isPostBack and <p:commandButton> actionListener
 
It's not a secret anymore!