I have the same error few times ago. Try this, make you Bean implements Serializable.
2010/9/23 Daniel <[email protected]> > I'm want to use the <f:ajax tag of the JSF 2 on app engine... but > without any luck > > I tried some very simple examples taken from > > http://mkblog.exadel.com/2010/04/learning-jsf-2-ajax-in-jsf-using-fajax-tag/ > > all of them works perfectly on local Tomcat (not GAE) > > But when i try the same on GAE, nothing works, im not getting any > errors.. its just do nothing... > Here the simplest example > > On each char type I'm supposed to sea the same char typed beneath and > beneath it a counter of chars (text length) - again.. this works > perfectly on tomcat server... (not GAE) > > > Any ideas what am i missing? > > <h:form> > <h:panelGrid> > <h:inputText value="#{bean.text}" > > <f:ajax event="keyup" render="text count" > listener="#{bean.countListener}"/> > </h:inputText> > <h:outputText id="text" value="#{bean.text}" /> > <h:outputText id="count" value="#{bean.count}" /> > </h:panelGrid> > </h:form> > > java code: > package general; > > import javax.faces.bean.ManagedBean; > import javax.faces.event.AjaxBehaviorEvent; > > @ManagedBean(name = "bean") > public class Bean { > private String text; // getter and setter > private Integer count; > > > public void countListener(AjaxBehaviorEvent event) { > count = text.length(); > } > > public String getText() { > return text; > } > > public void setText(String text) { > this.text = text; > } > > public Integer getCount() { > return count; > } > > public void setCount(Integer count) { > this.count = count; > } > > } > > > Thanks ahead. > > Daniel > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
