Re: gwt-validation is this project being maintained?
Hi, That is the dilema of all small opensource projects. I personally try to avoid many of these small but useful extensions. If I do use them, then I try to limit my exposure to project specific classes as much as possible. If you notice that the framework is a deadend or something better comes along then you can easily switch. I'm still hoping GWT will have a good validation framework build in in some future. David On Oct 18, 5:05 am, Ben wrote: > Judging from their code change history, it is an active project maybe > not highly active. I have not used it by myself, so I can not really > tell much. > > On Oct 17, 4:58 pm, myapplicationquestions > wrote: > > > > > Hi All, > > > I have a requirement where i need to do input validation for a lot of > > form fields through out the application, i was thinking of using > > >http://code.google.com/p/gwt-validation/ > > > as it seems to be the best of what we have avaliable, is this a good > > library? i did not see a future road map for this? I want to be sure > > that this will be upgraded as GWT keeps on releasing new versions. Is > > there a way to get that confirmation? > > > Thanks,- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
need to execute commands on windows machine from remote server
I need to execute commands on windows machine (eg: c:\program files \outlook.exe) using java program. However java program will be running on remote server(tomcat server on other machine). So my job is to connect to windows machine from server and execute commads on client. Can you help in implementing this using java program? I believe I can do this using SSh or using https connection from server to windows machine. However I am not sure which the best method to do this is. Also I would like to know if they are any other methods to implement this. Thanks, Sathya. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Event Double Click
Sounds like a dumb question but how do you handle a Double Click event in a listBox. Does anyone have any examples or any web links that they could point me to? Thanks Stephan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Gwt Tree always scroll to the bottom?
Hi, Why when i select TreeItem at bottom level, the screen will scroll to bottom? Can i prevent this kind of behavior? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Download Avira AntiVir Premium v9.0.0.446 with 2011 valid
This message, as well as several others, has been removed. We are looking into actions we can take to ensure that such spam does not make its way into the group moving forward. Thanks, Chris On Oct 17, 3:38 am, Kamal Chandana Mettananda wrote: > Admin, please block this spam sender. > > --- > Kamal Mettanandahttp://lkamal.blogspot.com > > > > On Fri, Oct 16, 2009 at 5:57 PM, Top News wrote: > > Download Avira AntiVir Premium v9.0.0.446 with 2011 valid > > ** > >http://bit.ly/2dWFN5 > >http://bit.ly/2dWFN5 > > > Download Avira AntiVir Premium v9.0.0.446 with 2011 valid --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT + UI Design (best practices)
I have used GWT for a while now, both on a large project and on small experimental projects. However, I am still somewhat of a newbie... One thing I am confused about is the ideal workflow for a UI designer when working with a GWT project. In a perfect world, I would want everyone to be working on something that would actually be used, even in the design phase. However, if a designer makes a HTML mockup of a design, how can I leverage that in GWT? What do other projects do?Other than using some of the CSS and the images by hand, I see no way to easily use the html itself.Is this what UIBinder is supposed to provide? I really want something that would take in a html design and spit out the GWT source code. -pj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 2.0 ms1 RPC issue IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
I found that my problem was of my own doing, I was trying to get gilead to work with GWT 2.0 when they haven't created a new version for gilead. I was able to actually get everything working for my project with the current version of gilead by modifying a couple of classes. You can find those classes here http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca5722230f14f54e/a17af6e46afbd7c6?hl=en#a17af6e46afbd7c6 On Oct 16, 1:39 pm, tskaife wrote: > So I tried another simpler project of mine and was getting the same > error as above with a few more errors. I found that the problem with > my simple project was the in the WEB-INF/lib folder I had the > incorrect version of the gwt-servlet.jar. So I just crated a new GWT > project and copied the jar from that project over to my simple project > and rpc requests were working normally. But as I copied over that jars > into my more complex project I still have the same error as above. > > I was much happier when I was getting that same error in my simple > project. > > On Oct 16, 7:39 am, bond wrote: > > > > > I've the same problem.Any ideas? > > > On 16 Ott, 04:39, tskaife wrote: > > > > While running in either hosted mode, or compiled I get this error. I > > > have no problems with RPC calls that pass primitive types. But I've > > > tried both java.lang.String and java.lang.Long and get the same > > > results. I've tried both JDK 1.6.0_10 and 1.5.0_21 to no avail. I'm on > > > Linux, if that matters, and haven't had any problems with the > > > application while using GWT 1.7.1, 1.7.0, 1.6.4... Any insights on > > > what it might be would be much appreciated. > > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: > > > Parameter 0 of is of an unknown type 'java.lang.String/2004016611' > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance > > > (NativeConstructorAccessorImpl.java:39) > > > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance > > > (DelegatingConstructorAccessorImpl.java:27) > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > > > at > > > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: > > > 105) > > > at > > > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: > > > 71) > > > at com.google.gwt.dev.shell.OophmSessionHandler.invoke > > > (OophmSessionHandler.java:146) > > > at > > > com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur > > > n > > > (BrowserChannel.java:1573) > > > at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript > > > (BrowserChannelServer.java:124) > > > at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke > > > (ModuleSpaceOOPHM.java:120) > > > at > > > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: > > > 502) > > > at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject > > > (ModuleSpace.java:275) > > > at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject > > > (JavaScriptHost.java:91) > > > at > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSeri > > > alizer.instantiate > > > (transient source for > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSeri > > > alizer) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at > > > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: > > > 103) > > > at > > > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: > > > 71) > > > at com.google.gwt.dev.shell.OophmSessionHandler.invoke > > > (OophmSessionHandler.java:146) > > > at > > > com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur > > > n > > > (BrowserChannel.java:1573) > > > at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript > > > (BrowserChannelServer.java:124) > > > at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke > > > (ModuleSpaceOOPHM.java:120) > > > at > > > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: > > > 502) > > > at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject > > > (ModuleSpace.java:275) > > > at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject > > > (JavaScriptHost.java:91) > > > at com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap > > > $.instantiate$(SerializerBase.java) > > > at com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate > > > (Ser
Re: How to interact with MySQL ?
Google is your friend [?] http://angel.hurtado.googlepages.com/tutorialgwt2 On Sat, Oct 17, 2009 at 1:24 PM, Olivier wrote: > > Hello, > > I'm new to GWT and amazed by the capabilities (i really hate doing > AJAX classic way). > > But I can't find a good tutorial on how to interact with a MySQL > database. > > I understood that I need to do the connexion (and actions like INSERT > and stuff) via a PHP page. But so far i've been unable to integrate > this page successfully with mi GWT project. > > Thanks in advance. > > > > -- /re "It's easy to make a buck. It's a lot tougher to make a difference.." Tom Brokaw --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~--- <>
ClientBundle vs. ImageBundle in GWT 2.0
So have ImageBundles been out moded with the new ClientBundle? Or can you use them in tandem somehow? Or do get get the same affordances with ClientBundle as ImageBundle by merely declaring image accessor methods in your declared ClientBundle interface? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: history management (undo-redo)
You likely wouldn't be able to tell the difference between the back/ forward button being used. The history change event could just as likely have been triggered from a bookmark or copy/paste of the URL. Also, you'd have to handle cases wher the user navigates back or forward more than one page at a time. I can think of two alternatives. 1. Put a unique token on the URL for every change to the model and store the state of the model associated with that token. 2. Instead of using the back/forward buttons, put your own undo/redo buttons on your UI. If it were me, I'd go with the second option. I feel that the back/ forward buttons are better for managing view state than application data state. -Brian On Oct 17, 7:17 am, jorge wrote: > Hi, > > In my application, I need a behaviour similar to the undo-redo of > desktop applications instead of normal web pages history behaviour. > I'll explain what I need with an example scenario: > > 1 - The user creates an element. > 2 - The user realizes that he made a mistake. > 3 - He pushes the back button. > At this point I need to delete the element from my application and > from the page and leave everything as it was before. > > After the onValueChange method is invoked, I store the history token > as previous token for that, but I only need to use the previous token > if the back button is pushed and not in any other case. > > So my question is: > > Is it possible to identify it the source of the event is originated by > the back, or forward button? because depending on that, the behaviour > of my history should be different. > > Thanks and regards, > > Jorge --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Again: using GWT with ext.js 3 but NOT GXT
I'm looking for a new software architecture for our web software (server=java). We're building kind of business applications: trees, grids, charts, forms, ya know... I think ext.js 3 is very well suited for this kind of application. On the other hand ... i would like to go the gwt road, especially the MVP/GIN direction. I'm kind of suspicious concerning the GXT lib. Is it possible to use ext-js selectively in a GWT app? Do they play well together js-,layout-,browser-wise? I'would like to build high level abstractions of the ext-js widgets, that i can use as GWT Widgets. That means, that i do not need the JS- API of the widget available in GWT, but only special purpuse functions/ events: class MyUserGrid { public void loadDataFromServer('/webapp/users.php') { // call ext-js via jsni } ... } Manfred --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
How to interact with MySQL ?
Hello, I'm new to GWT and amazed by the capabilities (i really hate doing AJAX classic way). But I can't find a good tutorial on how to interact with a MySQL database. I understood that I need to do the connexion (and actions like INSERT and stuff) via a PHP page. But so far i've been unable to integrate this page successfully with mi GWT project. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT 1.7 + Datasource
I am trying to implement a Datasource with the hosted mode server. This has turned out to be very confusing. The otherwise excellent book 'GWT in Practice' make reference to a Tomcat lite directory structure which I am unable to find. Other references in this group seem to point at Jetty but I can't really find a jetty launcher script. I should note that I am using the Instantiations Eclipse plugin but I doubt that this plays into the runtime configuration. I am looking for a context.xml file but cannot lcate anything besides the basic web.xml. I can make JDBC calls (JavaDB) via embedded and network driver just fine but establishing a connection every time seems the wrong way to go (am I mistaken). Instead I wanted to use connection pooling with a Datasource as I would in a production environment. Looking at some of the posts I am not the only one with this desire but can't seem to find an answer that appears fitting. Note that I am familiar on how to configure a Datasource in Tomcat but the embedded server seems to work in mysterious ways ;-). Any pointers on how to get this accomplished appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Events - Best practices ?
Hello, i’m developing a vector drawing API with GWT in order to provide an abstraction over SVG, VML, and since the VML rendering is very slow, Flash. Everything works fine but now it’s time to think about event handling. As I will use this API to visualize an ontology, which may have hundreds of nodes to display, I don’t want to attach an event listener to each drawn element (eg. Rectangle). So I think the best approach is to attach one listener (eg. ClickListener) to the scene and calculate which element has been clicked. But in this case, I will only get the DOM element back, but I need the object for further calculation. Here is a litte bit of code in order to clarify my question: //Canvas represents the scene, not the HTML5 tag private Canvas canvas; ... //Create a blue rectangle at point 10,10 with 40px width and height Rectangle r = new Rectangle(10, 10, 40, 40, new SolidFill (Color.BLUE)); ... //Create more rectangles //add this rectangle to the scene canvas.add(r); ... //add other rectangles to canvas //Add an event listener to the underlying DOM node (eg. svg) Event.setEventListener( canvas.getElement(), new EventListener(){ public void onBrowserEvent(Event event){ Element target = event.getTarget(); //Let’s assume the event is a ClickEvent and I want to rotate the clicked rectangle by calling its rotate()-method. //Since event.getTarget() returns the DOM element (eg. rect), I don’t have a reference to the rectangle object in order to call its rotate()-Method. //Are there any best practices to get the rectangle object belonging to the DOM element? (eg. Storing all objects in a HashMap with its id as key?) } } ); Please notice, that this isn't my real code (eg: Canvas extends the Widget class and overrides the onBrowserEvent-Method). I wanted to point out the problem without posting to much code... Many thanks in advance for your efforts & greetings from Austria Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
TomTom in Amsterdam hiring
Hi, sorry for the off topic. In TomTom (Amsterdam) we are looking for GWT developers, the job post is not still available in the website but please send me a private email to receive a full description. Cheers, V. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
can a url inside a frame widget access the Frame Page DOM elements
i need to establish event based comunication between to seperate modules one module contains a frame widget that its url directed to the html hosting the second module the only thing i found accessible to both are cookies , can anyone suggest a better way to share data --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Entity Beans Problem
Hi all, I'm developing an application with GWT and like server-side i'm using EJB 3.0 and Entity Beans. I've tested my EJB deployed in JBOSS and all is fine with GWT. The problem is that I cannot return an Entity Bean beacuse GWT needs the.java file. So I've created two JAR: JAR1 --> EJB+ .class Entity Bean JAR2 --> .java Entity Bean + .class Entity Bean In GWT's client-side i import JAR2's .java file of Entity Bean while in server-side I have to import JAR1's .class file (because the EJB's method return the object in its JAR). I was thinking that a solution could be make EJB in a JAR points to an Entity Bean in an other JAR.is it possible or are there a different solution to resolve this problem? I hope it's clear. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Using Gilead with GWT 2.0 ms1
Ok, well I found out that my changes to make gilead work for GWT 2.0 didn't quite work, but I've been able to fix that. I also notice that I put the same two files up above, here are the 2 files to download to get gilead working with GWT 2.0. RPCCopy.java http://trg-commons.googlecode.com/files/RPCCopy.java RPCCopy_GWT20.java http://trg-commons.googlecode.com/files/RPCCopy_GWT20.java Once you get these files in your project just make sure to change the package accordingly. On Oct 9, 1:35 pm, tskaife wrote: > I just updated toGWT 2.0ms1 and noticed that I was getting an error > that the constructor for RPCRequest doesn't exist (the constructor now > inclues a int flag parameter). > > java.lang.NoSuchMethodError: > com.google.gwt.user.server.rpc.RPCRequest.(Ljava/lang/reflect/ > Method;[Ljava/lang/Object;Lcom/google/gwt/user/server/rpc/ > SerializationPolicy;)V > > I was able to fix the issue by creating a new RPCCopy_GWT20 that > passes a 0 for the flag parameter when it makes the RPCRequest. I also > had to change RPCCopy class so that it can correctly recognize when > you are usingGWT 2.0. Below are links to the 2 java files. > > RPCCopy.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java > > RPCCopy_GWT20.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: change css rules dynamically
...if you mean actually changing a value in an already defined style sheet, then you need to use JSNI (or rethink your application to change the style applied to elements rather than the style definition). //A On 18 Okt, 15:52, Adam T wrote: > You can do it in at least 4 different ways in GWT. Say you define a > label as Label first = new Label("First Label") and add it to the DOM, > then you can do one of the following to hide it: > > a) first.setVisible(false); > b) first.getElement().getStyle().setVisibility(Visibility.HIDDEN); > c) first.getElement().getStyle().setProperty("display", "hidden"); > d) first.addStyleName("hidden-style"); (assuming you have hidden- > style defined in your style sheet and that sets the display property > to hidden) > > //Adam > > On 18 Okt, 09:07, bhomass wrote: > > > I found there is a way to change css rules using javascript. > > >http://twelvestone.com/forum_thread/view/31411. > > > is there a way to do this using gwt? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: change css rules dynamically
You can do it in at least 4 different ways in GWT. Say you define a label as Label first = new Label("First Label") and add it to the DOM, then you can do one of the following to hide it: a) first.setVisible(false); b) first.getElement().getStyle().setVisibility(Visibility.HIDDEN); c) first.getElement().getStyle().setProperty("display", "hidden"); d) first.addStyleName("hidden-style"); (assuming you have hidden- style defined in your style sheet and that sets the display property to hidden) //Adam On 18 Okt, 09:07, bhomass wrote: > I found there is a way to change css rules using javascript. > > http://twelvestone.com/forum_thread/view/31411. > > is there a way to do this using gwt? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: parsing XML
You can't use the data until it turns up. What is the alternative? If you have come from a desktop background, you need to start thinking in a different way. If you send someone an email, you don't stop work until you get a reply. You fire off emails as you see fit, and deal with the responses when they come in. Same with Ajax. Ian http://examples.roughian.com 2009/10/18 Tomek > > So if I want to use my XMLFile object in Main class I have to define > AsyncCallback and then use my object in onResponseReceived function? > That will be a shame because I will have to do everything inside this > function, later I would have to do the same with getting info from > REST. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Development mode (OOPHM) in a console version
On 17 oct, 22:20, Jesper wrote: > Hi All > > I just opened this issue. > > http://code.google.com/p/google-web-toolkit/issues/detail?id=4139 > > I just want to hear if anyone has input or any other ideas to this > subject. There's a HeadlessUI in trunk that's used by DevModeBase (the base class of DevMode, the new name of HostedMode) in headlessMode. What's missing is a way to switch to headlessMode but that should come before the final 2.0 I guess. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
HostedMode -server option - passing arguments to the embedded web server
Is there a way to pass arguments to the specified embedded web server? If not, I guess I'm stuck with using -noserver mode. ? Thanks, Sam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: XML Parsing Issue with FireFox
Got it to work !! The XML declaration does not appear as a Node in FF .. Appreciate the help Thomas and Brian :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Gwt Tree
Dear All; did anyone added the dots in the tree in GWT. i mean the dots in the UI that shows the column and lines if anyone does or knows a tutorial that shows how to do that please help thanks -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: parsing XML
Could I do this that someone would be able to use my class like that?: XMLFIle file; file.greetServer(); System.out.println(file.temp); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: parsing XML
So if I want to use my XMLFile object in Main class I have to define AsyncCallback and then use my object in onResponseReceived function? That will be a shame because I will have to do everything inside this function, later I would have to do the same with getting info from REST. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: parsing XML
As Ian said, the requestBuilder.sendRequest method is asynchronous, that is, the "send" call will return immediately (without waiting for a server response) and the next statement in your application will be executed, in this case the "System.out.println(temp); //HERE ALWAYS NULL". Later on the response from the server will be received and your onResponseReceived method will be called at which time the temp variable will be initialized. What you have to remember is that Javascript is single threaded and therefore you can't block waiting for a response. You'll need to reorganize your code to handle this, usually by defining and passing in your own callback to XmlFile which will be called back when the XML is received. On Oct 17, 1:14 pm, Ian Bambury wrote: > Yes. > Use it in the onResponseReceived. > > You are trying to use it *before* you have received a response. It's like > buying something on-line and trying to use it the moment you have ordered it > and wondering why you can't find it - you have to wait until it turns up :-) > > Ian > > http://examples.roughian.com > > 2009/10/17 Tomek > > > > > > > Anyone? > > I know that it's because GWT is asynchronous but is there a way to > > save my xml file to a variable? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
change css rules dynamically
I found there is a way to change css rules using javascript. http://twelvestone.com/forum_thread/view/31411. is there a way to do this using gwt? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---