File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Problem with a Managed Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with a Managed Bean" Watch "Problem with a Managed Bean" New topic
Author

Problem with a Managed Bean

Jhon Ortiz
Greenhorn

Joined: May 28, 2009
Posts: 16
Hi!

I'm learning JSF, and I following this tutorial: http://goo.gl/a99Ln (from: http://www.coreservlets.com). In section about Prepopulating Input Fields I have created the necessary forms and classes, as follows:

- study-plan-input.xhtml: http://pastebin.com/qqzVLkCm

- TrainingForm.java: http://pastebin.com/9ZpLhZx0

- LanguageUtils.java: http://pastebin.com/ir1k5B8g

- study-plan.xhtml: http://pastebin.com/0Djshf15

- liar.xhtml: http://pastebin.com/30Y0S4mG


But when I try to test the code directly from the browser it does not do anything. I have tried change properties names, checked the entire code on http://goo.gl/a99Ln, run in other browsers, but I haven't solved the problem...

What is happening with this example? Can you help me with that?


Thanks in advance for your help!

So long!
Jhon Ortiz
Greenhorn

Joined: May 28, 2009
Posts: 16
I have solved the problem. It only consisted in add some symbols to EL in study-plan-input.xhtml, and remove a error from study-plan.xhtml (ui:repeat).

Thanks anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with a Managed Bean
 
Similar Threads
Books on JAVAFX?
Is it necessary to restart the server each time before running , when using JSTL?
Best Place to Store Temp Code Snippets Online?
application deployed on jboss doesn't update db schema
SWT: Why do I get "MeterToInch2.java:24:5: non-static variable label cannot be.."?