Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are three issues in your questions:</p> <ol> <li><p>how to specify the url of a gwt page.</p></li> <li><p>how to ensure that url is static.</p></li> <li><p>how to create a link to that gwt page from another gwt page.</p></li> </ol> <p>A GWT url is effected by the module name and package namespace and can be modified by the rename-to attribute. Say, the GWT module description file is named whatever.gwt.xml; and whatever module is placed at package namespace zoom.wonderful.world . The url of the module would be http ://hostnamespace:port/zoom.wonderful.world.whatever. But you can use the rename-to attribute to change it , the url would be http ://hostnamespace:port/holycow.</p> <p>But ... your module is not accessible by url unless you have an entrypoint - i.e. a gwt java file that implements EntryPoint.</p> <p>You can have more than one entry point in a module, but under most circumstances my opinion says that you should not unless you wish to begin a career into the most confusgated GWT code contest. The ui representations of all the entry points in a module would overlap. A similar confusgating overlap effect is available if you inherit an entry point.</p> <p>Behind my mind, I keep asking why you deliberately ask "static url", because the url of the entry point of a module is indeed static.</p> <p>Then in your other "gwt page", you merely include list the "static urls" of all the "gwt pages" either - in the hosting html file (which launches the module javascript-compiled files) - or, within a gwt widget that allows url links or html code to be included.</p> <p><a href="http://h2g2java.blessedgeek.com/2011/02/uibinder-check-list.html" rel="nofollow">http://h2g2java.blessedgeek.com/2011/02/uibinder-check-list.html</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload