Instead of server dispatching/forwarding to a new page as in
traditional web flows,
I send the page name as response to BROWSER, and used GWT -
onSubmitComplete
event to go to new page.
====== HERE CLIENT side code ====
formPanel.addSubmitCompleteHandler(new
FormPanel.SubmitCompleteHandler() {
              public void onSubmitComplete(SubmitCompleteEvent event) {
                  shownextpage("/page2.html");
              }
            });
--------------------------------------------------------------------------------------
private native void shownextpage(String message) /*-{
        $wnd.alert(message);
        $wnd.location.href="/page2.html";
        }-*/;
-------------------------------------------------------------------------------------------

On Dec 28, 3:10 am, dreamer <[email protected]> wrote:
> Hi,
>
> I have a GWT entry point that submits to servlet , build using
> "FormPanel".
> I am trying to build page flow using servlet "RequestDispatcher" or
> "sendRedirect", even though no exception GAE is not forwarding to next
> page.

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

Reply via email to