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

isPostBack and <p:commandButton> actionListener

Amr k. Saleh
Ranch Hand

Joined: Aug 23, 2010
Posts: 37
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
jQuery in Action, 2nd edition
subject: isPostBack and <p:commandButton> actionListener
Similar Threads
P:CommandLink doesn't work with ui:repeat
Problem with editor
ActionListener does not fire on commandLink
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
Activating page in another panel -- almost working but puzzled