Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

study-plan-input.xhtml

By: Fhernd on Jun 8th, 2012  |  syntax: HTML  |  size: 1.10 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4.      xmlns:h="http://java.sun.com/jsf/html"
  5.      xmlns:f="http://java.sun.com/jsf/core">
  6.     <h:head>
  7.         <title>Start Page</title>
  8.     </h:head>
  9.     <h:body>
  10.                 <h:form>
  11.                         Email address:
  12.                         <h:inputText value="#{trainingForm.emailAddress}"/><br/>
  13.                         Favorite language:
  14.                         <h:inputText value="#{trainingForm.favoriteLanguage}"/><br/>
  15.                         Second favorite language:
  16.                         <h:selectOneMenu value="#{trainingForm.secondFavoriteLanguage}">
  17.                                 <f:selectItems value="#{trainingForm.availableLanguages}"/>
  18.                         </h:selectOneMenu><br/>
  19.                        
  20.                         Programmed for 5+ years?
  21.                         <h:selectBooleanCheckbox value="#{trainingForm.expert}"/><br/>
  22.                         Personally know Larry Page, Steve Balmer, and James Gosling?
  23.                         <h:selectBooleanCheckbox value="#{trainingForm.liar}" /><br/>
  24.                         <h:commandButton value="Show Recommended Study Plan"
  25.                                                          action="#{trainingForm.showTrainingPlan}"/>
  26.                 </h:form>
  27.     </h:body>
  28. </html>