Re: Problem with IE.

2010-01-16 Thread PS Neville
This may not be your issue, as usually there is an error available in
IE when it occurs, but it seems that IE ignores case when looking at
module name and div id, so if you have the default generated shell --
a module name and div root panel of the same name -- it won't fully
load in IE but will work fine in other browsers which pay closer
attention to case.

In other words, if your module is renamed to 'myapp' and the div in
your HTML shell has an id of 'myApp' and if you are using RootPanel.get
(myApp).add(..), then you probably need to change the name of the
div (div id=myAppContainer for example, and then RootPanel.get
(myAppContainer).add(..) as well).

This is an issue which strikes many people starting out with GWT, and
I think the generated HTML template really ought to use a different
div id as a result, even though the problem is clearly IE's.

I hope this was your problem, as the fix is easy -- but if not, I feel
your pain.

Also, for reference: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4003

psn

On Jan 7, 6:29 am, Jimmy Lee jim1...@gmail.com wrote:
 I am playing with GWT 2.0 and it just works fine with Chrome and FF,
 but not withIE.
 I have tested it withIE7 and8.

 Strange thing is that both show no errors at all and say module is
 loaded.
 There is no problem to view its source code throughIE.

 It sounds very normal but nothing is displayed.

 Anyone knows why?
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Announcing GWT 1.6 Milestone 2

2009-03-12 Thread PS

Hi All
   I have an issue, I want to drag and drop the panel, It can be
horizontal or vertical or any other panel so that i can change it
property(like change its size), but it is not supporting for the
panels it is supporting for simple widgets like label,button,text box
and able to change it property also.



I try to do but facing issue.
Example:
AbsolutePanel ab=new AbsolutePanel();
Label LHP = new Label(HorizontalPanel);
LHP.addClickHandler(new ClickHandler(){
public void onClick(ClickEvent event) {
  HorizontalPanel newHP = new HorizontalPanel();
 newHP.setSize(50, 50);  // on click panel size must be
fixed,user can change it size
 newHP.setBorderWidth(2);// broder
 ab.add(newHP);  // adding panel to absolutePanel
dragController.makeDraggable(newHP);

// This listner is called when a panel is clicked
 newHP.addMouseDownHandler(new MouseDownHandler(){
public void onMouseDown(MouseDownEvent event) {
// TODO Auto-generated method stub
Label proplab=new Label(Property Pallet);
}

});

Here addMouseDownHandler it is not supporting please any one can help
me in this regard.

regards
Lokesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---