Hi Björn,

looks like you are hitting this

http://wiki.apache.org/myfaces/Tomahawk_1.1.4_to_1.1.5

check the wiki and the related threads (I only remember it occur in the past)

-M

On 6/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:



Hello Devlist

I have a strange problem with select items after update from myfaces 1.1.4
-> 1.1.5

In my jsp I have something like this:

<h:selectOneRadio id="selectOneRadio" layout="pageDirection"

        styleClass="payform-radio" converter="javax.faces.Integer"

        value="#{myMB.nestedBean.status}">

        <f:selectItem

                itemLabel="Option 1"

                itemValue="0" />

        <f:selectItem

                itemLabel="Option 2"

                itemValue="1" />

</h:selectOneRadio>

The property "status" of nestedBean is of type Integer. With 1.1.4 this
works real fine, but with 1.1.5 I get an "Value is not a valid option"
Error. I have tried <f:convertNumber integerOnly="true"/> instead of the
converter attribute but that doesn't matter.



Are there any issues about this? I think this should work, shouldn't it?



--

Björn Voß
 Softwaredeveloper
 Pinguin AG

[EMAIL PROTECTED]

T: +49.30.52 00 42 228, F: +49.30.52 00 42 229
 Hauptstr. 8, 10827 Berlin, Germany

www.pinguin.ag

---------------------------------------------------------

Sitz der Gesellschaft: Berlin-Schöneberg

AG Berlin-Charlottenburg: HRB 101380 B

Vorstand: Roland Becker (Vorsitzender), Alexander Kordecki,

Michael Malsch, Jens Zech

Aufsichtsratsvorsitzender: Clemens C. Vogelsberg




--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Reply via email to