Re: RequestFactory, ServiceLocator and Spring

2010-12-19 Thread zixzigma
I do NOT think we need these chains of method calls to get hold of ApplicationContext ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext()); if all we need in the end is a reference to the ApplicationContext,

Trying to split deserialization process after RPC call

2010-12-19 Thread Damien Picard
Hi, In a few words, I've got a problem with big object deserialization after an RPC call. On Internet Explorer, the browser ask me to interrupt the script because the deserialization process is too long. In fact, my RPC service returns a deep recursive tree, and some other data, where the Item

Re: RequestFactory, ServiceLocator and Spring

2010-12-19 Thread Thomas Broyer
Isn't @Autowired subject to the same limitations as highlighted by d95sld95? (note however that you can use a ServiceLayerDecorator to instantiate the service locator, and you can then have dependency injection working all the way town to it; that's what I'm doing with Guice). -- You received

Re: Is encryption over RCP possible?

2010-12-19 Thread UseTheFork
On Dec 15, 6:46 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Explain me how Mallory can put in a fake/invalid/duplicate/whatever SSL certificate when Alice and Bob are communicating. Mallory can start a C.A. business, like Go Daddy does. It would get its certificate from Verizon and

Re: Is encryption over RCP possible?

2010-12-19 Thread UseTheFork
On Dec 16, 9:15 am, Basdl b...@cirosec.de wrote: Concerning your conclusion, that root certificates stored in browsers where no pre-established secrets, I have a notice: The certificates itself where public but the server knows the corresponding secret key. So he can sign something and the

Something other than an int was returned from JSNI method

2010-12-19 Thread Simon Majou
A wierd bug appeared in my application : com.google.gwt.dev.shell.HostedModeException: Something other than an int was returned from JSNI method '@com.google.gwt.user.client.Timer::createTimeout(Lcom/google/gwt/user/client/Timer;I)': JS value of type JavaScript object(13), expected int at

Applet Life Cycle not respected in IE browser family

2010-12-19 Thread shortpasta
Description After an applet is supposedly destroyed, it's init () and start () methods are called again. Does not work in IE 6, IE 7, and IE 8. Works fine in Chrome. Use case: 1. Create a Tab 2. Add an applet 3. Applet's init () and start () methods are called, as expected 4. Close the tab via

Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
After the last update of Google's eclipse plugin I am getting GWT Markers on all my projects: {{{ com.guit.junit.GuitTest can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path

DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-19 Thread mike b
Hopefully someone can help with this issue. I hvae been working on it for 3 days without success. I am trying to get a StackLayoutPanel to display inside a DockLayoutPanel. GWT 2.1.0, mvp4g 1.2.0, GXT 2.2.1, standards mode, IE7 Its actually a bit more complex than that... We have developed 4

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
I tried to revert my eclipse configuration and got: An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing:

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
Ok... already updated most of the projects. The problem seems to be in the jre test of gwt code (located on different source folder but same package *.client.*). On Sun, Dec 19, 2010 at 11:55 AM, Gal Dolber gal.dol...@gmail.com wrote: I tried to revert my eclipse configuration and got: An

Re: Something other than an int was returned from JSNI method

2010-12-19 Thread Simon Majou
The issue is general to my application, when I comment the faulty code I get the error on another native type : com.google.gwt.dev.shell.HostedModeException: Something other than a boolean was returned from JSNI method '@com.google.gwt.user.client.impl.HistoryImplTimer::init()': JS value of

Re: Something other than an int was returned from JSNI method

2010-12-19 Thread Simon Majou
Damn the bug is coming for chrome 10 and the plugin ... https://groups.google.com/d/topic/google-web-toolkit/1hcrVTxvOh0/discussion -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Last eclipse plugin update bugs

2010-12-19 Thread Thomas Broyer
It was the case for me with GPE 1.4.0, but no longer with the 1.4.1 version. Which version are you using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
I am on: Google Plugin for Eclipse 3.6 1.4.1.v201012170127 com.google.gdt.eclipse.suite.e36.feature.feature.group On Sun, Dec 19, 2010 at 1:00 PM, Thomas Broyer t.bro...@gmail.com wrote: It was the case for me with GPE 1.4.0, but no longer with the 1.4.1 version. Which version are you using?

I've updated my blog article today

2010-12-19 Thread Jeff Schwartz
Hi All, I've update my blog article today which you can read at http://jeff-schwartz.blogspot.com/2010/11/screenshots-of-love-my-vehicle-on-web.html. I've added some new screen shots as well as a few comments on dom manipulation. -- *Jeff Schwartz* -- You received this message because you are

Re: RequestFactory, ServiceLocator and Spring

2010-12-19 Thread steen laursen
I will have to take a look at the ServiceLayerDecorator to see how that would work with Spring. Maybe that's is a better solution? Any the @AutoWired annotation wont work since the ServiceLocator and RequestFactoryServlet is not managed by Spring (ie Spring did not create the objects, the servlet

GWT 2.1.1 and DAOs

2010-12-19 Thread Henrik Schmidt
Hi there, I'm playing with the new 2.1.1 release. I'm trying to use DAOs instead of DTOs and testing it through RequestFactoryMagic. I use Guice server side to inject the DAOs and I've implemented a ServiceLocator to hook into Guice and get the given instance. This seems to work well. Here's the

Re: GWT MVP and RequestFactory

2010-12-19 Thread Efstathios Kalyvas
Hi, I have exactly the same error I cannot resolve it. I am using google eclipse plug in to create my project. Google is not providing a simple working demo of RequestFactory (including all the jar references the web.xml etc). They make things difficult for no reason. So far I am using RPC to

Re: RequestFactory, ServiceLocator and Spring

2010-12-19 Thread zixzigma
Any the @AutoWired annotation wont work since the ServiceLocator and RequestFactoryServlet is not managed by Spring (ie Spring did not create the objects, the servlet container did). 1- can we register ServiceLocator and RequestFactoryServlet with Spring's ApplicationContext ? so that upon

Re: GWT 2.1.1 and DAOs

2010-12-19 Thread Henrik Schmidt
I had a look through the code. com.google.gwt.requestfactory.server.RequestFactoryInterfaceValidator has a (rather unfortunately named) method called checkIdAndVersion(ErrorContext logger, Type domainType) in line 1001. However, this method also checks for a find method. Is this a bug? In other

Re: GWT MVP and RequestFactory

2010-12-19 Thread Thomas Broyer
On Sunday, December 19, 2010 9:09:45 PM UTC+1, savilak wrote: Google is not providing a simple working demo of RequestFactory (including all the jar references the web.xml etc). The Expenses sample is using RequestFactory with Maven, it has the required dependencies on javax.validation

Re: GWT 2.1.1 and DAOs

2010-12-19 Thread Thomas Broyer
The findXxx method is required when de-serializing instances. If you can't or don't one that static method, then you have to use a Locator. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RequestFactory, ServiceLocator and Spring

2010-12-19 Thread zixzigma
I came up with this, based on your suggestion. I am not sure if this is correct though. public class SpringServiceLocator implements ServiceLocator { @Autowired private ApplicationContext context; @Autowired private ServiceLayerDecorator serviceLayerDecorator; @Override

Re: Is encryption over RCP possible?

2010-12-19 Thread UseTheFork
For those who are interested in the weaknesses of SSL/TLS, here is more information: - http://code.google.com/p/littleblackbox/wiki/FAQ - http://www.thoughtcrime.org/software/sslsniff/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Is there any thing like gmail more action customized dropdown available in gwt?

2010-12-19 Thread Ali
Hi Is there anything like gmail more action customized dropdown/listbox available in gwt? Wishes, -- 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

Re: Is there any thing like gmail more action customized dropdown available in gwt?

2010-12-19 Thread Matthew Hill
Nope, you'll have to make your own. -- 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

Re: I've updated my blog article today

2010-12-19 Thread Matthew Hill
Thanks for posting this. A suggestion for your app: please style the widgets rather than leaving them as default. -- 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

Re: issue with RequestFactory not finding a ValidatorFactory

2010-12-19 Thread Daghan
Thomas, You helped me fend of a nervous breakdown. Thank you for all the help ps: I also very much liked your blog on the 2.1 MVP topic. On Dec 5, 1:34 pm, Thomas Broyer t.bro...@gmail.com wrote: On 5 déc, 06:13, ali a.akhava...@gmail.com wrote: I am using JDO with RequestFactory and here's

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

2010-12-19 Thread Amir Kashani
DOM.getElementById(buttonId).getParentElement().appendChild(simplePanel.getElement()); You can't attach a widget this way. Use RootPanel.get().add(simplePanel). Also, there's no need for the IDs -- reference the Widget objects rather than the elements within. If you want to intermix straight

Re: Is there any thing like gmail more action customized dropdown available in gwt?

2010-12-19 Thread Amir Kashani
A MenuBar in vertical mode will get you most of what you need. Use it in conjunction with PopupPanel.showRelativeTo(...) to get the positioning right. - Amir -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Is there any thing like gmail more action customized dropdown available in gwt?

2010-12-19 Thread Ali Sakebi
Thanks for responses. I used DateBox with popup DatePicker from gwt showcase to create what I needed.I will post my code soon after cleaning it up. Vertical MenuBar was a good option too, but I needed a little more flexibility. -- You received this message because you are subscribed to the

Re: Is there any thing like gmail more action customized dropdown available in gwt?

2010-12-19 Thread Goby
May be you can try Google Web Toolkit Incubator - DropDownListBox http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=DropDownListBox On Dec 20, 8:33 am, Ali Sakebi ali.sak...@gmail.com wrote: Thanks for responses. I used DateBox with popup

Re: Last eclipse plugin update bugs

2010-12-19 Thread Gal Dolber
One more note on this. The problem is actually obvious. In my gwt jre tests I use utility classes that aren't on any client package, cause that code never runs on the browser. What I need is a way to disable that check. On Sun, Dec 19, 2010 at 1:20 PM, Gal Dolber gal.dol...@gmail.com wrote: I

Re: DockLayoutPanel and StackLayoutPanel problems in IE7

2010-12-19 Thread John LaBanca
If the LayoutPanels have an unbroken chain of ProvidesResize up to the RootLayoutPanel (as it looks like you've indicated they do), everything should work fine. Can you provide a screen shot or a description of the actual error? Or even better, a link? Thanks, John LaBanca jlaba...@google.com

Re: Noob getting started question

2010-12-19 Thread Petter M?hl?n
Thanks for the tip - I figured out the problem before this message got through moderation. There was something wrong in the naming configuration which meant that there was a 404 from Jetty when the browser requested the JS. I fixed that by adding a 'rename-to' to the GWT config and changing the

Re: Title: EntityProxyChange not being called?

2010-12-19 Thread Richard Berger
Sorry for not noticing this reply earlier. Thank you for the explanation as to when the event fires. I did try incrementing the version number in my persist() method - something very simple, just incrementing the version by 1 before putting it back to the datastore. I will restore that code and

Re: GWT CellTable - render cell depending on value of the displayed object

2010-12-19 Thread Opal
Thank You very much for the code. Hope it will help me to achieve the required effect. On 18 Gru, 15:52, manstis michael.ans...@gmail.com wrote: This illustrates the general idea:- public class ProxyCell extends AbstractCellString {     private AbstractCellString cellReadOnly = new

Re: Is encryption over RCP possible?

2010-12-19 Thread Basdl
I don't say it's impossible to forgery a certificate. But I refered to the stored certificates (that should be valid). The problem is when a CA signs a invalid certificate - I didn't assume that. If's a big Problem, that you don't have the control whether a CA signs a certificate for your domain

[gwt-contrib] beanType is a Class, no need to call getClass to compare it to a class. (issue1233801)

2010-12-19 Thread nchalko
Reviewers: rchandia, Description: beanType is a Class, no need to call getClass to compare it to a class. This fixes a bug where all calls to validateValue were failing. [JSR 303 TCK Result] 36 of 258 (13.95%) Pass with 15 Failures and 43 Errors. Please review this at

[gwt-contrib] Add the property name to the path. (issue1233802)

2010-12-19 Thread nchalko
Reviewers: rchandia, Description: Add the property name to the path. Please review this at http://gwt-code-reviews.appspot.com/1233802/show Affected files: M user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java Index:

[gwt-contrib] Re: Comment on TroubleshootingOOPHM in google-web-toolkit

2010-12-19 Thread codesite-noreply
Comment by marcello.urbani: I also had issues with the plugin: Failed to connect to hosted mode server at 127.0.0.1:9997 Just switched to a random port instead of 9997 in the project settings and works like a charm :) Firefox 3.6, but should be a browser independent issue For more

[gwt-contrib] Re: Comment on TroubleshootingOOPHM in google-web-toolkit

2010-12-19 Thread codesite-noreply
Comment by marcello.urbani: I also had issues with the plugin: {{{ Failed to connect to hosted mode server at 127.0.0.1:9997 }}} Just switched to a random port instead of 9997 in the project settings and works like a charm :) Using Firefox 3.6, but should be a browser independent issue For