- 
        1. Re: SelectOneMenu onchangeaccless Jun 13, 2008 4:00 PM (in response to frer)User RichFaces 
 a:support-Tag within the h:selectOneMenu-Tag.This meets your requirements 
- 
        2. Re: SelectOneMenu onchangedamianharvey.damianharvey.gmail.com Jun 13, 2008 4:01 PM (in response to frer)You'll be wanting to read up on Richfaces and the a4j:support tag. <h:form id="locale"> <h:selectOneMenu value="#{localeSelector.localeString}" > <f:selectItems value="#{localeSelector.supportedLocales}"/> <a4j:support event="onchange" action="#{localeSelector.select}" ajaxSingle="true"/> </h:selectOneMenu> </h:form>Cheers, Damian. 
- 
        3. Re: SelectOneMenu onchangefrer Jun 13, 2008 5:28 PM (in response to frer)Thank you both for your answers! How can I integrate ajax4jsf to my seam deployment...I added the oscache-2.3.2.jar and the ajax4jsf.jar in my WEB-INF/lib but do I need to specify anything in my web.xml? Thank you, Francois 
- 
        4. Re: SelectOneMenu onchangedan.j.allen Jun 14, 2008 4:17 AM (in response to frer)In this case Ajax4jsf might be overkill (though you could certainly use it). You can simply use the JavaScript onchange event: onchange="submit()" 
- 
        5. Re: SelectOneMenu onchangefrer Jun 14, 2008 3:48 PM (in response to frer)Thanks Dan! That's actually a better solution for me since I do not wish to use ajax4jsf anywhere else (at least for now) and I was having trouble setting up ajax4jsf... Here is my final code snippet: <h:form id="locale" action="#{localeSelector.select}"> <h:selectOneMenu value="#{localeSelector.localeString}" onchange="submit()"> <f:selectItems value="#{localeSelector.supportedLocales}"/> </h:selectOneMenu> </h:form>Thanks again, Francois 
- 
        6. Re: SelectOneMenu onchangedan.j.allen Jun 14, 2008 7:02 PM (in response to frer)You shouldn't need to. Seam has a built-in filter that is automatically activated when Ajax4jsf is on the classpath. The only JAR files you need to add Ajax4jsf is: - jboss-seam-ui.jar (this is where the filter is defined)
- richfaces-api.jar
- richfaces-impl.jar
- richfaces-ui.jar
 Yes, RichFaces is Ajax4jsf. You can use Ajax4jsf alone, but its just easier to throw it all in together. 
- 
        7. Re: SelectOneMenu onchangedan.j.allen Jun 14, 2008 7:03 PM (in response to frer)Make sure you have the Seam filter configured (in web.xml). 
- 
        8. Re: SelectOneMenu onchangefrer Jun 14, 2008 8:17 PM (in response to frer)Ok thanks, I'll try that if ever I find the need for ajax4jsf but for now your Javascript option is perfect. Thanks again, François 
 
     
     
    