public class MyApplet
extends org.soafaces.bundle.client.ui.SimplePOJOWeblet
implements com.google.gwt.event.dom.client.ClickHandler
Constructor and Description |
---|
MyApplet() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildUI(com.google.gwt.user.client.rpc.IsSerializable inputBean)
Method to implement in subclass.
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onSaveInputBean(org.soafaces.bundle.client.rpc.SuccessFailCallback callback)
This method should be used to save the state
of the GUI to the input JavaBean and perform
any necessary validation checks.
|
protected void buildUI(com.google.gwt.user.client.rpc.IsSerializable inputBean)
org.soafaces.bundle.client.ui.SimplePOJOWeblet
buildUI
in class org.soafaces.bundle.client.ui.SimplePOJOWeblet
inputBean
- Input JavaBeanpublic void onSaveInputBean(org.soafaces.bundle.client.rpc.SuccessFailCallback callback)
onSaveInputBean
in class org.soafaces.bundle.client.ui.Weblet
callback
- Used in this method to relay when the outside container
can safely save the input JavaBean. This is need in case
this method needs to perform an asynchronous call before
allowing the save to occur. Make sure to that callback.returnSuccess()
or callback.return.Failure()
are returned. It is highly
recommended to place this methods implementation in a try/catch/finally
to insure that returnSuccess or returnFailure is called.public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
Copyright © Grand Logic, Inc. All Rights Reserved.