Re: fix the number of digits after decimal point

2008-10-17 Thread Ian Petersen
On Fri, Oct 17, 2008 at 1:35 AM, navS [EMAIL PROTECTED] wrote: I have a number like 34.5502 i need to limit the decimal palces to 2, like 34.56. You need NumberFormat. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: GWT Serialization problem !!!!

2008-10-17 Thread Sam
Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend our class from RemoteServiceServlet . However in my case I am not extending the class from RemoteServiceServlet . I am making the use of HandlerAdapter class of spring for integrating spring wid GWT. Is

Re: GWT Serialization problem !!!!

2008-10-17 Thread Sam
Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend our class from RemoteServiceServlet . However in my case I am not extending the class from RemoteServiceServlet . I am making the use of HandlerAdapter class of spring for integrating spring wid GWT. Is

RPC or JSON

2008-10-17 Thread zujee
Iam confusing which one i need to use to get data from server.. JSON object or GWT RPC calls. .Can somebody tell me the advantage and disadvantage of both? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: RPC or JSON

2008-10-17 Thread Issac Trotts
If your server is written in Java, it will be easier and more efficient to use GWT RPC. If it's in Python or something else, you may have to use JSON, though there is some code http://code.google.com/p/python-gwt-rpc/%20available to help you do RPC from a GWT front end to a Python-based App

If I want to see What the Generator write code,How can I do?

2008-10-17 Thread Chenmin
If I want to see What the Generator write code,How can I do? I create a Beans.java package chenmin.client; import rocket.beans.client.BeanFactory; public interface Beans extends BeanFactory { } And use it like this BeanFactory beans = GWT.create(Beans.class); I know the GWT will

CSV Parsing best strategy

2008-10-17 Thread tin
Hi All, I need to have a CSV import functionality in my application. User can give CSV files to the web client and then the server is supposed to understand its contents and persist the data. What would be the best approach to handle this? - I upload the CSV file from the web client and use a

JSP in pop p window

2008-10-17 Thread Sam
Hi , I am trying to open an exsisting JSP page inside the pop up window. Is it possible to do so in GWT .Is there any way I can open a new pop up thereby using the URL to the JSP as one of the parameter which will open the JSP in the new pop up window. Thanks Samir

Problem with tomcat

2008-10-17 Thread jamer
Hi group! I'm having trouble deploying the application in the apache tomcat running under Linux. If the tomcat is under Windows I will be ok. Gives me a error related with the library GWT-user.jar. In this group told me try to use the library GWT-servlet.jar that has no licensing issues, but I

Re: CSV Parsing best strategy

2008-10-17 Thread Lothar Kimmeringer
tin schrieb: I need to have a CSV import functionality in my application. User can give CSV files to the web client and then the server is supposed to understand its contents and persist the data. What would be the best approach to handle this? - I upload the CSV file from the web client

Re: Problem with tomcat

2008-10-17 Thread Lothar Kimmeringer
jamer schrieb: If the tomcat is under Windows I will be ok. Gives me a error related with the library GWT-user.jar. In this group told me try to use the library GWT-servlet.jar that has no licensing issues, but I can not use it because the class RemoteServiceServlet that belongs to the

Re: GWT Serialization problem !!!!

2008-10-17 Thread olivier nouguier
Hi sam, I had the same issue while integrating with acegi, what I choose was to extract the code of RemoteServiceServlet in a helper On Fri, Oct 17, 2008 at 8:40 AM, Sam [EMAIL PROTECTED] wrote: Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend

Re: Problem with tomcat

2008-10-17 Thread jamer
It is the error of the log tomcat 06-oct-2008 10:52:08 org.apache.catalina.startup.HostConfig checkResources INFO: Repliegue (undeploy) de la aplicaci n web que tiene como trayectoria de contexto /Meztuls4 06-oct-2008 10:52:08 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO:

Re: RPC or JSON

2008-10-17 Thread eggsy84
Hi there I'm with Isaac on this one! I have written both GWT RPC callbacks and JSON types of communication. We use purely java so I have had experience with both in a Java container. If your application will only reside on your server so no Cross Site Scripting issues I'd really go with GWT

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread lkcl
ian, thanks for responding. i really meant, how, once DOM.setCapture() has been called, does the *implementation* of GWT ensure that that actually does the job it's expected to do. the issue i'm encountering in the python port (pyjamas) is that when the mouse wanders outside of the area

Re: HTTPRequest, hosted mode, and the whitelist

2008-10-17 Thread Amit Dhingra
Hi, I am using the same development setup, wamp and the hosted browser, and it works very fine... On Fri, Oct 17, 2008 at 10:16 AM, Lucas86 [EMAIL PROTECTED] wrote: I'm trying to do an HTTPRequest.asyncGet() to a simple PHP script. I'm running the request from hosted mode, and it fails to

Integration of JSP page in GWT

2008-10-17 Thread Sam
Hi all, Is it possible to open a JSP page as popup window. ? Is there any API avilable to which if I send the URL of the JSP it will open that JSP inside the popup window ? Thanks Samir --~--~-~--~~~---~--~~ You received this message because you are subscribed to

error calling RPC when using -noserver

2008-10-17 Thread pepgrifell
hi there, I'm using GWT 1.5.2 and I wanted to use OC4J in hosted mode. I'm using Cypal to start GWTShell in Eclipse. I create an EAR with my application (WAR and some JARS). I start OC4J and EAR is deployed. With Cypal plugin, I start GWTSHell and I uncheck use embedded tomcat server and enter

Re: New GWT Incubator Drop available

2008-10-17 Thread Ajay Jetti
where is the download link guys? cant seem to be download the Incubator completely --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RPC or JSON

2008-10-17 Thread [EMAIL PROTECTED]
I'll third here. If your server is written in java, GWT RPC is actually very amazing. It feels like plain old remoting in traditional Java, albeit async only. If you're talking to another technology or as was stated previously, JSON is also quite easy to use as well. Later, Shaffer On Oct

Re: If I want to see What the Generator write code,How can I do?

2008-10-17 Thread [EMAIL PROTECTED]
the file is in the bin/.generated directory On Oct 17, 9:41 am, Chenmin [EMAIL PROTECTED] wrote: If I want to see What the Generator write code,How can I do? I create a Beans.java package chenmin.client; import rocket.beans.client.BeanFactory; public interface Beans extends BeanFactory

Re: RPC or JSON

2008-10-17 Thread zujee
great.. thanks for your information.. Since i have server in java im going with RPC. Nyway can you points advantages and disadvantages of each one like security issues ,performance etc.. so that it will help to others also who might wonder which one to use like me. On Oct 17, 3:45 pm, [EMAIL

Re: GWT Serialization problem !!!!

2008-10-17 Thread Sam
Can you please share that code to me ? That will be a great help !! --~--~-~--~~~---~--~~ 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: Problem with tomcat

2008-10-17 Thread doopa
Hi Jamer, This just means that tomcat will ignore the gwt-user.jar when its running. See the spec: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ On Oct 17, 10:43 am, jamer [EMAIL PROTECTED] wrote: It is the error of the log tomcat 06-oct-2008 10:52:08

Re: JSP in pop p window

2008-10-17 Thread obesga
Using com.google.gwt.http.client classes to retrieve the page with a Request and display it into a HTML object or making an IFRAME with DOM Oskar On 17 oct, 09:43, Sam [EMAIL PROTECTED] wrote: Hi , I am trying to open an exsisting JSP page inside the pop up window. Is it possible to do so

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread Ian Bambury
Have a look in the DOMImpl* classes. For example DomImplIE6 has a jsni method setCapture) which does 'elem.setCapture();' All the other browsers do it via DOMImplStandard in the first bit of initEventSystem. 'months'? it took me 5 minutes :-) Ian http://examples.roughian.com 2008/10/17 lkcl

image not working when path changed using ImmutableResourceBundle

2008-10-17 Thread zujee
have one more problem. When i tried to load image form another folder in public say images, its not loading and showing error like Resource images/myimage.jpg not found. I have given like ResourcesInterface extends ImmutableResourceBundle { /** @gwt.resource images/myjpg.jpg */ public

Re: Client Side Exceptions

2008-10-17 Thread [EMAIL PROTECTED]
and again a similar example, this time not checking for an exception, just null. in web mode only... String searchDept = Cookies.getCookie(signoff department); if (searchDept == null || searchDept.equals(All)) { Window.alert(caught!); } Please feel free to try it and confirm this

Re: image not working when path changed using ImmutableResourceBundle

2008-10-17 Thread glidealong
So is it possible to put the images into the public folder rather than the client folder? did you find out if it's possible? Cuz i think it's cleaner to separate the java code from the resources files, which also helps a lot in maintaining the code. Any help is appreciated. Thanks and Regards,

image not working when path changed for gwt-incubator

2008-10-17 Thread zujee
Hi experts, When i tried to load image form another folder in public say images, its not loading and showing error like Resource images/myimage.jpg not found. I have given like ResourcesInterface extends ImmutableResourceBundle { /** @gwt.resource images/myjpg.jpg */ public DataResource

Re: New GWT Incubator Drop available

2008-10-17 Thread Isaac Truett
Ajay, You can find a pre-built Incubator jar here: http://code.google.com/p/google-web-toolkit-incubator/downloads/list For the very latest features you'll want to checkout the source from SVN and build it yourself. Instructions for setting up the Incubator project are here:

Supported browser version list

2008-10-17 Thread rb
Is there a supported browser version list? I know it's version 6 for IE but what about Mozilla/Firefox and Netscape? Specifically, what is the lowest version of Mozilla required? 1.8? I'm trying to get my group to switch to GWT but we need to know how many people are going to require browser

Bug in TreeListenerCollection

2008-10-17 Thread Jon Finanger
I suspect there is a bug in TreeListenerCollection.java. I have two selection listeners on a spesific Tree. When the event arrives the first listener, I remove the listener from within the treelistener itself. Like: public void onTreeItemSelected(TreeItem item) { .. ..

Re: Integration of JSP page in GWT

2008-10-17 Thread Brian
You mean a PopupPanel? There's nothing special about a page generated from a JSP as any other HTML page. You could, for instance, make a RequestBuilder, send a request to your server for the page (generated by php, jsp, or straight html, whatever), the html is returned, do something like:

Perf Testing GWT and GWT-EXT Apps Brain Dump

2008-10-17 Thread David Feid
I was working on this issue for the company I work for and I came up with a few leads. I've been pulled off the project for now to go on to other priorities. But here is a brain dump of what I had so far 1. Use the DETAILED switch for generated javascript to make it easier for HTMLUnit to

Re: RichTextArea losing focus on color selection

2008-10-17 Thread rudolf michael
Hello Sumit, Thx for your reply, actually i only had this bug over IE. it is working over FF. the workaround was using JNSI which i really try to avoid when building my modules. public native JavaScriptObject getRange(Element element)/*-{ if(element.contentWindow.document.selection){

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread lkcl
On Oct 17, 11:44 am, Ian Bambury [EMAIL PROTECTED] wrote: Have a look in the DOMImpl* classes. For example DomImplIE6 has a jsni method setCapture) which does 'elem.setCapture();' All the other browsers do it via DOMImplStandard in the first bit of initEventSystem. 'months'? it took me 5

Re: StackOverflowError with OOPHM GWTCompiler

2008-10-17 Thread Jason Essington
My Bad, usually it is heap that is bound up in GWT when projects get bigger, so -Xmx is the solution. Must be something new in trunk, but yeah, increase the stack and see what happens. -jason On Oct 16, 2008, at 1:10 PM, Isaac Truett wrote: Jason's suggestion of increasing stack space is a

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread Ian Bambury
Are you doing the bit I mentioned from initEventSystem? Ian --~--~-~--~~~---~--~~ 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

modifying stylesheets in hosted mode

2008-10-17 Thread r a f t
hello, is there a way of seeing results of a modified css file in hosted mode without re-compiling the module ? seems as reloading the page without a compilation has no effect. thanks in advance, r a f t --~--~-~--~~~---~--~~ You received this message because you

Re: error calling RPC when using -noserver

2008-10-17 Thread pepgrifell
Solved ! I was copying bad classes to WEB-INF/classes (an old directory (bin) I had). When I copied the classes generated by the GWT Compiler to WEB- INF/classes in my server then the call to the server was ok. On 17 oct, 12:17, pepgrifell [EMAIL PROTECTED] wrote: hi there, I'm using GWT

Re: JSP in pop p window

2008-10-17 Thread Sam
Hi Obesga Thanks for the prompt reply. Can you please explain me with sample code for the same Any link , white paper will greatly be appriciated Thanks Samir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: modifying stylesheets in hosted mode

2008-10-17 Thread [EMAIL PROTECTED]
I've been able to make changes to the CSS and seen the effect by just refreshing the hosted mode browser. I have noticed that it's not 100% though, but haven't really pursued it much Not much help but that's the way today is shaking out Later, Shaffer On Oct 17, 8:29 am, r a f t

Re: modifying stylesheets in hosted mode

2008-10-17 Thread r a f t
hi Shaffer, what is your development platform ? i use linux (ubuntu) and use noserver option for hosted mode. maybe they make the difference r a f t On Oct 17, 5:58 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've been able to make changes to the CSS and seen the effect by just refreshing

Re: modifying stylesheets in hosted mode

2008-10-17 Thread Isaac Truett
If you're using -noserver then you'll have to redeploy your CSS file(s) to the server. On Fri, Oct 17, 2008 at 11:01 AM, r a f t [EMAIL PROTECTED] wrote: hi Shaffer, what is your development platform ? i use linux (ubuntu) and use noserver option for hosted mode. maybe they make the

Re: JSP in pop p window

2008-10-17 Thread rb
You can use a Frame. com.google.gwt.user.client.ui.Frame http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Frame.html On Oct 17, 10:40 am, Sam [EMAIL PROTECTED] wrote: Hi Obesga Thanks for the prompt reply. Can you please explain me with sample code

Re: W3C Range specification implemented in GWT

2008-10-17 Thread mflorea
ping! So does any of you know when we'll have Selection and Range support in GWT? Thanks, Marius On Oct 6, 5:27 pm, mflorea [EMAIL PROTECTED] wrote: Hi guys! Do you know if Google plans including aW3CRangeimplementation in GWT in the near future? I know rocket-gwt has some API for this

Re: modifying stylesheets in hosted mode

2008-10-17 Thread r a f t
hi Isaac, i launch tomcat within eclipse as my server. after modifying the CSS files, refreshing the web project in eclipse (which i guess make a deployement) seems to have no effect either. maybe that is because my style sheet is declared in module.xml file. should i move declaration to my host

Re: modifying stylesheets in hosted mode

2008-10-17 Thread olivier nouguier
hi, I use Ubuntu / cypal (wtp) then with -noserver mode, the resources (css, jsp etc ) are hot deployed On Fri, Oct 17, 2008 at 5:01 PM, r a f t [EMAIL PROTECTED] wrote: hi Shaffer, what is your development platform ? i use linux (ubuntu) and use noserver option for hosted mode. maybe

Re: modifying stylesheets in hosted mode

2008-10-17 Thread r a f t
hello Olivier, so where are your stylesheets declared ? in module.xml or host page ? On Oct 17, 6:11 pm, olivier nouguier [EMAIL PROTECTED] wrote: hi,  I use Ubuntu / cypal  (wtp) then with -noserver mode, the resources (css, jsp etc ) are hot deployed On Fri, Oct 17, 2008 at 5:01 PM, r a

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread Thomas Broyer
On 17 oct, 15:45, lkcl [EMAIL PROTECTED] wrote:  does anyone want to be able to run applications written for GWT as a *desktop* application?  if so, port GWT _back_ into pure java, using Java bindings to Webkit's DOM model to manage the screen. Or just package your GWT app as an Adobe AIR

running GWTTestCases without X

2008-10-17 Thread Arthur Kalmenson
Hello everyone, I'm trying to run some GWTTestCases on our Continuous Integration server but it fails because the server is in run level 3, i.e. X isn't running. When I ssh into the box with X forwarding, the test cases pass, but without X forwarding they fail with error messages. Here's the

Re: Ext GWT

2008-10-17 Thread Matt Bishop
I too find ExtGWT very interesting, but frustrating too. The samples are good, but quite thin. The docs, nonexistent. If the author is watching this list, please take the next release schedule and write some freaking docs instead of piling on more features! Your adoption rate would be much

Re: Adding widget to RootPanel gets added twice

2008-10-17 Thread Jason Essington
Has to be since it is not possible to have the same object in two different places in DOM at one time. In fact, you can test that by doing: public void onModuleLoad() { Button btn = new Button(button); RootPanel.get().add(btn);

Re: Ext GWT

2008-10-17 Thread Arthur Kalmenson
That's the problem with ExtGWT in general. I always tell people to not use ExtGWT because it is _nowhere_ near the level of quality of GWT. You're much better off building your own widgets. That initial investment will far outweigh the pain of maintaining a ExtGWT app (and you won't have the

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread Arthur Kalmenson
You could also use something like Prism or Fluid to run it as a desktop app. Bind it to Google Gears and you're good to go. -- Arthur Kalmenson On Fri, Oct 17, 2008 at 11:14 AM, Thomas Broyer [EMAIL PROTECTED] wrote: On 17 oct, 15:45, lkcl [EMAIL PROTECTED] wrote: does anyone want to

Re: GWT with AXIS

2008-10-17 Thread Tereno
Yes, that was what I did to solve the problem. On Sep 23, 5:54 am, Lothar Kimmeringer [EMAIL PROTECTED] wrote: Hello, cloclo schrieb: Hello, I'm trying to do more or less the same stuff. The problem is how to make the GWT able to translate a simple call like this: --

Re: GWT Date and Time serialization

2008-10-17 Thread Manuel Carrasco
I had the same problem passing java.util.Date from client to server. When they use different TZ, dates differ. Eventually I use String representation of the dates for client/server dialog, and use DateTimeFormat for transformations. On Fri, Oct 17, 2008 at 6:36 PM, Tahir Akhtar [EMAIL

Re: GWT Date and Time serialization

2008-10-17 Thread Tahir Akhtar
There is another issue related to serialization of dates that can occur due to emulation of long with double in generated JavaScript. See: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1108020196cbf3f6 On Oct 17, 2:57 am, sim123 [EMAIL PROTECTED] wrote: Can some one

Re: running GWTTestCases without X

2008-10-17 Thread Manuel Carrasco
Install Xvfb and start it before runing your tests. Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory. So you can do this from a shell script # Start the xserver Xvfb :5 /dev/null 21

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread walden
much :-)  does anyone want to be able to run applications written for GWT as a *desktop* application?  if so, port GWT _back_ into pure java, using Java bindings to Webkit's DOM model to manage the screen.  ... is that better? :)  l. --~--~-~--~~~---~--~~

Re: Way to tag/add metadata to UIObjects?

2008-10-17 Thread Alex Rice
Doh answered own question: com.google.gwt.user.client.ui Interface HasName --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: how is GWT ensuring that Caption on DialogBox works?

2008-10-17 Thread lkcl
On Oct 17, 2:34 pm, Ian Bambury [EMAIL PROTECTED] wrote: Are you doing the bit I mentioned from initEventSystem? oh yeah, definitely. after some print statements (from pyjamas-desktop version, which is pure-python) i found that yes, DOM.setCapture() is definitely being called.

How GWT generating iframe tags?

2008-10-17 Thread Mukunth
I don't have any 'iframe' tag added in my code base. But if you see the GWT compiled files (*.html and *.js files), it's having some iframe tags added to it. How does it get generated? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you

Dialog Box doesn't pop up

2008-10-17 Thread Harkonnen
Hello, I have the DialogBox written below. In my EntryPoint I call final LoginWidget l = new LoginWidget(new AuthWidget()); l.show(); AuthWidget is just a VerticalPanel with the TextBoxes and the labels plus the Login Button , listeners and so on ... Everything works fine but the

Problems making a widget (extending Composite)

2008-10-17 Thread [EMAIL PROTECTED]
Hello, im trying to make a menu widget that receives an object with logged user permissions and paint the menu showing only the links that the user can see. My problem is how to know from the page that uses the widget what link have been selected. The code (without permissions logic

Re: Dialog Box doesn't pop up

2008-10-17 Thread kozura
Try center(), maybe it's just not showing up somewhere visible. And of course all the other checks like AuthWidget creates without error, styles are set etc. Code seems fine, without more info that's about all I can suggest. On Oct 17, 8:28 am, Harkonnen [EMAIL PROTECTED] wrote: Hello, I

Window.alert() and KeyboardListener problem

2008-10-17 Thread jbdhl
In a small application with a number of TextBoxes and a single Button I use a KeyboardListener to handle form submission when the user presses the enter key. In certain situations the form submission results in a message to the user which is displayed using a Window.alert(). Now the alert box has

Re: Problems making a widget (extending Composite)

2008-10-17 Thread kozura
Do you mean how to find what Tree item has been selected? You don't need to do anything with Hyperlinks and ClickListeners, instead use the TreeListener interface, which has 2 methods including onTreeItemSelected(TreeItem item). treeOrganizacion.addTreeListener(this); You can even add an

Re: GWT Date and Time serialization

2008-10-17 Thread Jason Essington
Of course this is expected behavior! When you are talking about time, that time is relative to your location. Just because it is noon where you are, doesn't mean it is noon where I am. If you are in New York, and post a schedule to your server that indicates that you will be having a

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread lkcl
On Oct 17, 3:14 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On 17 oct, 15:45,lkcl[EMAIL PROTECTED] wrote: does anyone want to be able to run applications written for GWT as a *desktop* application? if so, port GWT _back_ into pure java, using Java bindings to Webkit's DOM model to

Re: Cursor blinks beneath dialogs, Elements not usable

2008-10-17 Thread kozura
Are you trying to allow multiple dialogs to be accessed at the same time? You may need to turn off modality: new Dialog(false,false) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: CSV Parsing best strategy

2008-10-17 Thread [EMAIL PROTECTED]
On one of our apps we did the same thing, pushing it first up to the server and then doing the parsing there. We actually used POI, which is a Java based Excel compatible library (living in the Apache space, just Google for it) and it works great for both Excel and for CSV. As Lothar states, it

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread Ian Bambury
I'm obviously missing something here... I have a requirement to build an Ajax web site. To make the coding easier, I use GWT so I can write in Java. i'm advocating running _native_ java - because all of the javascript is replaced You are suggesting that I write it in the GWT subset of Java,

Re: GWT Date and Time serialization

2008-10-17 Thread sim123
Thanks for response Jason but what about dates, I am setting my birhtday as today's date and somebody who is in different timezone, GWT does conversion of birthdate (one day ahead or one day late), for example if you set any date to be 10-15-2008 you will see same date as either 10-14-2008 or

FastStringMap is not public class

2008-10-17 Thread Andrej Harsani
Hi, I want to use FastStringMap instead of HashMap, due to 4x better performance. I have to copy this class, is there a reason why its visibility is default? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Suggestion: GWT port to Desktop

2008-10-17 Thread Guy Rouillier
Ian Bambury wrote: I'm obviously missing something here... I have a requirement to build an Ajax web site. To make the coding easier, I use GWT so I can write in Java. i'm advocating running _native_ java - because all of the javascript is replaced You are suggesting that I

Announcing GWT 1.5.3

2008-10-17 Thread Ray Ryan
Hi, all. We have just deprecated GWT 1.5.2, and replaced it with GWT 1.5.3. This new release has a small handful of patches, mainly aimed at fixing RPC problems with Android. You can download the update from the usual location: http://code.google.com/webtoolkit/download.html You may find that

FastTree icon

2008-10-17 Thread Oldtimer
I use FastTree to display the dynamic and hierachical data structure. I have got it working following the demo code. Now I want to add icons to the treeItems. So I create a widget for the TreeItem with a leading image and then the text description. But the image is only shown when the treeItem

Re: Dialog Box doesn't pop up

2008-10-17 Thread kozura
Ah, so the contained widget shows up, it just doesn't look like a dialog. This sounds like you aren't getting the CSS styles that apply to the dialog - without them, no decorations appear and the internals will just appear as if on your background. You can test this by putting some stuff on the

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
Hi John, Your basic problem is that you don't have an absolute height for anything in there. Any percentage of zero is zero and, depending on which browser you use, you will get an override/default of some sort. Another problem is that the bodyPanel doesn't have any content, and some browsers

Re: running GWTTestCases without X

2008-10-17 Thread [EMAIL PROTECTED]
On Oct 17, 1:52 pm, Arthur Kalmenson [EMAIL PROTECTED] wrote: Thanks for the reply. I installed xvfb and did the following: [EMAIL PROTECTED]:~/credentialing-msh/target/gwtTest$ Xvfb :5 /dev/null 21 [1] 5726 [EMAIL PROTECTED]:~/credentialing-msh/target/gwtTest$ proc=$! [EMAIL

Re: FastStringMap is not public class

2008-10-17 Thread kozura
Only a small subset of the Java library is emulated for use on the client side; see http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5t=RefJreEmulation. You can use any library you desire for server-side code, but on the client everything has to be properly emulated to handle

Re: running GWTTestCases without X

2008-10-17 Thread Sumit Chandel
Hi Arthur, You're correct in assuming that there is an invisible instance of hosted mode running when running GWTTestCase on a continuous build system. The solution is indeed to run the process with an Xvfb instance, as Manuel suggested. It's possible that the reason you're setup still isn't

Re: running GWTTestCases without X

2008-10-17 Thread Sumit Chandel
Hi Arthur, The advice John gave just above is actually correct. I'm working on getting myself an espresso so as not to give inaccurate information :-) Cheers, -Sumit Chandel On Fri, Oct 17, 2008 at 4:16 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Oct 17, 1:52 pm, Arthur Kalmenson [EMAIL

Re: HTTPRequest, hosted mode, and the whitelist

2008-10-17 Thread Lucas86
Sorry, guess I could have been more specific there. My HTTPRequest.asyncGet() returns false. I'm sure I'm passing the correct path to it because if I take that same URL and paste it into a web browser (I'm using safari on Mac OSX) I get the PHP JSON output that I expect. I also get the output I

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread JohnMudd
Thanks Ian, To test the effect of using an absolute size I replaced this line: basePanel.setSize(100%, 100%); with this: basePanel.setPixelSize(200, 200); The new output in compiled mode still shows appPanel and bodyPanel with the same dimensions. root 1103 200 basePanel 200 200 --

Re: FastStringMap is not public class

2008-10-17 Thread Andrej Harsani
I'm talking about com.google.gwt.user.client.ui.FastStringMap - class which is already in GWT... On Oct 18, 1:16 am, kozura [EMAIL PROTECTED] wrote: Only a small subset of the Java library is emulated for use on the client side;

Compilation appears to suspend/hang at Linking compilation into...

2008-10-17 Thread John
Hi, I have a project that uses GWT 1.5.2 on Mac OSX and have run into a problem that I cannot seem to work through. Up until this morning, the project compiled fine, however, now it hangs, or seems to hang at the above phase of translating my Java code into GWT Javascript. Does anyone have any

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
OK, One more guess... You've only got one TD in your appPanel so it's going to fill the whole height anyway. If that doesn't fix it, I'll try running your code on my machine (Windows) and see what happens in practice instead of theory - I'm good at fixing things in theory :-) Ian

Re: GWT- oogle app engine communication using Json

2008-10-17 Thread Sumit Chandel
Hi Ajay, From the title of your post, it seems like you had a question about using GWT with Google App Engine, and probably using JSON data as the communication protocol between your client and server. If you do indeed have a legitimate GWT question, please post up more details so we can help

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread JohnMudd
Ok, I'm going to try GWT 1.5. On Oct 17, 8:52 pm, Ian Bambury [EMAIL PROTECTED] wrote: OK, One more guess... You've only got one TD in your appPanel so it's going to fill the whole height anyway. If that doesn't fix it, I'll try running your code on my machine (Windows) and see what

Re: Import com.google.gdata.* doesn't work

2008-10-17 Thread Sumit Chandel
Hello Amit, Which client library are you using to add Google Calendar functionality to your application? Are you using the server-side Java client library, or the client-side JavaScript library? From the description of the problem thus far, it seems like you're using the Java client library, in

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread JohnMudd
Wow, here are the results from gwt-linux-1.5.3. What's so surprising/ frustrating is that layout seems so fundamental to me. How could this not work as expected? From 1.5 compiled mode: root 1103 200 basePanel 200 200 logPanel 87 200 -- 87 is 30% of 200? (Not that ver 1.4 GWT did better)

Re: layout problem, panel size ignores setCellHeight(50%) ?

2008-10-17 Thread Ian Bambury
Try this. Works for me. You might need a doctype Ian http://examples.roughian.com root.add(basePanel); basePanel.setSize(100%, 200px); basePanel.add(logPanel); basePanel.setCellWidth(logPanel, 30%); basePanel.setCellHeight(logPanel, 100%);

Re: Compilation appears to suspend/hang at Linking compilation into...

2008-10-17 Thread makoki
Seems some old annotations spec warning but no error,could be just long compilation? we have a project that takes about 5 minutes. On 18 oct, 00:07, John [EMAIL PROTECTED] wrote: Hi, I have a project that uses GWT 1.5.2 on Mac OSX and have run into a problem that I cannot seem to work

Re: GWT Date and Time serialization

2008-10-17 Thread Chris
As others replied, this is the expected behavior. However, I also had the need to make sure the date object was not changed due to different timezones of the client and server. There is another thread, I don't have a link to it handy but you could search for something like date serialization,

[gwt-contrib] Re: Request for smoke testers for 1.5.3

2008-10-17 Thread Amit Manjhi
My mistake. I corrected it to r3751 in the comments. Thanks Fred! 1. Comment #6 in issue 2950 (Time.valueOf fails with 08 and 09 numbers) refers to r3743 which is the wrong commit for this issue Fred Sauer [EMAIL PROTECTED] On Thu, Oct 16, 2008 at 7:39 PM, Ray Ryan [EMAIL

[gwt-contrib] Re: Request for smoke testers for 1.5.3

2008-10-17 Thread Fred Sauer
Thanks Amit, How about an issue for the getAbsoluteTop()/Left() change? That's a significant change and deserves and issue for future reference. Fred Sauer [EMAIL PROTECTED] On Fri, Oct 17, 2008 at 7:54 AM, Amit Manjhi [EMAIL PROTECTED] wrote: My mistake. I corrected it to r3751 in the

[gwt-contrib] Code Review: gwt-google-apis maps Formatting and comment cleanup

2008-10-17 Thread Eric Ayers
Hello Miguel, Would you mind reviewing the attached patch? It only changes comments and formatting. The API suffered through a long bout of build breakage. While debugging it, I ran across some comments that were not at all clear in the Maps Test. relative to releases/maps/1.0 branch in

  1   2   >