1) You sure that page2.xhtml is exists?
2) have you tried <h:commandButton id="button1" action="page2">
                        </h:commandButton>
    does it work for you?

3) I tried your code on latest mojarra implementation.. and it works
fine...
    If i were you, i would try to build a dynamic project in eclipse
and use the latest myfaces jars instead of which you use now... and if
it will work... than blame the jars you use (maybe they out dated),
and you can always switch to the mojarra    implementation

Regards.

Daniel

On Oct 27, 11:40 am, Daniel <vedm...@gmail.com> wrote:
> First of all what version of mojarra you use?
>
> In case you using the modified jar that was done by Josh for Google
> App Engine SDK 1.2.6 you should using the original mojarra jars.
>
> I wrote a short tutorial on how one can use the original mojarra jars
>
> You can find it here:
>
> [url]http://www.neverslair-blog.net/daniels-tips-and-tutorials/[/url]
>
> Daniel.
>
> On Oct 26, 11:06 am, "powell...@gmail.com" <powell...@gmail.com>
> wrote:
>
> > I cannot get Ajax to allow navigation to another page when a
> > h:commandButton is clicked. I use the classic command given in texts
> > as shown below but Ajax will always display the current page. In the
> > example below, I want to transition to the page2.xhtml page when I
> > click but I only get the current page redisplayed. I tried giving ajax
> > attributes of execute="@form" and even render="@form" without success.
> > Is this a known bug.
>
> > <h:form prependId="false">
> > ...
> > <h:commandButton id="button1" action="page2" >
> >    <f:ajax />
> > </h:commandButton>
> > </h:form>
>
> > Dave

-- 
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