SelectBox example not working 'Validation Error Doors: Value is not a valid option.

2007-03-15 Thread Paul Spencer
Any idea why the SelectBox example always fails the door validation? http://example.irian.at/example-simple-20070315/selectbox.jsf Paul Spencer

Re: SelectBox example not working 'Validation Error Doors: Value is not a valid option.

2007-03-15 Thread Mike Kienenberger
Yes. h:selectOneMenu id=doors value=#{carconf.doors} f:selectItem itemValue=2 itemLabel=2 / f:selectItem itemValue=4 itemLabel=4 / f:selectItem itemValue=7 itemLabel=7 / /h:selectOneMenu public void setDoors(int

Re: SelectBox example not working 'Validation Error Doors: Value is not a valid option.

2007-03-15 Thread Paul Spencer
Mike, I like the first suggestion, change the door type to long. Would you like to make the changes, or shall I? FYI: I found this while verifying the examples in preparation for a 1.1.5 release. Paul Spencer Mike Kienenberger wrote: Yes. h:selectOneMenu id=doors

Re: SelectBox example not working 'Validation Error Doors: Value is not a valid option.

2007-03-15 Thread Paul Spencer
Mike, I like the first suggestion, change the door type to long. Would you like to make the changes, or shall I? FYI: I found this while verifying the examples in preparation for a 1.1.5 release. Paul Spencer Mike Kienenberger wrote: Yes. h:selectOneMenu id=doors