using textresource in external file

2010-06-13 Thread alexl
hi, is there a how-to for retrieving text resource strings stored in an external file instead of being compiled? thx -- 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-tool...@googlegroups.com.

Re: using textresource in external file

2010-06-13 Thread alexl
oops I found it http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html -- 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-tool...@googlegroups.com. To unsubscribe from this

Re: Efficient GWT Client-Server Communication methodology

2010-06-13 Thread Chris Lercher
@Sky: Yeah, compression is very important. Note, that you don't have to do it yourself: Most servers and browsers support HTTP gzip Content- Encoding (usually just a switch in the server config to turn it on). Chris On Jun 13, 4:46 am, Sky myonceinalifet...@gmail.com wrote: Second, I seriously

Re: GWT very slow on IE

2010-06-13 Thread Stefan Bachert
Hi Vinod, there is a lot of missing information. * what does your application? * how is your app implemented without GWT? * Did you check whether the cause is the extremly poor javascript performance of IE (how fast does chrome load) * Did you check the download size? In general GWT is very

Re: Modify Java source file at compile time, possible?

2010-06-13 Thread Stefan Bachert
Hi Kevin, You must decide which type is implemented by which generator. It can be only one. Cascading generators, that mean one generator creates code which itself uses deferred binding it possible. I am doing this with my dialog layout generator with any problems. So your problem is rather to

Re: Efficient GWT Client-Server Communication methodology

2010-06-13 Thread Stefan Bachert
Hi Anne, the transport mechanism is not really important. It is import how many rows you transfer. Consider, that a user in general never see more than, let say, 20 rows. So we are talking to transfer a few rows from let say 2000 rows of a data table. Maybe you want to check the new data

Re: gwt2.0 memory leak

2010-06-13 Thread Stefan Bachert
Hi Tarik, IE and IE6 is not a good target for any kind of Ajax application. IE6 is known for memory leaks and extremely poor performance of javascript, and for lots of incompatibilites. When you are able to switch to a modern browser, do it soon, otherwise you will have a lot pain dealing with

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Stefan Bachert
Hi Kelo, what is unclear? The error message clearly states that you tried more than once to set a center widget. .. DockPanel.CENTER); Set breakpoints on both statements which doing this and watch. Stefan Bachert http://gwtworld.de On Jun 11, 5:32 pm, Kelo mcac...@gmail.com wrote: Clicking on

Re: Bookmarklet with GWT

2010-06-13 Thread KeremTiryaki
On Jun 12, 7:17 pm, Sky myonceinalifet...@gmail.com wrote: I quickly checked out the link tohttp://translatebookmarklet.appspot.com/ I have not tried using the actual app yet, but I see several things that could be improved from the start. The bookmarklet code: javascript:(function(){

SimplePager should be 'deaf', but makes data in table disappear (2.1, data presentation widgets)

2010-06-13 Thread Jaroslav Záruba
Hi I made my first attempt to utilize CellTable, *AsyncListViewAdapter*T and SimplePagerT. And I feel like it is christmass to get something like that right out-of-the box. :) Thanks to this threadhttp://groups.google.com/group/google-web-toolkit/msg/f6dd50e6c66a20ebI managed to display data,

Re: GWT and Spring - with Spring Web MVC or without it?

2010-06-13 Thread Stefan Bachert
Hi, Spring MVC does not fit to GWT at all. GWT considers the browser to be a thin/rich client, and the server to be the data source/model Spring MVC considers the browser to be an ultra thin client (something like an x-server), and considers the server to be a fat client, where presentation,

UiBinder. How much of standard GWT functionality will it support?

2010-06-13 Thread Konstantin Scheglov
I'm working now on adding support for simple GWT widgets into UiBinder support in GWT Designer. However I see many limitations during this. For example: 1. Support for TreeItem-s in Tree. http://code.google.com/p/google-web-toolkit/issues/detail?id=4997 2. Support for

Re: Bookmarklet with GWT

2010-06-13 Thread Thomas Broyer
On 13 juin, 02:45, Sky myonceinalifet...@gmail.com wrote: Oh, also, I'm SUPER wary of actually running that bookmarklet because of the fact it is injecting javascript directly into whatever page I am viewing. This compromises all security if you ever put malicious code in your app. Not only

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Kelo
It doesn't stop on my breakpoints, it just displays this error. On 13 jun, 07:38, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Kelo, what is unclear? The error message clearly states that you tried more than once to set a center widget. .. DockPanel.CENTER); Set breakpoints on both

Re: SimplePager should be 'deaf', but makes data in table disappear (2.1, data presentation widgets)

2010-06-13 Thread Paul Stockley
I am seeing the same problem and have logged a bug. On Jun 13, 7:45 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Hi I made my first attempt to utilize CellTable, *AsyncListViewAdapter*T and SimplePagerT. And I feel like it is christmass to get something like that right out-of-the

Re: SimplePager should be 'deaf', but makes data in table disappear (2.1, data presentation widgets)

2010-06-13 Thread Paul Stockley
Sorry, forgot to mention. This only happens when you have less than one page of data. On Jun 13, 10:22 am, Paul Stockley pstockl...@gmail.com wrote: I am seeing the same problem and have logged a bug. On Jun 13, 7:45 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Hi I made my

Re: where to define domain objects

2010-06-13 Thread Stefan Bachert
Hi Denis, It is absolutely clear where domain object are NOT located, in client and shared. Domain objects have nothing to do in GUI or client for a very simple project I would put it under server. But in general I would put domain objects into a separate project. The reason is, in general there

Re: SplitLayoutPanel - initial split between top and bottom panel

2010-06-13 Thread Stefan Bachert
Hi, you did not supplied code. However, I guess, the panel is initially smaller then north and center panel together. To check just use setPixelSize with large values e.g. setPixelSize(1000, 1000) I afraid, probably the is no easy way to set half and half. Because you need to know the total

Re: SimplePager should be 'deaf', but makes data in table disappear (2.1, data presentation widgets)

2010-06-13 Thread Jaroslav Záruba
Thanks Paul! On Sun, Jun 13, 2010 at 4:25 PM, Paul Stockley pstockl...@gmail.com wrote: Sorry, forgot to mention. This only happens when you have less than one page of data. On Jun 13, 10:22 am, Paul Stockley pstockl...@gmail.com wrote: I am seeing the same problem and have logged a bug.

Re: Can't start with GWT

2010-06-13 Thread Stefan Bachert
Hi, you cannot have failed in all cases. Otherwise you never had have a chance to install the browser plugin! The simpliest case is, did you start your app at all in your ide (development mode)? Just running eclipse and refresh the browser is too less Stefan Bachert http://gwtworld.de On Jun

Re: GWT and Spring - with Spring Web MVC or without it?

2010-06-13 Thread Jan Ehrhardt
If you want to use GWT RPC for client server communication, there is no need for Spring Web MVC. If you want to provide a RESTful API and use it for GWT too, Spring Web MVC is a good choice for realizing RESTful APIs. Regards Jan Ehrhardt 2010/6/13 Stefan Bachert stefanbach...@yahoo.de Hi,

DockLayoutPanel messed up with UiBinder

2010-06-13 Thread Simon
My simple DockLayoutPanel test is all messed up: the south element appears at the top of the page, the west and center elements don't appear ... !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder

Re: DockLayoutPanel messed up with UiBinder

2010-06-13 Thread Thomas Broyer
On 13 juin, 17:59, Simon sp.ma...@gmail.com wrote: My simple DockLayoutPanel test is all messed up: the south element appears at the top of the page, the west and center elements don't appear ... !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Thomas Broyer
On 13 juin, 16:20, Kelo mcac...@gmail.com wrote: It doesn't stop on my breakpoints, it just displays this error. Yes, of course, as you're running DevMode from Ant. Can't you run it from Eclipse (or you IDE of choice)? -- You received this message because you are subscribed to the Google

Re: Bookmarklet with GWT

2010-06-13 Thread dino
I trust him :p how do you create a bookmarklet in gwt? like a casual gwt project? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send

FileUpload for Multiple selection

2010-06-13 Thread Bruno Lopes
How to create a Multiple file selection for upload using ? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: FileUpload for Multiple selection

2010-06-13 Thread aditya sanas
http://code.google.com/p/gwtupload/ http://code.google.com/p/gwtupload/this will help you probably. -- Aditya On Sun, Jun 13, 2010 at 10:35 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: How to create a Multiple file selection for upload using ? -- You received this message because

Re: FileUpload for Multiple selection

2010-06-13 Thread Bruno Lopes
THANKS! ;) On Sun, Jun 13, 2010 at 6:24 PM, aditya sanas 007aditya.b...@gmail.comwrote: http://code.google.com/p/gwtupload/ http://code.google.com/p/gwtupload/this will help you probably. -- Aditya On Sun, Jun 13, 2010 at 10:35 PM, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: How

Re: DockLayoutPanel messed up with UiBinder

2010-06-13 Thread Simon
Thanks ! On Jun 13, 6:17 pm, Thomas Broyer t.bro...@gmail.com wrote: On 13 juin, 17:59, Simon sp.ma...@gmail.com wrote: My simple DockLayoutPanel test is all messed up: the south element appears at the top of the page, the west and center elements don't appear ... !DOCTYPE

Re: UiBinder. How much of standard GWT functionality will it support?

2010-06-13 Thread Mr. Richardson
Good point I was asking myself something also: 5. FlexTable why can't I make the rows and cells directly. -- 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-tool...@googlegroups.com. To

Re: Bookmarklet with GWT

2010-06-13 Thread Sky
On Jun 13, 8:27 am, Thomas Broyer t.bro...@gmail.com wrote: The issue with bookmarklets injecting scripts, is that they can become evil without your bookmarklet code changing (this is also an advantage, as the bookmarklet somehow updates itself just as any web app). Indeed, since they are

Re: Bookmarklet with GWT

2010-06-13 Thread dino
I want to write my own bookmarklet in gwt and I didn't found any good tutorial online. This guy managed to do so, I want to know why. And yes, most browsers support bookmarklets On 13 jun, 21:31, Sky myonceinalifet...@gmail.com wrote: On Jun 13, 8:27 am, Thomas Broyer t.bro...@gmail.com wrote:

Re: gwt2.0 memory leak

2010-06-13 Thread tarik kandil
I will answer your questons Daniel, Yes, I am using widgets. Of course I use RPC calls. MVC pattern in my application. I use innerHTML and dom objcts. I use a bindable datatable to show my data. Besides, This datatable is the one that consumes most of the memory. I am using one doc CSS. And I am

AOP Framework

2010-06-13 Thread fmod
After reading a few posts about AOP and GWT. I decided to give a try and implement my own AOP framework. http://code.google.com/p/gwt-tiny-aop Is still in his early days. But I think is functional enough (Interception of classes is 90% functional, missing interception of interfaces). The code

Re: java.lang.IllegalArgumentException: Only one CENTER widget may be added

2010-06-13 Thread Kelo
I feel gwt's plugin is not good to debug my project because it usually has bugs. Can I debug it from Eclipse without that plugin ? On 13 jun, 13:28, Thomas Broyer t.bro...@gmail.com wrote: On 13 juin, 16:20, Kelo mcac...@gmail.com wrote: It doesn't stop on my breakpoints, it just displays

Re: SplitLayoutPanel - initial split between top and bottom panel

2010-06-13 Thread pac
Thanks for your reply Stefan. As such I do not have height for north and center panel, but I did try a style for both panels and tried to make their size half of split panel i.e. 300px, but did not work. And half half I really do not need, as long as both panels are visible, at the moment center

Re: Bookmarklet with GWT

2010-06-13 Thread KeremTiryaki
I want to write my own bookmarklet in gwt and I didn't found any good tutorial online. This guy managed to do so, I want to know why. And yes, most browsers support bookmarklets 5 months ago, I wrote a tutorial http://keremt.blogspot.com/2010/01/making-bookmarklet-with-gwt-20-and.html but

Re: Bookmarklet with GWT

2010-06-13 Thread Olivier Monaco
Hi Kerem, Your way to create a bookmarklet is not trivial. If you want a easier way, you can try my bookmarklet linker (http://code.google.com/p/tyco/ source/browse/#svn/trunk/tyco-gwt/src/main/com/googlecode/tyco/gwt/ bookmarklet). Then, you just have to write a bookmarklet that load the

Clearing view(s) via AsyncListViewAdapter

2010-06-13 Thread Jaroslav Záruba
Hello I assume the proper way to manipulate data in views without a round-trip to server* would be to call: AsyncListViewAdapterT.updateViewData(int start, int length, ListT values); But that does nothing when I try to *clear* the data: AsyncListViewAdapterT.updateViewData(0, 0, new

Re: Modify Java source file at compile time, possible?

2010-06-13 Thread Olivier Monaco
Not sure it's a problem. It's depends on you exact use case. Can you give me a more exact example? Olivier On 12 juin, 01:16, Kevin Qiu kevin.jing@gmail.com wrote: thanks for the reply. the problem is (I should've pointed out) that my Foo class is already managed through dependency

Re: Clearing view(s) via AsyncListViewAdapter

2010-06-13 Thread Jaroslav Záruba
As I'm thinking of this more, the view also must respect given pageSize nd dataSize. Therefore to have view/table 0 rows high when the view is set to pageSize=15 and thinks dataSize=1156 would be kinda 'uncertain'. The table would have to display empty row, or rows, and they would have identical

how to use external project

2010-06-13 Thread Vik
Hie I want to use advance table http://code.google.com/p/gwt-advanced-table/ in my app. So i downloaded the zip and can open it in my eclipse as well. But how do i use it in my own app? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message

Re: how to use external project

2010-06-13 Thread Subhrajyoti Moitra
Instead of this, why not try, the PagingScrollTable in the incubator project? There is example code in the sample for gen2. HTH. Thanks, Subhro. On Mon, Jun 14, 2010 at 7:40 AM, Vik vik@gmail.com wrote: Hie I want to use advance table http://code.google.com/p/gwt-advanced-table/ in my

How to create a featured table?

2010-06-13 Thread Vik
Hie I need a table in gwt which is pagging enabled, column sortable and have row selection feature. Please advise how to create such table? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups

Re: how to use external project

2010-06-13 Thread Vik
hie I could not find any example on how to use that? just demo is there Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Jun 14, 2010 at 7:49 AM, Subhrajyoti Moitra subhrajyo...@gmail.comwrote: Instead of this, why not try, the PagingScrollTable in the

Re: how to use external project

2010-06-13 Thread Subhrajyoti Moitra
You will have to dig out from the example sources. Take the SVN code base and see the sources from http://code.google.com/p/google-web-toolkit-incubator/source/checkout Subhro. On Mon, Jun 14, 2010 at 8:53 AM, Vik vik@gmail.com wrote: hie I could not find any example on how to use that?

Sub-page for OAuth Callback

2010-06-13 Thread Martin
The OAuth requires that the callback url be a different address under the same domain, and I'm set to upload the main class and page to Google App Engine. I know that GWT does not support multiple pages - is there a way to make a subpage on appspot.com? A friend's willing to host the program, but