EnumDropDownBean Listener Question?

N

NiallM

Hey, I was wondering if anyone had any idea if it was possible to add an
action listener to a dropdownbean, what I want is when the property is
changed i.e. a item selected, a method is called, different methods for
each options etc. etc.

What I've done is I added a PropertyChangeListener , onto the bean, but it
doesn't seem to be called when I make a selection.

Any idea's? sorry if its a bad explanation. the code snippet follows

private EnumDropDownBean enumProduct;


enumProduct.addPropertyChangeListener(new PropertyChangeListener()
{
public void propertyChanged(PropertyChangeEvent event){

enumChanged();
}
});
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top