Re: Thousands of images

2009-10-16 Thread Brian Blain
Agreed, imagebundles are better suited for combining fancy user interface images like buttons, icons, etc. On Oct 16, 10:06 am, mon3y wrote: > As far as i know ImageBundles can only be created at compile time so > it would be kinda hard to do that. > > What i would do is just put the user images

Re: XML Parsing Issue with FireFox

2009-10-16 Thread Brian Blain
try Document xmlDocument = XMLParser.parse(result); XMLParser.removeWhitespace(xmlDocument); It was a while ago that I ran across this but I remember having a problem with the parser getting whitespaces as empty Node objects. The document itself is also from the Node interface so to get your fi

Re: GWT, PHP, HTML 5

2009-10-10 Thread Brian Blain
You can deploy your GWT and PHP code on the same Apache Tomcat instance This article sums up how to call PHP http://angel.hurtado.googlepages.com/tutorialgwt2 On Oct 6, 1:18 pm, skorpiostinger wrote: > Hey Guys, > > I have been researching on GWT and PHP integration a while. > > The reason is

Re: How to add different css for each tab in the TabPanel

2009-10-10 Thread Brian Blain
use addStyleName and CSS instead of directly setting properties, if you decide later on that a different color is needed you wont have to recompile code to have it change. On Oct 10, 10:52 am, Mohamed Mansour wrote: > Hi, its basically just CSS, here is how you would do it directly in GWT, but >

Re: Listening for browser window close or unload events

2009-10-07 Thread Brian Blain
Maybe Window.addWindowClosingHandler or Window.addCloseHandler On Oct 7, 11:35 am, francescoNemesi wrote: > Hi, > > is there a way to listen to a browser window or unload event? I want > to force a logout (to clean up session memory on the server as well as > much as I can on the client) if the

Re: GWT Performance issue in IE browser.

2009-10-06 Thread Brian Blain
While I agree on the sub par javascript performance of IE forcing users to switch browsers isn't a valid solution in many professional situations. Depending on what your trying to accomplish determines where your going to find the best bang for buck. In my experience the best way to increase perf

Re: client side same-origin IE issue

2009-10-05 Thread Brian Blain
Two thumbs up for deferred binding. I overwrote the HTTPRequestImplIE6 deferred binding with my own ActiveX version. Works great. I hope this thread is useful to someone at some point. ... public class HTTPRequestImplIEActiveX ex

Re: client side same-origin IE issue

2009-10-05 Thread Brian Blain
On Oct 4, 8:52 am, David Given wrote: > I don't know of any web browsers that actually get Javascript security > right when using the file: scheme --- they usually just deny everything > (as you're finding out). > > How badly do you need to run this on a machine without a webserver? i.e. > could

client side same-origin IE issue

2009-10-02 Thread Brian Blain
I have a project using GWT 1.7 that is able to upload a file without a server that works great on Firefox and Chrome, however when testing IE I get "The URL myfile.xml is invalid or violates the same-origin security restriction" error. My GWT standard directory structure for relevant files looks

Re: Exceptions

2009-08-31 Thread Brian Blain
try { // your code } catch(Exception e) { } On Aug 31, 10:54 am, Charlie wrote: > Hello > Trying to figure how do I wrap a code with try and catch so any error > that happens it will be caught there? --~--~-~--~~~---~--~~ You received this message because yo

Re: Problem with Firefox CSS rendering

2009-07-01 Thread Brian Blain
You might try using color: blue !important; There are also 2 cursor styles which I'm unsure if that might cause problems or if it only reads the first. On Jul 1, 12:19 am, Kevvy wrote: > I have a label which i want to look like a link. So i Altered the CSS > so it displays like one > > .gwt-la

Re: Google web tookit (GWT) - StockWatcher Application

2009-06-23 Thread Brian Blain
Center align your table Check out firebug to be able to dynamically edit your html. Your xml might be malformed; cross your t's and dot your i's. On Jun 22, 10:14 pm, Simon wrote: > Dear all, > > Good day. My question is how to align my application table to center > as shown inhttp://ise

Re: New Browser Window

2009-06-23 Thread blain
Button button = new Button("click me"); button.addClickListener(new ClickListener() { public void onClick(final Widget sender) { Window.open("http://www.google.com";, "_BLANK", ""); }); http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?overview-summa

Re: Proxy draggable window

2009-06-23 Thread blain
I highly recommend gwt-dnd http://code.google.com/p/gwt-dnd/ On Jun 23, 12:53 am, shalini wrote: > i am working in GWT project.that project contain one button,when it > was click one dialog will open.i want that the dialog will be a proxy > draggable. please help me. --~--~-~--~~---