Could it be that you in the server side are using a class that is not in the white list.
On 5 dic, 16:00, bcr666 <[email protected]> wrote: > I see the blank page in the hosted browser, and if I right click and > view source, the html is good. The hosted browser is not showing any > of the things I put on it though. > > html file > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <!-- The HTML 4.01 Transitional DOCTYPE declaration--> > <!-- above set at the top of the file will set --> > <!-- the browser's rendering engine into --> > <!-- "Quirks Mode". Replacing this declaration --> > <!-- with a "Standards Mode" doctype is supported, --> > <!-- but may lead to some differences in layout. --> > > <html> > <head> > <meta http-equiv="content-type" content="text/html; > charset=UTF-8"> > > <!-- > --> > <!-- Consider inlining CSS to reduce the number of requested files > --> > <!-- > --> > <link type="text/css" rel="stylesheet" > href="BackOfficeServices.css"> > > <!-- --> > <!-- Any title is fine --> > <!-- --> > <title>Web Application Starter Project</title> > > <!-- --> > <!-- This script loads your compiled module. --> > <!-- If you add any GWT meta tags, they must --> > <!-- be added before this line. --> > <!-- --> > <script type="text/javascript" language="javascript" > src="backofficeservices/backofficeservices.nocache.js"></script> > </head> > > <!-- --> > <!-- The body can have arbitrary html, or --> > <!-- you can leave the body empty if you want --> > <!-- to create a completely dynamic UI. --> > <!-- --> > <body> > > <!-- OPTIONAL: include this if you want history support --> > <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' > style="position:absolute;width:0;height:0;border:0"></iframe> > > <div id="backOfficeServices"></div> > </body> > </html> > > java file > > import com.google.gwt.core.client.*; > import com.google.gwt.user.client.ui.*; > > /** > * Entry point classes define <code>onModuleLoad()</code>. > */ > public class BackOfficeServices implements EntryPoint { > private VerticalPanel mainPanel = new VerticalPanel(); > private DockPanel titleAndToolPanel = new DockPanel(); > private ListBox toolListBox = new ListBox(); > private Label titleLabel = new Label("Back Office Services"); > > /** > * This is the entry point method. > */ > public void onModuleLoad() { > toolListBox.addItem("Back Office Object 1"); > toolListBox.addItem("Back Office Object 2"); > > titleAndToolPanel.add(titleLabel, DockPanel.WEST); > titleAndToolPanel.add(toolListBox, DockPanel.EAST); > > mainPanel.add(titleAndToolPanel); > // Add the nameField and sendButton to the RootPanel > // Use RootPanel.get() to get the entire body element > RootPanel.get("backOfficeServices").add(mainPanel); > } > > } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
