This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
I have worked with RichFaces and some other component libraries a bit less extensively (such as PrimeFaces) and am trying to get a fairly simple OpenFaces app to work. I am hoping someone can help.
I have a page that displays accounts in a selectOneListbox. Using vanilla JSF, I have the form being submitted when the user selects a different account, which re-displays the current page and shows the balance for the newly-selected account. This works fine, except that I don't want to have to submit the form. Hence: Ajax.
Here is a simplified portion of my form:
Whenever I run this, I get an IllegalStateException pointing at the selectOneListbox. I am assuming that this is caused by attempting to restore the state of this component, but for the life of me I can't see what I'm doing wrong. I've tried a number of different approaches from the OpenFaces Developer's Guide, but nothing seems to work. Any ideas?