aspose file tools*
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: 41
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: isPostBack and <p:commandButton> actionListener