Re: Is there any precompiled GWT widgets on a CDN somewhere?

2009-05-10 Thread Nash-t
That sounds like No to me. OK, thanks. On May 9, 6:56 am, Thomas Broyer t.bro...@gmail.com wrote: On 9 mai, 02:23, Nash-t timna...@gmail.com wrote: I posted this message originally to the app engine for java group because app engine developers have to pay for each file served above

Is there any precompiled GWT widgets on a CDN somewhere?

2009-05-08 Thread Nash-t
I posted this message originally to the app engine for java group because app engine developers have to pay for each file served above a certain threshold. I have developed several EXT JS - app engine applications. One thing I like about using ext js is that the code for each widget is hosted on

Re: SCRIPT elem to read JSON src does not work

2009-05-07 Thread Adam T
Perhaps you're having a fundamental misunderstanding about the asynchronous world the web lives in - without the callback, how would you propose to know that the JSON data is available to your program? You still need to deal with the fact that your JSON data is going to come across the network

Re: horizontal and vertical flow panels

2009-05-06 Thread Adam T
Sudhir - why not post this idea to the GWT contributors forum as well - you might get some detailed answers/comments from there (http:// groups.google.se/group/Google-Web-Toolkit-Contributors). //Adam On 6 Maj, 18:56, Sudhir sudhi...@gmail.com wrote: I've made horizontal and vertical flow

Re: GWT is it possible?

2009-05-05 Thread Adam T
Hi, I agree with X, if you go an SVG/VML route, but it might be easier if you take another approach - depending on what exactly you mean by draw. If you restrict yourself to placement / drag'n'drop of images/widgets on the browser and creating connections between them, then the gwt- connectors

Re: Read title of webpage using gwt

2009-05-05 Thread Adam T
Window.getTitle() should get it for you. //Adam On 5 Maj, 19:32, surfi2000 surfi2...@googlemail.com wrote: Hi, Is it possible to get the title of a website that the user is currently on? For example, if in the html code the following is said titleFirst/ title gwt will give me a variable

Re: Inserting header and footer into DecoratorPanel

2009-05-03 Thread Adam T
, and the color of the bottom part should be the same as the footer. How do we create such vertical border so that the top and bottom color are aligned to the header (the DockPanel.NORTH) and footer (the DockPanel.SOUTH)? On Sat, May 2, 2009 at 12:18 PM, Adam T adam.t...@gmail.com wrote: Hi

Re: FocusHandler not called when focus is lost.

2009-05-01 Thread Adam T
perhaps BlurEvent and BlurHandler are what you're looking for? //Adam On 1 Maj, 16:02, H Hale hhal...@yahoo.com wrote: The FocusHandler method onFocus only gets called when the widget gets focus. What about lost focus events? Shouldn't there be a method like FocusListener#onLostFocus(Widget

Re: Adding the same widget more than once

2009-05-01 Thread Adam T
...or you could use CSS and assign the css for the hyperlink to have a single left (or right) or no border, e.g. Hyperlink about = new Hyperlink(About us, about); Hyperlink register = new Hyperlink(Register, register); about.setStylePrimaryName(hyperlink-nosep);

Re: Absolute positioning relative to other widgets

2009-05-01 Thread Adam T
sometimes it's worth wrapping any repositioning up in a DeferredCommand to give the browser a chance, i.e. take you code that does something like this: int x = X.getAbsoluteTop; int h = X.getOffsetHeight(); W.setWidgetPostition(x,y); W.setWidth(h/2+px); and make it

Re: Inserting header and footer into DecoratorPanel

2009-05-01 Thread Adam T
Hi, I would say the best approach is to add a DockPanel as the single content of the DecoratorPanel and then the header is DockPanel.NORTH, the footer DockPanel.SOUTH and you content goes in DockPanel.CENTER (the DecoratorPanel is a 9 celled table and topCenterInner is part of the structure to

Re: Drag and Drop in a FlexTable

2009-05-01 Thread Adam T
have you tried the GWT drag'n'drop library? Here's an example using FlexTable which sounds like what you are after: http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#FlexTableRowExample ...and a link to the library: http://code.google.com/p/gwt-dnd/ //Adam On

Re: first shot at 1.6: flextable and clickhandlers

2009-05-01 Thread Adam T
Pre 1.6 you would add a TableListener for this - the JavaDoc for 1.6 tells you this method is deprecated, but to do the same thing you should add a click handler instead and use HTMLTable.getCellForEvent (ClickEvent) to get the cell information (remember to check for a null return value) So,

changing tooltip (title) has no immediate effect in web mode

2009-04-29 Thread r a f t
and mozilla 5 (sea monkey) regards, r a f t --~--~-~--~~~---~--~~ 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

Re: Lightbox image viewer 2.03a

2009-04-28 Thread Adam T
I would guess that lightbox.js executes once loaded and that is happening prior to your GWT code executing to add the hyperlink to the DOM (thus it gets missed). The lightbox.js code (http://www.dynamicdrive.com/dynamicindex4/ lightbox2/js/lightbox.js) says this initialize() - a constructor runs

Re: History between pages

2009-04-27 Thread Adam T
Hej Arun, I believe everything you need is in my first post. //Adam On 28 Apr, 06:27, Arun arun.r...@gmail.com wrote: Hi Adam, I would looking for similar solution, Could you please show here how to do it? It would be a great help. Arun. On Apr 26, 11:19 am, Adam T adam.t

Re: History between pages

2009-04-26 Thread Adam T
have you implemented the onHistoryChanged(String token) method? In have to rebuild the state yourself based on the token as it's not done automatically. I think you may also need to slightly refactor the code to get history working as you want. I would most likely have the following: In your

Re: JsArrayJavascriptObject methods deficiency

2009-04-26 Thread Adam T
Best thing to do is either: a) raise a defect and then this gets tracked, and if indeed the world is suffering due to this, then they can star it to get higher visibility. b) submit a patch through the contributor list (afterall, GWT is open source) - are you 100% sure this is cross-browser

Re: How to scroll screen

2009-04-25 Thread Adam T
2 AbsolutePanels with your content in, and then change their x and y positioning over time on the RootPanel would be one basic approach. //Adam On 25 Apr, 10:51, hezjing hezj...@gmail.com wrote: Hi I was trying  http://taskengine.appspot.com/http://taskengine.appspot.com/ When clicked on

[gwt-contrib] Re: IE8 support

2009-04-24 Thread t . broyer
My 2 c€nts. ...and this patch could also address issue 2815 http://code.google.com/p/google-web-toolkit/issues/detail?id=2815 (and do not forget issue 2938: http://code.google.com/p/google-web-toolkit/issues/detail?id=2938 ) http://gwt-code-reviews.appspot.com/29803/diff/1/9 File

Re: Localization - is GWT localization worth it? Can we have juse a single permutation please?

2009-04-23 Thread Adam T
Dobes, You should thing of the trade-offs - sometimes a bit of a pain for the developer translates to increase user experience. For example, if it doubles your compile time, but makes your application appear and start running in the browser twice as fast, which is most important? (those

Re: import java.net cannot be resolved error

2009-04-23 Thread Adam T
If this is client side code, you can't use java.net as the code gets compiled to JavaScript - I'd suggest you read the documentation for GWT to get a feel of what you can and can't do, in particular what is included in the JRE Emulation for GWT:

Re: Debugger() was called!

2009-04-23 Thread Adam T
Not really an answer to your question but just to let you know you're not alone, I also get this (on Mac) every time with GWT 1.6 - though I've been happily ignoring it and seen no side effects. Would be interesting to know why though. //Adam On 24 Apr, 00:21, davidroe roe.da...@gmail.com

Re: Request on displaying images at client-side

2009-04-23 Thread Adam T
if the images are definitely called 1.gif, 2.gif, 3.gif. why not just send the next requested number as part of the RPC call and keep an pointer of where you are in your client side? //Adam On 23 Apr, 19:48, raghu prashanth k b sage.ne...@gmail.com wrote: hi,    I have a folder which has

Re: List of Usable Java Packages?

2009-04-21 Thread Adam T
GWT only implements a subset of Java: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/RefJreEmulation You should also think of it as client side web code (after all it gets compiled to JavaScript) as such you wouldn't normally be able to connect to a database directly - you'd go

Re: Application doesnt work in web mode, but does in hosted mode.

2009-04-11 Thread Adam T
could it be a same origin policy issue? It used to be the case that hosted mode was more relaxed on this restriction and this could catch you out when you moved to web mode where browsers strictly enforce the same origin policy. Simply put, the call to your PHP file must go to the same origin

Re: I just realized that dependency injection is possible with GWT

2009-04-10 Thread Adam T
Vitali, you'd just create your own property with two values: Generically: 1. Define the properties: define-property name=prod.status values=production,test/ 2. Define a property provider; for example as simple one as folows: property-provider name=prod.status ![CDATA[ try{

Re: newbie question - link event handling

2009-04-10 Thread Adam T
Hi Joe, Maybe the History class can help you here. It allows you to pick a token off the url and change you applications status appropriately - a token is essentially everything after the hash (#) In the case where a user navigates to a url such as

Re: GWT Violates LGPL

2009-04-08 Thread Miles T.
So GWT distribution includes JFreeChart which is LGPL. Problem would be here, Allan, something wrong related to section 4 of the license ? On 8 avr, 07:15, Ian Petersen ispet...@gmail.com wrote: On Tue, Apr 7, 2009 at 10:09 PM, Ian Petersen ispet...@gmail.com wrote: On Tue, Apr 7, 2009 at

Re: GWT Violates LGPL

2009-04-07 Thread Miles T.
On Apr 6, 10:52 pm, Daniel Berlin daniel.ber...@gmail.com wrote: On Apr 6, 4:27 pm, allan allan1...@gmail.com wrote: The LGPL does not require source, it is only one of a myriad of options to comply with it. I think (but not sure) I've read somewhere a discussion with a FSF guy saying that

Re: GWT Violates LGPL

2009-04-07 Thread Miles T.
It says : Could not locate 'about.html' in installation directory. :-p On 7 avr, 13:10, Miguel Ping miguel.p...@gmail.com wrote: Just click the 'about' button on the hosted mode browser (the bg window) On Apr 7, 9:43 am, Miles T. dupont.nico...@gmail.com wrote: On Apr 6, 10:52 pm, Daniel

Re: Gwt

2009-04-01 Thread Adam T
LoadListener (or rather you should use LoadHandler from GWT 1.6 onwards) allows you to handle an onLoad event from widgets that implement the HasLoadHandlers interface. For example, if you have an Image widget, then you can apply a LoadHandler to perform some functionality once the image has

Re: Runasync feature of GWT

2009-03-31 Thread Adam T
)         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)         at java.io.ObjectOutputStream.writeObject0(Unknown Source)                 On Mar 31, 12:56 am, Adam T adam.t...@gmail.com wrote: HiGhostcoder, You need to grab the trunk and compile it to use

Re: Window.Location.replace() doesn't work in Safari or Chrome or Opera

2009-03-30 Thread Adam T
ok, now I see the issue.but, wouldn't using window.location.replace also lock the user into the site in the same way - when the user goes back to the first page the browser would then fire them forwards again to the location.replace url? Maybe the key is to not have the #Home token and treat

Re: Runasync feature of GWT

2009-03-30 Thread Adam T
Hi Ghostcoder, You need to grab the trunk and compile it to use the RunAsync feature. This is a useful guide: http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting I'm using it quite heavily in an application I'm building and whilst very useful it can be a little frustrating when

Re: Window.Location.replace() doesn't work in Safari or Chrome or Opera

2009-03-29 Thread Adam T
Ian, maybe it's a Windows thing as it works fine on a my Mac with Safari and Opera (and Firefox). I was going to suggest trying JSNI instead, but looking at Window.Location.replace it is just a simple call to $wnd.location.replace(newURL) with no deferred binding to make a difference between

Re: Window.Location.replace() doesn't work in Safari or Chrome or Opera

2009-03-29 Thread Adam T
Well, I'm not really sure what your doing, so it may not help - I was just guessing if you were trying to put #Home at the end of a url you might be trying to plug into GWT's History system. On this page http://gwtfx.adamtacy.com/EffectsExample.html I do that to manage tabs whose content is

Re: Wrapper for Google AJAX Language api

2009-03-29 Thread Adam T
You need to access injected scripts through the $wnd variable (http:// code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web- toolkit-doc-1-5t=DevGuideJavaScriptFromJava) - maybe $wnd.google.language.translate(text, from, to, function(result) would work for you. //Adam On 29 Mar,

Re: IE vertical scrollbar triggers a horizontal scrollbar

2009-03-26 Thread r a f t
' annotation is necessary. Tony -- Tony Strauss Designing Patterns, LLChttp://www.designingpatterns.comhttp://blogs.designingpatterns.com On Mar 25, 12:07 am, r a f t hakan.erya...@gmail.com wrote: hello, i have some content widget, which is placed into a pixel sized ScrollPanel

IE vertical scrollbar triggers a horizontal scrollbar

2009-03-24 Thread r a f t
% or some pixel width may help (didnt try), but i prefer them as last choices as they depend on scrollbar width. thanks, r a f t --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: file upload like orkut

2009-03-16 Thread Adam T
File upload is done via either: a) The FileUpload widget - if your happy for the user to select one file at a time, or b) Via a Flash Movie that allows multiple file selects. Which ever option you choose you would then build your UI on-top since you choose when to post the contents of

Re: JavaScriptException in hosted mode (Win XP - IE6)

2009-03-13 Thread Miles T.
.  I understood it there might be enough friend words for context for people who don't speek French, but you're more likely to get responses if everything is in English. On Thu, Mar 12, 2009 at 1:35 PM, Miles T. dupont.nico...@gmail.com wrote: Mmm, it looks my Element was null. Strange

JavaScriptException in hosted mode (Win XP - IE6)

2009-03-12 Thread Miles T.
Hi all, I have an issue which randomly happens in hosted mode in Windows XP (IE6) when calling getElementsByTagName(td) on an Element. [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (TypeError): Cet objet ne gère pas cette propriété ou cette méthode number:

Re: State of the union on oophm ?

2009-03-07 Thread Adam T
It's not production ready yet, so you need to check out the contributor's group for information, For example: http://groups.google.se/group/Google-Web-Toolkit-Contributors/browse_thread/thread/25e55e844d35747e/1e0143674eafdb16?hl=sv#1e0143674eafdb16 //Adam On 7 Mar, 22:37, Jean

Re: Third party libraries for GWT

2009-02-16 Thread Miles T.
Hi, On Feb 15, 8:08 pm, mikedshaf...@gmail.com mikedshaf...@gmail.com wrote: I've used both and they both allow for a look and feel on your GWT app that would take a lot of custom development to achieve.   +1. I have been using Ext GWT for 4 months and it provides the following features :

Re: IE6.0 crashes with GWT 1.5.3

2009-02-15 Thread Adam T
detected by HotSpot Virtual Machine: # #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7dcdc6f4, pid=5536, tid=2508 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode) # Problematic frame: # C  [mshtml.dll+0xac6f4] # ---  T H R E A D  --- Current thread

Re: Drag and drop problematic with firefox ie

2009-02-09 Thread Adam T
to reimplement the wheel. //Adam On 9 Feb, 07:08, Amir Michail amich...@gmail.com wrote: On Sun, Feb 8, 2009 at 10:02 PM, Adam T adam.t...@gmail.com wrote: just try using the gwt drag n drop library which has solved all these problems:http://code.google.com/p/gwt-dnd/ Yes, I know about

Re: Image Rotation in GWT

2009-02-09 Thread Adam T
Always ask yourself, How would you do it in JavaScript? Two immediate options spring to my mind: a) do it on the server using an image manipulation library, or b) use Canvas html object if you do some more research you'll find the pros and cons of each approach, and maybe more options, e.g.

Re: How to use the http post in GWT

2009-02-09 Thread Adam T
shgwh, I'd just use a normal servlet rather that the GWT RPC one for file upload. Search the web for file upload servlet and you'll get plenty of examples, on the client side you use the fileupload component in a form and post the data to yout servlet (for example the last post here:

Re: can gwt do flying butterfly?

2009-02-09 Thread Adam T
yes it can. You should check out RootPanel.get().add(widget, x, y) method to position several Composite widgets on your page, and use a Timer to schedule(delay) the moving of those composites in a Math.random manner using RootPanel.get().setWidgetPosition(widget, x, y) to reposition. You can use

Re: Drag and drop problematic with firefox ie

2009-02-08 Thread Adam T
just try using the gwt drag n drop library which has solved all these problems: http://code.google.com/p/gwt-dnd/ //Adam On 8 Feb, 23:26, Amir Michail amich...@gmail.com wrote: On Sun, Feb 8, 2009 at 2:18 PM, Dan Ox danoxs...@gmail.com wrote: I think that rather than trying to change a

Re: GWT-ext or ext-GWT?

2009-02-04 Thread Miles T.
Just a word about documentation. It is true that the documentation is far from complete but it is not true that it is non-existent. The wiki is in work in progress : http://extjs.com/learn/Learn_About_the_Ext_GWT_Library and there is also a small help center http://extjs.com/helpcenter/index.jsp

Re: Javascript in HTML blocks

2009-02-04 Thread Adam T
For loading from a Url try the following (being aware of the security issues): /** * Adds the necessary DOM script element. * * @param uniqueId A unique id for the DOM element. * @param url Location of script. */ public native void addScript(String uniqueId, String url) /*-{

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-27 Thread Adam T
/Builder and a String concatenation is that the usual String + performs 2 to 4 times faster in IE6 and FF3 than StringBuffer/Builder in my simple case. So I will stick to the simple + some String + . Thanks anyway, Fred On Tue, Jan 27, 2009 at 16:06, Adam T adam.t...@gmail.com wrote

Re: What's the fastest way on doing string concatenation in GWT?

2009-01-26 Thread Adam T
Consider using StringBuilder: http://code.google.com/p/google-web-toolkit/issues/detail?id=945q=string%20concat //Adam On 27 Jan, 06:34, Fred Janon fja...@gmail.com wrote: Hi, I have some code like this: String name = + someString + ; Is there another faster way of doing that in GWT?

Re: DecoratorPanel color

2009-01-23 Thread Adam T
You could try the GWT theme generator (via http://www.ongwt.com/post/2008/10/14/GWT-Theme-Generator ) sounds like it could help you. //Adam On 23 Jan, 12:46, Mike mcwe...@gmail.com wrote: Hi all, Is it correct that there is no easy way to change the color of a DecoratorPanel's borders?

Re: Browser Issues- Please help me

2009-01-21 Thread Adam T
Either set the size of your panels programmatically or through CSS - browsers can/will display FlowPanels differently which I believe is what you are seeing; or user a Vertical Panel for your check boxes/ label combinations. //Adam On 21 Jan, 12:25, venkat raman venkivo...@gmail.com wrote: Hi

Re: No GwtCompiler option to turn off hosted mode support

2009-01-20 Thread Adam T
Hej Jörn, What JavaScript code that is hosted mode specific are you refering to? You should only get the minimal code necessary for each web browser to run your application as the standard. //Adam On 20 Jan, 14:57, 1jkoch 1jk...@gmx.de wrote: Hi, my GWT app only runs in web mode when

Re: No GwtCompiler option to turn off hosted mode support

2009-01-20 Thread Adam T
Ah you mean in the bootstrap file (the single nocache.js file)? I believe you could go through that nocache.js file and delete the onHostedMode() function and the couple of calls to it without causing an issue if you're only going to use web mode. However, if you compile using the flag -style

Re: Changing the css file at runtime

2009-01-14 Thread Adam T
I would say you need to use JSNI - do a search for how to change CSS file using JavaScript and then implement something similar wrapped in a JSNI method. You can then call that method to change the style sheet, either programmatically by just calling it, or if you want to harness the

Re: link Button to change locale

2009-01-14 Thread Adam T
Assuming your using the i18n aspects of GWT, what about an Image with a ClickListener for the button and the each button calls the web page with appropriate local set? For example: Image img = new Image(sv.png); img.addClickListener(){ public void onClick(){ changeLocale(sv); } }

Re: Recommended GWT Maven plugin

2009-01-13 Thread Miles T.
These two plugins are going to merge into the codehaus (http:// groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/ thread/72cf8810759c7c3/00ad11d0f4a88d58), so if you start, I recommend you to use the codehaus one. On Jan 13, 8:29 am, olivier FRESSE olivier.fre...@gmail.com

Re: GWT File prase

2009-01-13 Thread Adam T
you can't access local filesystem with JavaScript, therefore you can't do it with GWT. You could try a signed Java Applet - search this forum for when this has been asked before. //Adam On 13 Jan, 02:50, Mark marksyl1...@gmail.com wrote: I want to make an file tree using gwt to prase the

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Adam T
.possibly through a JSNI method - pass the WidgetMap object in as a parameter and then return the field. I seem to recall doing something similar with something else, but can't find my code, i.e. something like the following might work: public native JavaScriptObject getGMap2(WidgetMap

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Adam T
or if there's a method as Eric mentions, use that :) //A On 11 Jan, 00:48, Adam T adam.t...@gmail.com wrote: .possibly through a JSNI method - pass the WidgetMap object in as a parameter and then return the field.  I seem to recall doing something similar with something else, but can't

Re: Asynchronous calls to get HTTP files

2009-01-10 Thread Adam T
It's just working asynchronously. Step 1 gets printed, then the call to the server is made asynchronously, so the code moves directly to the next step where Step 2 is printed out. You can't block/sequence execution of server calls in the way you're thinking in JavaScript (and therefore not in

Re: how can we append Text to a TextArea widget

2009-01-07 Thread Adam T
perhaps use textArea.setText(textArea.getText()+newText)? On 7 Jan, 19:46, Sanjith Chungath csanj...@gmail.com wrote: Hi,      I want to write an async method to retrieve some String from the server. onSuccess I want to append the reruned string to a TextArea. is it possible. i can see only

Re: 1.6 : New event system

2009-01-05 Thread Adam T
Step3331, You should just download the 1.6 code from svn and look what is available to calm your nerves down. //Adam On 3 Jan, 19:32, step3...@yahoo.fr step3...@yahoo.fr wrote: I heard that the listener is deprecated in 1.6 (and removed in 2.0) and will be replaced by handler. So how to

Re: Need for a great GWT GUI library

2008-12-22 Thread Miles T.
Hi Juan, Ext GWT (aka gxt, previously MyGWT) is a full GWT solution (no wrapping JS library). It provides : - containers and layouts - MVC layer - complete look and feels - rich set of widgets (including grids, drag and drop...) - form data binding - lazy rendering Drawbacks : - bugs : as the

Re: GWT RIA s ?

2008-12-21 Thread Miles T.
will be slower than a vanilla GWT app, but I don't get any performance issue once the app is launched All I can suggest you is : take a week or a few days, take the latest version of the library and see if the lib can help you (for me, it does, it just saves me a lot of time). Regards Miles T

Re: GWT RIA s ?

2008-12-19 Thread Miles T.
so I can tell you more than the other libs) : layouts, lookfeels, widgets and MVC Regards -- Miles T. On 18 déc, 15:46, Rob Smith scubacarri...@gmail.com wrote: Arthur, So you've assumed responsibility for being the GWT saviour by educating these developers  and saving their project? What

Re: ImageBundle question

2008-12-19 Thread Adam T
Maybe your code has some issues - how are you trying to display the different images? On 19 Dec, 07:14, alided albert.baranc...@gmail.com wrote: I'm trying to use ImageBundle, but it doesn't work correctly. I put different size images into the bundle and when i try to use image it is always

Re: GWT RIA s ?

2008-12-19 Thread Miles T.
forgot to say, there is also GWTEventService to implement Server Push in a GWT app. I didn't try it, but it has a rich documentation. Regards. -- Miles T. On 19 déc, 15:47, David Hoffer dhoff...@gmail.com wrote: Thanks I will check out  gwt-mosaic again.  I tried it recently and it couldn't

Re: Standard/Simple GWT CSS?

2008-12-15 Thread Miles T.
these libraries can't work with GWT widgets, and give up the simplicity and high quality you come to expect from GWT. I say this from experience. -- Arthur Kalmenson On Mon, Dec 8, 2008 at 9:38 AM, Miles T. dupont.nico...@gmail.com wrote: Hi David and tomato, We also didn't (and still don't

Re: GWT Spring Integration

2008-12-15 Thread Miles T.
GWT-SL should work. Look at : http://gwt-widget.sourceforge.net/ http://g.georgovassilis.googlepages.com/usingthegwthandler http://g.georgovassilis.googlepages.com/usingthegwtcontroller On Dec 12, 3:12 pm, Wilfred Springer wilfredsprin...@gmail.com wrote: Spring ME is mainly about having Spring

Re: Standard/Simple GWT CSS?

2008-12-10 Thread Miles T.
and inconsistent event models, you completely forgo most of GWT since these libraries can't work with GWT widgets, and give up the simplicity and high quality you come to expect from GWT. I say this from experience. -- Arthur Kalmenson On Mon, Dec 8, 2008 at 9:38 AM, Miles T

Re: What gwt method and/or event indicates that the object has been rendered?

2008-12-10 Thread Adam T
Try overloading the onAttach() method of the widget/panel in question which are called as the widget is attached to the DOM, it might be wise to wrap your code that calls the getOffsetWidth() method up in a DeferredCommand. If you're widget is an Image, try adding a LoadListener and wrap the

[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-09 Thread t . broyer
How about using the screen.deviceXDPI and related properties? See: - http://msdn.microsoft.com/en-us/library/cc849094(VS.85).aspx#DetectViaJava - http://msdn.microsoft.com/en-us/library/ms537625(VS.85).aspx - http://msdn.microsoft.com/en-us/library/ms533721(VS.85).aspx Something like

Re: Standard/Simple GWT CSS?

2008-12-08 Thread Miles T.
Hi David and tomato, We also didn't (and still don't) want to write HTML or CSS for our application (it aims to be an internal application, not a public website). Consider using Ext GWT, SmartGWT or GWT-Ext, I guess this is what you're looking for. These libraries provide a set of widgets and

Re: GWT event model

2008-12-08 Thread Adam T
It's for the version 1.6 event system: http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEventSystem //Adam On 8 Dec, 17:06, Mike [EMAIL PROTECTED] wrote: Hi all, Today i was browsing the latest source code for GWT and i saw that many event-related classes have been

Re: XML and SOP

2008-12-08 Thread Adam T
This technique only works for JSON that is returned as a valid JavaScript function, it will not work for XML. It relies on the fact that the returned JavaScript expression is evaluated by the browser and thus your handle function is called. Without that, your handle function can never be called

Re: how to display one by one panel in borderlayout panel

2008-12-08 Thread Adam T
I would either: a) subclass the panel you want, b) override the add method to store the widgets added into a structure rather than directly in the panel, c) override the onAttach method so that once the panel is attached it starts adding the stored widgets as required using a Timer class to

Re: Your opinion sought: Jetty or Tomcat?

2008-12-03 Thread Miles T.
Switching to Jetty won't break me. Actually, if you were switching to Jetty... 7 (that is to say with support Servlet 3.0 spec, especially support for continuations), I would be really glad !!! On 3 déc, 01:44, Reinier Zwitserloot [EMAIL PROTECTED] wrote: Not Ken Shabby: Imagine here your

[gwt-contrib] Re: Breaks dom.DOM dependency on user.UserAgent

2008-12-03 Thread t . broyer
I'd rather put it elsewhere, as it would just move the problem but not solve issue 2815. http://code.google.com/p/google-web-toolkit/issues/detail?id=2815 http://gwt-code-reviews.appspot.com/401 --~--~-~--~~~---~--~~

Re: GWT-ext or ext-GWT?

2008-12-02 Thread Miles T.
I understand, my company also didn't want to work with GPL (although I wanted to) :-p So they purchased the ~300$ commercial license for me. On 1 déc, 20:57, TedM [EMAIL PROTECTED] wrote: Yeah but EXT-GWT is a no go for my company because of the license On Dec 1, 11:10 am, Miles T. [EMAIL

Server Push with GWTEventService

2008-12-02 Thread Miles T.
Quote from the annoucement : The first public version is v0.9. All features for version v1.0 are contained and I hope many developers are interested and will use and test the framework in their applications, so that v1.0 can be reached soon. GWTEventService is an event-based client-server

Re: GWT-ext or ext-GWT?

2008-12-01 Thread Miles T.
On 1 déc, 14:41, Arthur Kalmenson [EMAIL PROTECTED] wrote: quick, get it out the door, I don't care that there aren't any test cases Actually, if you look into their SVN repository, you'll see that there are (only) a few test cases in GWT-Ext. In fact, GWT-Ext is wrapping ExtJS and only

Re: Lazy Loading (Tier 2 GWT Roadmap) - Status update

2008-12-01 Thread Adam T
...and runAsync() is already in the trunk if you are comfortable building from there (http://code.google.com/webtoolkit/ makinggwtbetter.html#workingoncode). I use it in a similar situation to what you describe and see good results. My usage so far is along the following lines: GWT.runAsync(new

Re: Who can read chinese?

2008-11-28 Thread Adam T
http://translate.google.com/translate_t# Above link might help //A On 28 Nov, 05:16, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I need help ,  i hava some API of YI language  , but all words is china words ,  who can help me?ASAP , thanks. --~--~-~--~~~---~--~~

Re: GWT-ext or ext-GWT?

2008-11-25 Thread Miles T.
On 22 nov, 16:29, Arthur Kalmenson [EMAIL PROTECTED] wrote: I disagree with Nicolas. We experimented with gwt-ext on one of our projects and had to backtrack because it was so slow, had far too many bugs, and was just a pain to work with. It even prevented you from using hosted mode because

Re: Why use GWT?

2008-11-23 Thread Adam T
First a couple of rhetorical questions to you: a) why do you think JQuery and GWT are equivalent? b) why do you think the sites of the JQuery list are probably led by some smart, deep-thinking, open-minded individuals (IBM's web site might not necessarily be built by IBM)? c) why do you

Re: Animations

2008-11-22 Thread Adam T
Depends really on what you are looking for; the underlying approach of the following library may or may not suit you: http://code.google.com/p/gwt-fx/ Or you could try one of the libraries that provides a wrapping around scriptaculous, or as Jason points out, you could use the inbuilt animation

Re: Image manipulation using GWT

2008-11-22 Thread Adam T
Ask yourself the same question you should ask for any query you have in GWT - how can it be done in JavaScript. In this case, if you mean cropping, zooming etc only in the user interface, then investigate cascading style sheets. If you mean actual cropping and zooming on images that the user

Re: GWT 1.5 demo - proxy issue

2008-11-21 Thread Miles T.
By the way, isn't gmail using GWT 1.5 ? I have no problem with GWT. On 22 oct, 03:57, jiangh [EMAIL PROTECTED] wrote: The point is no one tell me what exact firewall rules should be changed if   this problem can be resolved by this way On Oct 2, 5:33 pm, Greg Stasica [EMAIL PROTECTED] wrote:

Re: GWTTestSuite - ClassCastException on executing test suite

2008-11-20 Thread Miles T.
Well... actually, you don't even need that... Just put your GWT test suite class out of the client package. On 20 nov, 14:54, Nicolas [EMAIL PROTECTED] wrote: Hi all, Actually, GWTTestSuite is a Java helper class, not translated to Javascript. Look at the package name :

Re: RPC, database connection reality check?

2008-11-15 Thread Adam T
yes and yes. I would recommend you check out conection pooling - you should be able to get your servlet container to hold a pool of connections open that your code can then request to use as needed. You'll need to do two things: a) set up pooling on your container and b) change your code

Re: problem getting componentes from gwt-ext panel

2008-11-11 Thread Adam T
label)); then in another part of code i wan to do this Label t = (Label)((Widget)a.getComponent(1)); so i can modify the label's text. but then i have al cast exception in jscript when i test it on the explorer. If anyone can help please

Re: sleep() or wait() on Event.ONMOUSEOUT

2008-11-10 Thread Adam T
Can't immediately see why that wouldn't work. Just three things from a diagnostic point of view a) does your formCollapsedState() method work outside of event handling? b) did you wait the 10 seconds you set up as delay? c) have you sunk the event and wired up that sink to your handler - i.e.

Re: Image Swap with LoadListener

2008-11-09 Thread Adam T
you might be stumbling across one of these IE issues relating to cache: http://code.google.com/p/google-web-toolkit/issues/list?q=IE%20LoadListener //Adam On 9 Nov, 08:50, rjcarr [EMAIL PROTECTED] wrote: I have large images to display that might take some time to make their way to the

Re: horizantal spliter issues

2008-10-31 Thread Adam T
You should read the documentation (or at least the JavaDoc): public void add(Widget w): Adds a widget to a pane in the HorizontalSplitPanel. The method will first attempt to add the widget to the left pane. If a widget is already in that position, it will attempt to add the widget to the right

<    2   3   4   5   6   7   8   >