File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in populating textbox in jsf on clicking submit button

 
Gopikrishna Gopal
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • 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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic