Mario, Your suggestion of calling this.form.submit() may not work. There's other "hidden" javascript that needs to be executed before form is submitted. For myfaces, this javascript sets the autoscroll value, and information telling which UICommand submitted the form. Without this information, you might introduce some problems. And there may be future changes to the javascript which may also be adversely affected.
I'd recommend putting a component on your page with and without the onchange value, and doing a view source of your page to verify that the correct javascript was generated for both components. On 11/24/05, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Matthias Kahlau wrote: > > Thanks for your tips, but the selectOneRadio definitely doesn't work > > correctly with onchange="this.form.submit();", because the submit will take > > place only after the 2nd change! > I tried > > <h:selectOneRadio onchange="submit()"> > <f:selectItem itemValue="abc" itemLabel="ab"/> > <f:selectItem itemValue="def" itemLabel="def"/> > </h:selectOneRadio> > > and it works like a charm. > > I use firefox, maybe you catched a browser issue? > > > --- > Mario > >

