It looks like a problem with the setter method setSystem(...) in DealBean.
Can you post a stacktrace and the signature for the setter method?
2005/9/20, Cash, Jamie <[EMAIL PROTECTED]>:
> I have found a problem with the selectOneListBox on the new myfaces release
> (1.1.0).
>
> When creatng a listbox as in my jsp as follows:
>
> <h:selectOneListbox id="system" size="1" value="#{DealBean.system}">
> <f:selectItem itemValue="0" itemLabel="Please Select..." />
> <f:selectItems value="#{DealBean.systemList}" />
> </h:selectOneListbox>
>
> where getSystemList is defined as follows:
>
> public List<SelectItem> getSystemList()
> {
> // what to return
> List<SelectItem> items = new ArrayList<SelectItem>();
>
> // Add Systems
> items.add(new SelectItem("FAST", "FAST"));
> items.add(new SelectItem("iFAST", "iFAST"));
> items.add(new SelectItem("AWD", "AWD"));
>
> return items;
> }
>
> I get the following error when I hit the page:
> javax.servlet.ServletException: ServletException in '/Login.jsp': Conversion
> Error setting value ''{0}'' for ''{1}'.
>
> This used to work successfully in myfaces 1.0.9.
>
> Regards
>
> __________________________
> I N T E R N A T I O N A L F I N A N C I A L D A T A S E R V I C
> ES
> Jamie Cash
> Technical Architect
> IFDS House, St Nicholas Lane, Basildon, SS15 5FS
> Tel: 01268 44 3739
> email: [EMAIL PROTECTED]
> _______________________________
>
>
>
>
> INTERNATIONAL FINANCIAL DATA SERVICES (UK) LTD Tel: +44 1268 44 3000
> ********************** N O T I C E *********************************
>
> This message and any attachments is intended only for the individual or
> company to which it is addressed and may contain
> information which is privileged, confidential or prohibited from disclosure
> or unauthorised use. If the recipient of this
> transmission is not the intended recipient, or the employee or agent
> responsible for delivering such materials to the
> intended recipient, you are hereby notified that any use, any form of
> reproduction, dissemination, copying, disclosure,
> modification, distribution and/or publication of this e-mail message or its
> attachments other than by it's intended
> recipient is strictly prohibited by the sender. If you have received it in
> error, please notify us immediately by
> telephone on the number above and destroy the message and all copies in your
> possession.
>
> International Financial Data Services (UK) Ltd is authorised and regulated by
> the Financial Services Authority.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> **********************************************************************
>
>
--
Mathias