I failed only stylesheet, I always could be error!!!!
What could it be?
On 13 Gen, 20:00, "Dariusz Borowski" <[email protected]> wrote:
> I think, you are missing some things in you *.gwt.xml
>
> Take this as an example:
>
> 1. <module>
> 2.
> 3. <!– Inherit the core Web Toolkit stuff. –>
> 4. <inherits name='com.google.gwt.user.User'/>
> 5. <!– Inherit the GWTExt Toolkit library configuration. –>
> 6. <inherits name='com.gwtext.GwtExt' />
> 7.
> 8. <!– Specify the app entry point class. –>
> 9. <entry-point class='your.package.where.the.module.is.Main'/>
> 10.
> 11. <stylesheet src="js/ext/resources/css/ext-all.css" />
> 12. <script src="js/ext/adapter/ext/ext-base.js" />
> 13. <script src="js/ext/ext-all.js" />
> 14.
> 15. </module>
>
> On Tue, Jan 13, 2009 at 3:28 PM, frankCostello <[email protected]> wrote:
>
> > I made a simple application to test Gwt-Ext but give me error.. the
> > error is this :
> > [ERROR] Unable to load module entry point class gwt.client.Application
> > (see associated exception for details)
> > com.google.gwt.core.client.JavaScriptException: (TypeError): Undefined
> > value
> > line: 119
> > sourceURL: jar:file:/Users/smartsr/Uni/tirocinio/gwtext-2.0.5/
> > gwtext.jar!/com/gwtext/client/widgets/Component.java
> > at com.gwtext.client.widgets.Component.checkExtVer(Native
> > Method)
> > at com.gwtext.client.widgets.Component.<clinit>(Component.java:
> > 108)
> > at gwt.client.Application.onModuleLoad(Application.java:13)
>
> > my apps is:
>
> > import com.google.gwt.core.client.EntryPoint;
> > import com.gwtext.client.widgets.Button;
> > import com.gwtext.client.widgets.Panel;
> > import com.gwtext.client.widgets.Viewport;
>
> > public class Application implements EntryPoint {
>
> > public void onModuleLoad() {
> > Panel panel = new Panel();
> > panel.setBorder(false);
> > panel.setPaddings(15);
> > Button b=new Button("prova");
>
> > panel.add(b);
>
> > Viewport view=new Viewport(panel);
>
> > }
> > }
>
> > xml file is:
> > <module>
>
> > <!-- Inherit the core Web Toolkit stuff. -->
> > <inherits name='com.google.gwt.user.User'/>
> > <inherits name='com.gwtext.GwtExt'/>
>
> > <!-- Specify the app entry point class. -->
> > <entry-point class='gwt.client.Application'/>
>
> > </module>
>
> > I also create a folder js where i put ext 2.0.2
>
> > html file is:
>
> > <html>
> > <head>
> > <title>Wrapper HTML for Application</title>
> > <style>
> > body,td,a,div,.p{font-family:arial,sans-serif}
> > div,td{color:#000000}
> > a:link,.w,.w a:link{color:#0000cc}
> > a:visited{color:#551a8b}
> > a:active{color:#ff0000}
>
> > <link rel="stylesheet" type="text/css" href="js/ext/
> > resources/css/
> > ext-all.css"/>
> > <script type="text/javascript" src="js/ext/adapter/ext/
> > ext-
> > base.js"></script>
> > <script type="text/javascript" src="js/ext/ext-
> > all.js"></script>
>
> > </style>
>
> > </head>
> > <body>
> > <iframe src="javascript:''" id="__gwt_historyFrame"
> > style="width:
> > 0;height:0;border:0"></iframe>
> > <script type="text/javascript" language="javascript"
> > src="gwt.Application.nocache.js"></script>
> > </body>
> > </html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---