This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes CommandLink not firing for the first time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "CommandLink not firing for the first time" Watch "CommandLink not firing for the first time" New topic
Author

CommandLink not firing for the first time

Ayaan Dar
Greenhorn

Joined: Oct 27, 2010
Posts: 10
hi,

I have three command links in my code. Now the
first time i press the commandLink the function from the backing bean does not get called. However the second time onwards it does. Spent all day on this, but to no awail. Can you please tell me what i am doing wrong.I am using using RichFaces 4 and JSF 2.


Adil Bouabidi
Greenhorn

Joined: Feb 17, 2012
Posts: 1

I think you have to Rerender your form.
if it doesn t work please post your backingBean code!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CommandLink not firing for the first time