Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ActionListener does not fire on commandLink

 
sneha patil
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using primefaces...I have simple code of commanlink....


and inside actionlistener



but actionListener does not get called...

please help me..
Thanks...
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try removing the evt in this line?



Also check the scope of your bean.
 
sneha patil
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply mark..
I tried by removing "evt" from line..but still it does not fire action listener..And my bean is in session scope...
 
Sachin Yewale
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you remove evt from the line ?
use following code for that:


if still not work ckeck where the component in the h:form or not

else check if there are any errors occurs by attaching h:message for the given component .

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic