Re: How to have a make invisible a column in FlexTable or Grid

2009-04-22 Thread alex.d
Out of the top of my head - you can use getCellFormatter().setVisible () to set all cells of the column invisible. However it's unclear whether you'll still have the border-problem. On 23 Apr., 08:07, Suren wrote: > Hi All, > > I am trying to make a single column invisible in a FlexTable or Grid

How to have a make invisible a column in FlexTable or Grid

2009-04-22 Thread Suren
Hi All, I am trying to make a single column invisible in a FlexTable or Grid I couldnt find any suitable methods available for that? I tried using columnFormatter too. But I agree that column width can be set to zero. But in that case I am still getting the borders of that column Any help wou

How to get GWT client and J2ME device to communicate through the same RemoteServiceServlet server class

2009-04-22 Thread mike wade
Hi, I am developing an instant messenger application that make use of GWT RPC for client to server communication. The application works fine for clients with full blown browsers like (ie, chrome etc..) In addition to messaging between browser clients, the application must allow communication betw

Re: How to know Time Format of System time at client side

2009-04-22 Thread Sebastien
Hi, Be careful, the use of Date instance between client side and server side takes in account the time difference between geographical areas. Then if your client lives in USA whereas your web server is in Europe (my case), the formated date is not the same. There is al least 6 hours in less ... B

Re: GWT Upgradation error from 1.4 to 1.5/1.6

2009-04-22 Thread hazy1
Um, there is probably a new incubator release for 1.6. Might want to try it. On Apr 22, 11:40 am, Satya Bobba wrote: > Hi, > > I am upgrading my existing code from GWT 1.4 to GWT 1.6.we have used > the FastTree.java in our code. it is compiling fine with 1.4. > > I have kept the latest jar file

GWT 1.6 ListBox triggering IE8 pop-up blocker

2009-04-22 Thread General Details
I just ported my GWT application to 1.6 and now I have a weird problem with IE8. My ListBoxes trigger IE8's pop-up blocker and won't show the pulldown list of entries. This happens even if you disable pop-up blocker. It also still happens when I have IE8 in Compatibility Mode. This doesn't hap

Re: How to know Time Format of System time at client side

2009-04-22 Thread Arthur Kalmenson
> In that case, I think > that the only way to get the user's preference is to ask them. Building on this, if you want the user to choose their own format, let them do so. Then, when you pull the date from the database (stored as a date, not a String), you can format that Date object using GWT's

Re: Announcing GWT 1.6...and quite a bit more

2009-04-22 Thread ni...@stsoftware.com.au
Where's the Netbeans support ? Surely it's within Google's ability to make a plugin for Netbeans too instead of forcing us to use Eclipse. On Apr 8, 1:57 pm, Bruce Johnson wrote: > Google Plugin for Eclipse -- Peanut Butter to Eclipse's > Chocolatehttp://googlewebtoolkit.blogspot.com/2009/04/g

Re: serialization to history - bad idea?

2009-04-22 Thread Arthur Kalmenson
I guess serializing objects and storing them in the history could work. However, there might be a mismatch in the Writer and Reader. GWT-RPC serialization to the server is a binary pipe delimited format, while the server returns optimized JSON. The GWT-RPC request looks something like this (... re

Re: JS error in IE

2009-04-22 Thread Ian Bambury
Try running it in hosted mode on Windows (so you get IE) and you'll probably find it'll pick it up. If you've done that (or can't) then compile with -style PRETTY and the JS will be more readable. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received

Re: single row in PagingScrollTable does not have proper height in IE7

2009-04-22 Thread Arthur Kalmenson
This sounds like a rendering bug with the PagingScrollTable. All I can suggest to do is a) check out the latest incubator and see if the issue is still there b) if it is, file an issue with the incubator issue tracker. Regards, -- Arthur Kalmenson On Tue, Apr 21, 2009 at 4:18 PM, KaffeineComa

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2009-04-22 Thread Thomas Broyer
On 21 avr, 04:21, jrray wrote: > > This technique would be more convenient if "doLogin" wasn't a static > method. > > I tried to change to non-static, such as: > >    private native void injectLoginFunction() /*-{ >       $wnd.__gwt_login = th...@com.example.myapp.client.app::doLogin > (); >  

Re: JsParserException: invalid label

2009-04-22 Thread Thomas Broyer
On 21 avr, 10:02, Chuck wrote: > Hi there! > > Can anyone help me with the error mentioned above? > > I try to make an interface to JavaScript so I can call a function. My > Java code looks like that: > >  public void onModuleLoad() { > >         setShowTrigger(this); > >   } > >   public nativ

Re: MouseListener to MouseMoveHandler

2009-04-22 Thread Thomas Broyer
On 22 avr, 20:49, Kelo wrote: > Hi people, > >     I used mouseListeners.fireMouseMove(this,x,y) on onBrowserEvent > (Event event) to fire this kind of event and modified x and y. > >     I would like to know how to set x and y when I firing an event on > 1.6 : > >         addDomHandler(new Mou

Re: FormPanel sumbit timeout

2009-04-22 Thread Thomas Broyer
On 21 avr, 12:54, Shimi wrote: > is there a way to change the FromPanel submit timeout? Given that FormPanel has no timeout by itself, I believe this is a browser thing, so the answer would be "no". In which case are you experiencing a timeout with FormPanel? --~--~-~--~~---

GWT RPC for inter-server communication?

2009-04-22 Thread JavaJosh
Hello, I actually rather like the GWT RPC API and was hoping to use it for more than client/server communication - in fact, I want to use it for server/server communication. Here is some example servlet code: http://gist.github.com/100232 The callService() method would be designed to hit a d

JS error in IE

2009-04-22 Thread vortex101
I am getting a JS error/warning pop-up box in IE (not Firefox), which says: Line 1327 Char 16 Error: 'Bzc.j.k' is null or not an object Code: 0 URL: my site's URL This error/warning does not break anything, and if clicked away, the site works just fine. However, it happens on a page which the us

Hosted mode, restart server, classloader errors

2009-04-22 Thread J Robert Ray
I get classloader errors from (re-)loading the Oracle JDBC driver when I attempt to "Restart Server" in hosted mode. java.lang.UnsatisfiedLinkError: Native Library /.../oracle/product/10.2.0.4.0/libocijdbc10.so already loaded in another classloader Is there something I can do to get pass this?

Re: GWT 1.6 in Ubuntu

2009-04-22 Thread Jeff Chimene
On 04/22/2009 06:04 PM, Vitali Lovich wrote: > Sorry - disregard that. That's only for actually building trunk. > Just for development, OpenJDK worked fine as far as I remember. OK, but is that what the OP is using as the JDK (not JRE as I originally wrote)? Since OpenJDK is essentaily the Su

Re: GWT 1.6, Google App Engine, and java.awt.image.*

2009-04-22 Thread Danny
Clarifying: I am using Java image classes on the server, where the Java sky should be almost limitless. Right now, I would like to get my application of a few thousand lines of code working under GWT 1.6. It works great under GWT 1.5. I took your advice and told Eclipse to not use App Engine, an

Re: Module without EntryPoint - How to compile?

2009-04-22 Thread Ben FS
> Do you see the non-entry point module in the list? Yes. > If so, can you hit "Restore Defaults", run the launch configuration, and see > if that fixes your > problem? Okay, I tried this as you describe and it worked. When I clicked "Restore Defaults", the entrypoint-less module disappeared. A

Re: GWT 1.6 in Ubuntu

2009-04-22 Thread Vitali Lovich
Sorry - disregard that. That's only for actually building trunk. Just for development, OpenJDK worked fine as far as I remember. On Wed, Apr 22, 2009 at 9:04 PM, Vitali Lovich wrote: > OpenJDK works fine for me, but I believe you need the trunk. Otherwise, > you need Sun's 1.6.0.7 (not .10) r

Re: GWT 1.6 in Ubuntu

2009-04-22 Thread Vitali Lovich
OpenJDK works fine for me, but I believe you need the trunk. Otherwise, you need Sun's 1.6.0.7 (not .10) release. On Wed, Apr 22, 2009 at 8:39 PM, Jeff Chimene wrote: > > On 04/22/2009 05:35 PM, Cliff Newton wrote: > > I recently downloaded the GWT/App Engine Eclipse plugin. I created a > > new

Re: GWT 1.6 in Ubuntu

2009-04-22 Thread Jeff Chimene
On 04/22/2009 05:35 PM, Cliff Newton wrote: > I recently downloaded the GWT/App Engine Eclipse plugin. I created a > new using the "create new web application project" button on the > toolbar. I named my project and unchecked the option to use google app > engine. I only want to use GWT. > > After

GWT 1.6 in Ubuntu

2009-04-22 Thread Cliff Newton
I recently downloaded the GWT/App Engine Eclipse plugin. I created a new using the "create new web application project" button on the toolbar. I named my project and unchecked the option to use google app engine. I only want to use GWT. After creating the project I decided to make sure everything

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene
On 04/22/2009 04:15 PM, Rob Tanner wrote: > > On Apr 22, 1:00�pm, Jeff Chimene wrote: > > >> On 04/22/2009 12:06 PM, Rob Tanner wrote: >> >> >> >> >>> Hi, >>> >>> I've been going back and forth with Instantiations tech support over >>> their GET Designer Eclipse plugin. �When I

Re: GWT on FreeBSD

2009-04-22 Thread Adligo
Hi, I was able to gwt working at a customer site (where I was give a development machine with free bsd). I used eclipse and the GWT Designer (required support from the GWT Designer Team, which was probably unofficial). I don't have the email they sent me, which had something to do with a swt

Re: GWT 1.6, Google App Engine, and java.awt.image.*

2009-04-22 Thread Ben FS
Client-side: GWT lets you use Java language, but only a sub-set of the J2SE library, supplemented by a variety of GWT-specific UI classes. Server-side: You can use whatever you want, including Java. If you wish to use Java (J2EE) on the server, you can - and then the GWT RPC mechanism can be hand

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene
On 04/22/2009 04:15 PM, Rob Tanner wrote: > > On Apr 22, 1:00�pm, Jeff Chimene wrote: > > >> On 04/22/2009 12:06 PM, Rob Tanner wrote: >> >> >>> Hi, >>> >>> I've been going back and forth with Instantiations tech support over >>> their GET Designer Eclipse plugin. �When I try an

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Rob Tanner
On Apr 22, 1:00 pm, Jeff Chimene wrote: > On 04/22/2009 12:06 PM, Rob Tanner wrote: > > > > > Hi, > > > I've been going back and forth with Instantiations tech support over > > their GET Designer Eclipse plugin.  When I try and execute a GWT > > application in Eclipse that I built with the Des

Re: GWT 1.6, Google App Engine, and java.awt.image.*

2009-04-22 Thread Vitali Lovich
GWT doesn't support java.awt.anything. You have to use the GWT Imageclass. GWT != Java & has nothing to do with App Engine (other than you can host your GWT project on App Engine). To disable App E

Re: Robust (cross-browser) check for a specific keycode?

2009-04-22 Thread jchimene
On Apr 7, 8:11 am, Isaac Truett wrote: > jchimene, > > The idea of a suggestBox.showDefaultSuggestions() has been tossed > around. That would get you the initial list of suggestions that you're > looking for. Unfortunately, this feature didn't make it into GWT 1.6 > and I don't think there's ev

Re: Request after request.

2009-04-22 Thread Vitali Lovich
Most browsers only support 2 outstanding AJAX events - that may be what you are running into. Without knowing what other calls you make, I cannot make a recommendation. One thing that does come to mind is that I hope you only call getEvents once on startup. On Wed, Apr 22, 2009 at 4:47 PM, david

Re: GWT vs. Facelets/JSF/RichFaces

2009-04-22 Thread Vitali Lovich
GWT is essentially a fancy Javascript framework. So in your question replace GWT w/ Javascript & you'll have the answer. On Wed, Apr 22, 2009 at 2:29 PM, Jon Onstott wrote: > Hello GWT'ers, > > I have been looking into the basics of GWT for a few weeks now but haven't > touched much code. The

Re: what optimizations are needed to improve performance

2009-04-22 Thread Vitali Lovich
On Wed, Apr 22, 2009 at 4:39 PM, denis56 wrote: > > His, > > I am seeing above expected performance on my application that displays > a table (17 x 17 Flextable, using only GWT widgets) of rows that > should be updated (Timer, RPC) at 1 second intervals. While the > application targets IE 6 which

Request after request.

2009-04-22 Thread davidst...@gmail.com
Hi. I'm trying to implement chat on my GWT app. So client has getEvents() function implemented like this : public void getEvents( ) { networkSvc.getEvents( new AsyncCallback< ArrayList >() { public void

what optimizations are needed to improve performance

2009-04-22 Thread denis56
His, I am seeing above expected performance on my application that displays a table (17 x 17 Flextable, using only GWT widgets) of rows that should be updated (Timer, RPC) at 1 second intervals. While the application targets IE 6 which run somewhat slowly (updates tend to be perfomed about 3 time

GWT 1.6, Google App Engine, and java.awt.image.*

2009-04-22 Thread Danny
I am trying to put my application under GWT 1.6, but I am having problems, because I use some java.awt.image classes. I understand that Google is working on App Engine for java and has probably not yet implemented image. How can I proceed, since the new eclipse plugins insist on App Engine, even

Re: A native GWT chart library?

2009-04-22 Thread plcoirier
I'm actually looking for a client side library where you can have interaction similar to flash (chart changing colors when the mouse goes over it and stuff like that). And dojo seems to do the trick. Here is a link with simple animation on graphs: http://archive.dojotoolkit.org/nightly/dojotoolkit

Re: Making a call to more than one server

2009-04-22 Thread CodeMonkey
The Same Origin Policy does not apply to making requests to another domain. It applies to manipulating the properties of another document from a different domain. For example if you had an iframe with document from another domain loaded into it, you won't be able to manipulate the DOM in that if

Enclosed: POM fragment that gets Maven to play nice with GWT 1.6.4

2009-04-22 Thread Laird Nelson
After a day or so playing around I have made a Maven pom.xml that respects the directory structure output by the webappCreator tool. Here are the relevant bits. Again, for veteran Maven users, rather than try to make the GWT Eclipse Plugin respect a tried-and-true maven layout, which I've read o

Re: SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Jeff Chimene
On 04/22/2009 12:06 PM, Rob Tanner wrote: > Hi, > > I've been going back and forth with Instantiations tech support over > their GET Designer Eclipse plugin. When I try and execute a GWT > application in Eclipse that I built with the Designer, I get an > Exception immediately. The error is: Exc

Re: A native GWT chart library?

2009-04-22 Thread sssmack
Pierre, Maybe use Walter's vector library here: http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm#download Granted it is lower level - you'd probably have to build on it to make graph classes - there may be some already made for it. On Apr 22, 2:35 am, Rvanlaak wrote: > The Google Chart A

Re: GWT vs. Facelets/JSF/RichFaces

2009-04-22 Thread Jim
It is pretty easy to switch to GWT when you have JEE background. I modified GWT mail sample to use Dreamsource ORM to connect to database. You can view this sample from http://www.leeonsoft.com/mail/Mail.html. Dreamsource is designed to target GWT applications. Basically, all GWT widgets are HTML

Re: Multiple Modules in 1 war & Sharing RPC

2009-04-22 Thread Rich
Hi Chris, I'm glad someone else is asking this. I asked some similar questions: where are the controls for naming and locating of important GWT artifacts (RPC connections, directories for HTML files, etc) in GWT 1.6, and reference documentation? See:Issue 3547. http://code.google.com/p/google-w

SWT seems to think I'm running on Linux and not a Mac ???

2009-04-22 Thread Rob Tanner
Hi, I've been going back and forth with Instantiations tech support over their GET Designer Eclipse plugin. When I try and execute a GWT application in Eclipse that I built with the Designer, I get an Exception immediately. The error is: Exception in thread "main" java.lang.UnsatisfiedLinkErro

Re: GWT 1.6.4: Exception in DriverManager.getConnection

2009-04-22 Thread Miguel Méndez
Removing App Engine just means that you don't plan on running the project on appengine. That should not impact Gears at all. On Wed, Apr 22, 2009 at 2:36 PM, Churky wrote: > > If you unselect Google App Enginee. Does that me you disable the > google Gears Options? > > I have google app 1.2.0 wh

Re: ImageBundle and the new war structure

2009-04-22 Thread Sunil
I created a package hierarchy in the public folder which matches the package for the ImageBundle definition. The compiler gave me [ERROR] No matching image resource was found. It gave me the filenames that would have matched, and I have the files under the exact same matching path in the public di

GWT and Maps

2009-04-22 Thread Polla
Hi There Can I use My own Maps instead of google or any other maps to generate an offline map related database --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

Caching of GWT 1.6 JSON Request

2009-04-22 Thread Polla
Hi there how can i stop caching of the requests sent to the .class file. I just use the getting started example but it seems to be not refreshed the values of the stock at stockwatcher just when I delete or add new items which that means its cached --~--~-~--~~~---~--~

MouseListener to MouseMoveHandler

2009-04-22 Thread Kelo
Hi people, I used mouseListeners.fireMouseMove(this,x,y) on onBrowserEvent (Event event) to fire this kind of event and modified x and y. I would like to know how to set x and y when I firing an event on 1.6 : addDomHandler(new MouseMoveHandler() {

Re: GWT 1.6.4: Exception in DriverManager.getConnection

2009-04-22 Thread Churky
If you unselect Google App Enginee. Does that me you disable the google Gears Options? I have google app 1.2.0 which correspond to the same version as the gwt-gear that I have installed. Please verify because I do need the use of gears. and If I need to disable gears in order to fix the my mysql

GWT vs. Facelets/JSF/RichFaces

2009-04-22 Thread Jon Onstott
Hello GWT'ers, I have been looking into the basics of GWT for a few weeks now but haven't touched much code. The company I work for has existing web applications which are pretty big and use J2EE technologies (a combination of JSF / Facelets / Richfaces / Javascript on the front end, and backing

IE Find Dialog produces an error in our GWT 1.5 app

2009-04-22 Thread greensunie
Hi everyone, This is something unusual with Internet Explorer that I haven't seen before, and haven't found any hits about in my online search. I'm hoping someone has encountered this before... We are using GWT 1.5 for our doctor search: https://www.healthnet.com/portal/providerSearch.do In IE

automatically update table with subtotals and totals

2009-04-22 Thread 85niner
I have a single FlexTable that is broken down into sections ( for lack of a better term ) and each section has a total and then the entire table is totaled at the bottom (see below). Currently I don't update the table dynamically because I haven't found an efficient ( or easy ) way to do it ( i.e

Re: Date - day issue

2009-04-22 Thread Pascal
This is probably happening because the timezone rules are different between java and the brower. When you send a date, you're sending a millisecond offset. Also, if the browser is in a different timezone than the server, you can be a day off your dates if the (hidden) time is close to midnight. M

Re: How to remove the default blue border of TabPanel

2009-04-22 Thread Jim
Which version of GWT is used? Make sure the css file is in the right location. Jim Xie http://www.leeonsoft.com For GWT ORM http://code.google.com/p/dreamsource-orm/downloads/list On Apr 22, 12:38 pm, Qing wrote: > Hi, > I'm using TabPanel. It has a default blue border. I've edit css for >

Re: List of Usable Java Packages?

2009-04-22 Thread Jonathan Kushner
I see now. Thanks for the help. On Tue, Apr 21, 2009 at 1:53 PM, Adam T wrote: > > 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 JavaScrip

Click event fires on double-click

2009-04-22 Thread badgerduke
Hello: I'm working on a ListBox subclass, called DoubleClickAwareListBox. On double-click events, the click event fires twice, no matter if I'm using a ClickListener or overriding onBrowserEvent(Event event) like below: public void onBrowserEvent(Event event) { super.onBrowserE

Re: GWT import external jar

2009-04-22 Thread Qing
Oh, i see. Thank you! It works. On Apr 6, 10:06 am, Jason Essington wrote: > That is correct, if your external library is only used on the server   > side (Hibernate, axis, etc) then there is no need to reference it in   > your gwt.xml file. > > However, if you do need to use it in your client c

Re: GWT 1.6 TreeListener onTreeItemSelected

2009-04-22 Thread Micky
Thanks Salvador...didn't realize there was a SelectionHandler. On Apr 22, 12:08 pm, Salvador Diaz wrote: > From a quick glance at the javadoc (http://google-web- > toolkit.googlecode.com/svn/javadoc/1.6/index.html) you can get what > type of handlers you can add to a Tree. You're looking for > S

How to remove the default blue border of TabPanel

2009-04-22 Thread Qing
Hi, I'm using TabPanel. It has a default blue border. I've edit css for it: .gwt-TabPanel { margin-top: 4px; border: none; width: 100%; text-decoration: none; } .gwt-TabPanelBottom { padding: 10px; display: block; border-width: 0px; border-color: #44; } .gwt-TabBar { paddin

Re: CloseHandler, new window problem

2009-04-22 Thread Vitali Lovich
Depends on the browser - you'll probably see the pop-up blocker kick in. On Wed, Apr 22, 2009 at 9:49 AM, ivovnenko wrote: > > That's what i'm asking:) > > Additional research: old WindowCloseListener mechanism works ok! > > On Apr 22, 10:46 am, Vitali Lovich wrote: > > My advice would be to th

GWT Upgradation error from 1.4 to 1.5/1.6

2009-04-22 Thread Satya Bobba
Hi, I am upgrading my existing code from GWT 1.4 to GWT 1.6.we have used the FastTree.java in our code. it is compiling fine with 1.4. I have kept the latest jar files(gwtuser, gwt windows, gwt servlet, and gwt-incubator_1-4_final.jar) in the path, but still it is throwing an error. I have use

Run same application in both web as well as desktop

2009-04-22 Thread Sandeep_GE
Hello, I have written a client/server application using GWT & Eclipseand developed a fancy UI in GWT which communicates with Multiple servlets/ servers...its working fine Now according to our design i want to use the same server code as a normal server in desktop application i.e since in server c

Displaying latin characters on the browser

2009-04-22 Thread Nairutee
Hi, I am facing a problem with displaying latin characters on the web browser.I'm using GWT as the front - end and MySQL 5.0 as the back- end. My project allows the user to enter text in european languages like german, swedish, spanish etc. I want to be able to store the correct text format into

Re: Eclipse Plugin Compile Button & Stack Overflow

2009-04-22 Thread Filipe Sousa
On Apr 8, 4:11 pm, Brian wrote: > Just installed the GooglepluginforEclipse, and hit the Compile > button on my project.  It gave me astackoverflowerror. > Prior to using theplugin, I'd compile by hitting the Compile button > in the hosted mode browser.  In the Run/DebugEclipseconfiguration, I >

Reading xml

2009-04-22 Thread surfi2000
Hi, I would like to read some xml from a URL using ajax and gwt. The way it is suppose to work is that maybe someone searches for something and the program would read the xml and find it in a certain node. The result would then be displayed using AJAX. So far I have not been able to read XML usin

Date - day issue

2009-04-22 Thread Stephan
I've run into quite a strange issue serializing dates from the browser to the server. When I enter the following dates in the browser I receive for some dates the wrong value at the server side (using date pattern dd-MM- ): 1-1-1968 -> Mon Jan 01 00:00:00 CET 1968 - correct 1-3-1968 -

Re: java.lang.StackOverflowError with GWT

2009-04-22 Thread Alex Moffat
I also had this problem but worked around it by setting the localWorkers parameter to com.google.gwt.dev.Compiler to at least the number of permutations I'm compiling. Why this should work I have no idea, but it does, at least for me. I'm only building 5 permutations so this is a reasonable soluti

JQuery Object in GWT

2009-04-22 Thread borrey
I am still having trouble getting gwt and Jquery to work well with each other. I have a javascript I am trying to call natively: public static native void callSomeJavaScript(){ divs = $wnd.$("div"); console.log(divs); } Now in FireBug divs it shows up as a Jquery Object. Outside of GWT it sh

Re: i18n in client/server application

2009-04-22 Thread Vitali Lovich
Just use the regular java way to look up the exception message & throw it. Don't understand your problem. On Wed, Apr 22, 2009 at 9:45 AM, olel wrote: > > > Explain again why the name of objects can't be internalized using > constants > > on the client side? > > Maybe that was a bad example. It'

Re: GWT 1.6 TreeListener onTreeItemSelected

2009-04-22 Thread Salvador Diaz
>From a quick glance at the javadoc (http://google-web- toolkit.googlecode.com/svn/javadoc/1.6/index.html) you can get what type of handlers you can add to a Tree. You're looking for SelectionHandler: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/Tree.html#

GWT 1.6 TreeListener onTreeItemSelected

2009-04-22 Thread Micky
In previous versions of GWT one could add a tree listener to a tree and use onTreeItemSelected to handle when a tree item was selected by the user. How would this be implemented in GWT 1.6 given the new event handling? There doesn't seem to be much in the way of GWT 1.6 example code out there. T

How to convert Throwable stacktrace to String in client code

2009-04-22 Thread farrukh.n...@gmail.com
Does any one have a way to convert a Throwable's stacktrace to a String in GWT client code? Thanks for any tips. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

Re: ImageBundle and the new war structure

2009-04-22 Thread Salvador Diaz
They have to be in the public directory. Read the second bullet point in the "New Project Structure" section here: http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFeatures And for more information on ImageBundles: http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.

Re: ImageBundle and the new war structure

2009-04-22 Thread Jim
You can put your image files in the same package as your ImageBundle Java source code. Jim Xie http://www.leeonsoft.com for GWT ORM. http://code.google.com/p/dreamsource-orm/downloads/list On Apr 22, 11:28 am, Sunil wrote: > In GWT 1.6, where do you put the image files for the ImageBundle in >

Re: How to know Time Format of System time at client side

2009-04-22 Thread Ian Bambury
Priya, you can't do what you are asking. If you are storing a datestamp in a database then you will probably be storing the number of milliseconds since 01 Jan 1970. Whatever format you pass to the database, if it can understand it, it will convert it to that. In a lot of cases, it will guess wrong

ImageBundle and the new war structure

2009-04-22 Thread Sunil
In GWT 1.6, where do you put the image files for the ImageBundle in the new war structure? I tried to put it in a subdirectory called images in the war directory, and set the @Resource annotation value to "images/...". That did not work. Do I need to create a subdirectory with the module name unde

Re: Minor documentation error

2009-04-22 Thread Alex Rudnick
Thanks for the heads up! Duly noted :) On Tue, Apr 21, 2009 at 11:15 PM, k9mab wrote: > > Found a small documentation error, not sure how to report it. Would > someone be good enough to pass this on via the proper channels? > > http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.htm

Re: GWT Mail sample using Spring & Dreamsource ORM

2009-04-22 Thread Jim
I am developing this ORM for seven years. It has been used in three major applications for over three years. Please check it at www.leeonsoft.com for more information. The ORM solves the following problems: 1. Whatever you codes happens in database. No merge 2. No detached enhanced object. 3. No l

Re: Strange window popup with Anchor widget in 1.6.4

2009-04-22 Thread Clive Cox
Thanks Salvador, this seems to have worked. What is confusing is the constructor I used has in the javadoc: "Creates an anchor for scripting. The anchor's href is set to javascript:, based on the expectation that listeners will be added to the anchor." This seems to imply what I was trying to do,

Re: GWT Mail sample using Spring & Dreamsource ORM

2009-04-22 Thread Rakesh
> Why would anyone want to use this ORM when theres hibernate ? Check the author name of that project! Nevertheless, good job! On hibernate: After using hibernate for years, we are seriously considering other options like toplink essentials, cayenne or even ibatis. I think we should remove the b

Re: How to know Time Format of System time at client side

2009-04-22 Thread Salvador Diaz
But why do you want to store it in the format of the client ? How is the format relevant ? What are you trying to do with that data ? It's not really a good practice to store dates in inconsistent formats in a database, I'm pretty sure you're subverting the utilization of date formatters to accomp

Re: Creating GWT application

2009-04-22 Thread Rajeev Dayal
Glad that everything is working for you. As an FYI, if you have a proxy server that you can use to hit the Eclipse update site, you can configure Eclipse to use it when performing an update or an installation. In Eclipse 3.3, go to Windows -> Preferences -> Network Connections (or Eclipse -> Prefer

Re: CloseHandler, new window problem

2009-04-22 Thread ivovnenko
That's what i'm asking:) Additional research: old WindowCloseListener mechanism works ok! On Apr 22, 10:46 am, Vitali Lovich wrote: > My advice would be to think about why that might be. > > On Wed, Apr 22, 2009 at 2:57 AM, ivovnenko wrote: > > > Update: it works in hosted mode, not don't in r

gwt-openlayer

2009-04-22 Thread Michel
I'm trying to develop an application with gwt and openlayers it's just a mistake in class JObeject follow the steps in this post group only that i fix this class and other errors appear in other class through the cvs eclipse will be someone there that is. jar and repaired may provide for download?

gwt incubator grid grouping

2009-04-22 Thread Johan Lundberg
I very much like the feature of grouping in Grids that smartgwt can offer. See: http://www.smartclient.com/smartgwt/showcase/#grid_grouping_dynamic However, I feel a bit locked in by the look and feel that Smartgwt has to offer and therefore tried the ScrollTableDemo provided by the gwt incubator

Re: i18n in client/server application

2009-04-22 Thread olel
> Explain again why the name of objects can't be internalized using constants > on the client side? Maybe that was a bad example. It's easier to explain with exceptions (defined in my application). Exceptions have an errortext that should be internationalized as well. As exceptions are thrown at

Re: How to know Time Format of System time at client side

2009-04-22 Thread priya
I got what you explained. I am sending client side date as follows: Date executionDate = new java.uti.Date(); and storing id database same as u told like: Timestamp executionTimestamp = new Timestamp(executionDate.getTime ()); But my problem is that I want to store the time in the format same

Re: How to know Time Format of System time at client side

2009-04-22 Thread Salvador Diaz
> but if client side time is in 12hr format then also I am getting 24hr > format time. What do you mean by that ? Could you be more clear ? I want to help you but I need to know what it is that you're not understanding from what I told you. Maybe paste some code snippets that'll show me how you'

Re: How to know Time Format of System time at client side

2009-04-22 Thread priya
Yeah I can do that.. but if client side time is in 12hr format then also I am getting 24hr format time. For 24hr format time it is giving correct time. I want to save the time same as client time (client system time). How can I do this? On Apr 22, 5:32 pm, Salvador Diaz wrote: > Well then pas

Re: removing dead code manualy?

2009-04-22 Thread Ed
What happened to the gwt developers ? Did they lost their creativity ? ;)... Please some advice on this issue above. -- Ed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: How to know Time Format of System time at client side

2009-04-22 Thread Salvador Diaz
Well then pass a java.util.Date object instantiated at the client-side through a RPC and store it. No need to format anything. On Apr 22, 2:10 pm, priya wrote: > I don't want server side date time. > I want to store client side date time as Timestamp in database. > > On Apr 22, 4:20 pm, Salvador

Re: CSS in GWT

2009-04-22 Thread Asif Hasanov
Thank you very much! On Wed, Apr 22, 2009 at 3:05 PM, Salvador Diaz wrote: > > > http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html#DevGuideStyleSheets > > On Apr 22, 2:02 pm, as_if wrote: > > Hello. How can I use CSS in GWT? Should CSS file be in the public > > folder or clien

Re: How to know Time Format of System time at client side

2009-04-22 Thread priya
I don't want server side date time. I want to store client side date time as Timestamp in database. On Apr 22, 4:20 pm, Salvador Diaz wrote: > Sorry but I'm still not understanding exactly what you're trying to > do. > > I got the part where you're saying that you want to store a timestamp > in

Re: CSS in GWT

2009-04-22 Thread Salvador Diaz
http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html#DevGuideStyleSheets On Apr 22, 2:02 pm, as_if wrote: > Hello. How can I use CSS in GWT? Should CSS file be in the public > folder or client folder? I use NetBeans. Thanks beforehand. --~--~-~--~~~---

CSS in GWT

2009-04-22 Thread as_if
Hello. How can I use CSS in GWT? Should CSS file be in the public folder or client folder? I use NetBeans. Thanks beforehand. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: How to know Time Format of System time at client side

2009-04-22 Thread Salvador Diaz
Sorry but I'm still not understanding exactly what you're trying to do. I got the part where you're saying that you want to store a timestamp in a database. But is it the server-side time or client-side time ? Either way, you shouldn't need to format dates to do that, just pass the java.util.Dat

Re: How to know Time Format of System time at client side

2009-04-22 Thread priya
I want to send current date time as String at server side and then I am converting this String to java.sql.TimeStamp to store into database. But I want to store the system date and time. And to format this date time at client side I want whether the system time is in 12hr or 24hr format. Accordi

  1   2   >