Re: Bookmarklet with GWT

2010-06-13 Thread dino
yes, you misunderstood me :p I don't speak english and have sometimes trouble explaining what I wan't :p but that sentence is non-trivial and you already answered what I needed to know Sorry that I called your tutorial not good but It looked rather confusing. It looks like you are doing some buggy

Conversion from JSON to XML and XML to JSON

2010-06-13 Thread Malli
Hi , I'm using GWT2.0 I need converter from JSON to XML and XML to JSON..is there any pre-defined function for converting from JSON to XML and XML to JSON.If its so .please tel me what that good function .. If we don't have any function please tel me how ..we can do ? Thanks, Malli. --

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 I

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 wrote: > hie > > I could not find any example on how to use that? just demo is t

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 wrote: > Instead of this, why not try, the PagingScrollTable in the incubator > project? > There

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 "Goo

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 wrote: > Hie > > I want to use advance table http://code.google.com/p/gwt-advanced-table/ in > my app. > > So i

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 beca

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 (~

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 wrote: > thanks for the reply. the problem is (I should've pointed out) that my Foo > class is already managed through dependency injection container (gin), whi

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: AsyncListViewAdapter.updateViewData(int start, int length, List values); But that does nothing when I try to *clear* the data: AsyncListViewAdapter.updateViewData(0, 0, new ArrayList()); Lo

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 .nocache

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: 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: 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 wrote: > On 13 juin, 16:20, Kelo wrote: > > > It doesn't stop on my breakpoints, it just displays this error. > > Yes, of course, as

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 lo

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 u

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 wrote: > On Jun 13, 8:27 am, Thomas Broyer wrote: > > > The issue with bookmarklets injecting sc

Re: Bookmarklet with GWT

2010-06-13 Thread Sky
On Jun 13, 8:27 am, Thomas Broyer 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 injecting co

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 unsubs

Re: DockLayoutPanel messed up with UiBinder

2010-06-13 Thread Simon
Thanks ! On Jun 13, 6:17 pm, Thomas Broyer wrote: > On 13 juin, 17:59, Simon 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 ... > > > http://dl.google.com/gwt/DTD/xhtml.ent"

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.com>wrote: > 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>

Re: FileUpload for Multiple selection

2010-06-13 Thread aditya sanas
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

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 google-web-

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, sen

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

2010-06-13 Thread Thomas Broyer
On 13 juin, 16:20, Kelo 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 Groups "Google Web

Re: DockLayoutPanel messed up with UiBinder

2010-06-13 Thread Thomas Broyer
On 13 juin, 17:59, Simon 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 ... > > http://dl.google.com/gwt/DTD/xhtml.ent";> >         xmlns:g="urn:import:com.google.gwt.user.client.ui"> >  

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 ... http://dl.google.com/gwt/DTD/xhtml.ent";> Top

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 > Hi, > > Spring MVC does not f

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 12

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 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 wrote: > > I am seeing the same problem and have logged a bug. > > > > On Jun 13, 7:45 am, Jaroslav

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 heigh

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: 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 wrote: > I am seeing the same problem and have logged a bug. > > On Jun 13, 7:45 am, Jaroslav Záruba wrote: > > > > > Hi > > > I made my first attempt to utilize CellTable, *A

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 wrote: > Hi > > I made my first attempt to utilize CellTable, *AsyncListViewAdapter* and > SimplePager. And I feel like it is christmass to get something like that > right out-of-the box. :) > > Thanks to this

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 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 statements which d

Re: Bookmarklet with GWT

2010-06-13 Thread Thomas Broyer
On 13 juin, 02:45, Sky 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 is there the issue of yo

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 "TextBox.text

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, b

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* and SimplePager. And I feel like it is christmass to get something like that right out-of-the box. :) Thanks to this threadI managed to display data, bu

Re: Bookmarklet with GWT

2010-06-13 Thread KeremTiryaki
> On Jun 12, 7:17 pm, Sky 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(){ > >         if

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 wrote: > Clicking on my ant's script

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 Me

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 widg

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 o

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 fast,

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 wrote: > Second, I seriously suggest using compression i

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 grou