I also tried the solution to use <h:commandlink> instead of <h:commandButton>..no Luck there (My code works fine but instead of calling the method it just refresh the Page)
The Reason I created the new Link to find out the real reason why the onclick method does not work for backing bean and if there is any other solution (ready to use API)??
I was using it in the Jboss 4.2.3 from one year and it worked like a charm , but when I upgradede my Jboss to 5.0.1 it stop working
what is in the Jboss 5 that can block this ??? no idea (The only thing I can think of jsf-imp/facelet jars etc and I tried to change those with old jars....no luck there)
This is very basic functionality for a web -application and how come there is no information on the net ???
I will really appreciate you comments and solutions.
Joined: Jan 14, 2010
Here is my code
This code is wrapped with facelets, I also tried the immediate ="true" condition on command button
Thanks in Advance!!