GWT Modules and Web Pages

前端 未结 4 473
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 15:02

I am new to GWT and am going through the docs, examples, demos etc.

All the examples seem to have just one module which is loaded by a single html page contained in the

4条回答
  •  被撕碎了的回忆
    2021-02-04 15:18

    In short: Yes you can have multiple different pages in a GWT app.

    Full: You can do his in several ways, the easiest is to use the XML file where you can list the various URL points (the same you use to specify the RPC call back URL) to list multiple URL's and the corresponding classes (each class will need to inherit the correct classes to ensure it is a front end)

    You can also simply generate different screens based on different variables in the same class, however this will complicate the code and lead to messy designs.

提交回复
热议问题