I have just heard about RevealRootLayoutContentEvent yesterday. I have no idea of how to use it whatsoever in GWTP.

Ok, i am using GWTP on eClipse to crease a presenter like the following picture enter image description here

We first need to select RevealRootLayoutContentEvent when create the Presenter, eClipse will generate some file, then what to do next?

Can anyone give me an a very simple example of how to use RevealRootLayoutContentEvent in GWTP?

有帮助吗?

解决方案

Read http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html#LayoutPanels

If you use RevealRootLayoutContentEvent your application will be put inside RootLayoutPanel. In this case you should avoid using no-"...Layout..." panels.

If you use RevealRootContentEvent RootPanel will be used.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top