This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Activating page in another panel -- almost working but puzzled
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
Problem with editor
ActionListener does not fire on commandLink
P:CommandLink doesn't work with ui:repeat