Hi -
I am trying to create a Hello World project including the Developer Console and the Visual Builder in NetBeans 6.8 on WinXP using a recently downloaded 60-day trial copy of SmartGWT EE (Enterprise Edition) version 2.0.
The Developer Console displays fine. Howevever, an error message appears when attempting to display the Visual Builder. (Details below.)
Also, I am curious if the warning dialog saying "Isomorphic SmartClient is expired" is simply a "nag" screen displayed because I am using a *trial* copy of SmartGWT EE 2.0. It was downloaded a few days ago from here:
http://smartclient.com/releases/smar...tgwtee-2.0.zip
+++
The project was developed following the instructions in the FAQ to launch the Developer Console and the Visual Builder:
http://forums.smartclient.com/showth...=8159#aConsole
http://forums.smartclient.com/showth...aVisualBuilder
+++
Here's the results:
(1) When I first browse to the app, a warning dialog appears:
Note: This copy of Isomorphic SmartClient is expired. See http://www.isomorphic.com for a renewal.
Am I correct to assume that this is simply a "nag" screen being displayed because I am using a *trial* copy of SmartGWT EE (Enterprise Edition)?
(2) When I try to display the Developer Console by pasting:
javascript:isc.showConsole()
into the browser URL, this works correctly, displaying the Developer Console in a pop-up window (in IE) or in a new tab (in Chrome). (I haven't tested in Firefox yet :-).
(3) When I try to display the Visual Builder by clicking on the 'Visual Builder' button on the page (added by adapting the code from http://forums.smartclient.com/showth...aVisualBuilder as shown in the MainEntryPoint.java listing shown below), I get a new page showing the following error message:
+++
Here's my MainEntryPoint.java file, which includes code to display Button vbButton adapted from:
http://forums.smartclient.com/showth...aVisualBuilder
Here's the Main.gwt.xml file, inheriting the appropriate modules:
+++
So almost everything seems to be working fine except I can't get the Visual Builder to display.
Thanks for any help.
I am trying to create a Hello World project including the Developer Console and the Visual Builder in NetBeans 6.8 on WinXP using a recently downloaded 60-day trial copy of SmartGWT EE (Enterprise Edition) version 2.0.
The Developer Console displays fine. Howevever, an error message appears when attempting to display the Visual Builder. (Details below.)
Also, I am curious if the warning dialog saying "Isomorphic SmartClient is expired" is simply a "nag" screen displayed because I am using a *trial* copy of SmartGWT EE 2.0. It was downloaded a few days ago from here:
http://smartclient.com/releases/smar...tgwtee-2.0.zip
+++
The project was developed following the instructions in the FAQ to launch the Developer Console and the Visual Builder:
http://forums.smartclient.com/showth...=8159#aConsole
http://forums.smartclient.com/showth...aVisualBuilder
+++
Here's the results:
(1) When I first browse to the app, a warning dialog appears:
Note: This copy of Isomorphic SmartClient is expired. See http://www.isomorphic.com for a renewal.
Am I correct to assume that this is simply a "nag" screen being displayed because I am using a *trial* copy of SmartGWT EE (Enterprise Edition)?
(2) When I try to display the Developer Console by pasting:
javascript:isc.showConsole()
into the browser URL, this works correctly, displaying the Developer Console in a pop-up window (in IE) or in a new tab (in Chrome). (I haven't tested in Firefox yet :-).
(3) When I try to display the Visual Builder by clicking on the 'Visual Builder' button on the page (added by adapting the code from http://forums.smartclient.com/showth...aVisualBuilder as shown in the MainEntryPoint.java listing shown below), I get a new page showing the following error message:
Code:
HTTP Status 500 type - Exception report message - description - The server encountered an internal error () that prevented it from fulfilling this request. exception - org.apache.jasper.JasperException: /org.yournamehere.Main/tools/visualBuilder/index.jsp(1,61) PWC6117: File "/WEB-INF/iscTaglib.xml" not found note - The full stack traces of the exception and its root causes are available in the GlassFish v3 logs. GlassFish v3
Here's my MainEntryPoint.java file, which includes code to display Button vbButton adapted from:
http://forums.smartclient.com/showth...aVisualBuilder
Code:
package org.yournamehere.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; public class MainEntryPoint implements EntryPoint { public MainEntryPoint() { } /** * The entry point method, called automatically by loading a module * that declares an implementing class as an entry-point */ public void onModuleLoad() { final Label label = new Label("Hello, GWT!!!"); final Button button = new Button("Click me!"); button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { label.setVisible(!label.isVisible()); } }); RootPanel.get().add(button); RootPanel.get().add(label); /** * Create a button to display the Visual Builder, adapting the code from: * http://forums.smartclient.com/showthread.php?t=8159#aVisualBuilder */ final Button vbButton = new Button("VisualBuilder"); vbButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { com.smartgwtee.tools.client.SCEE.openVisualBuilder(); } }); RootPanel.get().add(vbButton); } }
Here's the Main.gwt.xml file, inheriting the appropriate modules:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd"> <module> <inherits name="com.google.gwt.user.User"/> <inherits name="com.smartgwt.SmartGwt" /> <inherits name="com.smartgwtee.SmartGwtEE"/> <inherits name="com.smartgwtee.tools.Tools"/> <entry-point class="org.yournamehere.client.MainEntryPoint"/> </module>
So almost everything seems to be working fine except I can't get the Visual Builder to display.
Thanks for any help.