• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in populating textbox in jsf on clicking submit button

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having inputText box, dropdownlist , outputText box and a submit button in my jsp page.

I am pre populating the dropdown list from my managed bean.
On clicking the submit button and based on selected item from the drop down list, I need to perform populating outputText box.

Page is coming up but lstService dropdown box is not displayed at all. But mnNum inputText and submitButton is showing properly.
Also after pressing submit button, "abc" text must be displayed in outputText box. But its also not displayed. Instead, the below error is shown,

Error opening /portlets/tools/webservicehelper/webservicehelper.faces.
The source of this error is:

java.util.MissingResourceException: Can't find bundle for base name resources.bundles.ValidationMessages, locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:962) at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:102) at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:175) at javax.faces.component.UIInput.validateValue(UIInput.java:1001) at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:130) at javax.faces.component.UIInput.validate(UIInput.java:868) at

Any problems in below code?

My entire code below for UserBean.java and webservicehelper.jsp.


 
reply
    Bookmark Topic Watch Topic
  • New Topic