Andy,
The submitted value should be a String. This is the unconverted value.
-Mike
On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi!
>
> I have problems with ValueBindings (the binding attribute) with
> HtmlSelectOneMenu components.
> When I add such a binding to a component and load my page, the value in the
> HtmlSelectOneMenu is wrong (it's not the value, that was set)...
>
> Can somebody tell me, who I can bind a value to a HtmlSelectOneMenu.
>
> I have done the following:
> editDto.getSMsector().setSubmittedValue(test);
> editDto.setEdiId(test);
>
> getSMsector is the getter Method of my HtmlSelectOneMenu component.
> test is a Long Value.
>
> Do I have to set the value in another way?
>
> My JSP looks like this:
> <h:selectOneMenu binding="#{editDto.SMsector}" id="sector"
> styleClass="mustfield" value="#{editDto.ediId}" required="true">
>
> <f:selectItems value="#{queryHelper.edisector}" />
> </h:selectOneMenu>
>
>
> I hope it's clear what I mean, and I hope somebody can help me...
>
>
> THX very much!
>
> Regards
> Andy
> ______________________________________________________________________
> Diese Nachricht ist fuer die MAGNA STEYR Fahrzeugtechnik AG & Co KG
> rechtsunverbindlich! - This message is not legally binding upon MAGNA STEYR
> Fahrzeugtechnik AG & Co KG! This email and any files transmitted with it are
> confidential and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error please
> notify your system manager. This footnote also confirms that this email
> message has been swept for the presence of computer viruses.
> ______________________________________________________________________
>