Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsf Simple Application  RSS feed

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am learning JSF. I was doing the simple application.

I am trying to submit an action but it doesn't hit the action at all and it always stays on the same page.

My Code:

PersonBean.java


messages.properties



faces-config.xml


web.xml


greeting.jsp


inputname.jsp



index.jsp



Thanks in advance.
 
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope there is some JSF remaining in my blood.
You aren't specifying a method to be called in your commandButton tag, you should provide something like:
#{someBean.someMethod}
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!