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:p="http://primefaces.org/ui">
  6. <h:head>
  7. <title>Facelet Title</title>
  8. </h:head>
  9. <h:body>
  10. <h:form id="form1">
  11. <p:commandButton id="button" update=":form2" value="git" action="#{searchView.deneme}" />
  12. </h:form>
  13. <h:form id="form2">
  14. <p:dataTable id="tab" value="#{searchView.list}" var="liste">
  15. <p:column>
  16. #{liste}
  17. </p:column>
  18. </p:dataTable>
  19. </h:form>
  20. </h:body>
  21. </html>