This content has been marked as final.
Show 3 replies
-
1. <h:commandButton> and <h:commandLink> support on JSF2.0
ssilvert May 11, 2011 7:47 AM (in response to selfcare)Yes they are supported in JSF 2.0.
Stan
-
2. <h:commandButton> and <h:commandLink> support on JSF2.0
selfcare May 11, 2011 9:34 AM (in response to ssilvert)Hi Stan,
Thanks.
But, my code <h:commandButton value="Submit" action="myBean.getData"></h:commandButton>
(which is in a .xhtml file) gives this error
"Unable to find matching navigation case with from-view-id '/HomePage.xhtml' for action 'myBean.getData' with outcome 'myBean.getData' "
And I got to know from somewhere that instead of <h:commandButton> and <h:commandLink>, use <h:button> and <h:link> in JSF 2.0
Regards,
-
3. <h:commandButton> and <h:commandLink> support on JSF2.0
ssilvert May 11, 2011 11:09 AM (in response to selfcare)All four of those tags are in JSF 2.0.
I think you meant to say:
<h:commandButton value="Submit" action="#{myBean.getData}"/>
Please read a book on JSF and learn to use javadocs and Google.
Stan