Post code to show your problem. Both actionListeners should do the same thing, just the RichFaces one suffers from less good english ;) Or ask on the RichFaces forum.
Post code to show your problem.
Actually I have no problem, application is working. Just want my solutions to be knowledge-based rather than experiment-based.
"firstname.lastname@example.org" wrote:What is the reason of supporting two equal attributes with different names ? Well, maybe Richfaces question.. Thanks.
Both actionListeners should do the same thing
Oh sorry, I misread your post. Read a JSF textbook to understand the difference between action and actionListener.
I always use action unless I have a specific reason to use actionListener.
Still don't undertsand the following.
Under some curcumstances I am getting "property 'someMethod' not found" when trying to bind action of a:commandButton to method.
Changing action to actionListener with the same method eliminates the error.
How is that possible ?
You can't have an action and and actionListener point to the same method because the actionListener looks for a method with an ActionEvent parameter. I don't get the "under some circumstances" part, though.