I have installed the JSF2.0 project with Maven. Everything works to deal with fine work: - (
Here is my .xhtml page:
gt; & lt; h : CommandButton id = "submit" value = "missing" action = "# (project controller. SaveProject)" & gt; & lt: command button & gt; & lt; / h: form & gt; And my Managed Been Here:
@ManagedBean @ Session Public Scale Project Controller {Project for saving public strings {System.out.println ("test "); Return (" / newProject.xhtml ");} ... When I push the button I do not try to do anything ... no error message ... but data compulsory works! Only verb / action listers do not work
Perhaps someone has answers for me :-) Cheers
Your operation is misspelled. Use the curly bracket, then it should work:
action = "# {projectController.saveProject}" & gt;
Comments
Post a Comment