Hi!

Your onModule() function looks ok to me, but zour gwt.xml is a little bit
different.

Try out this one:


   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='org.yourpackage.YourClass'/>
   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>

Did you include your Ext stuff into your public folder?

Dariusz




On Wed, Aug 27, 2008 at 12:31 AM, Sanat Mastan Kumar
<[EMAIL PROTECTED]>wrote:

>  Hi Dariusz,
>
> This is my onload module code. I even included gwt-user.jar...
>
>     public void onModuleLoad() {
>         Panel panel = new Panel();
>         panel.setBorder(false);
>         panel.setPaddings(15);
>
>         panel.setLayout(new HorizontalLayout(15));
>
>         Panel accordionPanel = createAccordionPanel();
>         accordionPanel.setTitle("Accordion Panel");
>         accordionPanel.setHeight(400);
>         accordionPanel.setWidth(200);
>
>         Button button = new Button("Show Accordion in Window", new
> ButtonListenerAdapter() {
>             public void onClick(Button button, EventObject e) {
>                 Panel accordionPanel = createAccordionPanel();
>                 Window window = new Window();
>                 window.setTitle("Accordion Window");
>                 window.setWidth(200);
>                 window.setHeight(400);
>                 window.add(accordionPanel);
>                 window.show(button.getId());
>             }
>         });
>
>         panel.add(accordionPanel);
>         panel.add(button);
>
>         RootPanel.get().add(panel);
>     }
> =======================
> Leftnav.gwt.xml
>
> <module>
>
>       <!-- Inherit the core Web Toolkit stuff.                        -->
>       <inherits name='com.google.gwt.user.User'/>
>       <inherits name="com.gwtext.GwtExt"/>
>       <!-- Inherit the default GWT style sheet.  You can change       -->
>       <!-- the theme of your GWT application by uncommenting          -->
>       <!-- any one of the following lines.                            -->
>       <inherits name='com.google.gwt.user.theme.standard.Standard'/>
>       <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
>       <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->
>
>       <!-- Other module inherits                                      -->
>
>
>       <!-- Specify the app entry point class.                         -->
>       <entry-point class='com.hn.gwt.sample.leftnav.client.LeftNav'/>
>
>       <!-- Specify the application specific style sheet.              -->
>       <stylesheet src='LeftNav.css' />
>
> </module>
>
>
>
> On 8/26/08, Dariusz Borowski <[EMAIL PROTECTED]> wrote:
>>
>> Please, post your module and your onModulLoad() function. You need to
>> include the gwt-user.jar library as well.
>>
>>
>>
>> On Mon, Aug 25, 2008 at 6:30 AM, Sanat <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Hi All
>>> I am new to GWT, we have a requirement to use dynamic stack panel, i
>>> found gwt-ext accordion Layout, I tried to execute the sample in my
>>> local system using eclipse, i added gwtext.jar to my project, when i
>>> try to execute i am getting following error
>>>
>>> [ERROR] Unable to load module entry point class
>>> com.hn.gwt.sample.leftnav.client.LeftNav (see associated exception for
>>> details)
>>> com.google.gwt.core.client.JavaScriptException: (TypeError):
>>> '$wnd.Ext.StatusBar' is null or not an object
>>>  number: -2146823281
>>>  description: '$wnd.Ext.StatusBar' is null or not an object
>>>        at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
>>>        at
>>> com.gwtext.client.widgets.Component.<clinit>(Component.java:108)
>>>        at
>>> com.hn.gwt.sample.leftnav.client.LeftNav.onModuleLoad(LeftNav.java:
>>> 18)
>>>
>>> Please suggest.
>>>
>>> Sanat.
>>>
>>>
>>>
>>
>>
>> >>
>>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to