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
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
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
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
?
--
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
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
, 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.
/ERROR%3A-Value-is-not-a-valid-option-tf3270984.html#a9826625
Sent from the MyFaces - Users mailing list archive at Nabble.com.
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
|| 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
();
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
-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
--
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.
|| 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
();
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
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
:
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
= 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
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
=#{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
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
-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
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.
?
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
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.
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
}/
/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
--
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
?
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
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
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
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
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
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
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
35 matches
Mail list logo