I tried this too... but its the same.. does not work :/

On Sep 24, 6:15 pm, "Chris (Google Employee)" <api.ch...@google.com>
wrote:
> Hi Daniel,
>
> For a possible workaround, have you tried manually coding the
> JavaScript for the Ajax request call?
>
> For example, instead of:
> <h:commandButton">
>   <f:ajax render="foo"/>
> </h:commandButton>
>
> ... manually coding the JavaScript for the Ajax request call would be:
>
> <h:commandButton onclick="jsf.ajax.request(this,event,
> {render:'foo'});return false;"/>
>
> This was taken 
> from:http://andyschwartz.wordpress.com/2009/07/31/whats-new-in-jsf-2/#ajax...
>
> Also, is this the only JSF2 tag that you've encountered that does't
> appear to be working in App Engine?
> -Chris
>
> On Sep 24, 8:31 am, Daniel <vedm...@gmail.com> wrote:
>
> > I tried also mojarra-2.0.3-FCS-binary.zip but without any luck also..
> > no ajax for me :/
>
> > On Sep 23, 9:22 pm, Daniel <vedm...@gmail.com> wrote:
>
> > > Hi
> > > this does not help... same behavior...
>
> > > i got my jsf jars from here 
> > > :http://javadocs.wordpress.com/2009/10/17/mojarra-jsf-2-0-rc2-and-goog...
> > > and followed the setting of web.xml from 
> > > herehttps://sites.google.com/a/wildstartech.com/adventures-in-java/Java-P...
>
> > > maybe you used different sources? if you do please let me know, also
> > > maybe you can post your web.xml ? might be i missed something...
>
> > > any other ideas are welcomed.
>
> > > Thanks ahead
>
> > > Daniel
>
> > > On Sep 23, 3:24 pm, Jaziel Leandro <jaziel...@gmail.com> wrote:
>
> > > > I have the same error few times ago.
> > > > Try this, make you Bean implements Serializable.
>
> > > > 2010/9/23 Daniel <vedm...@gmail.com>
>
> > > > > 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-faj...
>
> > > > > 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<google-appengine-java%2B
> > > > >  unsubscr...@googlegroups.com>
> > > > > .
> > > > > 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 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