Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

differences between actionListener attribue and actionListener tag

 
Viswanath Sriram
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to know all the differences between actionListener attribute and actionListener tag.why they had given actionListener tag though we are having actionListener attribute
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The actionListener attribute is intented to be used in an UICommand tag. The actionListener tag is intented to be used in a h:form tag, despite of which UICommand tag you're using and therefore it will be called every time when you submits the form.
 
Yup, yup, yup. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!