File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes SelectOneMenu problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "SelectOneMenu problem" Watch "SelectOneMenu problem" New topic

SelectOneMenu problem

Rehana Shaik
Ranch Hand

Joined: Jan 03, 2003
Posts: 33
Hi all,
I am having a dropdown menu which is getting values from a previous page result and displaying it properly in my second page. But when i submit my second page i am getting following error. I am adding results to a model bean in first page action and accessing same model bean in my second page.My bean scope is request scope.

E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.util.NoSuchElementException
at javax.faces.component.UISelectOne.matchValue(
at javax.faces.component.UISelectOne.validate(
at javax.faces.component.UIInput.executeValidate(
at javax.faces.component.UIInput.processValidators(
at javax.faces.component.UIForm.processValidators(
at javax.faces.component.UIComponentBase.processValidators(
at javax.faces.component.UIComponentBase.processValidators(
at javax.faces.component.UIViewRoot.processValidators(
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(
at com.sun.faces.lifecycle.LifecycleImpl.phase(
at com.sun.faces.lifecycle.LifecycleImpl.execute(

Thanks in advance
Daniel Prene
Ranch Hand

Joined: Jul 15, 2005
Posts: 241
I'm having some isues myself... could you please post your code? Maybe we can help eachother out
I agree. Here's the link:
subject: SelectOneMenu problem
jQuery in Action, 3rd edition