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

action is not going to facesconfig.xml from login page

 
Babu kalagara
Greenhorn
Posts: 14
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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:
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic