package votorola.s.gwt.stage; // Copyright 2011-2013, Michael Allan. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Votorola Software"), to deal in the Votorola Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicence, and/or sell copies of the Votorola Software, and to permit persons to whom the Votorola Software is furnished to do so, subject to the following conditions: The preceding copyright notice and this permission notice shall be included in all copies or substantial portions of the Votorola Software. THE VOTOROLA SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE VOTOROLA SOFTWARE OR THE USE OR OTHER DEALINGS IN THE VOTOROLA SOFTWARE. import votorola.a.web.gwt.*; import com.google.gwt.user.client.ui.RootPanel; /** The GWT entry module for embedding the stage in a non-GWT web page. An instance of * this class is automatically constructed and invoked per module definition * StageIn.gwt.xml. It * constructs a {@linkplain votorola.s.gwt.stage.StageV stage view} and ordinarily * inserts it as the first child of the body element, as detailed for {@linkplain * #insertStageV() insertStageV}(). To install it, add the following lines as * high as possible * in the head of the page, substituting the correct * value for CONTEXT: (links to working examples are provided farther * below)
* * <!-- - - * ! Crossforum Theatre stage of Votorola * ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * ! http://reluk.ca/project/votorola/_/javadoc/votorola/s/gwt/stage/StageIn.html * ! The GWT config script must precede the "nocache.js" boot script. * ! The style sheet must too, or layout may be unstable: * ! http://mail.zelea.com/list/votorola/2012-November/001540.html * ! Following is a standards-compliant downlevel-revealed conditional comment: * --> * <!--[if !IE]>--> * <script src='{@linkplain App#getServletContextLocation() CONTEXT}/w/publicConfig/gwt.js'></script> * <link rel='stylesheet' type='text/css' href='{@linkplain App#getServletContextLocation() CONTEXT}/stage/module.css'/> * <script src='{@linkplain App#getServletContextLocation() CONTEXT}/votorola.s.gwt.stage.StageIn/votorola.s.gwt.stage.StageIn.nocache.js'></script> * <!--<![endif]-->* * *