Re: When one has the option to use XML or JSON to communicate with JS libraries, which one would be better?

2012-07-17 Thread Robert W
I don't understant in what context you use "solution" word but generally 
json is standard for api use, with gwt overlays mechanism it easy to use in 
java typing model.

On Wednesday, July 18, 2012 4:52:32 AM UTC+2, MAQ wrote:
>
> Hi,
>
> I hope the question is clear, I'm a total GWT newbie. My project requires 
> the use of some of Google's APIs. Two main solutions are provided one for 
> XML and another for JSON (gdata-java-client and google-api-java-client).
>
> Which one would be more suitable (easier, more compatible etc.)? Or is it 
> a mere personal choice?
>
> Regards,
> Mo
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/5YOWBEZ1blUJ.
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 app unloading

2012-07-17 Thread Robert W
I created gwt module for embedding on any site, currently there are 
traditional html sites and one fully changeable by ajax calls. There is my 
pain: I can't unload gwt application. I'm trying nullify object tree in 
java, purge html by javascript, i created modularized version, but nothing 
better. Where to look: in bootstraper, memleaks. ;maybe gwt is not 
unloadable, i'm new in deep javascript analysis. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/j5t8VjvTHNwJ.
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: ListDataProvider vs AsyncDataProvider

2012-04-29 Thread Robert W
ListDataProvider  with view creates only  item renderer count neccesary to 
fill view. You can override simple pager to implement eg constant row count 
com.google.gwt.view.client.HasRows in while searching

On Sunday, April 29, 2012 8:08:08 AM UTC+2, tong123123 wrote:
>
> in a search page, assume the result return many record like 8000 records, 
> and in the simplepager, each page display only 10 records, if using 
> ListDataProvider, the 8000 records will be sent to client at once time and 
> then render the celtable with all 8000 records in one time, the result is 
> static.
> if using AsyncDataProvider, each time the server only sent 10 records to 
> client.
> 1) so AsyncDataProvider response is much faster, is this correct?
> 2) but how about if the user press the "last button" in the simplepager 
> when the celltable using AsyncDataProvider? the speed is still similar to 
> get the first page? that is, it only fetch records from 7990 to 8000 
> records only, bypass all the others (record before 7990)?
> 3) assume user input criteria fieldA = "XXX", if using asyncDataProvider, 
> while searching, other user may enter record which fulfill the criteria 
> fieldA = "XXX", so the total number of records in simpepager is continually 
> changing? and so the first ten records in first page is keep continually 
> changing?
> 4) anyway, in my case (searching with result return thousands records), 
> AsyncDataProvider is more suitable then using ListDataProvider?
>
> thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/_rt4_333fcsJ.
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: How to build text trimming cell for GWT DataGrid

2012-04-29 Thread Robert W
If you extend AbstractCell there is access to your model and cell state 
(view,edit). There you can count chars, traverse dom that suit your needs 

On Sunday, April 29, 2012 2:45:59 PM UTC+2, benb wrote:
>
> Hi, 
>
> I'm looking for examples for building a text-trimming cell for GWT 
> DataGrid. 
> I want the cell to have fixed width and height, and if text is longer 
> - ellipsis (...) will appear. 
> The complete text will appear on editing / on tool tip. 
>
> In my current DataGrid, the text is automatically wrapped and the row 
> height grows. I want to avoid that and to keep fixed row height. 
>
> Can someone help? 
>
> Thanks, 
> Ben


On Sunday, April 29, 2012 2:45:59 PM UTC+2, benb wrote:
>
> Hi, 
>
> I'm looking for examples for building a text-trimming cell for GWT 
> DataGrid. 
> I want the cell to have fixed width and height, and if text is longer 
> - ellipsis (...) will appear. 
> The complete text will appear on editing / on tool tip. 
>
> In my current DataGrid, the text is automatically wrapped and the row 
> height grows. I want to avoid that and to keep fixed row height. 
>
> Can someone help? 
>
> Thanks, 
> Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/uvS69dsmTjAJ.
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 Developer Plugin for Firefox 6

2011-09-23 Thread Robert W
Tday I updated addon in ff6 :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/139QL7S55JMJ.
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: Strange Request: How do I open a new browser window, run part of the GWT application there, and communicate with it

2011-09-15 Thread Robert W
Within jsni you can open new windows by window.open and there you have 
reference to new window. In the opened win you have samething like 
parentWindow (with my distant memory). Gwt not have rather inter-window 
communications methods.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/iSXpSThy4l8J.
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: Request Builder

2011-07-04 Thread Robert W
After some research i can say that there is general problem with
advanced communication outside servlet/app engine. Problem is easy
serialization. I created own based solution on JavascriptObject and
amfphp. Serializaing transparently but I write java DTO by hand.
JavascriptObject is problematic in this regard that cant have useful
constructor and no more than one class can implement interface and
there is no reflections java methods in gwt client side that
summarized now I write javascript code to send as hint for server
deserializiation. it should be created by gwt Generator but generator
must form complete classes (more work for me now).
On Jul 3, 5:05 am, sanjay kanwar  wrote:
> Hi There,
>
> I have a task in which i hav to use Request Builder and JSON to fetch the
> data frm the php server and show it in the screen in the form of image
> representating tht data. I am new to jst a recent graduate and new to this
> technology any help about how to proceed  would be very helpful.
>
> Thanks in Advance
> Sanjay Kanwar

-- 
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: Fill a grid from my database

2011-06-29 Thread Robert W
GWT 2.4 or gwt-incubator project had something called PagedDataGrid or
similar. In 2.3 gwt is Editor framework suitable for your requirements
too.

On Jun 29, 10:21 am, Khadija FERJANI 
wrote:
> Good morning everybody,
> I wonder if someone could help me to fill my Grid from a database.
> My result have to be like this 
> examplehttp://www.sencha.com/examples/pages/grid/widgetrenderer.html
> Thanks.
>
> --
> Cordialement, Khadija FERJANI
> Élève ingénieur à la faculté des sciences de Tunis.

-- 
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: How to socialize GWT application

2011-06-29 Thread Robert W
While connecting to external js libs in  gwt you must usually check
load order.

On Jun 29, 3:33 pm, Ahmed  wrote:
> Hello,
>
> My GWT application should allow sharing content to social network like
> twitter, linkedIn,facebook,..
> Google search give me 3 framework based on javascript that facilitate
> content sharing:Gigya,sharethis,addthis
> i have tried the last two by appending jascript code to Document
> object..., but nothing is displayed!!!
> is there someone who did something like this to give me ideas ,propose
> framework or widget that are the most appropriate for GWT.
> Thanks in advance for yoour help.
> Any help is appreciated :)
>
> Note: im using GWT 2.3

-- 
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: call method inside the ui.xml file

2011-06-24 Thread Robert W
Why in xml, call it in associated *.java file. Just assign your
dialogbox by @UiField

On Jun 24, 11:17 am, gwtomni gwtomni  wrote:
> Hello,
>
>    Can I call a method like show() or center() inside the uibinder xml file.
>   PS. show() and center() for a DialogBox
>
> 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-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: Class diagrams for GWT Samples

2011-06-23 Thread Robert W
I can recommend you ObjectAid, my simple trial -
http://riasol.internetdsl.pl/2011/05/11/static-class-analysis/ .

-- 
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: FTP upload of large files

2011-06-22 Thread Robert W
You are wrong: ftp client is not related to gwt, worst ftp is not
related to most of browser. Every technology has limits. I built
client in flash technology, working on theoretically any size of file
but divides large file on small chunks and cooperate with server to
join them later. Works on http. In GWT you have FileUpload control.
Maybe there search for hints.

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



Integration tests with GWTTestCase

2011-06-22 Thread Robert W
My scenario: I have gwt part communicating with serwer (php) using
RequestBuilder. GWT test runner starting internal server on localhost
domain, some port but my serwer part is not changeable. Could gwt test
runner start width different startup url as dev mode?. I try -
Dgwt.args="-startupUrl http://my.domain"; but without effect.

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