File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CommandLink not firing for the first time