Re: [Solved] ERROR: Value is not a valid option

2008-02-14 Thread Wolf Benz
anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- Martin Grotzke http

Re: ERROR: Value is not a valid option

2007-04-04 Thread Mike Kienenberger
it's the contents of the selectItem values. What are you initializing the selectItem value fields with? What's the contents of selectItem.value when it's of type String? -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9826625

Re: ERROR: Value is not a valid option

2007-04-04 Thread fastbob
like it's the contents of the selectItem values. What are you initializing the selectItem value fields with? What's the contents of selectItem.value when it's of type String? -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984

Re: ERROR: Value is not a valid option

2007-04-04 Thread Mike Kienenberger
with? What's the contents of selectItem.value when it's of type String? -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9826625 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context

Re: ERROR: Value is not a valid option

2007-04-04 Thread fastbob
? -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9826625 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid

Re: ERROR: Value is not a valid option

2007-04-03 Thread Jeff Bischoff
There are cases where I find the required attribute to be cumbersome. Whenever that occurs, I just move that check to my action methods. Don't know if that will make any difference in your case, but don't feel like you *have* to use required just because the spec provides it to you as an

Re: ERROR: Value is not a valid option

2007-04-03 Thread fastbob
, either through required=true or some other mechanism. -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9821363 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: ERROR: Value is not a valid option

2007-04-03 Thread fastbob
/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9826625 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: ERROR: Value is not a valid option

2007-04-03 Thread Mike Kienenberger
that's causing the issue. It looks like it's the contents of the selectItem values. What are you initializing the selectItem value fields with? What's the contents of selectItem.value when it's of type String? -- View this message in context: http://www.nabble.com/ERROR%3A-Value

Re: ERROR: Value is not a valid option

2007-04-02 Thread fastbob
|| value.equals(itemValue)) The exception is thrown by the call to equals in an EJB. I haven't come up with a low-cost way to fix this. Bob -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces

Re: ERROR: Value is not a valid option

2007-04-02 Thread Mike Kienenberger
(); if (value==itemValue || value.equals(itemValue)) The exception is thrown by the call to equals in an EJB. I haven't come up with a low-cost way to fix this. Bob -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021

Re: ERROR: Value is not a valid option

2007-04-02 Thread fastbob
-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762503 Sent from the MyFaces - Users mailing list archive

Re: ERROR: Value is not a valid option

2007-03-30 Thread fastbob
-- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: ERROR: Value is not a valid option

2007-03-30 Thread Mike Kienenberger
|| value.equals(itemValue)) The exception is thrown by the call to equals in an EJB. I haven't come up with a low-cost way to fix this. Bob -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces - Users mailing list archive

Re: ERROR: Value is not a valid option

2007-03-30 Thread fastbob
(); if (value==itemValue || value.equals(itemValue)) The exception is thrown by the call to equals in an EJB. I haven't come up with a low-cost way to fix this. Bob -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html

Re: ERROR: Value is not a valid option

2007-03-30 Thread Mike Kienenberger
in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762503 Sent from

Re: ERROR: Value is not a valid option

2007-03-30 Thread fastbob
: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762021 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9762503 Sent from the MyFaces

Re: ERROR: Value is not a valid option

2007-03-30 Thread Mike Kienenberger
= item.getValue(); if (value==itemValue || value.equals(itemValue)) The exception is thrown by the call to equals in an EJB. I haven't come up with a low-cost way to fix this. Bob -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option

Re: [Solved] ERROR: Value is not a valid option

2007-02-27 Thread CarlHowarth
Can anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread CarlHowarth
=#{reportsBean.containerTypeList }/ /h:selectOneMenu /h:panelGroup Can anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
value=#{reportsBean.containerTypeList }/ /h:selectOneMenu /h:panelGroup Can anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Martin Grotzke
-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- Martin Grotzke http://www.javakaffee.de/blog/ signature.asc Description: This is a digitally signed message part

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
Can anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Mike Kienenberger
in context: http://www.nabble.com/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Mike Kienenberger
it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
}/ /h:selectOneMenu /h:panelGroup Can anybody tell me why it is happening? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Mike Kienenberger
-- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive at Nabble.com. -- Martin Grotzke

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Kevin Galligan
? regards srinivas -- View this message in context: http://www.nabble.com/ERROR% 3A-Value-is-not-a-valid-option-tf3270984.html#a9155607 Sent from the MyFaces - Users mailing list archive

Re: [Solved] ERROR: Value is not a valid option

2007-02-26 Thread Mike Kienenberger
On 2/26/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Yes, that's how I would do it. If you specify an itemValue, then that value must be of the correct type. Ie, is not a containerType (Srinivas) and 0 is not a region (Carl). Another way to handle this is to provide your itemValues from

Re: ERROR: Value is not a valid option

2007-02-24 Thread Ernst Fastl
Hi, I have had a similar problem recently. Generally happens if the application is not able to find the selected value in the List of selectItems. This can be due to 2 possible situations: 1. The list is not available during validation - try using a t:saveState

Re: ERROR: Value is not a valid option

2007-02-24 Thread Mike Kienenberger
Does the error go away if you remove this line? f:selectItem itemValue= itemLabel= / I'm guessing that the empty string is not a valid container type. On 2/21/07, Srinivas V [EMAIL PROTECTED] wrote: Hi All, Please help me!! I am having an issue with SelectOneMenu. I have installed JSF

Re: [Solved] Validation error Value is not a valid option appeared since upgrade to 1.1.5

2007-02-22 Thread CarlHowarth
Further info... The select one has a list of select items, generated from a map of objects, using the object's ID as the value and a description property for text. The map's key value is the ID of the object. This control is still rendered correctly on page load. The converter simply does the

Validation error Value is not a valid option appeared since upgrade to 1.1.5

2007-02-21 Thread CarlHowarth
Hello there, I have just upgraded to MyFaces 1.1.5 from 1.1.4 and have come across a problem with the UISelectOne component, using a custom converter. When my form is submitted I now get a message on screen: Validation Error Region List: regionList: Value is not a valid option. Where

ERROR: Value is not a valid option

2007-02-21 Thread Srinivas V
Hi All, Please help me!! I am having an issue with SelectOneMenu. I have installed JSF 1.1.5-SNAPSHOT,Tomahawk1.1.5- SNAPSHOT and tomahawk-sandbox-1.1.5-SNAPSHOT. Previously i had myfaces1.1 jar I dint have issue with selectOneMenu before. Now when I submit the page, I am getting this jsf