File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Fire ValueChangeEvent from backingBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Fire ValueChangeEvent from backingBean" Watch "Fire ValueChangeEvent from backingBean" New topic

Fire ValueChangeEvent from backingBean

sam sami

Joined: Dec 22, 2010
Posts: 18
is it possible to create ValueChangeEvent in backingBean, so we can set the value of event and pass it.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Yes, you could, but it's probably better to have the valueChangeListener call a POJO method which your non-listener code also calls.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Fire ValueChangeEvent from backingBean
It's not a secret anymore!