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

2009-04-23 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

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

2009-04-23 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 nsurendi...@gmail.com wrote: Hi All, I am trying to make a single column invisible in

Re: Problem in downloading Google Plugin for Eclipse

2009-04-23 Thread sandeepla...@gmail.com
This worked fine for me (drop in Mechanism). Thanks Rajeev for detailed explaination. Appreciated. On Apr 21, 8:15 pm, Rajeev Dayal rda...@google.com wrote: Actually, I made a mistake in the install instructions: Alternatively, you can just rename the temporary directory to eclipse, remove

Re: i18n in client/server application

2009-04-23 Thread olel
What do you mean by the regular java way? The regular java way for i18n is to use a java.util.ResourceBundle together with some property files (i.e. application_de.properties and application_en.properties for german and english properties). This ResourceBundle won't work in GWT (see above). Maybe

Re: Request after request.

2009-04-23 Thread davidst...@gmail.com
I open two clients, and trying to send a message from one to another. So i have two requests hanging on server's side, and the third one trying to send the message. the server side is like this : @Override public ArrayListEvent getEvents( Integer sessionId ) {

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

2009-04-23 Thread Salvador Diaz
Unfortunately this pom has the undesirable side effect of polluting your source tree with generated artifacts. I'll try to post mine as soon as I have time to comment it. Cheers, Salvador On Apr 22, 9:54 pm, Laird Nelson ljnel...@gmail.com wrote: After a day or so playing around I have made

Re: Eclipse Plugin Compile Button Stack Overflow

2009-04-23 Thread mihai007
oh well add me to the list. this should have priority as it turns the use of plugin useless if I can't compile any workarounds? On 8 Abr, 16:11, Brian hibr...@gmail.com wrote: Just installed the Google plugin for Eclipse, and hit the Compile button on my project.  It gave me

Re: How to remove the default blue border of TabPanel

2009-04-23 Thread Qing
gwt-windows-1.6.4. it's in right location, because other styles can be applied to the page. only this tab panel border style doesn't work On Apr 22, 12:49 pm, Jim jim.p...@gmail.com wrote: Which version of GWT is used? Make sure the css file is in the right location. Jim

Re: Making a call to more than one server

2009-04-23 Thread Salvador Diaz
There should be no problem pulling data with a RequestBuilder. Have you actually tried that ? I tried and got burned by the SOP. (Sumit Chandel is one of the googlers behind GWT and he just pointed out the SOP pitfall 2 comments above so I'm pretty sure we can trust him) Good day, Salvador

Re: Request after request.

2009-04-23 Thread Salvador Diaz
As Vitali said, there are some common pitfalls when trying to implement something along the lines of whatyou're trying to do. There have been plenty of discussions related to chat implementations and server-push. You might want to look at this docs:

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

2009-04-23 Thread Salvador Diaz
That stack trace is related to the app engine sdk, are you sure you want to use it ? To further explain the problem: I've seen the same exception in a post a couple of days ago here, the poster eventually found out that he needed a xerces jar in his classpath and that solved the issue (look at

Re: GWT RPC for inter-server communication?

2009-04-23 Thread Salvador Diaz
Well, server-side code, the RPC implementations, are just normal java servlets so you should be able to do anything your servlet container allows you to do. (I can't test this code right now because the Google App Engine plugin on the Mac doesn't seem to run hosted mode correctly). On the

Re: How to remove the default blue border of TabPanel

2009-04-23 Thread Salvador Diaz
Use firebug to inspect the compiled application, it will tell you what styles are being applied to the tabPanel and where they come from, you should be able to find what is taking over the style of your panel. Also, you might want to redefine all of the tabPanel and tabBar styles, take a look at

Re: Request after request.

2009-04-23 Thread davidst...@gmail.com
Well, it really looks like a bug, cause when i compile it to browser it works properly ( meanwhile ). Thanks for your answers. On Apr 23, 10:05 am, Salvador Diaz diaz.salva...@gmail.com wrote: As Vitali said, there are some common pitfalls when trying to implement something along the

Re: Having a Problem with GWT XMLparser

2009-04-23 Thread Charlie
- I have no idea how this makes sense, why would this work and the same response I get from a server won't? maybe it's about spaces or empty lines? @Jeff: when I tried to remove the /br tags it did work , no idea why though. @Jason:the program gets an error on: Document doc =

How to get the 'generated' html

2009-04-23 Thread Stephan
Hi, Perhaps someone can help me the following issue: I fetch a html file from the server with a remote call and place this into the page (using setInnerHtml). The html contains widgets like input (type=text). After displaying the user can enter values. What I want is to get the entire html

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

2009-04-23 Thread Salvador Diaz
Folks, do you have solution to third of the above steps? I am stuck myself on this issue. Look at the javadoc for DateTimeFormat, you'll find that the get*Formta () methods return a formatted already instantiated with a pattern and The pattern for this format is predefined for each locale So

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

2009-04-23 Thread Sushrut Bidwai
Hi. This is what I understand from Priyas input. Though I dont know the solution myself. 1. Take timestamp from client side and send it to server. (easy) 2. Store this in database (easy) 3. Display it back to clientside is client-side format. IE Some clients may be using HH:mm some may be on

Re: GWT Upgradation error from 1.4 to 1.5/1.6

2009-04-23 Thread Satya Bobba
Hi hazy, thanks, i tried with latest version of incubator, but i am getting different errors means some of the classes are not available in that new jar. we have used 1.4 incubator classes in our applications those classes are not avaliable in that new jar. so to avoid the compilation errors,

Re: Request after request.

2009-04-23 Thread Vitali Lovich
Seriously doubt it's a hosted mode mode issue. Which browser did you test web-mode with? Hosted mode actually launches a version of IE6, so using FF or IE7 may present different issues (for instance they might have a raised AJAX connection limit) The issue is purely on the client side. Are you

Re: Eclipse Plugin Compile Button Stack Overflow

2009-04-23 Thread Vitali Lovich
The problem has already been fixed in trunk. Maybe you could convince the developers to make a point release given the visibility frequency this issue has occured. On Thu, Apr 23, 2009 at 3:51 AM, mihai007 mihai@gmail.com wrote: oh well add me to the list. this should have priority as it

Re: ImageBundle and the new war structure

2009-04-23 Thread Vitali Lovich
There's no public folder as far as I'm aware - that's what the war directory is for. Images go in the same directory as your ImageBundle class. On Wed, Apr 22, 2009 at 2:51 PM, Sunil suba...@gmail.com wrote: I created a package hierarchy in the public folder which matches the package for the

Re: How to get the 'generated' html

2009-04-23 Thread Vitali Lovich
No since those values are hidden in javascript. All the generated html view is I think is if you use Javascript to do a document.write to dynamically generate the HTML, which isn't what you are doing. You might find Firebug helpful - it lets you inspect the DOM CSS which is far more useful. On

Re: what optimizations are needed to improve performance

2009-04-23 Thread denis56
do you think getting and updating precreated widgets from the table (getWidget(), casting) is faster than creating them anew? one more thing, the gwt documentation mentions that operations with type long are resource consuming (Heavy use of long operations will have a performance impact due to

Re: what optimizations are needed to improve performance

2009-04-23 Thread Vitali Lovich
Use the Duration class instead to fetch the time, although I doubt that's going to improve much. Of course it's faster to access pre-created objects than creating new ones. Casting is a no-op as far as I know (I can't think of a language right now off the top of my head where it wouldn't be).

How to access a web application GWT distance( intranet network) under Tomcat SERVER

2009-04-23 Thread Midou
HELLO, I have an application GWT - EJB - THE partie one(DATA) with EJB3: fonction by JBOSS SERVER - THE second partie(PRESENTATION and GRAPHIQUE) : fonction by TOMCAT SERVER How access a web Application GWT distance (not local) under SERVER

Re: i18n in client/server application

2009-04-23 Thread Vitali Lovich
On Thu, Apr 23, 2009 at 3:24 AM, olel lauri...@engram.de wrote: What do you mean by the regular java way? The regular java way for i18n is to use a java.util.ResourceBundle together with some property files (i.e. application_de.properties and application_en.properties for german and english

Re: How to remove the default blue border of TabPanel

2009-04-23 Thread Vitali Lovich
Make sure you include your stylesheet in the module xml in the correct location. This has been discussed several times in the discussion forum. Optionally, a hack would be to mark the rule !important, but I'd really recommend doing it the correct way - it's not difficult. On Thu, Apr 23, 2009

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

2009-04-23 Thread Laird Nelson
On Thu, Apr 23, 2009 at 3:50 AM, Salvador Diaz diaz.salva...@gmail.comwrote: Unfortunately this pom has the undesirable side effect of polluting your source tree with generated artifacts. I'll try to post mine as soon as I have time to comment it. Oh, absolutely agreed. That's the way the

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

2009-04-23 Thread Isaac Truett
Where's the Notepad support? But seriously, folks... nobody's forcing you to use anything. And nobody is under any obligation to write a plugin for you. If the Netbeans-using GWT developer community wants a plugin, they can make one. The Google plugin is even going to be open-sourced (according

Re: MouseListener to MouseMoveHandler

2009-04-23 Thread Kelo
To restrict the movement of a widget inside another. Seeing gwt's development from its beginning till now, do you think deprecated classes would not work anymore on next versions of GWT ? On 22 abr, 22:59, Thomas Broyer t.bro...@gmail.com wrote: On 22 avr, 20:49, Kelo mcac...@gmail.com wrote:

Re: MouseListener to MouseMoveHandler

2009-04-23 Thread Salvador Diaz
do you think deprecated classes would not work anymore on next versions of GWT ? That's pretty much the point of deprecating them. I think the goal is to remove them in the 2.0 release (I read that somewhere in the contributors forum, I don't remember where exactly)

How does GWT-RPC use deferred binding?

2009-04-23 Thread JoeB
I understand the general concept of deferred binding, and how it generates different flavors of JavaScript code at compile-time that are selected at run-time based on the client's browser and locale. What's unclear to me is why and how the GWT-RPC mechanism uses it. I don't see why RPC needs the

Re: i18n in client/server application

2009-04-23 Thread Vitali Lovich
Why are you using a ResourceBundle within the exception? new MySuperDuperException(bundle.getKey(blah)); on client side, onFailure(Throwable cause) { MySuperDuperException a = cause; a.getMessage(); // whatever the localized message is } On Thu, Apr 23, 2009 at 6:54 AM, olel lauri...@engram.de

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread Vitali Lovich
It won't generate different flavours. Otherwise, adding an RPC class would add at least 1 permutation (which it doesn't). http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideDeferredBindingConcepts It needs to dynamically create an asynchronous proxy class for the synchronous

Re: GWT RPC for inter-server communication?

2009-04-23 Thread Vitali Lovich
Well, I'd imaginge there'd be a serious problem using the GWT implementation - doesn't it use JSNI at points? You could try to write one inspired by it using guice. The JSON transport is pointeless going between two java servers - just use regular serialization. You'll see much faster

Re: i18n in client/server application

2009-04-23 Thread olel
That's what I ment yesterday by setting the strings into the classes that are used on the client. The exception might be an example where the text can be set via constructor, but there are others where it is very unaesthetic at least. Unfortunately I think that there would be no other way, would

Re: Provide support for NavigableMap/NavigableSet implementation?

2009-04-23 Thread Mark Renouf
In case anyone was curious I finally noticed that Apache Harmony now has implementations of this. Being Apache licensed, I believe I'm completely in the clear to take and modify the Harmony version to make it play well in GWT. There's seems to be some strange behavior in not being able to

Re: Request after request.

2009-04-23 Thread Rvanlaak
For a chat app the Comet principal is needed. I've had the same problem, so I would really advise you to look at the GWTEventService library. That lib supports your needs out of the box, and is GWT 1.6.4 compatible. Start using the lib is kinda tough, but you'll don't regret it! Take a look at

Re: Eclipse Plugin Compile Button Stack Overflow

2009-04-23 Thread Miguel Méndez
We've updated the compile UI to allow you to tweak the -Xss and -Xmx settings. It will be part of the upcoming point release of the plugin. In the meantime, the compile button in hosted mode is one work around. You can also compile a version of the GWT trunk and have the plugin use that SDK for

Re: GWT RPC for inter-server communication?

2009-04-23 Thread jhulford
Depending on how you're updating your code across your multiple servers, JVM serialization can be a pain to try and deal with, especially for code bases that are constantly being updated. I don't believe that you'll get far trying to use the GWT RPC stuff in straight java. If JSON isn't for you,

Re: How to get the 'generated' html

2009-04-23 Thread Jerome
Without Firebug or Web Developer Firefox extensions, you can do : - CTRL+A to select all elements of your page. - Right Click and select : View Selection Source You'll get the generated HTML but without indentation. --~--~-~--~~~---~--~~ You received this message

Re: Module without EntryPoint - How to compile?

2009-04-23 Thread Rajeev Dayal
Hey Ben, Glad that the error is gone. One last question - in the launch configuration that you modified by hitting the Restore Defaults button - before that point, did you ever make changes to the list of Entry Points in the launch configuration? The reason that I'm asking is because we should

Re: Provide support for NavigableMap/NavigableSet implementation?

2009-04-23 Thread Mark Renouf
And finally, I found this: http://backport-jsr166.sourceforge.net/ Public domain is about as risk-free a license as you can get I think. I'd also like to finish my SkipList implementation, though it's not really performing as well as it should be, I'm happy that it works... On Apr 23, 9:26 

how ho handle handlers

2009-04-23 Thread romant
Hi guys, with GWT 1.6 there is the new handler-based approach for managing events. When I register, let's say, a button handler HandlerRegistration buttonRegistration = button.addClickHandler(new ClickHandler() {...do something...}); I get an instance of HandlerRegistration. Then, if I want to

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

2009-04-23 Thread Keith Platfoot
Hi Danny, It sounds like you've resolved the issue, but I'd like to reiterate for any other users having problems. GWT and App Engine work well together, but as Vitali mentioned, they are orthogonal and can be used in isolation just as easily. When creating a new Web Application project using

How to program to set token into url without using HyperLink.

2009-04-23 Thread Henry
Hi All, I am asking a very simple question. As you know, when we click on Hyperlink h1 =new Hyperlink(h1,tk1); then the URL will auto put tk1 into the URL (ex: url.com#tk1). Can we do the same thing for Button, for example, when user clicks a button, the it will automatically append tk1 into

Re: How to program to set token into url without using HyperLink.

2009-04-23 Thread Alex Rudnick
Hey Henry, Sounds like you want to take a look at the History class: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/History.html In the handler for the button, you could call History.newItem(). On Thu, Apr 23, 2009 at 11:11 AM, Henry henry...@gmail.com

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread JoeB
Hi Vitali, Why couldn't the async proxy class be created statically instead of dynamically? I infer the reason is that there must be browser- specific variations in the client-side proxy class, right? -- Joe --~--~-~--~~~---~--~~ You received this message

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread Salvador Diaz
Why couldn't the async proxy class be created statically instead of dynamically? You compile your GWT code, the async interfaces are generated statically at this time. Where are they pointing to ? Maybe you could pass the target url, but then you'd have to recompile for every server you need to

Set style to DecoratorPanel during runtime

2009-04-23 Thread hezjing
Hi Thanks for the community, and that I'm able to modify the corners of the DecoratorPanel. I have been testing this by override the following default styles of the DecoratorPanel: .gwt-DecoratorPanel .topLeft .gwt-DecoratorPanel .topRight .gwt-DecoratorPanel .bottomLeft .gwt-DecoratorPanel

Re: Set style to DecoratorPanel during runtime

2009-04-23 Thread Salvador Diaz
call setStyleName(yourStyle) on the decorator panel, and define the following rules in your css .yourStyle .topLeft .yourStyle .topRight .yourStyle .bottomLeft .yourStylel .bottomRight On Apr 23, 5:38 pm, hezjing hezj...@gmail.com wrote: Hi Thanks for the community, and that I'm able to

Re: Set style to DecoratorPanel during runtime

2009-04-23 Thread hezjing
Hi Salvador I appreciate your help, it is working now! Thank you! On Thu, Apr 23, 2009 at 11:47 PM, Salvador Diaz diaz.salva...@gmail.comwrote: call setStyleName(yourStyle) on the decorator panel, and define the following rules in your css .yourStyle .topLeft .yourStyle .topRight

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

2009-04-23 Thread Jason Essington
it is not necessary to have different protocols (RPC / whatever your J2ME uses) use the same servlet ... if the actual messaging work is done in a class outside the servlet, both your RPC servlet and J2ME endpoint can use the same underlying code and just handle the protocol stuff

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread Jason Essington
Not only is the client side service implementation generated, but also all of the data serializers required for that service. The call to GWT.create() is to trigger a generator not to perform deferred binding as such. -jason On Apr 23, 2009, at 9:36 AM, Salvador Diaz wrote: Why

help with DOM.eventCancelBubble

2009-04-23 Thread rjcarr
I have a setup similar to google maps where I have a main canvas (the map) and some controls (the map controls). I would like my setup to work similarly, where a double-click on the main map canvas does one thing, but a double-click on the map control is essentially two clicks (which I've got

Re: Setting DataSource (JNDI) in GWT 1.6 (hosted mode - Jetty)

2009-04-23 Thread sjachym
I follow the 5 steps, but when i'm running my Module GWT under Google Eclipse Plugin, i have this errors : [WARN] Configuration problem at resource- refdescriptionDataSource's test project/descriptionres-ref- namejdbc/projectDS/res-ref-nameres-typejavax.sql.DataSource/res-

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread JoeB
So what does happen during the call to GWT.create() for an RPC? Is a JavaScript class for the async proxy being generated in the client on-the-fly? Is a round-trip made to the server to fetch some pre- compiled code appropriate to the browser-type? -- Joe

Best practices?

2009-04-23 Thread Laird Nelson
I'm looking for some recommendations from the hard-core GWT users out there. I'm sure my requirements are not unique. What is the best way to set up a modular web application that features GWT? There, that's the one-sentence question in case this has been answered many times before--so do

java.lang.ref in GWT

2009-04-23 Thread zold...@gmail.com
I have GWT application. Use loads page, then visits links (I use GWT's Hyperlink, so page is not reloaded). Amount of data that page contain is increased (I use AJAX requests to get data from server). I have some data that shouldn't necessarily exist always, I can load it from server again. Is

RichTextArea menu bar

2009-04-23 Thread mkl
Dear Masters, after downloading GWT I tried out different widgets. And promptly got problem with RichTextArea(). I build it in my StockWatcher-Project (which I created stricktly with tutorial) private RichTextArea description = new RichTextArea(); ...

session management from client side...

2009-04-23 Thread ric.flair....@gmail.com
Hi! I would like to create login function (write username+password and afterward session management) in my GWT app. The first task is to display a login window to write username + password. After on the server side these must be checked and give back a session ID to client. There we can store in

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread Jason Essington
GWT.create() is basically a compile time thing ... GWT.create() is magically transformed in the compile process to something like new MyAsyncImpl() At compile time, the MyAsyncImpl() class is generated along with the serialization classes needed. And the javascript simply uses the class

Re: Module without EntryPoint - How to compile?

2009-04-23 Thread Ben FS
Glad that the error is gone. One last question - in the launch configuration that you modified by hitting the Restore Defaults button - before that point, did you ever make changes to the list of Entry Points in the launch configuration? I may have removed a module (that had an entrypoint,

Re: Best practices?

2009-04-23 Thread Jeff Chimene
On 04/23/2009 09:36 AM, Laird Nelson wrote: I'm looking for some recommendations from the hard-core GWT users out there. I'm sure my requirements are not unique. What is the best way to set up a modular web application that features GWT? You're asking two questions: o How do I develop

Re: i18n in client/server application

2009-04-23 Thread Vitali Lovich
No - any data structures you share with client side obviously cannot use non-GWT code. Thus you have to provide getters setters for the server code. An optional abstraction would be to something like: interface class C extends Constants { String bar(); } on client side: MyClassFoo foo =

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread JoeB
Thanks for all the explanations! I think I get it now. :-) -- Joe --~--~-~--~~~---~--~~ 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

Re: GWT RPC for inter-server communication?

2009-04-23 Thread Vitali Lovich
Well, presumably you've properly versioned you're code so you're properly serializing/deserializing. This is a fundamental problem with deserializing with a different version of code than it was serialized with. It also exists with passing things using JSON or any serialization scheme. I think

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread Vitali Lovich
Also, assign the result to GWT.create to a singleton, preferably lazy loaded like class MyClass { private static class Service { MyServiceAsync impl = GWT.create(MyService.class); } } You'll see significant performance improvements in hosted mode - I haven't tested web-mode, but

Re: EAR + Web Application Project instead of Dynamic Web Project

2009-04-23 Thread Sumit Chandel
Hi sjachym, Adding export to WAR functionality to the Eclipse plugin has been reported and is planned for inclusion in a future release (see Issue # linked below). This means that worst case, you can at least generate the .war file and add it to your EAR project. Issue #3584:

Socket error with a CGI/Python/MYSQL back-end

2009-04-23 Thread Matt
Hi, I am currently building a GWT application which uses a cgi python back- end to communicate with a mysql server. I am using the GWT plugin for eclipse and have been trying to configure the web server that comes with it to allow me to do this. (I believe that its Jetty?) I have successfully

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

2009-04-23 Thread Rob Tanner
On Apr 22, 5:35 pm, Jeff Chimene jchim...@gmail.com wrote: On 04/22/2009 04:15 PM, Rob Tanner wrote: On Apr 22, 1:00 pm, Jeff Chimenejchim...@gmail.com  wrote: On 04/22/2009 12:06 PM, Rob Tanner wrote: Hi, I've been going back and forth with Instantiations tech support over

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

2009-04-23 Thread Rob Tanner
On Apr 23, 1:13 am, Salvador Diaz diaz.salva...@gmail.com wrote: That stack trace is related to the app engine sdk, are you sure you want to use it ? To further explain the problem: I've seen the same exception in a post a couple of days ago here, the poster eventually found out that he

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

2009-04-23 Thread Rajeev Dayal
What version of the JDK are you using on your Mac? Are you using Java 1.6 or Java 1.5? On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner caspersg...@gmail.com wrote: On Apr 23, 1:13 am, Salvador Diaz diaz.salva...@gmail.com wrote: That stack trace is related to the app engine sdk, are you sure

Re: Best practices?

2009-04-23 Thread Laird Nelson
On Apr 23, 1:04 pm, Jeff Chimene jchim...@gmail.com wrote: You're asking two questions: At least. :-D      You've already said you don't want to ... have one giant .war file that represents my whole application In GWT, I'd use multiple applications, each with its own entry point. Apply

Request on displaying images at client-side

2009-04-23 Thread raghu prashanth k b
hi, I have a folder which has few collection of images(.gif; filenames assigned in serial format like 1.gif, 2.gif, etc...) at some location in the server. The client program has the URL to the location of the folder. Now I need to display the images one-by-one when the next button on the GUI

Re: Module without EntryPoint - How to compile?

2009-04-23 Thread Rajeev Dayal
Hey Ben, Responses inline: On Thu, Apr 23, 2009 at 12:56 PM, Ben FS ben.su...@gmail.com wrote: Glad that the error is gone. One last question - in the launch configuration that you modified by hitting the Restore Defaults button - before that point, did you ever make changes to the list

Re: Request after request.

2009-04-23 Thread davidst...@gmail.com
I tested both FF and IE6 . I'm pretty surprised too of the results, so I'm still searching the problem. Are you calling getEvents (the one that sends of the request to the server) on the client-side more than once? Yes, i checked it after you said that two requests is the maximum. I call the

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

2009-04-23 Thread Rob Tanner
On Apr 23, 10:36 am, Rajeev Dayal rda...@google.com wrote: What version of the JDK are you using on your Mac? Are you using Java 1.6 or Java 1.5? On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner caspersg...@gmail.com wrote: On Apr 23, 1:13 am, Salvador Diaz diaz.salva...@gmail.com wrote:

Re: GWT RPC for inter-server communication?

2009-04-23 Thread JavaJosh
I was hoping for homogeneity, but I think in the end I'll go with Burlap. http://www.caucho.com/resin-3.0/protocols/burlap.xtp But if anyone figures out a way to use GWT RPC server-side, let me know! Thanks, Josh On Apr 23, 10:14 am, Vitali Lovich vlov...@gmail.com wrote: Well, presumably

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-23 Thread Sumit Chandel
Hi Tim, Rajeev suggestion is a great workaround if you're familiar enough with how hosted mode is using Jetty and you know enough about Jetty to tweak the servlet container / launcher to do what you want. However, I suspect that if you're using your own Jetty 5 server, there are likely other

Re: Request after request.

2009-04-23 Thread davidst...@gmail.com
I tested both FF and IE6 . I'm pretty surprised too of the results, so I'm still searching the problem. Are you calling getEvents (the one that sends of the request to the server) on the client-side more than once? No, i checked it after you said that two requests is the maximum. I call the

Re: How to get the 'generated' html

2009-04-23 Thread Stephan
Just to be sure: I'm looking for a solution that would return the 'generated html' programmatically. If WebDeveloper can do it (js plug- in), it should be feasible within GWT. Also note that getting the innerHtml of a HTML widget does return html with the input values in hosted mode, but not in

Re: Request after request.

2009-04-23 Thread davidst...@gmail.com
Thanks Rvanlaak. I'll check those links. On Apr 23, 3:52 pm, Rvanlaak rvanl...@gmail.com wrote: For a chat app the Comet principal is needed. I've had the same problem, so I would really advise you to look at the GWTEventService library. That lib supports your needs out of the box, and is

Re: JS error in IE

2009-04-23 Thread vortex101
Thanks, Ian. Both of those suggestions were helpful. On Apr 22, 7:49 pm, Ian Bambury ianbamb...@gmail.com wrote: 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

Incremental Decoding of RPC responses?

2009-04-23 Thread Dobes
Sometimes I'm sending a pretty large array from the server and I think it may be locking up the browser for a while (maybe up to a second) and in some cases causing a dialog to pop up saying a script on this page is running slowly, do you want to kill it? Is there a good way to measure the time

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

2009-04-23 Thread Rob Tanner
On Apr 23, 10:36 am, Rajeev Dayal rda...@google.com wrote: What version of the JDK are you using on your Mac? Are you using Java 1.6 or Java 1.5? On Thu, Apr 23, 2009 at 1:27 PM, Rob Tanner caspersg...@gmail.com wrote: On Apr 23, 1:13 am, Salvador Diaz diaz.salva...@gmail.com wrote:

Re: Insert Element into DOM and receive click events?

2009-04-23 Thread Sumit Chandel
Hi Ben, Is there any reason why you couldn't just call treeItem.setWidget(b) ? That should change the tree item to the button widget and also properly register the click handlers on the button so that the handler is fired all the way out. Hope that helps, -Sumit Chandel On Tue, Apr 21, 2009 at

Re: OnMouseOver and OnMouseOut on FlexTable

2009-04-23 Thread Serega.Sheypak
Of course I've read this article before asking question. I still don't understand howto add OnMouseOver/Out handler to table and get row affected with these handlers. On 22 апр, 12:10, Salvador Diaz diaz.salva...@gmail.com wrote:

Re: How does GWT-RPC use deferred binding?

2009-04-23 Thread JoeB
Why is the call to GWT.create(MyService.class) expensive at run-time? The code generation all occurred at compile-time, so what's actually happening at run-time? -- Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Best practices?

2009-04-23 Thread Jeff Chimene
On 04/23/2009 10:39 AM, Laird Nelson wrote: On Apr 23, 1:04�pm, Jeff Chimenejchim...@gmail.com wrote: You're asking two questions: At least. :-D Replies inline (sound of rolling up sleeves) � � �You've already said you don't want to ... have one giant .war file that

Re: Best practices?

2009-04-23 Thread Ben FS
1. War files don't know about other war files.  So war file 1 can't go rummaging around in war file 2 to find a GWT module.  That's nevertheless sort of what I want to happen. Don't think so much in terms of WAR files and EntryPoints, and rather think in terms of existing HTTP and HTML

set border colr onFocus

2009-04-23 Thread satya
Hi, I need to set the border color to Red on focus for all of my fields. I added the following in CSS: .gwt-TextBox:focus { border: 1px solid #FF; } seems to work in FireFox, but not in IE. Is there any way i can get it to work for IE? Thank you very much, Satya

Re: Insert Element into DOM and receive click events?

2009-04-23 Thread Ben FS
Hi Sumit, Is there any reason why you couldn't just call treeItem.setWidget(b) ? Yes. See issue #2297 that I submitted one year ago. TreeItem.setWidget deletes state/content of the widget that is replaced http://code.google.com/p/google-web-toolkit/issues/detail?id=2297 In short, when you

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

2009-04-23 Thread J Robert Ray
Thanks. I see now that this is discussed in the GWT FAQ and I understand why my attempt at using this in a callback doesn't work. On Wed, Apr 22, 2009 at 7:17 PM, Thomas Broyer t.bro...@gmail.com wrote: On 21 avr, 04:21, jrray jrobert...@gmail.com wrote: This technique would be more

Re: Best practices?

2009-04-23 Thread Laird Nelson
On Thu, Apr 23, 2009 at 3:49 PM, Jeff Chimene jchim...@gmail.com wrote: On 04/23/2009 10:39 AM, Laird Nelson wrote: On Apr 23, 1:04�pm, Jeff Chimenejchim...@gmail.com wrote: � � �You've already said you don't want to ... have one giant .war file that represents my whole application In

Re: Best practices?

2009-04-23 Thread Laird Nelson
On Thu, Apr 23, 2009 at 3:55 PM, Ben FS ben.su...@gmail.com wrote: Any HTML page can include any number of GWT modules, and for each one the EntryPoint will be called. And I could have a module without an EntryPoint, as I understand it. Each GWT module can include both client- side and

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

2009-04-23 Thread Rajeev Dayal
If you're on a Mac and you're using GWT, you must use JDK 1.5. To make sure that ant is actually using your 1.5 JDK, can you set the JAVA_HOME environment variable to point to the 1.5 JDK, and try re-running ant hosted? On Thu, Apr 23, 2009 at 2:25 PM, Rob Tanner caspersg...@gmail.com wrote:

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

2009-04-23 Thread Daniel Kurka
2009/4/23 Dobes dob...@gmail.com I'm considering translating my app, but I realized that it currently takes 12 minutes for GWT to compile the application - thus, for five languages would it take an hour, is that right? I wont be five times but it will be a lot more. I would say GWT adds

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

2009-04-23 Thread Rob Tanner
On Apr 23, 1:33 pm, Rajeev Dayal rda...@google.com wrote: If you're on a Mac and you're using GWT, you must use JDK 1.5. To make sure that ant is actually using your 1.5 JDK, can you set the JAVA_HOME environment variable to point to the 1.5 JDK, and try re-running ant hosted? On Thu, Apr

  1   2   >