/home/caleb/ASDV-WebDev/Semester 3/Exams-Quizzes/ProgrammingQuiz1_CalebFontenot/src/main/webapp/problem1.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="jakarta.faces.html" xmlns:p="http://primefaces.org/ui" xmlns:f="jakarta.faces.core"> <h:head> <title>Facelet Title</title> </h:head> <h:body> <h:form id="myForm"> Prompt 1: <h:inputText id="input1" value="#{problem1Bean.input1Text}"> <f:ajax event="keyup" listener="#{problem1Bean.prompt1EntryHandler}" render="input2"/> </h:inputText> <br/> Prompt 2: <h:inputText id="input2" value="#{problem1Bean.input2Text}"> <f:ajax event="keyup" listener="#{problem1Bean.prompt2EntryHandler}" render="input3" /> </h:inputText> <br/> Prompt 3: <h:inputText id="input3" value="#{problem1Bean.input3Text}"> <f:ajax event="keyup" listener="#{problem1Bean.prompt3EntryHandler}" render="input1"/> </h:inputText> <br/> </h:form> </h:body> </html>