开发者

Setting Entry point for different HTML pages

开发者 https://www.devze.com 2023-03-20 09:36 出处:网络
I am changing my html page by using Window.Location.replace(\"newURL\"); now I wan开发者_运维问答t to set the Entrypoint class for the html page having

I am changing my html page by using Window.Location.replace("newURL"); now I wan开发者_运维问答t to set the Entrypoint class for the html page having "newURL".

Thanks,

Aman


The HTML content of newURL can simply include the nocache.js file for a GWT module that uses the alternate EntryPoint.

Alternatively, you can compile a single module with multiple EntryPoint types, where each EntryPoint checks the url of the current page to determine wether or not it should perform any action.

0

精彩评论

暂无评论...
验证码 换一张
取 消