aspose file tools
The moose likes JSF and the fly likes CommandButton not recognising bean method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "CommandButton not recognising bean method" Watch "CommandButton not recognising bean method" New topic
Author

CommandButton not recognising bean method

Alan Smith
Ranch Hand

Joined: Oct 19, 2011
Posts: 150

Hi,

Can someone give me pointers as to why my command buttons action attribute is not recognising a bean method I give to it?





EDIT: STUPID MISTAKE, GOT IT WORKING!

If I put "result" into the action attribute, it works and forwards to a results.xhtml page. Also, even though it doesn't read the forward method, when I click submit the URL changes from 'http://localhost:8080/JSF/' (default url when I run the app) to 'http://localhost:8080/JSF/faces/index.xhtml' but the result page doesn't show up. Something must be happening if the url is changing though.

Thanks,
Alan
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: CommandButton not recognising bean method
 
Similar Threads
Button action problem in richfaces
Issue with my webApp
Question regarding javaeetutorial.pdf -- about .xhtml and .java files
@Named vs @ManagedBean
JSF 2.0 Login