Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

action is not going to facesconfig.xml from login page  RSS feed

 
Babu kalagara
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a login page with text box and command buttton. After clicking the button it is not navigating to the page which I wanted.I would appreciate if you have any answers fore this problem









Thank you,
Babu
 
Eugene Abarquez
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you use method binding. Like so:


In your bean add thius method:

public String clickSearch(){

}
 
Eugene Abarquez
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you use method binding. Like so:


In your bean add this method:


Then modify your faces-config.xml to bind the method you just added:


In your jsp page, change the commandButton:
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!