This is vanilla JSF not ICEFaces, but I guess it'll be more or less the same.
In your JSP:
If you want the submission to occur immediately you make the selection, you can optionally add onchange="this.form.submit();" as an additional attribute to the selectOneMenu tag .
In your managed bean, the ValueChangeListener method is called listen, the output property is called speak, which will appear in the outputText field above, and the SelectItem List is called possible (and it's up to you to fill it).
posted 10 years ago
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad: