Confused by the i18n support for formatting dates, time and currency

2008-10-02 Thread Andreas Magnusson
I have one "simple" requirement that doesn't seem to be supported by GWT, even though all the parts seems to be in place. I want to format dates, time and currency according to the users default language in their browser. Users expect to see such entities in formats they understand. However, I hav

Re: self-removing LoadListener

2008-10-02 Thread mon3y
Hey Straight after you set the URL of the imageremove the listener. :) On Oct 2, 11:04 pm, D L H <[EMAIL PROTECTED]> wrote: > Hello. > > I'm trying to create an Image LoadListener that will remove itself > from the image once the image is finished loading. I tried using > image.removeLoadLi

how to proxy all the methods in my RemoteServiceServlet

2008-10-02 Thread deanhiller
I saw someone talking about proxying all the methods to add code(like an aspect or filter) using spring and I am wondering how I can do this(hopefully without spring as I don't feel like learning that right now and just want a quick solution). Basically, if my GWT servlet has these methods public

Re: upgrade and OutOfMemoryError

2008-10-02 Thread deanhiller
never mind, this time increasing the memory a bit actually worked - Xmx512m. I am suprised this takes so much more memory than before but then maybe I was at the threshold before. A few months ago, that didn't seem to help at all. On Oct 2, 9:00 pm, deanhiller <[EMAIL PROTECTED]> wrote: > Every

upgrade and OutOfMemoryError

2008-10-02 Thread deanhiller
Every few months, I have been trying to upgrade. Every time, I end up with OutOfMemoryErrors either during compile or during running the shell. I have seen lots of posts on these issues. I keep downgrading to 1.4 and not being able to upgrade because of these issues. I can't trim down the test

File Processing

2008-10-02 Thread lkk123321
I am new to GWT. I want to read a file from my desktop and then process it and then put the file text in some data structure Do you have suggestion of how to do that? I search the Java library in java.io package. There is no scanner that I that I can use to process the file. thanks --~--~-

Package/Source Problem

2008-10-02 Thread Justin Thomas
I have an existing Java web application. I am trying to add a GWT component. I have a main source folder called src. I have a GWT package under src as well in com.vzb... My main source for the app is in com.wcom... The GWT application compiles and works great with my test app, however, when I

Re: Ajax on a server that does not support servlet

2008-10-02 Thread slow
Thank you Jason for your help. That was a bad mistake. Anywhere I used other code and it worked. The problem i have is that I have conficting results. One statement tells me I have the data and the other says the same data is null. Worse enough, if I call the same statement twice i get different r

Re: redirect problem

2008-10-02 Thread deanhiller
This combined with the post just after sounds like the best solution so far(though educating developers on using the adapter is a pain, it will have to do). In that case though, if I am using tomcat with straight GWT, can I still do this? I don't know much about spring at all. Can I get more de

Re: GWT compiler and Hibernate4GWT problem

2008-10-02 Thread Charlie Collins
You might try asking this one on the hibernate4gwt forum (I don't use it so I can't answer it, but I know they do have a forum and will answer your questions generally if they see them - might get more traction there): http://sourceforge.net/forum/forum.php?forum_id=689608. On Oct 2, 7:45 am, no

Re: Trouble with GWTShell and Maps

2008-10-02 Thread Eric Ayers
Hi Chris, There is a minimum rev of the Maps API required. What does your line to include the Maps API look like? I think I recently determined the minimum required version is 2.118 (it should be in the release notes) -Eric. On Thu, Oct 2, 2008 at 3:33 PM, RubberBaron <[EMAIL PROTECTED]> wrote

Multiple *.gwt.xml in One Module

2008-10-02 Thread sshark
Hi, I was following Solution #6 (Drag and Drop) example from the book "Google Web Toolkit Solutions: More Cool & Useful Stuff". I used Intellij 7 with GWT 1.5 to compile the example but failed with the errors reported. I tried a few things unsuccessfully and finally I removed the line from /com/

Re: Running Windows-built GWTTestCase on Sparc/Solaris ??

2008-10-02 Thread Ajay Reddy
Did you ever fix it. I am running into the same issue. Ajay On Sep 24, 2:44 pm, Paul <[EMAIL PROTECTED]> wrote: > I have some GWTTestCase's that run in both hosted and web mode on my > Windows dev laptop. I'd like to also have them run on our build > machine during builds, just like the plain J

GWT Struts2 Integration

2008-10-02 Thread FrankNC
I am new to GWT. I have a existing Web application which is using Struts 2. I am considering to use GWT on some of the Web pages in this web application. I took a look at the Struts GWT Plugin. It looks good. But it only covers how to use asynchronous call to the Struts action on the server side

Trouble with GWTShell and Maps

2008-10-02 Thread RubberBaron
(BTW, I posted this question on the Maps forum, they said to post here...) I am using gwt-linux-1.5.2 and gwt-maps-1.0.0 with some very simple Java code: import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.maps.client.MapWidget; im

Re: How to accept dynamic URL for a servlet in .gwt.xml

2008-10-02 Thread Thomas Broyer
On 2 oct, 17:04, Charan <[EMAIL PROTECTED]> wrote: > i have configured in tomcat/webapps/root/WEB-INF/web.xml as follows > >           >                 FileAcess >                 com.capgent.server.MyServer >         > >         >                 FileAcess >                 /services/attachm

Re: tooltip box

2008-10-02 Thread Adler
hey, I downloaded and tried to get the hang of this GWT. but couldn't really figure out how i'm supposed to use some of the features in my website. the sourse code seems to be so complicated and doesn't bring up a thing. you have any idea?!!! thanks. On Oct 1, 1:31 pm, Adler <[EMAIL PROTECTED

Re: Newbie question - adding GWT to my existing application

2008-10-02 Thread Suri
Hi Walden Did what you said and also modified the xxx-compile.cmd file to add the class path for the gwt.xml file so the new class path is @java -Xmx256M -cp "%~dp0\src;%~dp0\bin;C:/app/src/package/subpackage/ subpackage.gwt.xml;C:/.../gwt-user.jar;C:/.../gwt-dev-windows.jar" com.google.gwt.dev.

self-removing LoadListener

2008-10-02 Thread D L H
Hello. I'm trying to create an Image LoadListener that will remove itself from the image once the image is finished loading. I tried using image.removeLoadListener(this); but that gave me a ConcurrentModificationException. Then I tried making the LoadListener a final and using image.removeLoadLis

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Jim Freeze
This is a server configuration inside Eclipse issue (mostly). I posted earlier on how to set that, in this thread. You don't need GWT to debug this. You can test this whole thing from a web browser. Start by browsing to the URL in question. Let's assume it is a restful URL to get a user: htt

Re: Child browser not responding...

2008-10-02 Thread Maddy
Narrowed down the issue. The issue is 1) Open IE and click CTRL+N, whcih opens a new browser window but with same session. 2) Now try to access the GWT application, once the resposne comes from the server, GWT compiled javascript gets executed on the browser. 3) Now close the browser, when the j

Re: Same origins policy

2008-10-02 Thread Charlie Collins
As to part 2 here "Ok, now for the second thing. How can I make the non-ssl -> ssl protocol switch and not break the Same Origins rules? " - you can't (or at least you shouldn't be able to, if you do it would be a huge hole ;)). The page you linked there shows the policy pretty clearly. The doc

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Andrej Harsani
Hi, I suggest to use your Apache (with configured php) instead of tomcat running at port . Open you module's *.launch file and use something like this: "-noserver" is important I hope this helps. Andrej On Oct 2, 8:50 pm, RamI <[EMAIL PROTECTED]> wrote: > Pavel, > > I tried > String url

DOM.setStyleAttribute causing IE7 crash

2008-10-02 Thread Thad
In my application, I have need a widget I call Line. It is nothing more than a SimplePanel with dimensions and a color. It's described in a JSONObject. So public class Line extends SimplePanel implements ScreenUiWidget { public Line(JSONObject jsonObject) { super();

Re: Remove all rows from FlexTable

2008-10-02 Thread walden
That depends on the nature of the parent. For example, with a SimplePanel as parent, you wouldn't. On Oct 2, 10:27 am, "olivier nouguier" <[EMAIL PROTECTED]> wrote: > Hi, >  IMHO it's also necessary to remove the "old" myFlexTable from is parent ? > no ? > > > > > > On Thu, Oct 2, 2008 at 3:20 P

Re: Problems with List of Object in GWT 1.5

2008-10-02 Thread Jason Essington
You are going to get this from quite a few people, but Don't return Object. when you do that GWT is forced to generate serializers for every serializable type in the known world ... whether you use it or not. This will cause quite a bit of extra code to be generated. Do a search on this list

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Ian Bambury
Hi Raml, Using port wil always point you to your Tomcat server and therefore the PHP won't be interpreted. Look at Pavel's email agin - there is no : in there. This is important because it determines which server is targeted. Ian http://examples.roughian.com 2008/10/2 RamI <[EMAIL PR

Re: Problems with List of Object in GWT 1.5

2008-10-02 Thread Romeryto Lira
Fix in the class: import java.util.Arrays; import java.util.List; import com.google.gwt.user.client.rpc.IsSerializable; public class Tuple implements IsSerializable{ List elements; public Tuple(){}; public Tuple(Object... elements) { this.elements = Arrays.asList(elements

Problems with List of Object in GWT 1.5

2008-10-02 Thread Romeryto Lira
Hi, I have any problems with List of Object in my gwt application. I have the class Tuple that represent a collection where many variables types can be added in this collection. This is the class: import java.util.Arrays; import java.util.List; import com.google.gwt.user.client.rpc.IsSerializab

can't find stylesheet in included jar?

2008-10-02 Thread ben
I have a jar that has some client components to be used on multiple projects. The code part works fine. My problem is trying to include a stylesheet for those components with the jar. I keep getting could a file be missing from the public path..so I'm thinking it's in my gwt.xml file. setup is

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread RamI
Pavel, I tried String url = "http://localhost:/com.op.Portail/authenticate.php? name=\'RamI\'&pwd=\'"+pass+"\'"; but the result is the same :s RamI --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web To

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Andrej Harsani
in gwt 1.5 Timers works OK in IE7. what IE and GWT version are you using? could you post test case? our application use Timers, you can check it here: Andrej http://www.gwtphp.com/ On Oct 2, 3:19 pm, Ivan <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I have encountered one problem: > >  it

Same origins policy

2008-10-02 Thread seven.reeds
Hi, I am running GWT 1.5.2 under linux with an Apache web server. There are a couple of things here. First, I have been developing an app using a plain "http:" protocol. This app will replace an existing app. The existing cgi app allows users to go to "http://..."; or "https://...";. If the

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread RamI
alright, I will re-explain everything from the beginning Context : I am developing a personal application portal, in which I want to add various application made in GWT. This portal will run on a php server. For this, I began with the identication module, so I have a database 'user' with two fiel

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Pavel Byles
Oh I see... try putting th full URL of the PHP page rather than the relative path. Because it seems to be reading the file rather than the response the PHP script should give via Apache. So instead of: String url = "authenticate.php?name=\'"+ name"\'&pwd=\'"+pass+"\'"; try: String url = "*http://l

XML Document to string (for displaying and saving)

2008-10-02 Thread WebDude
I have an XML Document object on the client side that the user would like displayed and/or saved to disk (in proper XML formatting). I'm having trouble figuring out how to convert a whole Document object to an XML string. How might I go about getting an XML string from a Document object? I've s

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread Ian Bambury
Hi Raml, I'm not sure I understand your setup exactly. If you run your GWT app in hosted mode, it will try to get the php file from your public/php/ directory (or wherever you put your php). It won't be processed as php before it is sent to the browser, so you will get the raw script http://examp

Re: Newbie question - adding GWT to my existing application

2008-10-02 Thread Suri
An updated attempt.. I changed my classpath to point to the applications 'src' folder and not the file directly and updated the Gwt_test.gwt.xml file to include the line as Now when trying to compile I get this error Loading module 'package1.subpackage.gwt.client.Gwt_test' Loadin

Re: GWT and servlet session

2008-10-02 Thread sim123
Thanks for your reply Walden, I would try to implement this solution and let you/ forum know about my progress or any other doubts. I appreciate your help. On Oct 1, 10:08 am, walden <[EMAIL PROTECTED]> wrote: > In addition, note that it's relatively easy to mark-up a link or image > for maliciou

Re: GWT and servlet session

2008-10-02 Thread sim123
Thanks for your reply, but how can I access sessionID value from POST Parameter in my filter? as request.getParameter("sessionID") is returning null? On Oct 1, 12:16 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > sim123 schrieb: > > > If I should not piggyback my sessionID with RPC payload,

Re: Troubles linking GWT and php server using JSon

2008-10-02 Thread RamI
First thanks to helping me :D >Pavel That is exactly the problem : my JSON response contains my whole php script instead of the interpreted version of this script. Sorry if I'm not clear enough, my english is not as perfect as I would like ;) >Ian In fact, my php file is querying an apache serv

Re: Best GWT canvas (vector graphics) library?

2008-10-02 Thread joseanquiles
Hi John, I have used GWTCanvas. It has some ¿important? drawbacks: * it does not support text drawing (I developed a extension to support text using paths) * it does not include an object oriented graphic library (I also developed a minimal library) * and, it is the worst, it is very

Re: how can i use gwt to download a file

2008-10-02 Thread Lothar Kimmeringer
[EMAIL PROTECTED] schrieb: > i know how to download a file by HttpServlet, > but the code didn't work in gwt I don't know what a servlet has to do with downloading a file in a browser, so I think the best is that you show some the piece of code that "didn't work in gwt". Regards, Lothar --~--~

Re: common stuff

2008-10-02 Thread walden
rty, Well, you didn't answer my question. I am not in a position to pass judgment of the design of your code. My advice to you is to a) make it work b) refactor the design until you are happy with it Walden On Oct 2, 11:11 am, "sumanth s" <[EMAIL PROTECTED]> wrote: > Hi walden > > Any answer

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Jason Essington
I make extensive use of DeferredCommand, IncrementalCommand, and Animation, All of which use Timer by extension. and they all work flawlessly on every supported platform (including IE). So, unless you have some specific example that demonstrates your perceived failure of Timer on IE, you ar

Re: Ajax on a server that does not support servlet

2008-10-02 Thread Jason Essington
maybe you misunderstood what I was saying. The method that you commented out that was suggested by eclipse is exactly what you need to prevent your error. in your case it seems that you have mistaken the name of the method that you need in your request callback. try this: 1) delete the com

Re: common stuff

2008-10-02 Thread sumanth s
Hi walden Any answer to my question thanks in advance rty On Wed, Oct 1, 2008 at 12:56 PM, sumanth s <[EMAIL PROTECTED]> wrote: > so do I need to implement all this in the layer to which we make RPC > calls(singleton).?or do u think there is some better way of doing this? > > > On Wed, Oct 1, 2

Re: Is it caching ?

2008-10-02 Thread Jason Essington
Technically it isn't GWT but rather your browser that caches the response. There are a couple of ways to get around the caching done by your browser. A client side (GWT) solution would be to add a "cache buster" to the servlet url as a query parameter. This could be something like a file

Re: How to accept dynamic URL for a servlet in .gwt.xml

2008-10-02 Thread Charan
i have configured in tomcat/webapps/root/WEB-INF/web.xml as follows FileAcess com.capgent.server.MyServer FileAcess /services/attachmentService/* commented tag in .gwt.xml still not working

Re: Remove all rows from FlexTable

2008-10-02 Thread Thomas Broyer
On 2 oct, 09:55, hezjing <[EMAIL PROTECTED]> wrote: > Hi > I'm populating a FlexTable using setText(row, column, text). > > Here is what I did to clear the entire contents of a FlexTable, > >             int count = myFlexTable.getRowCount(); >             for (int i = 0; i < count; i++) { >    

how can i use gwt to download a file

2008-10-02 Thread [EMAIL PROTECTED]
i know how to download a file by HttpServlet, but the code didn't work in 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@google

Re: GWT Menu Active Item Hightlighted

2008-10-02 Thread Sumit Chandel
Hi Karmela, Have you taken a look at the latest Menu Bar widget in the Showcase sample application? It provides default CSS styles for menu items to be highlighted whenever the cursor is hovering over them. You can check it out here: http://gwt.google.com/samples/Showcase/Showcase.html#CwMenuBar

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Tom Hjellming
Timer works fine for me in both IE and Firefox. Tom Ivan wrote: > Hello everybody, > > I have encountered one problem: > > it's well known that there's a Timer class: > com.google.gwt.user.client.Timer > and of cource it is not a secret that it works in Firefox, Opera, and > Google Chrome > w

Re: GWT in netbeans 6.0.1

2008-10-02 Thread YoeZ
installation folder is where you extracted the GWT (ex. C:\GWT\gwt- windows-1.5.2) On Oct 2, 1:10 pm, prabesh shrestha <[EMAIL PROTECTED]> wrote: > I have installed the GWT plugin in my netbeans IDE .But when i start a > new project in comes to a hold when i select the installation folder > for

Re: Remove all rows from FlexTable

2008-10-02 Thread olivier nouguier
Hi, IMHO it's also necessary to remove the "old" myFlexTable from is parent ? no ? On Thu, Oct 2, 2008 at 3:20 PM, walden <[EMAIL PROTECTED]> wrote: > > Yes there is. > > myFlexTable = new FlexTable(); > // code to plug the new instance in where the old instance used to be > > Walden > > On Oct

Re: How to accept dynamic URL for a servlet in .gwt.xml

2008-10-02 Thread olivier nouguier
hi, Those mapping are only for GWT-RPC request !! You should not put this servlet in the gwt.xml ! On Thu, Oct 2, 2008 at 4:16 PM, Charan <[EMAIL PROTECTED]> wrote: > > hi, > > i have requirement to accept multiple URL's to single servlet file > > for example: > > /projectName/access/files/123

How to accept dynamic URL for a servlet in .gwt.xml

2008-10-02 Thread Charan
hi, i have requirement to accept multiple URL's to single servlet file for example: /projectName/access/files/1234 /projectName/access/files/1235 /projectName/access/files/1236 /projectName/access/files/1237 /projectName/access/files/1238 /projectName/access/files/1239 /projectName/access/files

Re: Version 1.5.2 much slower on all browsers except Crome

2008-10-02 Thread Sumit Chandel
Hi Manuel, Did you notice a decrease in speed as you moved from GWT 1.4 to 1.5, or from some RC build of 1.5 to the final release of 1.5.2? Also, how slow are the RPC calls (i.e. how long do they take to return once the RPC call is made?) As far as I know, most developers have reported faster appl

Re: Issues with dynamic binding

2008-10-02 Thread Sumit Chandel
Hi Madhu, Could you post up more details about what you're trying to create a deferred binding rule for? I imagine you have differing implementations of a given widget based on the "sparkDetailScreen" property? In any case, you might want to double check and make sure that you've defined a for th

Re: Downloading a file from the server

2008-10-02 Thread Isaac Truett
Look again? http://groups.google.com/group/Google-Web-Toolkit/search?group=Google-Web-Toolkit&q=download+file&qt_g=Search+this+group On Thu, Oct 2, 2008 at 9:19 AM, Halabe <[EMAIL PROTECTED]> wrote: > > Hi, > > In my GWT application, the user can upload a file from any type. > He should be able

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Ian Bambury
I think this is probably something you are doing. I feel that someone else would have mentioned it before now, don't you? But without any code only the telepathic will respond, but probably not by email. Ian http://examples.roughian.com 2008/10/2 Ivan <[EMAIL PROTECTED]> > > Hello everybody,

Re: Newbie question - adding GWT to my existing application

2008-10-02 Thread Suri
Ah, gotcha. Thanks Walden. I had the initial idea of having the '.' But then refrained thinking I could point to the single class. I mis- understood the first reply then. Thanks for the reply to the second question as well. I'll go ahead and see how this works out. Appreciate the patience. Suri

Re: GWT Timers - say no to it with IE

2008-10-02 Thread Isaac Truett
Just saying something doesn't work won't get you very far. This is especially true when the thing you claim doesn't work actually does work. How about providing code that demonstrates the problem? On Thu, Oct 2, 2008 at 9:19 AM, Ivan <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > I have e

Making indexed images using ImageBundle / AbstractImagePrototype

2008-10-02 Thread Ibmurai
Would it be possible to have an array of images in an imagebundle? I'm thinking something that would look like this: MyImageBundle myImageBundle = GWT.create(MyImageBundle.class); panel.add(myImageBundle.images[0].createImage()); "images[0]" being the important bit... Maybe there is some other

Re: Best GWT canvas (vector graphics) library?

2008-10-02 Thread joseanquiles
Hi Robbie, you're right. GWTCanvas is based on IE Canvas, which is very very slow. GWTCanvas is not obviously the guilty :-) But I'd like to know if there exist another javascript implementation(s) not based in IE Canvas. So, we can build a new GWTCanvas, faster... Regards José Antonio --

Re: Remove all rows from FlexTable

2008-10-02 Thread walden
Yes there is. myFlexTable = new FlexTable(); // code to plug the new instance in where the old instance used to be Walden On Oct 2, 3:55 am, hezjing <[EMAIL PROTECTED]> wrote: > Hi > I'm populating a FlexTable using setText(row, column, text). > > Here is what I did to clear the entire contents

Downloading a file from the server

2008-10-02 Thread Halabe
Hi, In my GWT application, the user can upload a file from any type. He should be able to download the file ( a window with save as option should be opened) when he presses a button. I looked in the group and did not find how I can do that. Can anyone help?? Thank you, --~--~-~--~~

GWT Timers - say no to it with IE

2008-10-02 Thread Ivan
Hello everybody, I have encountered one problem: it's well known that there's a Timer class: com.google.gwt.user.client.Timer and of cource it is not a secret that it works in Firefox, Opera, and Google Chrome without any problems, but what's about Internet Explorer ? Well, the answer is un

Re: submitting GWT code

2008-10-02 Thread walden
Dean, Are you talking about the exceptions that are generated within the RPC framework code itself? It seems to me what you want is better control over the exceptions thrown on the server, and of course that's up to you. Walden On Oct 2, 2:14 am, deanhiller <[EMAIL PROTECTED]> wrote: > I haven

Re: redirect problem

2008-10-02 Thread walden
Hi Dean, In my earliest prototypes with GWT RPC, I decided I didn't want to bother with failed calls, so I implemented my own AsyncCallbackAdapter which stubs out the onFailure with a Window.alert(). Then I extend that for the specific RPC cases. Strangely enough, I haven't had to revisit that

Re: Is it caching ?

2008-10-02 Thread Amit Dhingra
I have done something similar here... if(!HTTPRequest.asyncGet(url + "index_select.php?tosearch=3&id=" + new Date().getTime(), new JSONResponseTextHandler())) { Window.alert("Error accessing index_select.php"); } The new Date().getTime() returns a new timestamp everytime

Re: Newbie question - adding GWT to my existing application

2008-10-02 Thread walden
Suri, Let's take it one step at a time. The first problem is your source directive. It should look like this: The path is the folder at the root of a hierarchy, not a single file. Since your path was defective, the Client1 source was not found, and that caused the import statement to fail th

Re: This UIObject's element is not set

2008-10-02 Thread Isaac Truett
I don't think an anonymous subclass of Panel is what you're looking for here. Can you explain what you're trying to accomplish? On Wed, Oct 1, 2008 at 7:21 PM, fsilva <[EMAIL PROTECTED]> wrote: > > i have this code: > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.user.c

Re: GWT compiler and Hibernate4GWT problem

2008-10-02 Thread noon
Hi, I just want to add that Hibernate4Gwt uses GWT generator to create entity proxy, so an explicit GWT.create() call is needed. But in this case, it looks like return values in are not always replaced with gwt.rpc files by the generated proxy. Does anybody knows why ? Regards Bruno On 2 oct,

Re: ListBox: Drop-Down Images using CSS?

2008-10-02 Thread Isaac Truett
Kevin, There's a DropDownListBox widget in the Incubator that might be more in line with what you're trying to achieve here. It uses a PushButton and a PopupPanel to simulate the behavior of a standard element. The use of widgets gives you a lot more control over appearance and function. - Isaa

Re: RichTextToolbar

2008-10-02 Thread Sumit Chandel
Hi Michael, The reason why the RichTextArea doesn't have an accompanying Toolbar included in the GWT libraries is because we wanted to leave the choice open for developers and not have the RTA locked into our own toolbar. For any developers who do want to use a toolbar with the same look as what's

Re: vs compiler switch

2008-10-02 Thread Isaac Truett
What is it that you find inconvenient about having two module definitions? How would a compiler option simplify things? On Wed, Oct 1, 2008 at 9:15 PM, sluramod <[EMAIL PROTECTED]> wrote: > > That's what I do at the moment, however it is not very convenient. > > Alex > > On Oct 1, 5:27 am, "Isaac

GWT Developer Resources feedback

2008-10-02 Thread Sumit Chandel
Hello everyone, The Google Developer Relations team is trying to get feedback on how we're doing so far with support for our APIs, including the Google Web Toolkit. So without further ado, may I present to you the Developer Resources Feedback survey (link below)! This is a chance for GWT develo

"Including" a deployed GWT project (just a form) from another project?

2008-10-02 Thread FFenril
Hello, I'm currently developping an application at work using for the first time Google Web Toolkit. For now, the application works this way : When it's launched, it makes an HTTPRequest (using the RequestBuilder and Request classes) to a PHP script which sends back data from a database formated

Re: Sorting Script HELP!!!

2008-10-02 Thread Ian Bambury
What has this got to do with 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, se

GWT in netbeans 6.0.1

2008-10-02 Thread prabesh shrestha
I have installed the GWT plugin in my netbeans IDE .But when i start a new project in comes to a hold when i select the installation folder for gwt.It says this is not a valid installation folder for gwt. I am using netbeans in windows XP.What is the valid installation folder? --~--~-~--~

GWT compiler and Hibernate4GWT problem

2008-10-02 Thread mig
Hello all, I posted this in the H4GWT forum and have been redirected here, as this may be a problem of the GWT compiler. I just paste here parts of the original message: --- "I have a RPC module with all service&async interfaces and entity classes. There is also another module, that represent

Problem with GridGrouping

2008-10-02 Thread Pete Kay
Hi, Is it possible to group by a numerical id field but display the String group name in the grouping? Here is my sample data GroupNameGroupId UserName ABC-Comp1 Pete ABC-Comp1 Dave DDD-Comp2 Tim DDD-Comp3

Re: redirect problem

2008-10-02 Thread falafala
The gwt client cannot interpret the redirect or invalid response (hence invocation exception). I do it this way... I use GWT server library so I can implement the service as POJO in Spring container and published as gwt service. I cannot use servlet filter bcoz it cannot handle the marshaling o

Re: Standard themes not crossbrowser?

2008-10-02 Thread Ian Bambury
OK then, we disagree. My personal opinion is that if I was adding one tiny widget to an existing web page, I'd be extremely miffed if GWT changed all my CSS settings. Or if it didn't respect my settings and just went it's own way with fonts, font sizes, weights, and so on and thereby looked out of

Re: Change ListBox-Item style: don't work correctly

2008-10-02 Thread Schimki86
I found the reason: the ListBoxis not updated. If I use setVisible() to hide it and show it again the list is updated correctly. Any Idea? Is this a bug and is there a "clean" way to fix this? 2008/10/2 Schimki86 <[EMAIL PROTECTED]> > > I have a ListBox ("select") with items ("options"). Now i ha

Re: RPC application and isolated classpaths

2008-10-02 Thread Kieron Wilkinson
I just wanted nice clean compile-time separation, so if I tried using a class out of context, IntelliJ would tell me immediately. That goes for used of classes between client and server, but also, if I tried to use a class from some library jar on the client side, IntelliJ wouldn't even allow me t

Re: Remove all rows from FlexTable

2008-10-02 Thread hezjing
Hi Lothar Yes, it works when changed to the following, customersFlexTable.setWidget(row, 0, new Label(customer.getFirstName())); customersFlexTable.setWidget(row, 1, new Label(customer.getLastName())); Thank you! On Thu, Oct 2, 2008 at 5:53 PM, Lothar Kimmeringer <[EMAIL PROTECTED]>wrote: > >

Re: RPC application and isolated classpaths

2008-10-02 Thread Kieron Wilkinson
Ah, great. Thanks for that, yes that does all make sense. So ultimately, its just a development-time dependency. Good to know! On Oct 1, 1:56 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > tags provide request mapping information for hosted mode's > embedded Tomcat server. If you don't use host

Re: Remove all rows from FlexTable

2008-10-02 Thread Lothar Kimmeringer
hezjing schrieb: > OK, I don't want to pollute this mailing list with my messy codes and > so, I thought showing the following callback is sufficient: > > customersFlexTable.setText(row, 0, customer.getFirstName()); > customersFlexTable.setText(row, 1, customer.get

Re: Remove all rows from FlexTable

2008-10-02 Thread hezjing
OK, I don't want to pollute this mailing list with my messy codes and so, I thought showing the following callback is sufficient: private AsyncCallback> callback = new AsyncCallback>() { public void onFailure(Throwable caught) { } public void onSuccess(List customers) {

Change ListBox-Item style: don't work correctly

2008-10-02 Thread Schimki86
I have a ListBox ("select") with items ("options"). Now i have to change the style on an option-element: listBox.getElement().getElementsByTagName("option").getItem(i).setClassName("empty- option"); When I want to remove the style I do it on same way, but instead a class-name I use an empty stri

Re: GWT 1.5 demo - proxy issue

2008-10-02 Thread Greg Stasica
i've the same problem while running Symantec Client Firewall. There are some posts on http://gwt-ext.com/forum/ (search firewall) about this problem but unfortunately no solution (except perhaps that the problem can be resolved by changing some rules (no information what exactly has to be changed

Re: Remove all rows from FlexTable

2008-10-02 Thread Lothar Kimmeringer
hezjing schrieb: > Unfortunately the clear() does not work, the Javadoc explained that > clear() removes all widgets from the table, but does not remove other > HTML or "text" contents of cells. Sounds strange. Can you post a small example what exactly you mean? Especially what you mean with "ot

Re: Safe to make *ServiceAsync a singleton?

2008-10-02 Thread obesga
Just a point: If you use GWT1.5 with Java5 semantics, just do @RemoteServiceRelativePath("myservice") public interface MyService extends RemoteService { ... } when you code like this private static MyServiceAsync = GWT.create(MyService.class); It'll automatically point to '/myService' path, m

Re: Remove all rows from FlexTable

2008-10-02 Thread hezjing
Hi Oskar Unfortunately the clear() does not work, the Javadoc explained that clear() removes all widgets from the table, but does not remove other HTML or "text" contents of cells. On Thu, Oct 2, 2008 at 4:16 PM, obesga <[EMAIL PROTECTED]> wrote: > > myFlexTable.clear() > > will remove the widge

Re: Remove all rows from FlexTable

2008-10-02 Thread obesga
myFlexTable.clear() will remove the widgets on the table, I don't now if this will be usefull to you Or simlpy remove the flextable from the parent widget and atach a new flextable Oskar On 2 oct, 09:55, hezjing <[EMAIL PROTECTED]> wrote: > Hi > I'm populating a FlexTable using setText(row, co

Re: Read external file

2008-10-02 Thread obesga
Quick method: just do a new testing servlet that has the contents on the file staticaly defined , or read a file staticaly defined on code. When you have your client code tested, then move the html/js code to the real server. Alternate method: Search documentation and forums, there's a way to a

Re: Read external file

2008-10-02 Thread obesga
- On hosted mode, just use a new test servlet that reads the file, configured 'by hand' directly in code. Or type the file into a java class. On 1 oct, 19:14, emdafe <[EMAIL PROTECTED]> wrote: > Hi, > I am new with gwt; i built an application and at start up i must to > read a configuration file

Re: Best GWT canvas (vector graphics) library?

2008-10-02 Thread Robbie Vanbrabant
On Thu, Oct 2, 2008 at 8:33 AM, joseanquiles <[EMAIL PROTECTED]> wrote: > >* and, it is the worst, it is very very slow in Internet Explorer > I am also looking for another canvas library. Is that the canvas library's fault? My guess is that it's because they emulate on IE using VML, as will

  1   2   >