jsf 2 - ajax and viewscoped don't work on google app engine wit jsf2 and primefaces -


i want create 1 application jsf2.1 , primefaces , google app engine

but when tested :

    <?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:f="http://java.sun.com/jsf/core"     xmlns:h="http://java.sun.com/jsf/html"     xmlns:p="http://primefaces.org/ui"     xmlns:ui="http://java.sun.com/jsf/facelets">  <h:head>     <title>gae + jsf</title> </h:head> <h:body>     <h1>google app engine + jsf 2.0 example - hello.xhtml</h1>     <h:form>         <h:inputtext value="#{hellobean.name}"></h:inputtext>         <p:commandbutton value="welcome me" actionlistener="#{hellobean.tester}" update="dlg"         oncomplete="dlgw.show();" >         <f:setpropertyactionlistener value="#{hellobean.name}" target="#{hellobean.namedialog}" />               </p:commandbutton>         <p:dialog id="dlg" widgetvar="dlgw" >                 je suis #{hellobean.namedialog}         </p:dialog>     </h:form> </h:body> </html> 

the methode "tester" not invoked when click on commandbutton , dialog not launched

i don't know cause

here managed bean :

    package com.esperant;  import javax.faces.bean.managedbean; import javax.faces.bean.requestscoped; import javax.faces.bean.sessionscoped; import javax.faces.bean.viewscoped;  import java.io.serializable;  @managedbean @viewscoped public class hellobean implements serializable {      private static final long serialversionuid = 1l;      private string name;     private string namedialog;      public string getname() {         return name;     }      public void setname(string name) {         this.name = name;     }      public void tester(){         system.out.println("tester methode");     }      public string getnamedialog() {         return namedialog;     }      public void setnamedialog(string namedialog) {         this.namedialog = namedialog;     }  } 

do have idea problem

thank in advance


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -