Re: Problems with appendChild

2014-03-11 Thread Sagar Joglekar
hey Ryan, 
how were you able to solve this ? 
I am doing something similar on the client side, also I see this issue only 
with internet explorer. Not with Chorme or Mozilla or Opera. 
Your help is highly appreciated. 
Thanks


On Tuesday, May 15, 2007 1:38:24 AM UTC-7, Ryan wrote:

 Don't know what I was thinking on this, but I fixed the stupid
 errors...

 Is there any convenient way to convert a Document object to a string
 on the client side? I haven't found away so I have commented it out
 and am now just generating my own string since the Documents are
 simple.

 On May 1, 9:12 pm, Ryan ryan.det...@gmail.com wrote:
  I am trying to create an XML Document on the client side with the
  following code, but it doesn't seem to work at appendChild() if I call
  it consecutively.  I've pasted the code and the error.
 
  private Document genRequestMsg(){
  Document xml = XMLParser.createDocument();
 
  Element e = xml.createElement(action);
  e.setAttribute(type, request);
  xml.appendChild(e);
 
  e = xml.createElement(constraint);
  //xml.appendChild(e);  ERROR
 
  e = xml.createElement(page);
  e.appendChild(xml.createTextNode(new 
 Integer(pageNum).toString() ));
  //xml.appendChild(e);   ERROR
 
  e = xml.createElement(numperpage);
  e.appendChild(xml.createTextNode(new
  Integer(numPerPage).toString() ));
  //xml.appendChild(e);   ERROR
 
  return xml;
 
  [ERROR] Unable to load module entry point class com.myapp.client.MyApp
  com.google.gwt.xml.client.impl.DOMNodeException: Error during DOM
  manipulation of: action type=request/
  at 
 com.google.gwt.xml.client.impl.NodeImpl.appendChild(NodeImpl.java:
  84)
  at com.myapp.client.xmlMessage.genRequestMsg(xmlMessage.java:50)
  at com.myapp.client.xmlMessage.toString(xmlMessage.java:74)
  at java.lang.String.valueOf(String.java:2615)
  at java.io.PrintStream.print(PrintStream.java:616)
  at java.io.PrintStream.println(PrintStream.java:753)
  at 
 com.myapp.client.ui.ListTabWidget.init(ListTabWidget.java:32)
  at com.myapp.client.MyApp.onModuleLoad(MyApp.java:42)
  at
  
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
  39)
  at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
  25)
  Caused by: com.google.gwt.core.client.JavaScriptException: JavaScript
  Error exception: HIERARCHY_REQUEST_ERR: DOM Exception 3
  at
  
 com.google.gwt.dev.shell.mac.ModuleSpaceSaf.invokeNative(ModuleSpaceSaf.java:
  200)
  at
  
 com.google.gwt.dev.shell.mac.ModuleSpaceSaf.invokeNativeHandle(ModuleSpaceSaf.java:
  98)
  at
  
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeHandle(JavaScriptHost.java:
  79)
  at
  
 com.google.gwt.xml.client.impl.XMLParserImpl.appendChild(XMLParserImpl.java:
  36)
  at 
 com.google.gwt.xml.client.impl.NodeImpl.appendChild(NodeImpl.java:
  80)
  at com.myapp.client.xmlMessage.genRequestMsg(xmlMessage.java:50)
  at com.myapp.client.xmlMessage.toString(xmlMessage.java:74)
  at java.lang.String.valueOf(String.java:2615)
  at java.io.PrintStream.print(PrintStream.java:616)
  at java.io.PrintStream.println(PrintStream.java:753)
  at 
 com.myapp.client.ui.ListTabWidget.init(ListTabWidget.java:32)



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Texbox width greater than others

2010-04-12 Thread Sagar Samag

Thank you, Kozura,

My problem got resolved. I copied the code to a new GWT Project and it is 
working fine there without any change! But in the old project the same 
strange behavior continues. I checked CSS files. They are identical. I could 
not understand why this was happening.


Sagar
--
From: kozura koz...@gmail.com
Sent: Monday, April 12, 2010 10:37 AM
To: Google Web Toolkit google-web-toolkit@googlegroups.com
Subject: Re: Texbox width greater than others


Probably need to do panel.setCellWidth(text, 200px) since
VerticalPanel is doing implemented with a table.  If lined up
formatting is key you might find other panel widgets like Grid to be
easier.

On Apr 11, 10:23 pm, Sagar Samag samag.sa...@gmail.com wrote:
Am I missing something? I have very simple code to display a TextBox, a 
Dropdown and a Button. Why is the width of the Textbox greater than 
others? I checked in IE6, IE8 and Mozilla.


  TextBox text = new TextBox();
  ListBox list = new ListBox();
  Button button = new Button(Click me!);

  text.setWidth(200px);
  list.setWidth(200px);
  button.setWidth(200px);

  VerticalPanel panel = new VerticalPanel();

  panel.add(text);
  panel.add(list);
  panel.add(button);

  RootPanel.get().add(panel);

I am in the middle of code that needs abstraction over the widget. I need 
to display different widgets without knowing what they are. Different 
widths of controls are screwing my plans.


Can someone help me on this?

Thanks and Regards
Sagar Samag


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





--
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: Texbox width greater than others

2010-04-12 Thread Sagar Samag

Dear Chi H,

It is amazing. I am really thankful to you for the response. You are dead 
right. My earlier project was in Standard Mode and the new one is in Quirks 
mode.


The earlier html had following line:
!doctype html

And the new project has:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Thank you for solving the puzzle.

Sagar

--
From: Chi H c...@chi.ca
Sent: Monday, April 12, 2010 11:49 AM
To: Google Web Toolkit google-web-toolkit@googlegroups.com
Subject: Re: Texbox width greater than others


I've run into this problem before, it is a 'quirk' of the CSS
standards mode.  Take a look at the following HTML:

!DOCTYPE html
html
body
 input type='text' style='width: 300px;'br
 select style='width: 300px;'/selectbr
 button style='width: 300px;'nbsp;/buttonbr
 div style='width: 300px; background-color: red;'nbsp;/div
 input type='text' style='width: 300px; box-sizing: border-box; -moz-
box-sizing: border-box; -ms-box-sizing: border-box;-webkit-box-sizing:
border-box;'
/body
/html

In standards mode, the text box is wider than the other widgets.  If
you try quirks mode (by removing the first doctype line), all widgets
are the same width.  I bet the new project you tried is in quirks
mode, which would explain why you get identical widths.

In standards mode, the text box defaults to using the content box
model, so when you specify the width of the textbox, you are actually
specifying the width of the inner area, not including the padding or
border.   If you force the text box to use the border box model (which
is what I did in the last row of that sample HTML), you'll see that
all the widgets line up again.  Unfortunately, the box-sizing
parameter is not available in IE6 and IE7.

Other than reverting to quirks mode, the only solution i found was to
use deferred binding to create an alternative setWidth function which
will
1) In IE6/7, set the Width to width-4
void setWidth(TextBox textBox, int width) {
 textBox.setWidth((width-4)+px);  //4 being the default padding/
border widths of a textbox, you may need to change it if you overrode
it in your stylesheet
}

2) In all other browsers, set the width to the requested width, and
apply the border box model
void setWidth(TextBox textBox, int widtb) {
 textBox.addStyleName(borderBoxModel);  //this is the name of a css
class which sets the box-model properties
 textBox.setWidth(width+px);
}


On Apr 11, 11:59 pm, Sagar Samag samag.sa...@gmail.com wrote:

Thank you, Kozura,

My problem got resolved. I copied the code to a new GWT Project and it is
working fine there without any change! But in the old project the same
strange behavior continues. I checked CSS files. They are identical. I 
could

not understand why this was happening.

Sagar
--
From: kozura koz...@gmail.com
Sent: Monday, April 12, 2010 10:37 AM
To: Google Web Toolkit google-web-toolkit@googlegroups.com
Subject: Re: Texbox width greater than others

 Probably need to do panel.setCellWidth(text, 200px) since
 VerticalPanel is doing implemented with a table.  If lined up
 formatting is key you might find other panel widgets like Grid to be
 easier.

 On Apr 11, 10:23 pm, Sagar Samag samag.sa...@gmail.com wrote:
 Am I missing something? I have very simple code to display a TextBox, 
 a

 Dropdown and a Button. Why is the width of the Textbox greater than
 others? I checked in IE6, IE8 and Mozilla.

   TextBox text = new TextBox();
   ListBox list = new ListBox();
   Button button = new Button(Click me!);

   text.setWidth(200px);
   list.setWidth(200px);
   button.setWidth(200px);

   VerticalPanel panel = new VerticalPanel();

   panel.add(text);
   panel.add(list);
   panel.add(button);

   RootPanel.get().add(panel);

 I am in the middle of code that needs abstraction over the widget. I 
 need

 to display different widgets without knowing what they are. Different
 widths of controls are screwing my plans.

 Can someone help me on this?

 Thanks and Regards
 Sagar Samag

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


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





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

Texbox width greater than others

2010-04-11 Thread Sagar Samag
Am I missing something? I have very simple code to display a TextBox, a 
Dropdown and a Button. Why is the width of the Textbox greater than others? I 
checked in IE6, IE8 and Mozilla.

  TextBox text = new TextBox();
  ListBox list = new ListBox();
  Button button = new Button(Click me!);
  
  text.setWidth(200px);
  list.setWidth(200px);
  button.setWidth(200px);
  
  VerticalPanel panel = new VerticalPanel();
  
  panel.add(text); 
  panel.add(list); 
  panel.add(button);
  
  RootPanel.get().add(panel);

I am in the middle of code that needs abstraction over the widget. I need to 
display different widgets without knowing what they are. Different widths of 
controls are screwing my plans.


Can someone help me on this?

Thanks and Regards
Sagar Samag

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



Please help in Displaying SSRS Reports in GWT Application

2010-03-31 Thread Sagar Samag
We have GWT Application that communicates with Dot Net Web Services.
For obvious reasons it is required to use POST method instead of GET
method. We have managed the Same Origin Policy issue by deploying the
GWT Application in the same IIS server that has the Web Services.

The problem is with the MS SSRS reports. The reports are on a separate
server. We naturally are getting issues related to SOP.

Can anyone help me by providing some information regarding how to do
it?
1. How to write GWT code for retrieving data from MS SSRS?
2. How to display the received data?
3. How to use the functionality to export data in different formats?

Thanks in advance.
Sagar

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



How to cache DTD in Eclipse for GWT 2.0

2010-01-08 Thread Sagar
Hi

I just installed fresh copy of eclipse and gwt plugin on it. but now
the problem is each time i am doing something in ui.xml file, eclipse
is trying to fetch the dtd.

i am behind proxy which is 1000 miles away

is there any way to cache the http://dl.google.com/gwt/DTD/xhtml.ent
in eclipse, so it dosent try to fetch it every time.

i read somewhere that i can use XML Catalog feature, but dont know how
it works, also in that XML Catalog window i see red mark next to
following two entries.

Location:   http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
URI:http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
Key Type:   Namespace Name
Key:urn:import:com.google.gwt.user.client.ui


Location:   http://dl.google.com/gwt/dtd/uibinder.xsd
URI:http://dl.google.com/gwt/dtd/uibinder.xsd
Key Type:   Namespace Name
Key:urn:ui:com.google.gwt.uibinder

-- 
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: How to cache DTD in Eclipse for GWT 2.0

2010-01-08 Thread Sagar
still no luck... eclipse just hangs whenever i start editing
the .ui.xml files.

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




Javascript function history.back(); is not working properly on google crome browser?

2009-11-12 Thread Sagar
In my project which is in gwt, history.back() not working properly in
google chrome , on other browsers like IE, Firefox and

Safari 4 it working properly.

In other browser when i logged in to application , then if i press
back button , it call onHistoryChange event with empty

token. ( i think which is a 1st empty token) in IE and FF.

But the same thing i tried on google chrome sometimes it not working
and when press back it will navigate to direct to login

page without firing onHistoryChange event. But sometimes it will call
onHistoryChange with empty token, And this is strange

behavior in chrome.

Please help me why this happened in Chrome, if anybody have any
solution or hack for this please post same.

--

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=.




Funny 404 warning in hosted mode window

2009-11-04 Thread Sagar

I started getting these funny 404 warning messages in my hosted mode
log window

anyone knows what they are? there are a 100s of these 404 warnings.
dose GWT makes these calls?

404 - GET /cvs/ (null) 1390 bytes
404 - GET /cgi-bin/yabb/YaBB.cgi (null) 1407 bytes
404 - GET /cgi-bin/yabb/YaBB.pl (172.22.23.117) 1406 bytes
404 - GET /cgi/IP360nCircle.nCircleIP360?
nCircle=IP360nCircleIP360IP360=nCircleIP360nCircle (null)
404 - GET /cgibin/cart.pl (null) 1400 bytes
404 - GET /scripts/cart32.exe (null) 1404 bytes
404 - GET /login/reminder (null) 1400 bytes
404 - GET /servlet/admin?about.html (null) 1399 bytes

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



Server code giving error at Runtime..

2009-06-01 Thread Sagar

Hello geeks,
I have an application running in GWT 1.5 . I moved this application to
GWT1.6 and now this application is giving errors in Server code at
runtime. Compilation is done without any problem.

At run time.
 The import java.rmi cannot be resolved
 The import javax.naming are not resolved.

also flush() and close() methods of Output Stream are not resolved at
runtime.

I have placed all my libraries in the /lib as well as the eclipse
build path configuration setting.

Kindly provide me the possible help.

Thanks in advance,
Sagar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to include java project to GWT1.6 Module

2009-05-30 Thread Sagar

Hello All,
I am having a GWT1.6 module running fine. But now i want to add some
external java projects to this as inherited modules.
I am using eclipse and have updated classpath with the inherited
projects in build path setting.

Kindly suggest me how to make the necessary changes.

Regards,
Sagar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M)

2009-05-29 Thread Sagar

Thanks a lot Alex,

There was some memory leak problem with the Java collections I used..
its working fine now.

We should use parameterized collection as far as possible..

Regards,
Sagar

On May 28, 11:31 am, alex.d alex.dukhov...@googlemail.com wrote:
 You should also increase the heap size for your application itself.
 You can find it under Run configurations-Arguments-VM Arguments.
 Set it to -Xmx512m - works fine for me.

 On 27 Mai, 14:41,Sagarsagarhaschan...@gmail.com wrote:

  Hello all,

  I created a sample GWT application using GWT1.5. then i moved this
  application to GWT 1.6 as instructed in the tutorial provided at the
  google web toolkit. after finishing i am getting the error of

  Out of memory; to increase the amount of memory, use the -Xmx flag at
  startup (java -Xmx128M) .
  I increased the heap size for eclipse to a maximum of enormous 1024MB
  still the same error coming.

  Kindly suggest..

  Regards,
 Sagar
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M)

2009-05-28 Thread Sagar

Hello all,

I created a sample GWT application using GWT1.5. then i moved this
application to GWT 1.6 as instructed in the tutorial provided at the
google web toolkit. after finishing i am getting the error of

Out of memory; to increase the amount of memory, use the -Xmx flag at
startup (java -Xmx128M) .
I increased the heap size for eclipse to a maximum of enormous 1024MB
still the same error coming.

Kindly suggest..

Regards,
Sagar

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



Re: View remaining content of a full ocuupied window after resizing

2009-02-05 Thread sagar
Well I have not used WindowResizeListener in my code. Instead I have used
CSS wherein i state the min-width and min-height for mu main window and
whenever the window is resized beyond this minimum specification, a
scrollbar appears.
Also some of my widgets have their widths/heights in percentages while some
have those in pixels(all using CSS). Thats why it gets difficult for me
since i am never sure what i should set in CSS coz again different browsers
and OS treat them differently.


On Thu, Feb 5, 2009 at 8:10 PM, gregor greg.power...@googlemail.com wrote:


 Hi Aragorn,

 Enabling scrolling in Window class should give you main window scroll
 bars. Resizing the browser window can be difficult to get right, it
 depends on your application. If all your widgets are sized relatively
 in percentage terms then sometimes it works out OK automatically. If
 not you can attach a WindowResizeListener to your EntryPoint class and
 kick off resizing algorithms from the onWIndowResize(..) method.

 regards
 gregor

 On Feb 5, 1:09 pm, aragorn sagar5...@gmail.com wrote:
  I have created a webpage which fits itself to the size of the browser
  window at start. Whenevr it resizes, I want to get a scrollbar which
  will help me navigate the entire page. I tried using CSS overflow
  property but that doesnt work as in i am not able to view all the
  contents. The scrollbar does appear but then doesnt help show all the
  contetns inside the page.
  Another undesired effect I get is that the inner contents overlap each
  other after resizing to a smaller size.
 


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



Re: how to listen to ESC key for popup

2009-01-22 Thread sagar
hey thanks Hasan
it works.
However it is working only for ESC and not for ENTER even though i have used
the above lines in my code.

On Thu, Jan 15, 2009 at 2:57 PM, Hasan Turksoy hturk...@gmail.com wrote:


 you can override the PopupPanel#onKeydownPreview method like below;

 @Override
 public boolean onKeyDownPreview(char key, int modifiers) {
 // Use the popup's key preview hooks to close the dialog when
 either
 // enter or escape is pressed.
 switch (key) {
 case KeyboardListener.KEY_ENTER:
 case KeyboardListener.KEY_ESCAPE:
 hide();
 break;
 }

 return true;
 }


 Hasan...
 http://www.jroller.com/hasant



 On Thu, Jan 15, 2009 at 11:17 AM, aragorn sagar5...@gmail.com wrote:


 My application displays a popup whenevr a particular button is
 clicked. Now i can hide the popup whenever the user clicks the mouse
 outside of it using the default popup-panel property provided by GWT.
 Apart from that I also need to listen to keyboard so that if the user
 hits ESC on the keyboard my popup should disappear from the screen.
 Any idea how to implement in gwt?




 


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



Re: set fixed size for popup and enable scrolling within it

2009-01-20 Thread sagar
ya so i wrapped a scrollpanel inside my popup and now it works fine.

On Mon, Jan 19, 2009 at 5:54 PM, alex.d alex.dukhov...@googlemail.comwrote:



 On 19 Jan., 12:27, doopa niallhas...@googlemail.com wrote:
  Hi,
 
  You should probably change the CSS to scroll rather than auto. Auto is
  not stable across browsers.

 or use flowpanel wraped in scrollpanel with fixed size(scrollpanel).

  On Jan 15, 10:19 am, aragorn sagar5...@gmail.com wrote:
 
   I have a popuppanel which wraps a flowpanel within itself. Now i want
   this popup to occupy only some portion of the screen. In case the
   flowpanel exceeds the mentioned limits, the popup should display a
   scrollbar. I tried setting this using CSS by usinf overflow:auto but
   it doesnt work. If u know any way t do it plz let me know
 
 
 


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



Re: GWT increases panel size

2008-12-23 Thread sagar
I think i found out what the problem is. The problem seems to be in mozilla
firefox which resizes the panels incorrectly. I installed opera on my system
and the panel width looks fine just as expected.
But now the problem is why mozilla does the resizing and how to correct it.
Will i face similar problems in IE and if yes, how to tackle them.

On Wed, Dec 24, 2008 at 10:24 AM, aragorn sagar5...@gmail.com wrote:


 Hey i just noticed a strange behavior in GWT. When you create a GWT
 project and run it in hosted mode and then open it in browser, the
 size of the output is visibly different. GWT increases the panel
 dimensions in the browser.
 I created a project having a panel at the extreme left with width
 fixed to some 233 pixels. Also I created a simple html page with a div
 having 233 pixels.
 After running the project I could see that the width of the panel in
 the hosted mode is same as the one with HTML output but it is much
 lesser than the width of the GWT output.
 I am using Mozilla firefox as the default browser. Please help and
 tell me if the problem is in GWT or in the browser.

 


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