Re: appengine connected android project wizard example

2011-08-07 Thread Marcus Franzen
I have got the same problem, did you get it working?

On 5 Aug., 00:48, RS rajeshs...@gmail.com wrote:
 GWT plugin for eclipse'sappengineconnectedandroidprojectwizard's
 output example used to work, doesn't work for a freshprojectany
 more.

 Well things do get generated and compile but C2DM registration fails
 in theandroiddevice/emulator irrespective of live or local server.

 Have spent good time with different machines and fresh eclipse
 installations.

 Any workarounds? Any suggestions to go back to the old state where it
 used to work?

 Regards.
 RS

-- 
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: Web Workers in GWT

2011-08-07 Thread OrNOt
I get a workaround but no idea if it makes right sense.

Create a  JSNI factory  method to by pass the GWT like this

   private  final native short[] createShortArray(int length)
/*-{
var dataArray= new Array(length);
return dataArray;
}-*/;


Now in your GWT code, you can use it as below:

short[]   myShortArray=createShortArray(100);

Now if you passMessage(myShortArray), it works.

In your worker side , you need a  method like this:

public final native short[] getDataAsShortArray()
/*-{
return this.data;
}-*/;


Anybody can kindly confirm it ?

Thanks a  lot.

OrNot

On Aug 7, 7:52 am, OrNOt ornot2...@gmail.com wrote:
 Hi, Christian,
       Yes,I have tried to modify the code to pass array. But it seems
 impossible. The reason is not from speed tracer part but from GWT
 internal implementation If I understand well.  When you create a array
 in GWT like this :

        short[] dataArray = new short[100];

 The GWT will translate it  to a none native javascript array  like
 this:

       this.m_shortArray = initDim(_3S_classLit, {22:1}, -1, 4, 1);

 Once you want to pass your dataArray, an exception will be thrown
 because

 of clone error.

 It seemsWebworkeronly supports native array clone. I have tried
 chrome and
 firefox and getting the same error.

 I don't  know  how to go further now.  ;-( . Convert the array to
 string might be a
 solution but the performance will be bad for big array.

 OrNot

 On Aug 6, 2:01 am, cidylle0 cidyl...@gmail.com wrote:







  Hi OrNot,

  Yes please if you could help out and let me take a look at your
  project that would be great (cidyl...@gmail.com). Thanks a lot.
  As for passing a canvas image array it should be possible since it can
  be done in JavaScript. The postMessage method in the SpeedTracer code
  indeed does only have String and Double. Maybe you could modify the
  speedtracer MessageHandler class and add a method for array passing.
  Or would stringifying the canvas array be possible ?

  On Aug 4, 6:08 pm, OrNOt ornot2...@gmail.com wrote:

   Hi, Cidylle,
         I wrote  one example  based on speed tracer 'swebworkerand
   after some sort of struggling
   make it run.

        If you like , I can send the source code to you.  It seems no
   place to attach file here?

   Regards.
   OrNot

   BTW:   I also need your help if possible. I want to pass a canvas'
   image array from front thread toworker,
   in javascript, it seems easy by the event.data. But I don't know how
   to pass it in Speed Tracer 's implementation.
   If I understand right, it only passes string and double.

   On Aug 3, 8:56 am, cidylle0 cidyl...@gmail.com wrote:

Chris,
Thanks again for your pointers, they have been very helpful. Following
your advice I believe I managed to set up the proper configuration and
I feel I am very close to succeeding. So far I am simply trying to
test the set up by sending a message from the main module to the
   worker, and have theworkersend back the message then display it in
an alert window. As I attempt to do so with postMessage() methods I
run into an error I cannot seem to correct:

(workerbootstrap error : alert not defined )

Do you have any idea what that error could be ? I have the error
whether i use simple strings or JSON objects in postMessage. I have
ran a couple searches and looked into the wc3 specs but to no avail.
Thank you.

On Aug 2, 10:18 am, Chris Conroy con...@google.com wrote:

 Within SpeedTracer take a look at the BreakyWorkerinfrastructure 
 (used to
 validate the schema of records SpeedTracer receives from Chrome):

 client/ui/src/com/google/speedtracer/...
 breaky/BreakyWorker.gwt.xml
 breaky/worker/BreakyWorker.java
 client/model/BreakyWorkerHost.java

 To get an idea of how all this stuff is wired up. TheWorkerHost lives 
 in
 the normal GWT module side of things, and the BreakyWorker is a
 DedicatedWorkerEntryPoint responsible for initializing theworker. 
 Since
 it's small, it also handles the handling of messages.

 The BreakyWorker.gwt.xml module pulls in  our WebWorker definition 
 and uses
 the DedicatedWorkerLinker.

 On Mon, Aug 1, 2011 at 7:58 PM, cidylle0 cidyl...@gmail.com wrote:
  Thank you for your input Chris.
  Yes I have been looking at the code included in Speedtracer but
  without documentation (and the fact that I am a novice GWT 
  developer)
  I am having a difficult time figuring out how to the webworker is
  being set up and used in Speedtracer. There seems to be a module for
  the webworker with various classes representingworkerentry points
  but I am not sure which would to implement and in what context. In 
  the
  xml files of the modules i did notice an add-linker ... tag which 
  I
  am assuming points to the module that represents theworker. Again, 
 

Re: GWT + Guice + Shiro

2011-08-07 Thread objectuser
There's not much to do with Shiro in GWT, but I have a blog post about 
setting up Shiro with Guice on App Engine.  Most of it should be relevant to 
you since I don't talk much about the datastore.

One thing you should be able to do differently is to use the 
DefaultWebSessionManager, 
which doesn't work on App Engine.

http://objectuser.wordpress.com/2011/06/30/apache-shiro-on-google-app-engine/

-- 
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/-/j4xJwOrYBAEJ.
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: RIP (Rich Internet Pages) instead RIA

2011-08-07 Thread dreamer

Thanks Karthik for the reply.

Client side rendering (DOM manipulation) and Server side rendering
(HTML manipulation),  certainly these
achieve rendering efficiency, but still programming approach is still
same, that client side event programming.

Server can get away from rendering totally, keeping the business logic
with it, and serve view+model+presenter to server, so
that client can what it is best at, and server can what is best at.

Creating event is the only way to get any resource from server in
current GWT during run time. Please correct me , if wrong.
Server could send entire page + presenter as as java script and Model
to client, We can leverage Browser DOM, to apply Model to view as
in today. That way you only serve the java script, really you need.

Programmer can only visualize the page is in AJAX world, I have seen
extreme apps, there is only single page, other extreme our jsp page
with little java script.

Code splitting, server rendering - makes different. But approach
remains same, where client will have entire app and makes server calls
on user events.

We can get the best of both worlds, like every thing on server (jsp
model) and every thing on client (GWT) model.
Server should remain as brain for using Enterprise resources etc, that
server will be able every thing that is need for client, for ajax page
in one shot, Client can do DOM manipulation, little bit of event-ing
if required, like refreshing with new values etc.

Hand written AJAX page should be same as GWT generated page, that GWT
will remain like tool, still programmer will have
flexibility to choose what approach suits for his application. For few
web apps, RIA approach may be more lively.

Is there any easy way in GWT, to post entire page and get new page ?








On Aug 6, 6:33 pm, Karthik Reddy karthik.ele...@gmail.com wrote:
 Or you could wait for server-side rendering to be supported by GWT. The GWT
 team has dropped few hints in a couple of threads indicating that the day
 could not be very far off when GWT does support server-side rendering. See
 the following threads:

 https://groups.google.com/forum/#!topic/google-web-toolkit-contributo...
 *
  ...It allows us to optimize for different browsers, and it even
 opens the door for server side rendering.

 *
 *
 *
 *https://groups.google.com/forum/#!topic/google-web-toolkit-contributo...
 *
 *The latter can be user in a regular JVM to create an HTML string, which
 will hopefully help with server side rendering in the future.
 *
 *
 *
 Another relevant thread I have started regarding GWT, Closure, server-side
 rendering* : 
 *https://groups.google.com/forum/#!topic/google-web-toolkit-contributo...

-- 
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: appengine connected android project wizard example

2011-08-07 Thread RS
Just many more fresh installs and fresh trials.
Re-re-re requested C2DM for the same id and same/different package.
(apparently package name filled in that form doesn't really matter)

Got reply of acceptance. Waited few more days.

No change.
Registration from android device invariably fails.

Waiting for official reply (that C2DM server has been set right) or
GAE plugin update.

Also tried with an independently written code.

On Aug 7, 8:06 am, Marcus Franzen franzen.mar...@gmail.com wrote:
 I have got the same problem, did you get it working?

 On 5 Aug., 00:48, RS rajeshs...@gmail.com wrote:







  GWT plugin for eclipse'sappengineconnectedandroidprojectwizard's
  output example used to work, doesn't work for a freshprojectany
  more.

  Well things do get generated and compile but C2DM registration fails
  in theandroiddevice/emulator irrespective of live or local server.

  Have spent good time with different machines and fresh eclipse
  installations.

  Any workarounds? Any suggestions to go back to the old state where it
  used to work?

  Regards.
  RS

-- 
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 + Guice + Shiro

2011-08-07 Thread Fabricio Pizzichillo
Thanks, I'll see it

2011/8/7 objectuser kevin.k.le...@gmail.com

 There's not much to do with Shiro in GWT, but I have a blog post about
 setting up Shiro with Guice on App Engine.  Most of it should be relevant to
 you since I don't talk much about the datastore.

 One thing you should be able to do differently is to use the 
 DefaultWebSessionManager,
 which doesn't work on App Engine.


 http://objectuser.wordpress.com/2011/06/30/apache-shiro-on-google-app-engine/

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

 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.


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



GWeToloc = GWT + Html5 geolocation

2011-08-07 Thread Francois Wauquier
Hi

I am pleased to share this Open Source project
http://code.google.com/p/gwetoloc/

It wraps the latitude, longitude and accuracy of the getCurrentPosition API.

Html5 Rocks !

Francois 'wokier' Wauquier

-- 
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/-/3RA8FF4Xr1IJ.
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 java project vs web application project / MVP

2011-08-07 Thread cri
There are two ways (at least) to start a new gwt application project:
1) New/Google/Web Application Project (and)
2) New/WindowBuilder/GWT Designer/Model/GWT Java Project

I like (2) because it supports initializing the project to be an MVP
project. However, I'm tempted to favor (1) because I suspect that it
might be the preferred/best supported approach by the GWT dev team.
For example, (1) has the option of initializing the project as a
Google App Engine project while (2) does not.

Question: Since (2) really has nothing to do with GWT Designer GUI
designer, why not merge the functionality of (2) into (1)?

Comments?

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



component for editing an image

2011-08-07 Thread moa-code
Hi,

I want a component that I can use to allow a user to draw a box or
circle over an image they have previously uploaded. I then want the
component to message the circle or squares dimensions back to the
server, so the server can either perform a crop on image to the size
of the square, or perform some other image manipulation on the area
where the circle was.

I do not want to have to use Flash or Java Applet for this, as I would
really want this to work without Java installed and on machines
without flash.

Is GWT able to do this sort of thing?

Any pointers or example would be most appreciated as I am totally new
to GWT.

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.



change css dynamically via javascript?

2011-08-07 Thread Elhanan
hi..
is it possible to do the following

create custom annotions on a class and on it's members like so
@Permission()
public class Foo{
@Permission() String name;
}

have the gwt compiler convert said annotations into custom attributes on 
each member's dom (if that's not possible i can always use create the custom 
attribute myself instead of using annotations).

use a javascsipt query to retrieve all nodes which have said attributes and 
send them to the server, which will give back a css class for each attribute 
value
apply these attributes as css styles. 


-- 
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/-/2zpU40NgHPgJ.
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: no run as GWT application in Eclipse 3.7 (indigo)

2011-08-07 Thread Eric Clayberg
Run as Web Application is newer and up-to-date while Run as GWT 
application is older and obsolete.

-- 
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/-/PxK34ZveHigJ.
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: no run as GWT application in Eclipse 3.7 (indigo)

2011-08-07 Thread Alain Ekambi
Well i did like the old  one. :)
Will miss it

2011/8/7 Eric Clayberg clayb...@google.com

 Run as Web Application is newer and up-to-date while Run as GWT
 application is older and obsolete.

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

 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 API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

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



wHOWTO reflect changes in a Celltable cell

2011-08-07 Thread Jeff Chimene
Hi:

I have a situation where I want to edit a Celltable Cell in its
FieldUpdater() method.

I'd like the user to see the value after the edits are applied.

The use case is the situation where the Context key value is in the
cell's value:

Context.key = 1, Cell value = 1,2

in this case, I want to remove the 1 and redisplay the new cell value
as 2

It looks like I have to extend EditTextCell to get this redisplay
behavior. Is this correct?

Cheers,
jec

-- 
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: Compile Error - Method Not Implemented

2011-08-07 Thread Nick Apperley
Made a silly mistake of having the interface extend EventListener
instead of having the class implement EventListener. In the class the
required method was already implemented. With that corrected the
compile works without any errors.

Would be good if the Console window had more meaningful output on
where the error occurred (it did not mention about the interface).


On Aug 5, 2:21 am, Jeffrey Chimene jchim...@gmail.com wrote:
 On 8/3/2011 7:56 PM, Nick Apperley wrote: Is there a way to do a clean build 
 from scratch?

 You can always delete the compiler output (including .class files). If
 you're using Eclipse, the clean function will accomplish that task. When a 
 compile is
  done is any caching involved?

 I think the answer at the level of problem you're having is no.
 I qualify the no, because if you are using Gin, and are using
 development mode, and you change the Gin binding information, then it's
 wise to recompile (i.e. restart development mode). That doesn't seem to
 be the case here.

 I'm fairly sure you will find the problem is some unexplored linkage
 between the .java and the .ui.xml. I've outlined a resolution path
 below. I know this can be frustrating. In cases like this, the wisdom to
 strategically cripple your application is crucial to isolating the
 failure point.

 On Aug 3, 2:28 am, Jeffrey Chimene jchim...@gmail.com wrote:







  I see nothing there either.

  I'd try a few things:
  o Simplify the file. Use VerticalPanel or HorizontalPanel or a
  combination of them to replace the g:grid when laying out the labels.

  o Focus on getting a clean compilation w/o reference to the ui.xml
  (obviously, it won't run...) Start commenting out the UiField and
  UiHandler annotations one by one. Donotcomment out the field references.

  o Does the Template Editor do anything interesting when invoked on this
  ui.xml?

  o Look at the generated javascript and see if you can find the linkage
  to the Problem Child.

-- 
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: RequestFactory with Collections of ValueProxy in a ValueProxy

2011-08-07 Thread Daghan
Hi Alexandre,

Thanks for posting this link. I've wasted my whole weekend on this issue

-- 
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/-/AMQJoTCJ7xYJ.
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: scrolling in iPad

2011-08-07 Thread Gal Dolber
ScrollPanel do work. What version of gwt are you using?

On Sat, Aug 6, 2011 at 10:17 PM, macagain rgk...@gmail.com wrote:

 What's the best or right way to do gwt apps that scroll properly on the
 iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does
 seem to work either.

 I've tried some of the touch scroll panel widgets floating around, but they
 don't show the scroll bars, which of course confuses users.

 i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the
 original iphone.  Anyone know of a better guide?

 Anyone done a gwt app for ipad?  would love to hear your experiences.

 -r

 --
 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/-/-G-2M1M15fgJ.
 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.




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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



Aw: scrolling in iPad

2011-08-07 Thread Jens
iOS 5 will support a new CSS property called -webkit-overflow-scrolling. 
When setting the value touch and using it together with overflow:scroll 
you get native iOS scrolling on elements. This will be the best solution for 
iOS 5. For older iOS versions you can use ScrollPanel which supports touch 
scrolling since GWT 2.3 I think. Its not as nice as native scrolling but its 
better than nothing. 

-- 
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/-/98zLmERo0KkJ.
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: scrolling in iPad

2011-08-07 Thread redjhawk
To let a user do scrolling, you have to use a scrollpanel with any
widget with a size bigger than the parent scrollpanel.

I use a 'personalized' ScrollPanel with touch support
(TouchScrollPanel, at the end of this mail). That panel must fit the
mobile screen. Then, inside that panel, you have to insert any widget,
with the size desired. If that widget is bigger than the scrollPanel,
then you will be able to scroll.

GWT 2.3 already let the user to do vertical and horizontal scroll with
touch and mouse events. With GWT 2.2, you will have to do horizontal
scroll manually with touch events (detect onTouchStart,onTouchMove and
onTouchEnd):

void onTouchStart(TouchStartEvent event) {
startPoint =  event.getChangedTouches().get(0).getClientX();
startScroll=scrollPanel.getHorizontalScrollPosition();
}

void onTouchMove(TouchMoveEvent event) {
int change = (startPoint-
event.getChangedTouches().get(0).getClientX());
scrollPanel.setHorizontalScrollPosition(startScroll+change);
event.preventDefault();
}

void onTouchEnd(TouchEndEvent event) {
startPoint=0;
startScroll = 0;
  }


public class TouchableScrollPanel extends ScrollPanel implements
HasAllTouchHandlers {
@Override
public HandlerRegistration addTouchStartHandler(TouchStartHandler
handler) {
return addDomHandler(handler, TouchStartEvent.getType());
}
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler
handler) {
return addDomHandler(handler, TouchMoveEvent.getType());
}
@Override
public HandlerRegistration addTouchEndHandler(TouchEndHandler
handler) {
return addDomHandler(handler, TouchEndEvent.getType());
}
@Override
public HandlerRegistration addTouchCancelHandler(TouchCancelHandler
handler) {
return addDomHandler(handler, TouchCancelEvent.getType());
}
}

On Aug 7, 1:17 am, macagain rgk...@gmail.com wrote:
 What's the best or right way to do gwt apps that scroll properly on the
 iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does
 seem to work either.

 I've tried some of the touch scroll panel widgets floating around, but they
 don't show the scroll bars, which of course confuses users.

 i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the
 original iphone.  Anyone know of a better guide?

 Anyone done a gwt app for ipad?  would love to hear your experiences.

 -r

-- 
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: Eclipse Analyzing Sources Slow

2011-08-07 Thread Alex Luya
After removing all WindowBuilder related packages,everything works fine.

On Wed, 2011-08-03 at 21:52 -0700, gutto wrote:
 Hmm, all I can suggest is that you try the XML Catalog workaround.
 
 On Jul 31, 12:22 am, Alex Luya alexander.l...@gmail.com wrote:
  I have installed this one,but problem still existed.
 
 
 
 
 
 
 
  On Thu, 2011-07-28 at 20:30 -0700, gutto wrote:
   Pulled down an update for GPE today.
 
 Google Plugin for Eclipse 3.72.3.3.r37v201107211953
   com.google.gdt.eclipse.suite.e37.feature.feature.group Google, Inc.
 
   Problem appears to have disappeared!
 
   On Jul 29, 11:27 am, gutto thomas.gutteri...@gmail.com wrote:
Thanks, that's interesting. Obviously related. I had noticed that
content assist in templates is slow the first time I tried to use it.
I was quite pleased to see that in Indigo it will actually auto-
complete, whereas in Helios it did nothing when I selected an entry
from the suggestion list.
 
On Jul 26, 8:17 pm, Thomas Broyer t.bro...@gmail.com wrote:
 
 They 
 did:http://code.google.com/p/google-web-toolkit/issues/detail?id=5265
 Maybe not that many times, and *a priori* not at the same time (not 
 when
 building the project, but when opening the XML files), but still.
 


-- 
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: no run as GWT application in Eclipse 3.7 (indigo)

2011-08-07 Thread Warren Tang
Then it shall be removed to avoid confusion.

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



Nasty Long Standing Keyboard Scrolling Bug

2011-08-07 Thread camerojo
Back in May I posted a bug report for this but it does not seem to be
getting the attention it deserves so I have uploaded a simple app that
demonstrates the bug - see http://keybdscrollbug.appspot.com/

The bug was reported as issue 6383 - see
http://code.google.com/p/google-web-toolkit/issues/detail?id=6383

This bug is in core internal code - HasDataPresenter - which means
that it affects several key important widgets including CellList,
CellTable and even the new upcoming DataGrid.

I think that the fix is simple and I have suggested the change
required in my bug report.

If you are using any of the cell widgets for anything more than a toy
application, one day your users will hit this nasty bug, so I
encourage you to vote for the bug.

It would be great if the simple fix I suggest could be applied in time
for the upcoming 2.4 release.

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



Offline Google Web Toolkit

2011-08-07 Thread santosh.t
Good Morning all,

Hi this is Santosh from India-Hyderabad,

Can i  draw an organizational hierarchy chart using Google Web Toolkit
in my jsp page which has to run in the intranet environment.

Because at Client place there is no internet accessible,  as our
application is secure and will run in intranet only.(I had tried with
Google visualization api that only works with internet.)

Please let me know the process in order to run
my application in Intranet also.

Thanking you for your time and consideration.

Kindly help me.

-- 
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 CELLTABLE:How to get Updated DataProviderList after changes in any cell value ?

2011-08-07 Thread vaibhav bhalke
  Hi,

GWT CELLTABLE:How to get Updated DataProviderList after changes in any cell
value ?


Class RecordInfo{
boolean isCellUpdated;
String oldValue;
String newValue;

// getters and setters ...

}

/**
   * The provider that holds the list of RecordInfo .
   */
  private ListDataProviderRecordInfo dataProvider = new
ListDataProviderRecordInfo();

private void generateRecords( ) {
 ListRecordInfo recordList = dataProvider.getList();
 recordList =  XmlDemo.parseXML(originalRecordList);
 }

After generation of recordList / DataProviderList. I am putting my
recordList in celltable.

If I changes any value in cell then How to get my updated *RecordList /
DataProviderList* .
I want updated RecordList / DataProviderList  because I want to generate xml
from updated List.

-- 
Best Regards,
Vaibhav Bhalke
About me : http://about.me/vaibhavbhalke

http://about.me/vaibhavbhalke

-- 
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 CELLTABLE:How to get Updated DataProviderList after changes in any cell value ?

2011-08-07 Thread Ashwin Desikan
you have to define fieldUpdaters for each of your cell. You can do this 
as part of initializing the CellTable. So as an when you update a cell, 
it would automatically update the corresponding record in the backinglist


~Ashwin

On Monday 08 August 2011 11:18 AM, vaibhav bhalke wrote:

  Hi,

GWT CELLTABLE:How to get Updated DataProviderList after changes in any 
cell value ?



Class RecordInfo{
boolean isCellUpdated;
String oldValue;
String newValue;

// getters and setters ...

}

/**
   * The provider that holds the list of RecordInfo .
   */
  private ListDataProviderRecordInfo dataProvider = new 
ListDataProviderRecordInfo();


private void generateRecords( ) {
 ListRecordInfo recordList = dataProvider.getList();
 recordList =  XmlDemo.parseXML(originalRecordList);
 }

After generation of recordList / DataProviderList. I am putting my  
recordList in celltable.


If I changes any value in cell then How to get my updated _RecordList 
/ DataProviderList_ .
I want updated RecordList / DataProviderList  because I want to 
generate xml from updated List.


--
Best Regards,
Vaibhav Bhalke
About me : http://about.me/vaibhavbhalke





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


--
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 CELLTABLE :How to handle event on checkbox header like gmail Inbox?.

2011-08-07 Thread vaibhav bhalke
Hi,

How to  handling event on checkbox header ? i.e After selection of
headerCheckBox only records present in page should be selected. like Gmail
we select headerCheckBox to do certain action.

ColumnRecordInfo, Boolean checkColumn = new ColumnRecordInfo, Boolean(
new CheckboxCell(true, false)) {
@Override
public Boolean getValue(RecordInfo object) {
// Get the value from the selection model.
return selectionModel.isSelected(object);
}
};
final CheckboxCell checkbox = new CheckboxCell(true, false);
final HeaderBoolean hdr = new HeaderBoolean(checkbox ) {
@Override
public Boolean getValue() {

return false;// return true to see a checked checkbox.
// How to get hdr checkbox values i.e checked and unchecked here
?
}
};

cellTable.addColumn(checkColumn, hdr);



// Added a selection model
final SelectionModelRecordInfo selectionModel = new
MultiSelectionModelRecordInfo(
RecordData.RecordInfo.KEY_PROVIDER);
cellTable.setSelectionModel(selectionModel,
DefaultSelectionEventManager
.RecordInfo createCheckboxManager());



-- 
Best Regards,
Vaibhav Bhalke
About me : http://about.me/vaibhavbhalke

http://about.me/vaibhavbhalke

-- 
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-contrib] [google-web-toolkit] r10505 committed - Public:...

2011-08-07 Thread codesite-noreply

Revision: 10505
Author:   mrruss...@google.com
Date: Sun Aug  7 15:09:29 2011
Log:  Public:
Tagging the 2.4.0 release

http://code.google.com/p/google-web-toolkit/source/detail?r=10505

Added:
 /tags/2.4.0

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors