• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

JavaScriptException: (TypeError): Object [object Object] has no method 'push'

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my code:


First of all LoginWindow and MainMenuWindow are actually Panels (com.gwtext.client.widgets.Panel).
The Exception accurs when the second panel is created, Doesnt matter what the order is.

What I am looking to achive, is moving from the login screen to the mainmenu screen.
How do I do this..?
do I redirect the url? do I change panels?
How do I associate a GWT window to a certain URL? except for using the entry point..

I`m guesing that my problem is in the design.
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
In future while posting code, please UseCodeTags. I have added them in your original post. As you can see they make the code much more easier to read and understand.

The Exception accurs when the second panel is created, Doesnt matter what the order is.


Can you paste the stack trace?
 
tomas schroeder
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Dont need Help, But thanks anyways.
I Have found the Problem:
It seems the problem is only on the Panel Class, And when using panels that extends that class, Any one of the meny class`s seem to work good.

I dont fully under stand the reason, but I this seems to be the solution.
 
Bras cause cancer. And tiny ads:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!