Re: create project component

2012-06-05 Thread Andy Stevko
Not exactly sure what you are looking for but I'll give it a shot. You may be looking for how to create a gwt module which can be referenced by another gwt project. Here is one way of creating a module which consists of a reusable widget. http://davidmaddison.blogspot.com/2009/01/creating-gwt-compo

Re: How to get default loading indicator for DataGrid

2012-06-05 Thread dayanandabv
Hi all, The below code worked private void setLoadingIndicator(DataGrid grid) { VerticalPanel vp = new VerticalPanel(); AbsolutePanel ap = new AbsolutePanel(); Image image = new Image("loadingboxes.gif"); HorizontalPanel hp = new HorizontalPanel(); Abso

Re: synchronized object int GWT

2012-06-05 Thread Ashton Thomas
You might want to consider the use of synchronized methods when dealing with async rpcs request. The blog post linked below shows one use case involving synchronized methods http://www.summa-tech.com/blog/2010/11/29/parallel-asynchronous-calls-in-gwt/ http://www.bennorthrop.com/code/gwt-paralle

create project component

2012-06-05 Thread thiago borges martins
How do I create a gwt project which are the components (jar) for a web 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-toolkit@googlegroups.com. To unsubscribe from this group, send

Re: 3-tier architecture /gwt

2012-06-05 Thread Thomas Broyer
On Wednesday, June 6, 2012 1:53:39 AM UTC+2, Juan Pablo Gardella wrote: > > Thanks Thomas, but is not what I need. I want to run with dev mode, the > RPC services for example. In the way that you say, is not dev mode. I will > investigate if exists a way to do this (only if I have all in one mo

Re: Setting focus on a Anchor button

2012-06-05 Thread Joseph Lust
Qrunk, Anchor uses AnchorElement to set its focus, firing the *.focus()* method. The anchor tag has a focus event which I was able to observer working in Chrome v19 just using the dev console. What exactly are you expecting to see and what browser you'

Re: 3-tier architecture /gwt

2012-06-05 Thread Juan Pablo Gardella
Thanks Thomas, but is not what I need. I want to run with dev mode, the RPC services for example. In the way that you say, is not dev mode. I will investigate if exists a way to do this (only if I have all in one module) Cheers, Juan 2012/6/5 Juan Pablo Gardella > Thanks Thomas! I will try it >

Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-05 Thread Thomas Broyer
You're adding your elements as children of the frame, which is used as a fallback in case the browser does support frames. You should add them to the document that's displayed within the frame. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: Celltable performance issue

2012-06-05 Thread kim young ill
check out the showcase & this: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellWidgets#data-provider On Mon, Jun 4, 2012 at 1:23 PM, lucky wrote: > > > Could you please provide me the sample example for this? > > > -- > You received this message because you are subscribed

Using the Frame class, and adding Elements to it directly - doesn't display?

2012-06-05 Thread King_V
All, I've got this very short program, and I don't understand why it's not working. I am creating a Frame object, trying to append element children to it, and while the Frame instance seems to be aware of its children, they do not get displayed. Here is what I have. What am I doing wrong? When

Re: Firefox 13 DevMode Plugin

2012-06-05 Thread Stefano Ciccarelli
Thanks. I hope you could put it on the official download page because I'm still stuck on Firefox 11. -- Sent with Sparrow (http://www.sparrowmailapp.com/?sig) Il giorno martedì 5 giugno 2012, alle ore 20:05, Alan Leung ha scritto: > If anyone is wondering, I am aware and working on it.

Re: Firefox 13 DevMode Plugin

2012-06-05 Thread James Wendel
As always, thanks for the heads up Alan. On Jun 5, 1:05 pm, Alan Leung wrote: > If anyone is wondering, I am aware and working on it. > > -Alan -- 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-w

Firefox 13 DevMode Plugin

2012-06-05 Thread Alan Leung
If anyone is wondering, I am aware and working on it. -Alan -- 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-we

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Ashwin Desikan
Thomas is correct. I had tried the route of creating two separate RF's. But that involves more work in comparison to annotations. In fact I changed my approach post Thomas suggestion in this forum quite sometime bac ~Ashwin Sent from my iPhone On Jun 5, 2012, at 7:38 PM, Thomas Broyer wrote:

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Thomas Broyer
On Tuesday, June 5, 2012 3:58:22 PM UTC+2, Ryan McFall wrote: > > After I wrote my original follow-up to Thomas' message, I thought of > having different services - one for methods that require > authentication, and one for those that don't. Then I can map my > ServletFilter to the URL for th

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Ryan McFall
After I wrote my original follow-up to Thomas' message, I thought of having different services - one for methods that require authentication, and one for those that don't. Then I can map my ServletFilter to the URL for the service that requires authentication, and not map it to those that don't.

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Jens
> > You can create your own custom annotation (for example : LoggedIn). Apply > this on all methods you want to authenticate the user/ session to be > validated. > Better do it the opposite way if you only have few methods that are allowed for unauthenticated users (I think thats more typical

Setting focus on a Anchor button

2012-06-05 Thread Qrunk
Hi Can some one help me understand why we can't set focus on Anchor button though its a focus-able widget. We are using Anchor button as a Composite widget wrapped around a FlowPanel. We are unable to setFocus(true) on Anchor button. A sample code on this would be nice. :) Thanks. -- You rec

Re: 3-tier architecture /gwt

2012-06-05 Thread Juan Pablo Gardella
Thanks Thomas! I will try it 2012/6/5 Thomas Broyer > I'm still looking for the best / most productive way to do it (see > https://plus.google.com/113945685385052458154/posts/3VKPRDU2xZz) but you > can simply “Run as… → Maven build…” on the server project, and select the > "jetty:start" goal wit

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread ashwin.desi...@gmail.com
Ryan, You can create your own custom annotation (for example : LoggedIn). Apply this on all methods you want to authenticate the user/ session to be validated. Define your own ApplicationRequestFactoryServlet and ApplicationServiceLayerDecorators. Override the invoke method under ServiceLayerDeco

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Ryan McFall
Thanks for the ideas, Thomas. Two questions on the response: 1. I was hoping to detect this within my service method, rather than at a higher level like a servlet filter. Is it possible to return a non-200 error code from within the service method? I tried getting the thread local HttpResponse

Re: SOP, GWT, and XMLHTTPRequest Calls

2012-06-05 Thread zorro
Dne neděle, 27. května 2012 13:12:41 UTC+2 zorro napsal(a): > > I just read the > https://developers.google.com/web-toolkit/doc/latest/FAQ_Server after > unsuccessful attempt to run local appengine server separately from my GWT > junit integration tests of GWT RPC. I am getting SOP error SEVE

Re: if use mouse wheel to scroll, the speed is slower?

2012-06-05 Thread Thomas Broyer
It could be due to http://code.google.com/p/google-web-toolkit/issues/detail?id=6167 When dragging the scrollbar thumb, you're not over the CellTable, so it has no mouse event to process. On Tuesday, June 5, 2012 11:30:39 AM UTC+2, tong123123 wrote: > > as attached, if I drag the scrollbar in th

Re: GWT JSNI Callback

2012-06-05 Thread Thomas Broyer
On Tuesday, June 5, 2012 3:42:36 AM UTC+2, zorro wrote: > > I am trying to implement a callback using JSNI. > 1. I don't know if changing "this" is allowed in the way I do it. > No. BTW, you're not doing much. > 2. I don't know if such an assignment is advisable from the perspective > of

Re: 3-tier architecture /gwt

2012-06-05 Thread Thomas Broyer
I'm still looking for the best / most productive way to do it (see https://plus.google.com/113945685385052458154/posts/3VKPRDU2xZz) but you can simply “Run as… → Maven build…” on the server project, and select the "jetty:start" goal with a “dev” property (set to whatever value, “true” is fine);

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Thomas Broyer
On Monday, June 4, 2012 10:17:52 PM UTC+2, Ryan McFall wrote: > > I am having issues when I want to resubmit some requests to the server > when the server-side logic indicates it should happen. In particular, > here's what happens: > > 1. The user logins in, which causes an object (SurveyRes

Re: Authentification With Selenium

2012-06-05 Thread alaa aadil
hello , what i want to do is : i want to create an application of monitoring with GWT , and the first view of this application should be an Athentification view of the user . when i was searching in the Net , i found that some people suggest to use Selenium to do this Authentification part. i d