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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to