Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top