/home/caleb/ASDV-WebDev/Semester 2/Assignments/lab1-CalebFontenot/src/main/webapp/index.xhtml |
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html"> <h:head> <title>Facelet Title</title> </h:head> <h:form> Enter a programming language and I will tell you if it can be used to implement the JSF managed beans:<br/> <h:inputText value="#{languageBean.language}"/><br/> <h:commandButton value="Check Language" action="#{languageBean.showChoice}"/> </h:form> <h:body> <h:form> Press button to get to one of three possible results pages. <br/> <h:commandButton value="Go to Random Page" action="#{navigator.choosePage}"/> </h:form> </h:body> </html>