Re: Cannot run GWT starter application

2010-12-21 Thread sunitkatkar
Its a problem if you run in Chrome latest version. See this thread, http://stackoverflow.com/questions/4454939/google-web-toolkit-starter-application-not-working On Dec 15, 9:35 pm, Chris wrote: > Hello All, > > I am trying to set Google Web Toolkit up on my system and have been > following the

How to force Spring to intercept RequestFactoryServlet

2010-12-21 Thread zixzigma
the default URL for RequestFactoryServlet is /gwtRequest. I have configured Spring, I have ContextLoaderListener and DispatcherServlet, they suppose to be the first to get initialized (bootstrapping application context) however, I notice GWT client connects "directly" to /gwtRequest is there any

Re: rest / json command pattern implementation project

2010-12-21 Thread zixzigma
Thank you Raphael, What a great project. can you please explain some of your stragies for implementing "caching" and "batching" ? some tips/high level overview of how you are going to design them ? Thank You -- You received this message because you are subscribed to the Google Groups "Google

can AutoBean detect changes ?

2010-12-21 Thread zixzigma
can AutoBean detect changes made to an object ? (the same way EntityProxy/RF work?) lets say a Widget presents a list of items to a user, to edit, user starts editing only one or two field out of 10 fields. can AutoBean detect the fields that have been changed, so that only the changes are sent to

requestfactory, entityproxy has reference is always null

2010-12-21 Thread Mike
hi all: suppose we have two entity proxy that has an reference relationship: class AProxy { BProxy getBproxy(); } class Bproxy { String getName(); ... } in UI, there is a list table used to display Aproxy, one column is BproxyName, but it is always null. seem when i fetch all A Entity in

Re: Append child Widget to parent Widget.. !! click handler of child Widget is not working .. ??

2010-12-21 Thread Santosh kumar
Hi, Amir Thank you for your reply ... !! Its working. i just added the code *RootPanel.get("divId").add(simplePanel); * Button button = new Button(); button.getElement().setAttribute("id", "buttonId"); SimplePanel simplePanel = new SimplePanel(); simplePane

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-21 Thread zixzigma
Two great open-source projects I came across today are: RestyGWT http://restygwt.fusesource.org/documentation/index.html GWT-JSON-CommandPattern http://code.google.com/p/gwt-json-commandpattern/ they are pretty straight forward with clean API. -- You received this message because you are subsc

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-12-21 Thread zixzigma
similar problem, dating back to 2006 ! http://maven.40175.n5.nabble.com/Keep-getting-quot-Class-not-found-quot-when-running-debugging-JUnit-tests-td133309.html there are many more, still unresolved ! -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-12-21 Thread zixzigma
I had similar problem like Chris. the problem was Eclipse/M2Eclipse conflict. M2EClipse would overwrite Eclipse classpath, and things would work and stop working at random. especially after mvn clean. It also affects JUnit, if you google Eclipse Maven JUnit ClassNotFound, you come across many is

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-12-21 Thread Chris
On Nov 28, 2:38 pm, Rajeev Dayal wrote: > Yes, such resources will be wiped out. What's actually happening here is > > that GPE is using WTP's "smart publish" functionality to publish J2EE > modules  to the target/ directory. > > So, in the source of launching, GPE performs a WTP publish. The W

Re: Return permutation directly from the server without selection script.

2010-12-21 Thread Matthew Hill
Okay, but now what? How do I get the GWT compiler to produce a single JS file per permutation which can be embedded without a selection script? e.g.

Re: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-12-21 Thread Chris
On Nov 30, 11:05 am, Thomas Broyer wrote: > On 30 nov, 16:42, Thomas Broyer wrote: > > > I just faced that very same issue, and a coworker too! > > Forgot to precise: I'm on Win XP Pro SP3, my coworker is on Ubuntu > 10.10; same configuration otherwise (Eclipse, m2eclipse, GPE) > NullPointerEx

Re: Last eclipse plugin update bugs

2010-12-21 Thread Gal Dolber
I finally discover where the problem came from!! It is coming from GwtDesignerPlugin. After uninstalling all works ok. Sorry about the bad advertising... On Mon, Dec 20, 2010 at 5:47 AM, Gal Dolber wrote: > Had to split my projects in two... one for the main code and one for the > tests :S. >

HTML Link Cell

2010-12-21 Thread GregD
I would like to create a Column of Cells (for a CellTable) where each cell displays an HTML link (the link will send information to an application running on the user's machine (the app is IGV)) that it gets from the row data. Can SafeHtml be used for such a link? Should I extend SafeHtmlCell, or

Re: Overlay types implementing server side model interfaces

2010-12-21 Thread Javier
Any hints on this topics? I read on another post (http://groups.google.com/group/google-web- toolkit/browse_thread/thread/483ba17ccc5eb639/4b5bac6a2c69f309? hl=en&lnk=gst&q=Overlay+types+implementing+server+side +model#4b5bac6a2c69f309) that "there's work in progress to add a "lightweight collect

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
Hi Alan, Thanks for helping.. I tried telnetting and it was successful. I tried and I got a blank screen. I also tried 9997 and I got some weird characters printed on the screen. I tried deleting the directories under the war created by GWT, restarted the server - same response I tried delet

Re: Working Example of TabLayoutPanel with UIBinder?

2010-12-21 Thread starmandell
hi, i was wondering if you could help me. you wrote the code... > > In your example just do this: > > > > > > > test > > > > > > > > > > > > and i have just that.

Re: De-selecting a CellTable or CellView

2010-12-21 Thread Frank Mena
Thanks for the workaround. It only works if you override the setRowData() method with the following body: setKeyboardSelectionPolicy(KeyboardSelectionPolicy.DISABLED); super.setRowData(start, values); Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
Thank you, it all makes sense now. However what you described is how GWT RF uses those details to do its magic behind the scenes. I am not clear what our responsibility is then ? What should go inside the Locator ? >From the code I posted, http://paste.pocoo.org/show/308153/ I don't know what I

Re: How do you deal with dead EvenHandlers?

2010-12-21 Thread Jeff Schwartz
I've implemented onUnload to call removeHandler for the HandlerRegistration instance returned from SimpleEventBus.addHandler and it works perfectly. Thanks for pointing me in the right direction. By the way, Thomas, I was also wrong about my Composite's orphaned EventHandler not throwing an except

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread Thomas Broyer
The getId method is used generate a "stable id" that's transmitted to the client so that the object can be identified when it's later updated, and the find() method (see below) can be called with the appropriate identifier. You don't have to define a getId() in your EntityProxy, and if you do, i

Re: Modular rpc blues

2010-12-21 Thread Andreas Horst
Another question just coming to my mind: Where in the inherited module are you declaring the RPC servlet? If you declare it in the inherited module's web.xml then make sure the Maven GWT plugin parameter "webXml" properly points to it (Not sure how one would do this - never did it myself - especi

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
Thank you guys for the tips. I got it to work! Thank you very much ! I noticed a VERY STRANGE behaviour. following your suggestion, I declared: @ProxyFor(MyPersonEntity, EntityLocator) PersonProxy @Service(MyPersonService, MyServiceLocator) PersonService I noticed when methods in PersonServic

Re: Modular rpc blues

2010-12-21 Thread Andreas Horst
2010/12/21 Thomas Broyer > > > On Tuesday, December 21, 2010 9:51:38 AM UTC+1, coelho wrote: >> >> Hello >> >> What seems to me great in GWT is that it's easy to build >> client code and server code that can communicate through GWT-RPC. >> >> What 's great too is that you can write modules >

Re: GIN + PlaceController: No @Inject or default constructor found

2010-12-21 Thread Jeff Larsen
You could also create a @Provides method for your PlaceController. -- 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 go

Re: GIN + PlaceController: No @Inject or default constructor found

2010-12-21 Thread Tobias
I had the same problem with several GWT classes and simply created a subclass with an @Inject constructor for each of them. Regards, Tobias -- 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-t

Re: UiBinder or GWT Designer

2010-12-21 Thread Thad
While I have not yet tried UIBinder on a problem in my environment, I did try GWT Designer. Very quickly I went back to coding my UI by hand. My interface is largely shaped by the results of calls to a database via a clearly defined API. That means I make a lot of GWT RPC calls and act on the re

Re: Facing some problems after switching to GWT 2.1 from GWT 2.0.4

2010-12-21 Thread Thomas Broyer
Let me re-state it (once more): there was a bug in versions before 2.1.0, where you couldn't tell whether the user pressed the down arrow or the left parenthesis (or something like that). GWT 2.1 fixes that bug, but then it exposes a more "low level" behavior where you directly get what the brow

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Thomas Broyer
On Tuesday, December 21, 2010 8:27:45 PM UTC+1, zixzigma wrote: > > are you suggesting we need to compile our custom annotations before > compiling other classes that use them ? > I mean you have to "javac" classes that are *referenced* from annotations (in this case, the PlaceTokenizer classe

Re: GIN + PlaceController: No @Inject or default constructor found

2010-12-21 Thread Matthew Hill
Do I need to wrap PlaceController? -- 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-toolkit+unsubscr...@goog

GIN + PlaceController: No @Inject or default constructor found

2010-12-21 Thread Matthew Hill
Hi. I'm trying to inject a PlaceController instance but I get this error: No @Inject or default constructor found for class com.google.gwt.place.shared.PlaceController -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

Re: UiBinder and event bubbling

2010-12-21 Thread Thomas Broyer
On Tuesday, December 21, 2010 1:48:11 PM UTC+1, alab wrote: > > Prior to UIBinder in gwt, I wrapped elements in a HTMPanel which > basically handled all the events for its child elements. So instead of > attaching an eventlistener to multiple widgets, I just attached it to > the parent contain

Re: HTTP Session Problem

2010-12-21 Thread Thomas Broyer
Sessions are maintained by a cookie, and cookies are global to a browser, not local to a tab. Your user will probably experience issues with most (if not all) other webapps out there. (there's really nothing specific to GWT actually) -- You received this message because you are subscribed to th

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
in RequestFactory 2.1.1 documentations (source code), there are many references to Domain and Domain Environment, I am unclear what is meant by Domain Environment. is it on the server side where RequestFactory work stops and our work begins ? it helps if the documentaton clarify the vocabulary, L

Re: Facing some problems after switching to GWT 2.1 from GWT 2.0.4

2010-12-21 Thread Casey
I too was using KeyPressEvent in 2.0.4 and it was working perfectly but when I upgraded to 2.1.1 it stopped working. Based on Brian Reilly's comment I changed the event to KeyDownHandler and the comparison to event.getNativeKeyCode() == RETURN_KEY and it's back to working again. So even though the

Re: RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Matt Moriarity
I can kind of see how your proposed solution would work, and I guess that could be done if necessary. I was trying to use separate request contexts, and got the aforementioned crossing streams error, but I was editing the whole document. The solution you suggest is hardly ideal though, so I'm w

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread a...@mechnicality.com
Then you have to go the 'subclass' route - create a common (shared) interface and have implementations for server and client You can superclass the common parts into a 'shared' (probably abstract) class. Solves the service side import issues. I've done that several times and it works just fine

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread zixzigma
On Dec 21, 6:25 am, Matt Moriarity wrote: > But in order to get your static service methods (besides just the find > method), you need a ServiceLocator for your service: > do all these methods have to be static ? I thought the idea behind 2.1.1 was to get rid of static ? I am a bit confused o

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread zixzigma
are you suggesting we need to compile our custom annotations before compiling other classes that use them ? is this always the case ? or only if relying on generators ? I encountered this problem when I defined my custom annotations, which I used in conjunction with GIN BindingAnnotation. and so

Re: De-selecting a CellTable or CellView

2010-12-21 Thread John LaBanca
The logic changed slightly from 2.1.0 to 2.1.1 to try to make it respond more naturally to use input, but there are a lot of special use cases. Just to make sure I understand correctly, this only happens when the KeyboardSelectionPolicy is set to BOUND_TO_SELECTION and you remove the selected item

Re: RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Thomas Broyer
IIUC, you should use 2 distinct RequestContext, creating a new RequestContext each time you open the dialog box. That way, when the use clicks "cancel", you simply let the RequestContext be garbage collected, and any changes made to the object being scoped to a RequestContext would go away with

De-selecting a CellTable or CellView

2010-12-21 Thread Frank Mena
Looks like some of the behavior of CellTable and CellList has changed between v2.1.0 and 2.1.1. When you initially add data now, no item is selected. After any item is selected, there is no way to replace all the data in the table or list without it also selecting the first item. There is no met

Re: Junk characters in response payload

2010-12-21 Thread Thomas Broyer
See http://twitter.com/welkaim/status/11129636918398976 (the goo.gl link points to a PowerPoint presentation) -- 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 uns

Writing to an XML file

2010-12-21 Thread Sebe
Hello everyone, I'm new in GWT, and I can not solve a problem. I can not write to an XML file. I tried to look at the documentation but I did not understand much. Someone can give me a hand? Thank you for your cooperation! -- You received this message because you are subscribed to the Google Grou

Re: Documentation 'Getting started with RequestFactory' is missing the 'inherits' point

2010-12-21 Thread Charles Joynson
Additional servlet mappings are required as well. See http://code.google.com/p/google-web-toolkit/issues/detail?id=5787 On Nov 23, 4:47 am, Eric wrote: > What about servlet mappings in web.xml ? > I'm looking at the expenses example and the web.xml contains entries > for few servlets. > Do we ha

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
Yes. I agree it will be optimized out but the problem is I need to use a class thats only on the server. So the compiler says the class is not in a module. On Dec 21, 1:43 pm, "a...@mechnicality.com" wrote: > Sorry for jumping in, but you could use: > > public void yourMethod(...) { >     if (

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread A. Stevko
I agree- if (!GWT.isClient()) {} is definitely going to be optimized out of the js. Even if you could mask out an entire method, how would you handle the server side only includes needed to make it interesting? On Tue, Dec 21, 2010 at 10:43 AM, a...@mechnicality.com < a...@mechnicality.com> wrot

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread John LaBanca
The GWT compiler performs dead code elimination, so if you never call the code from the client, it will not be compiled into javascript. You can create your own annotation if you want to annotate the method so other people on your team know not to use it. If you want the API to be technically cor

Re: Trying to split deserialization process after RPC call

2010-12-21 Thread A. Stevko
Wow Damien - I like it. Thanks for the tips. On Tue, Dec 21, 2010 at 8:50 AM, Damien Picard wrote: > Thank you for your advices. > > I think I will linearize the tree as a List by replacing the strong > reference link between an Option and its childs to a String meaning the id > (the id is an att

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread a...@mechnicality.com
Sorry for jumping in, but you could use: public void yourMethod(...) { if (!GWT.isClient()) { everything in your method. } } The complier should then ignore everything inside the conditional. However, it seems a bit of a kludge to exclude the whole method. Another option is sub-

Re: how to debug service calls, which do not come through

2010-12-21 Thread cri
You are mostly likely trying to pass object from the server to the client that are not serializable. On Dec 21, 9:39 am, ghost23 wrote: > hi again, > > ok, my onFailure method was empty, never saw, what happened there. Now > i see, that i > have a serialization error. But it has no details about

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
I was hoping to do it within a class. For instance, say have method a() only available on the server. On Dec 21, 12:41 pm, Mauro Bertapelle wrote: > In the tag of the module XML file you can specify the > subpackage associated with the classes you want GWT to compile. > You can even exclude so

Re: RPC Serialization Format

2010-12-21 Thread travemm
Perfect, thank you for pointing the way! On Dec 21, 9:58 am, Sripathi Krishnan wrote: > Following blog posts should help you pen test your app. They aren't my posts > - but I have found them useful. > > *a) RPC Format - > *http://www.gdssecurity.com/l/b/2009/10/08/gwt-rpc-in-a-nutshell/ > *b) Ho

Re: RPC Get Requests

2010-12-21 Thread bconoly
Ha, you caught me, but thanks that looks like it may be exactly what we need. On Dec 20, 5:02 pm, George Georgovassilis wrote: > To be precise, you haven't done _any_ research ;-) > Try searching this group with "RPC get" [1] > > [1]https://groups.google.com/group/google-web-toolkit/search?group=

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread A. Stevko
Are you referring to the tag for overriding one implementation with another? On Tue, Dec 21, 2010 at 9:41 AM, Mauro Bertapelle < mauro.bertape...@gmail.com> wrote: > In the tag of the module XML file you can specify the > subpackage associated with the classes you want GWT to compile. > You c

Re: google maps api

2010-12-21 Thread Eric Ayers
Did you see the Hello Maps sample from the AdsManager demo for the gwt-google-apis version of the gwt-maps wrapper? http://gwt.google.com/samples/hellomaps-1.1.0/HelloMaps.html#Ads%20Manager On Mon, Dec 20, 2010 at 12:07 PM, pieceovcake wrote: > I'm using the google maps api to plot a point on

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-21 Thread Sean
I have used GWTRPCCommLayer with much success. I have my normal GWT App on the web, and I also have a service running on my home PC that also calls some of my RPC functions to find status, keep things updated, etc., -- You received this message because you are subscribed to the Google Groups

Re: Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread Mauro Bertapelle
In the tag of the module XML file you can specify the subpackage associated with the classes you want GWT to compile. You can even exclude some particular classes using a pattern based filter: http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuidePathFilte

Re: GWT for mobile

2010-12-21 Thread Sean
Just for poops and giggles I have tried my site out on my iPod Touch and I was surprised how much stuff works right out of the box. The one thing that I know doesn't work is Text Area, the iPhone doesn't realize it's a text input. I haven't tried to mess with it too much since this wasn't develo

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
Gladly, the issue is solved... and its another user error. It turns out that I wasn't initializing the lowest level view before it was attached to the Level 2 DockLayoutPanel. I'm not sure why IE7 was more picky about this FF. ...but its working. On Dec 21, 11:50 am, "Alejandro D. Garin" wr

Re: GWT for mobile

2010-12-21 Thread Falcon
bruce, I currently am doing just that. I'm having to make several of my own widgets as opposed to using some of the built-in GWT widgets (and you may have to make your own implementations of built-in widgets for certain platforms), and your mobile targets will need decent JavaScript support (i.e.

Re: Applet Life Cycle not respected in IE browser family

2010-12-21 Thread shortpasta
I opened this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5788 -- 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

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Following my previous comment - you can easily check by using a windows command prompt and telnet , e.g. telnet 127.0.0.1 if the firewall is blocking it, you'll get a 'can't connect to server' error, otherwise the screen will go blank and you'll get a weird prompt (the gwt rpc con

Re: Trying to split deserialization process after RPC call

2010-12-21 Thread Damien Picard
Thank you for your advices. I think I will linearize the tree as a List by replacing the strong reference link between an Option and its childs to a String meaning the id (the id is an attribute) of the child options. Then, I will serialize the option list to a json String with flexjson and send

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread Alejandro D. Garin
Hi, I'm using the new layout panels and works very well for me. Can you make a visual mock-up of your layout for the 5 levels? thanks. On Tue, Dec 21, 2010 at 1:00 PM, mike b wrote: > Also, this thread does not seem to be findable. > > When I search for "DockLayoutPanel StackLayoutPanel IE7" on

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Hmm... Have you checked that port (if that's what you are using) is blocked in the Windows firewall? The times I've seen this there has been a networking problem such that the client can't reach the server. That would explain why it works on one m/c and not the other. I think the 32 bit v

Is there a way to get have GWT not compile a method into JS?

2010-12-21 Thread kevin
I need to write a method on a share class that only exists on the server. Any change GWT has some way to annotate a method to be server- side only? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goog

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
There isn't any. In the development mode, I dont see anything in red. In the console of the started application there is nothing printed either. This is while running the sample project. I have another project that I had developed which suffers from the same problem. This project works fine on the

GWT for mobile

2010-12-21 Thread bruce
Can we use GWT for mobile web app development? -- 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-toolkit+unsu

Re: GWT 2.1.1 and DAOs

2010-12-21 Thread Thomas Broyer
On Tuesday, December 21, 2010 1:25:18 PM UTC+1, Sebastian wrote: > > Further investigation has revealed that SimpleRequestProcessor call's > ServiceLayer#isLive() for every non-null domain object to check if > it's still there. Otherwise the write operation is set to "DELETE". > IMO that's ter

Re: Plugin fails to connect to hosted mode server

2010-12-21 Thread a...@mechnicality.com
Please show us the stack trace Thanks - Reply message - From: "Sethu" Date: Tue, Dec 21, 2010 2:36 am Subject: Plugin fails to connect to hosted mode server To: "Google Web Toolkit" Hi, When I try to run the GWTs sample application project in the hosted mode on chrome, the static

Re: GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities & Places) : Compile error. Stacktrace enclosed.

2010-12-21 Thread Ferney
Sorry friends, but i don't understand GWT/MVP model. I am a newbie and i consider GWT/MVP very dificult. I need a good example with: GWT/MVP, GAE, Request factory, Loggin, UIBinder, and GWT/MVP, Request factory, loggin, UIBinder with other SQL database (mysql or postgreSQL) Thanks my friends... (

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
Also, this thread does not seem to be findable. When I search for "DockLayoutPanel StackLayoutPanel IE7" only one result appears and its not this thread. Thanks, M On Dec 21, 10:46 am, mike b wrote: > So, I spent yesterday getting it to work in IE7 with unpredictable > results. Basically, I use

Re: RPC Serialization Format

2010-12-21 Thread Sripathi Krishnan
Following blog posts should help you pen test your app. They aren't my posts - but I have found them useful. *a) RPC Format - * http://www.gdssecurity.com/l/b/2009/10/08/gwt-rpc-in-a-nutshell/ *b) How RPC can be fuzzed* - http://www.gdssecurity.com/l/b/2010/05/06/fuzzing-gwt-rpc-requests/ *c) How

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-21 Thread mike b
So, I spent yesterday getting it to work in IE7 with unpredictable results. Basically, I used DockPanel in my Layer 4 (from above). This morning, re-re-reading the cryptic documentation on the website, I found that I had not inherited from ResizeComposite. This was actually plainly put, but I miss

Re: CellTable: Style cells differently wihtin a column

2010-12-21 Thread Subhrajyoti Moitra
Here some code snippet might help.. Cell qCell=new MyQuoteCell("click");//custom abstract cell defined below. Column qCol=new Column(qCell) { @Override public MyQuote getValue(MyQuote object) { return object; } };

Re: how to debug service calls, which do not come through

2010-12-21 Thread ghost23
hi again, ok, my onFailure method was empty, never saw, what happened there. Now i see, that i have a serialization error. But it has no details about what the concrete problem is. On Dec 21, 4:09 pm, ghost23 wrote: > Hi, > > i am using the newest version of GWT. I have a service with a bunch

Re: RPC call from GWT gadgets

2010-12-21 Thread Eric Ayers
You need to use the Gadgets Io feature so your network calls are routed through the gadget container proxy. On Dec 21, 2010 10:27 AM, "दीपक B" wrote: > > > Hi all, > Has anyone tried Calling a remote SOAP service from GWT Gadget. > The Call from the client side is unable to find the servlet. > Ca

2.1.1 fails in SimpleRequestProcessor.processInvocationMessages when nothing to invoke

2010-12-21 Thread Cory Prowse
Hi, I believe I've uncovered an error in version 2.1.1 of SimpleRequestProcessor when there are no invocations and only operations in a RequestMessage from the client (stacktrack at end of email). I'm checking here before creating an issue. I am using an editor on the client to modify a propert

how to debug service calls, which do not come through

2010-12-21 Thread ghost23
Hi, i am using the newest version of GWT. I have a service with a bunch of methods. Some work, some don't. The one, that does not work, seems simply not being called on the server side. If i put a breakpoint in the method of the service implementation on the server side, it doesn't get called. But

CellTable: Style cells differently wihtin a column

2010-12-21 Thread Thomas
Hi, I have been searching through this forum and other places on the internet to find examples of how to style cells differently within a column - but without luck. I hope you can help me. Here is my problem: I have a CellTable showing a list of objects. A simplified example of this object looks

Plugin fails to connect to hosted mode server

2010-12-21 Thread Sethu
Hi, When I try to run the GWTs sample application project in the hosted mode on chrome, the static parts of the page load and then it throws an error saying plug in fails to connect to the hosted mode web server. My system config is below: OS: Windows 7 Home Premium (Windows firewall off, Kaspers

GWT JUnit ServletContainerLauncher?

2010-12-21 Thread Kevin Aloisi
Is it possible to use a custom ServletContainerLauncher with a JUnit test? -- 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

RPC Serialization Format

2010-12-21 Thread travemm
Hi, I'm looking for details (references to code are fine) about how the rpc messages are formatted. I'm doing penetration testing for a client's GWT rpc servlets but cannot access their source or discuss with their developers (black/grey box testing). Looking at an rpc request it appears to be fo

UiBinder and event bubbling

2010-12-21 Thread alab
Prior to UIBinder in gwt, I wrapped elements in a HTMPanel which basically handled all the events for its child elements. So instead of attaching an eventlistener to multiple widgets, I just attached it to the parent container and used event bubbling. Can I do this in UIBinder? I know in the backin

RPC call from GWT gadgets

2010-12-21 Thread दीपक B
Hi all, Has anyone tried Calling a remote SOAP service from GWT Gadget. The Call from the client side is unable to find the servlet. Can anyone please help.. Thanks Deepak -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Owen Powell
My code (files are all in the same directory): 1. Interface package amdb.client.ui.table; import com.google.gwt.core.client.GWT; import com.google.gwt.user.cellview.client.CellTable; import com.google.gwt.user.cellview.client.CellTable.Resources; public interface CellTableResource extends Resou

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Owen Powell
Thanks hagar. I followed your instructions with two changes: 1. Added "import import com.google.gwt.user.cellview.client.CellTable.Resources;" the interface in Step 1. 2. I was getting an error regarding unobfuscated class names in my CSS file, so I appended "cellTable" to all the CSS classes

Re: HTTP Session Problem

2010-12-21 Thread skippy
This is happining in production in a J2ee Struts like application. (Sun Blueprint MVC) Not Hosted mode. On Dec 21, 8:35 am, Jeff Schwartz wrote: > It would probably help to know if this is in dev or prod. > > On Dec 21, 2010 9:22 AM, "skippy" wrote: > > I am using this in a serviceImpl class: >

RequestFactory entity proxies can't be cloned.

2010-12-21 Thread Matt Moriarity
I posted this in gwt-contributors but I feel this might be the more appropriate group. I'm attempting to switch to using RequestFactory instead of GWT-RPC and manually creating DTOs. It's been going pretty well, except I've hit one use-case that is just a brick wall. I have a panel that is an

Re: Idea of RequestFactory

2010-12-21 Thread Matt Moriarity
You could add the with("address") to the findAll call: requestFactory.personRequest().findAll().with("address").fire(...); -- 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...@googlegrou

Re: HTTP Session Problem

2010-12-21 Thread Jeff Schwartz
It would probably help to know if this is in dev or prod. On Dec 21, 2010 9:22 AM, "skippy" wrote: I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to different banks, the get

Re: GWT 2.1 CELL TABLE

2010-12-21 Thread Hagar
bradr writes: > > To do this, you have to override the CellTable's default style. > Because CellTable uses a CssResource, which ultimately gets obfuscated > when you compile, you have to create your own implementation and pass > it to the CellTable in the constructor. > > Here is how I did it:

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread Matt Moriarity
@ProxyFor(value = Person.class, locator = PersonLocator.class) then having a PersonLocator which implements Locator would fix this for you. But in order to get your static service methods (besides just the find method), you need a ServiceLocator for your service: @Service(value = PersonService

HTTP Session Problem

2010-12-21 Thread skippy
I am using this in a serviceImpl class: HttpSession session = getThreadLocalRequest().getSession(); Sometimes when a user has two tabs in IE opened to different logons to different banks, the getSession() returns the wrong HTTP Session and the user is able to see data from the wrong bank. We are

Re: UiBinder or GWT Designer

2010-12-21 Thread a...@mechnicality.com
Totally agree with you comments, Jeff. I evaluated GWTDesigner because, generally speaking, I like RAD tools. However, I found it very slow to start - maybe a bug or something - but, being comparatively happy with XML, HTML and CSS I found that my workflow was smoother using UiBinder and it was

Re: gwt + spring security

2010-12-21 Thread Travis Camechis
instead of using that I created my own custom Spring Security SuccessHandlers and Failure Handlers that returns JSON back to the client. I then let the client handle the place management based on success:true/false. At this point I can also send credentials back in the JSON as well. On Tue, Dec

gwt + spring security

2010-12-21 Thread asianCoolz
I use gwt requestBuilder to query server result, if server-side spring checked user is not authenticated, it will forward to http://127.0.0.1:/gwtapplication.html#!login Content-Length 0 Server Jetty(6.1.x) **/ }

Re: UiBinder or GWT Designer

2010-12-21 Thread Jeff Schwartz
If that is indeed the question he is asking then no one but himself can answer it but perhaps he can come to an answer by asking himself the following: Am I knowledgeable in HTML and CSS and am I comfortable hand crafting my markup? If he answers yes to this then perhaps he will prefer to use UiBi

Re: Junk characters in response payload

2010-12-21 Thread Matthew Hill
I see these numbers a lot. I doubt they are junk. I'd like to know what purpose they serve though. -- 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 fr

  1   2   >