Hi Raney, Ask in the appengine-java list. I am sure they can hep you.
Robert On Tue, Nov 16, 2010 at 07:31, RRRaney <[email protected]> wrote: > Hello Robert, > > I am certainly having trouble explaining this one. > > I am using the Eclipse IDE with the Google AppEngine Plugin. > > When I create a New Web Application Project an AppEngine Application > is generated. > This includes one HTML page some Java code that implements the RPC > services and a couple of XML files that establish the Servelet Mapping > and Entry point for the Application. > > I think that I have some (not great) idea of what all of this is > doing. > > In the onModuleLoad of the EntryPoint for the generated Application a > Submit button is added to the only HTML page, > A ClickHandler with a ClickEvent is added to ‘listen’ for the user to > Click on the Submit button. > > The sendButtonContainer is defined in the one and only HTML file. > > This is in the onModuleLoad on the EntryPoint class. > > final Button sendButton = new Button("Send"); > RootPanel.get("sendButtonContainer").add(sendButton); > > class MyHandler implements ClickHandler, KeyUpHandler > { > public void onClick(ClickEvent event) > { > sendNameToServer(); > } > > public void onKeyUp(KeyUpEvent event) > { > if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) > { > sendNameToServer(); > } > } > } > > My Launch button (the equivalent of the Submit button) is not on the > first and only page of the Application. > > > I just can’t seem to grasp the concept of how to ‘listen’ for my > Launch button on the HTML page that it is defined in. > > Thanks, > > Raney > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
