Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSF
bean should not be a listener...
ankur rathi
Ranch Hand
Posts: 3852
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
We have a bean class which is implementing ActionListener. Is it a good idea to have a listener class with data and setter/getter methods???
Thanks.
Rajeev Ravindran
Ranch Hand
Posts: 455
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Listener should be like an observer class. I beleive its not a good idea to keep getter and setter in the listener !
Thanks,
It runs on an internal combustion engine. This ad does not:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Run a class or method when Tomcat starts?
Detect if a .properties file is in a jar
Listeners
listener question
JSF- Getting bean name from the ActionEvent
More...