Re: Transpile plain Java project WITHOUT references to any UI, DOM, or any other web/framework features

2017-07-20 Thread Ryan Peden
I realize this question is a couple of weeks old, but I figure it's still worth answering in case you haven't found a solution. Do you run require('react-native') before you try to load your GWT library? When RN loads, it does define a global window object

Re: How to do validations in GWT MVP Pattern

2014-02-10 Thread Ryan Chazen
Yeah I have it working like that already, but it's still unfortunate. Maybe the best long term bet is to not use JSR 303 at all? It adds a bit more boilerplate code though. On Mon, Feb 10, 2014 at 3:51 PM, Jens wrote: > Slightly off topic, but do you know if the hibernate-validation support >>

Re: Appearance of extra scroll bar in GWT Datagrid

2013-08-22 Thread Ryan
I've seen the exact same issue starting around Chrome 22-22 on OSX. I've been unable to track down which element(s) are causing it but having to look at bugs me to no end. If you find out how to address it please report back. Cheers, Ryan -- You received this message becau

Re: GWT website moved to gwtproject.org

2013-07-31 Thread Ryan Chazen
Perhaps we could collect a small bounty (probably even 1k would be enough?), and start a competition for the community to submit designs with the best design being chosen by some judges. On Wed, Jul 31, 2013 at 4:18 PM, salk31 wrote: > They have typesafe behind them so presumably some cash to

Re: Does the Google App Engine Support Java/J2EE Web Application

2013-07-24 Thread Ryan Chazen
Hetzner is also very good if you need something with massive RAM (32gb+), CPU(4 core i7) and disk space(2TB) for a low price: http://www.hetzner.de/en/hosting/produkte_rootserver/ex40 They've been around for ages also, so expect good reliability. Basically: Avoid AppEngine if you care about pric

Re: I'm enhancing GWT to provide Java stack traces for clientside exceptions in production

2013-07-18 Thread Ryan Chazen
Hi Thomas, It would be great if you (or anybody who understands how to set it up) could add a small article on gwtproject.org about setting up the different methods of getting stack traces in production on exceptions? Thanks! Ryan On Thu, Jul 18, 2013 at 3:30 PM, Thomas Broyer wrote

Re: Exception stack traces in superdevmode

2013-07-05 Thread Ryan Chazen
Oh, my bad! I read posts from people that seemed to imply that they had managed to get working stack traces using some method - but no matter what I tried I couldn't get it to work. Is this likely to be fixed for the next GWT release (or already fixed in git?), or still on the backburner? On Fri

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
It's been (erroneously) merged into issue 8162, which is just a generic CSS3 issue. So I wouldn't get your hopes up too quickly. https://code.google.com/p/google-web-toolkit/issues/detail?can=2&q=8162&colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars&id=8162 On Fri, Jun 14, 2013

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
According to that article it will work without Vaadin, and just requires that you replace 'widgetset' with 'module'. How exactly you'd go about doing that is unclear and I haven't tried, but the article definitely seems to be saying that it should work without issue. I've had plans to give it a tr

Re: Difficulties with addWindowClosingHandler in IE

2013-02-21 Thread Ryan McFall
e behavior at all. Ryan On Wednesday, February 20, 2013 6:50:42 AM UTC-5, Jens wrote: > > link > > Adding return false; has the same result as calling event.preventDefault() > *and* event.stopPropagation(). > > You can also do that on the href attribute directly I guess

Difficulties with addWindowClosingHandler in IE

2013-02-20 Thread Ryan McFall
likely be using IE. Thanks! Ryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to

Re: How to "embrace" asynchrony in GWT apps?

2013-02-07 Thread Ryan Chazen
There is a project for using Futures in GWT - http://code.google.com/p/gwt-async-future/ However, an event bus is still a better pattern for this, as futures are just nicer syntax for single async tasks, and what is needed here is a method to de-couple the data calls so you don't need to be concer

Re: Is there a Chrome extension/api which allows for 'read/write *.txt/*.js file' ?

2013-01-20 Thread Ryan Shillington
This question is so confusing I can only respond with an equally confusing answer: Have you tried V <http://www.vim.org/>im? Ok, a more serious answer would be: "Can you tell us what you're trying to accomplish?" Why would you try to edit a txt or js file in a browser?

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Ryan Shillington
le of numbers I wouldn't have learned as much. Thanks again, Ryan On Tuesday, December 4, 2012 5:19:05 AM UTC-6, Joonas Lehtinen wrote: > > *The GWT community have been having many questions about the Future of > GWT. Questions like: Where is GWT going? How is GWT used tod

Re: Roadmap GWT?

2012-11-09 Thread Ryan Shillington
Thanks Thomas, that's a start. I was hoping for something more than that, but I guess I'll be patient. When is the next SC meeting / decision point? On Friday, November 9, 2012 4:01:32 AM UTC-6, Thomas Broyer wrote: > > > > On Friday, November 9, 2012 2:56:00 AM UTC+1, Joseph Lust wrote: >> >>

Re: Roadmap GWT?

2012-11-05 Thread Ryan Shillington
To be a little more blunt than Christian - I would like to see some results from the Steering committee. I don't care about timelines as much as I care about direction. What direction are you taking GWT for vNext? Ryan On Monday, November 5, 2012 4:07:28 AM UTC-6, ChrLipp wrote: >

Re: GWT 2.5 GA is Here!

2012-11-01 Thread Ryan Shillington
Is there a roadmap for GWT? I'd really like to create switch statements for Strings. It would make our Place locator, which I suspect a lot of projects have who hadn't seen that awesome GWT Architecture video at the start of their project, so much cleaner. Ryan On Thursday, Novemb

Re: Future of GWT survey

2012-09-20 Thread Ryan Shillington
Crap. I also forgot about that. I want to go back. On Wednesday, September 19, 2012 10:50:05 AM UTC-5, Dave Laycock wrote: > > I wish I could change my responses. I forgot about the single biggest > improvement I would like to see on the long term roadmap: support for Java > 8 language featu

Re: Single images of corner.png/circles.png, etc

2012-09-05 Thread Ryan Shillington
f that kind of stuff without needing any images anymore. If you're not planning on supporting IE 8 (which Google will drop support for once IE 10 comes out in a month or 2), then that's the way to go. Ryan On Wednesday, September 5, 2012 7:38:13 AM UTC-5, Musicman75 wrote: > >

Re: GWT Compilation Time Performance Improvement

2012-09-05 Thread Ryan Shillington
Niraj, you didn't mention the "-localWorkers" flag. On a quad-core machine that reduced our compile time to about 1/3 of what it was (our 300s compile time became 100s). Ryan On Tuesday, September 4, 2012 1:10:19 AM UTC-5, Niraj Salot wrote: > > Hi Members, > > W

Re: com.google.gwt.junit.client.TimeoutException: The browser did not contact the server within 60000ms.

2012-08-31 Thread Ryan Shillington
ll, I guess this will force us to convert them now. Ryan On Monday, November 2, 2009 7:20:03 AM UTC-6, Dominik Steiner wrote: > > I haven't tried the UiBinder yet, but if i remember right I read > somewhere that it is now prefered to use HtmlUnit tests instead of > using the

Re: DART vs. GWT

2012-08-27 Thread Ryan Shillington
PHP). Ruby/Rails/PHP to me is like a chainsaw - it's super-easy to cut down trees with, but it's just as easy to cut your arm off. You don't want a million lines of a scripting language. Ryan On Sunday, August 26, 2012 6:42:07 PM UTC-5, b0b wrote: > > > > On Wedne

Re: GWT and automated testing tools

2012-08-24 Thread Ryan Shillington
that will work well. Ryan On Thursday, August 23, 2012 12:19:30 PM UTC-5, Sachin Shekhar R wrote: > > We have hundreds of Forms which are tested using internal library based on > Selenium Automation. It works really well across browsers and with both GXT > and GWT. The key thing is to

Re: GWT ui:style how big of a bad idea (or not) is it to use it?

2012-08-08 Thread Ryan Shillington
. Then it won't get obstruficated. http://code.google.com/p/google-web-toolkit/wiki/CssResource#External_and_legacy_scopes Ryan On Saturday, August 4, 2012 9:40:23 AM UTC-5, Nuno Godinho de Matos wrote: > > Hi, > I am wondering how big a mistake is it to take advantage of the u

Re: RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-08-08 Thread Ryan Shillington
It's already been reported here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 Looks like it's a devMode only issue. Ryan On Wednesday, April 25, 2012 10:14:04 PM UTC-5, Pradeep B Pillai wrote: > > > > The following is the other error i get frequent

Re: RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-08-08 Thread Ryan Shillington
serChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:619) Ryan On Wednesday, April 25, 2012 10:14:04 PM UTC-5, Pradeep B Pillai wrote: > > > > The following is the other error

Re: GWT future

2012-08-08 Thread Ryan Shillington
please" that you can put in your base html. That should get you through until you can fix whatever small thing is off. Ryan On Monday, August 6, 2012 3:05:55 AM UTC-5, funkforce wrote: > > Thomas, > > Reading this: > >> but until then, GWT will have adapt to each new brow

Problem with RequestFactoryGenerator and ExtraTypes annotation

2012-07-11 Thread Ryan McFall
s have had success updating to the version that contains the new proxy interface, I do not think that any files are not committed to the repository. Thanks for any suggestions! Ryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Problems using JavaMail within hosted mode in Eclipse

2012-06-21 Thread Ryan McFall
t when running within Eclipse? Thanks, Ryan -- 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/-/tCjp7_JZ5WAJ. To post to this

Re: Having domain objects implement EntityProxy - bad idea?

2012-06-12 Thread Ryan McFall
ld have done it this way originally over a year ago had I known this! Thanks, Ryan On Tuesday, June 12, 2012 2:53:55 AM UTC-4, Thomas Broyer wrote: > I can't see any reason it wouldn't work, but I think you'd rather extract > an interface, implemented by your domain

Having domain objects implement EntityProxy - bad idea?

2012-06-11 Thread Ryan McFall
down this route, I'm wondering if there are reasons it won't work that I haven't thought about. Thanks! Ryan -- 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-toolk

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-07 Thread Ryan McFall
ror. If I call die() then the exception is still printed out, but the onFailure method of the Receiver is in fact called, and I can re-fire the request. Ryan On Jun 7, 3:06 pm, Thomas Broyer wrote: > If you go the ServiceLayerDecorator route, you can no longer use an HTTP > status

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-07 Thread Ryan McFall
r? Or is there some other way of catching the failure caused by the invoke method of my ServiceLayerDecorator? Thanks, Ryan On Jun 5, 11:13 am, Ashwin Desikan wrote: > Thomas is correct. I had tried the route of creating two separate RF's. But > that involves more work in compa

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Ryan McFall
that don't. That seems easier to me than the annotation route. Anyone have any reasons to think otherwise? Ryan On Jun 5, 8:22 am, Jens wrote: > > You can create your own custom annotation (for example : LoggedIn). Apply > > this on all methods you want to authenticate the user/

Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-05 Thread Ryan McFall
lable that will help me parse the request payload on the server and identify the methods being called? Ryan On Jun 5, 5:21 am, Thomas Broyer wrote: > 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 se

Resubmitting RequestFactory request when server side logic requires it

2012-06-04 Thread Ryan McFall
n simple at least to start. Thanks, Ryan -- 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+u

Re: Client-side code not seeing multiple return types

2012-05-27 Thread Ryan McFall
I updated my GWT SDK to the most recent version of 2.4, and it seems to be working now. I was using the January release and updated to the May release. Ryan On May 27, 7:19 am, Ryan McFall wrote: > I am trying to use the polymorphism features of GWT 2.4, and am > running into a proble

Client-side code not seeing multiple return types

2012-05-27 Thread Ryan McFall
proxy returned on the client is an instance of ISurveyQuestion, not IMultipleChoiceQuestion, as I expect it to be. Am I missing something? Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

Re: Nested entity not loaded all the time; possible race condition?

2012-02-01 Thread Ryan McFall
sion. Thanks for your suggestion! Ryan On Feb 1, 5:26 pm, Thomas Broyer wrote: > I would have said > it'shttp://code.google.com/p/google-web-toolkit/issues/detail?id=6710but > you said you're using 2.3, not 2.4; and it doesn't looks > likehttp://code.google.com/p/google-we

Nested entity not loaded all the time; possible race condition?

2012-02-01 Thread Ryan McFall
or have ideas what could be going wrong? Thanks, Ryan -- 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-

Re: RequestFactory: Download entity, add to collection, persist on server, see collection change. Should this work?

2012-01-26 Thread Ryan McFall
e list of ResponseObjects, is null on the server side, but there definitely are response proxies in the list on the client side before the header object is sent to the service method. Ryan -- You received this message because you are subscribed to the Google Groups "Google Web To

RequestFactory: Download entity, add to collection, persist on server, see collection change. Should this work?

2012-01-24 Thread Ryan McFall
t. I have gotten around it by writing methods to explicitly save the Response objects before saving the Header object, but I don't think I should have to do this. Thanks in advance for any pointers. Ryan -- You received this message because you are subscribed to the Google Groups "Googl

Re: GWT Developer Plugin for Firefox 9

2012-01-11 Thread Ryan Johnson
Can someone help me out? When I try to download the plugin the page refreshes, but I never see a download and I can't find the file. If someone can send me the file that would also be great. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Tool

com.google.gwt.user.client.rpc.StatusCodeException: 12002 exception in IE8 (not Chrome or FF)

2012-01-09 Thread Ryan Groten
calls start to fail, I see nothing on the web server side (in the httpd logs or using tcpdump I see nothing happening). Has anyone run into anything like this before? Any thoughts? Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "Google Web To

Multiple Webapps - Can I Debug Only One?

2011-11-12 Thread Ryan Kruse
Our website is Drupal driven and we drop in GWT scripts for some applications. In this particular page we have two applications on the same page. When I go to debug one it looks for the source of the other and fails. Doing both at the same time would be great but I only need one but I still want

Re: ScrollPanel not shoing up!

2011-09-29 Thread Ryan Groten
Why not try putting the view into a DockLayoutPanel itself to separate the header from content? Also may want to consider replacing your mainPanel DockLayoutPanel with something like a SimpleLayoutPanel if it's only going to hold a single view. -- You rece

Re: UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread Ryan Groten
When I get the "failed to resolved ... via deferred binding" errors there's usually a useful error message in the output above it ("missing required attribute" or "can only have 1 child element", etc). You don't get those types of error messages? -- You received this message because you are s

Re: What do you think?

2011-09-28 Thread Ryan Groten
I'm still very new but I'm enjoying it a lot. Like cueman said though, can't please everybody. -- 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/-

Re: Inherited exceptions in GWT-RPC

2011-09-06 Thread Ryan
Thanks, Colin. I'll double-check my module file and make sure the exceptions are being included for the GWT compiler. That may be the reason they're being missed. On Sep 1, 2:14 pm, Colin Alworth wrote: > On Thursday, August 25, 2011 3:09:22 PM UTC-5, Ryan wrote: > > Ho

Re: [gwt-contrib] [ANN] Scala+GWT 0.1-M1 released

2011-09-01 Thread Ray Ryan
Woo hoo! On Thu Sep 01 09:26:47 GMT-700 2011, Grzegorz Kossakowski wrote: > Hello, > > I'm excited to announce first milestone of Scala+GWT project. > > Download (and then follow README instructions) from here: > http://goo.gl/Ym3xU >

Re: Inherited exceptions in GWT-RPC

2011-08-31 Thread Ryan
@Override public void onSuccess( Void result ) {...} } ); } catch (Exception e) {} That sort of defeats the purpose for handling the exception in the onFailure() method to begin with. > HTH > Paul > > On 25/08/11 21:09, Ryan wrote: > &g

Inherited exceptions in GWT-RPC

2011-08-25 Thread Ryan
he service signature, but that seems very brittle to me. Thanks, Ryan -- 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: Using widgets in CellTable

2011-08-08 Thread Ryan McFall
So I would extend ImageCell and pass "click" to AbstractCell's constructor, overriding onBrowserEvent to handle the click event? Seems strange to me that there are no constants defined for the different events that can be passed to the AbstractCell constructor. Thanks again, Rya

Re: Using widgets in CellTable

2011-08-08 Thread Ryan McFall
in. So to make my Widget into a cell, would it extend CompositeCell, and then in its constructor pass an appropriate List of other Cells? Right now the PushButtons have only an icon; what is the best option to emulate this using the Cell framework? Thanks, Ryan On Aug 8, 9:57 am, Jeff Larsen wrote:

Using widgets in CellTable

2011-08-08 Thread Ryan McFall
roach, would be appreciated. Thanks! Ryan -- 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-t

Re: RequestFactory Best Practices: How to share object between client and server

2011-08-04 Thread Ryan McFall
proxy interface, and then write your common code in terms of the proxy interface. But you will then have to come up with a dummy implementation of the stableId method required by EntityProxy. If that doesn't bother you, then it should work. Ryan On Aug 4, 2:32 pm, br22 wrote: > Than

Re: How to use RequestFactory: .with(propertyRefs) for composition of objects

2011-07-31 Thread Ryan McFall
Hi there: Assuming that your lists are named listB, listC, listD, then you would write: .with ("A.listB", "A.listB.listC", "A.listB.listC.listD") to cause your various proxies to be populated by a single call to the server. Hope that helps, Ryan On Jul 31, 3:31

Re: ValueProxy Implementation Rule ?

2011-07-30 Thread Ryan McFall
I posted a message about this recently, and was pointed to the bug referenced by Brian below. Currently you do need to have getters in order for AutoBean to know the property exists. Ryan On Jul 30, 11:44 am, Brian Reilly wrote: > I think this is a known bug. I saw it mentioned recently

Re: GWT/GPE 2.4.0 RC1 is available

2011-07-28 Thread Ryan McFall
k for determining which interfaces need to have a proxy generated for them). Adding a use case before the technical details would make the documentation a bit easier to understand, at least for me. Ryan On Jul 28, 7:41 pm, Thomas Broyer wrote: > On Thursday, July 28, 2011 11:38:55 PM UTC+2, Ryan McFa

Re: GWT/GPE 2.4.0 RC1 is available

2011-07-28 Thread Ryan McFall
Proxy extends EntityProxy, and the other proxy interfaces then extend ShapeProxy, right? Thanks for clarifying for me, Ryan On Jul 27, 1:55 pm, David Chandler wrote: > GWT 2.4.0 adds a new DataGrid widget with scrollable data area and > many enhancements to RequestFactory > (seehttp://cod

Re: RequestFactory create proxy object serverside

2011-07-25 Thread Ryan McFall
der to get default values set on the client-side proxy, but not have the object persisted. Unfortunately that's not possible. Ryan On Jul 25, 11:05 am, Jakob Mar wrote: > Using RequestFacory I am trying to create an object on the server like this: > > public imterface FooRequestContex

Re: Connecting to a oracle database with GWT

2011-07-21 Thread Ryan McFall
RPC calls. Ryan On Jul 20, 2:02 pm, Bruno Henrique wrote: > Can someone give an simple example how to use oracle with GWT, using RPC? > I tried to do something here, but I got the error: > > java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. > Please see the Goog

RequestFactory issue: proxy must include getter if it is to include setter

2011-07-19 Thread Ryan McFall
od from the server-side entity in the EntityProxy, only getters and setters for properties that should be exposed to the client" This doesn't explicitly say that both getters and setters are required for a property. Ryan -- You received this message because you are subscribed to the Go

Re: Properties emulation

2011-07-06 Thread Ryan
Thanks for the suggestions, guys. That really helps. Ryan -- 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

Properties emulation

2011-07-05 Thread Ryan
o have the client-side equivalent of a runtime properties file that I can change in a deployed WAR file without recompiling. I realize that I could use GWT Constants for this, but my purposes aren't really for i18n, and I still can't modify the properties without recompiling. Any suggest

Handling transaction roll-back in RequestFactory service implementations

2011-07-04 Thread Ryan McFall
d, but I'm wondering if there is a better way to handle this. Since my service doesn't have any way to communicate with the RF framework, I think the answer is no, but I thought I would check. Thanks! Ryan -- You received this message because you are subscribed to the Google Groups

Re: "without" instead of "with" for RequestFactory requests

2011-06-30 Thread Ryan McFall
Nope, not using editors. I haven't dove into that part of the data tools yet. Ryan On Jun 30, 2:16 pm, Jeff Larsen wrote: > Are you using editors? If so, you can do > >  fetchRequest.with(editorDriver.getPaths()); > > Check out the PersonEditorWorkflow.java in Dynatabler

Re: GWT Modules

2011-06-30 Thread Ryan McFall
I am pretty sure that part of the optimization the compiler does is to only include code in the generated .js file that is actually in use. Therefore, only implementations of the methods in modules A & B that are used by your Login module will be downloaded by the client. Ryan On Jun 30, 1

"without" instead of "with" for RequestFactory requests

2011-06-30 Thread Ryan McFall
simply requires some reflection oriented code on the server. Ryan -- 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

Re: Request Factory: what causes IdFactory.isEntityType to fail

2011-06-27 Thread Ryan McFall
d was hoping to test it without doing so. Ryan On Jun 27, 11:52 am, Ryan McFall wrote: > I have a call to RequestContext.create that is failing, and I can't > figure out why.  The error message that I'm getting indicates that the > interface that I am passing to .crea

Request Factory: what causes IdFactory.isEntityType to fail

2011-06-27 Thread Ryan McFall
to be possible for me to see what's happening. Does anyone know what other conditions besides the ones that I've checked might cause this to happen? Thanks in advance, Ryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: Can an interface serve as proxy for more than one class in RequestFactory?

2011-06-27 Thread Ryan McFall
ionality of the common server interface). I don't like it, but it seems to be working. Ryan On Jun 27, 10:00 am, Thomas Broyer wrote: > On Monday, June 27, 2011 12:40:05 PM UTC+2, Ryan McFall wrote: > > > I have two domain objects that implement the same interface on the > > s

Can an interface serve as proxy for more than one class in RequestFactory?

2011-06-27 Thread Ryan McFall
this work are welcome. Thanks in advance for any ideas. Ryan -- 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

Re: RequestFactory: creating proxies on client and constructors

2011-06-24 Thread Ryan McFall
David: Yep, I thought of that, and have implemented it. It seems to work well. Thanks for your help! Ryan On Jun 24, 9:32 am, David Chandler wrote: > Hi Ryan, > > The proxy you get from RequestContext.create() won't be updated > automatically. Your persist method should

Re: RequestFactory: creating proxies on client and constructors

2011-06-23 Thread Ryan McFall
e involved here, but honestly I don't know much about how that works - where is a good place to look for docs (the getting started with RequestFactory guide doesn't really talk about it). Ryan On Jun 23, 4:07 pm, David Chandler wrote: > Ryan, you're correct. Nothing on the serve

Re: RequestFactory: creating proxies on client and constructors

2011-06-23 Thread Ryan McFall
e'ing the proxy for this to happen. Ryan On Jun 23, 3:36 pm, Kevin Anderson wrote: > The purpose of the create method is to associate a request context with the > newly created object. It has to be done through the RequestContext so that > it can be managed and all the goodies tha

RequestFactory: creating proxies on client and constructors

2011-06-23 Thread Ryan McFall
tand is an arbitrary name). Is this when the Locator create method is called - the first time a method referencing the proxy is invoked when the proxy is not associated with an instance on the client? Thanks for helping clear up my confusion. Ryan -- You received this message because you are subs

Re: Incompatibility between RequestFactory and JPA collections with orphanRemoval=true

2011-06-21 Thread Ryan McFall
can look to see if the bug that you pointed out is indeed the source of the problem? Thanks, Ryan On Jun 20, 4:45 pm, Thomas Broyer wrote: > On Monday, June 20, 2011 9:08:31 PM UTC+2, Ryan McFall wrote: > > > Implementing the setSurveyPermissions method as you suggested seems to >

Re: Incompatibility between RequestFactory and JPA collections with orphanRemoval=true

2011-06-20 Thread Ryan McFall
m are marked as needing update. Am I right in that interpretation? If so, I'm not sure why this is happening. Does the client keep track of method calls to determine what needs to be updated, or something else? Ryan {"T":"edu.hope.cs.surveys.dao.ISurve

Re: Incompatibility between RequestFactory and JPA collections with orphanRemoval=true

2011-06-20 Thread Ryan McFall
ether the collection was many-to-many or one-to-many. Thanks again for the thoughts - it's great having someone respond so quickly! Ryan On Jun 20, 2:01 pm, Thomas Broyer wrote: > On Monday, June 20, 2011 7:44:56 PM UTC+2, Ryan McFall wrote: > > > I haven't changed the col

Re: Incompatibility between RequestFactory and JPA collections with orphanRemoval=true

2011-06-20 Thread Ryan McFall
x27;s happening if need be. Thanks for your help! Ryan On Jun 20, 1:33 pm, Thomas Broyer wrote: > If you haven't changed the collection in any way, and Survey is mapped as an > EntityProxy (not a ValueProxy), the setter shouldn't be called. > > But back to your issue: if Hib

Incompatibility between RequestFactory and JPA collections with orphanRemoval=true

2011-06-20 Thread Ryan McFall
g report and try to work around it in my code. Thanks! Ryan -- 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 go

Re: RequestFactory calling setters on server object without reason

2011-06-18 Thread Ryan McFall
Scratch this question for now - I'm fairly sure it's Hibernate that is calling the setters when loading the objects based on the objects in the request payload, not RequestFactory calling them. Ryan On Jun 18, 4:59 pm, Ryan McFall wrote: > I have a POJO that contains several colle

RequestFactory calling setters on server object without reason

2011-06-18 Thread Ryan McFall
, I find that the setters for all of the collections are being called, even though I don't actually call any methods between calling edit on the proxy and sending it to the server to be persisted. I don't understand why this is happening. Hopefully someone can enlighten me. Thanks! Rya

Re: RequestFactory serialization with concrete classes

2011-06-18 Thread Ryan McFall
d never be called, but it pollutes the interface to the server-side objects. Ryan On Jun 16, 10:10 pm, isern wrote: > Hi fellas, > > I was wondering if there's a chance that a concrete POJO could be used > as an EntityProxy when serializing a graph via the RequestFactory > fr

Re: Maintaining application state

2011-06-10 Thread Ryan
u use this ApplicationBundle object to pass presenter-specific information? I.e., a specific view or place provider? If so, how do you parameterize the bundle to work for all presenters? Ryan On Jun 10, 6:37 am, Ben Imp wrote: > I use an object called ApplicationModel, that is passed to ev

Maintaining application state

2011-06-09 Thread Ryan
nt-side singleton "catch all" class where things can be stored, sort of like session-scoped map of attribute in a servlet. Is this the best way to do it? What other patterns or approaches would you suggest? Many thanks! Ryan * I probably wouldn't use GWT for login credentials in

Re: Problems using RequestFactory

2011-06-08 Thread Ryan McFall
valid error message, right? Adding "must extend EntityProxy" would seem to make it quite clear what had gone wrong. Ryan On Jun 7, 5:05 pm, Thomas Broyer wrote: > On Tuesday, June 7, 2011 9:56:10 PM UTC+2, Ryan McFall wrote: > > > For others who might see this messa

Eclipse Plugin interaction with RequestFactory

2011-06-08 Thread Ryan McFall
lace to add functionality like this to the Eclipse plugin. Thanks! Ryan -- 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, se

Re: How to set background color for button?

2011-06-07 Thread Ryan McFall
27;ve written for .color-icon. Ryan On Jun 6, 3:05 pm, Lars Ruoff wrote: > Hello, > yes, i know, but the problem is that: > ToggleButton has its predefined style gwt-Togglebutton or similar. > That style defines a background-image for the button. > In order to set a background color

Re: Problems using RequestFactory

2011-06-07 Thread Ryan McFall
me there is something wrong with the Tag class, rather than the true source of the error. Perhaps the error message could have been different, but I place at least 90% of the blame squarely on my own shoulders :-) Ryan On Jun 6, 2:02 pm, Ryan McFall wrote: > I am migrating an application wh

Problems using RequestFactory

2011-06-07 Thread Ryan McFall
it's kind of hard to diagnose. Below are the relevant interfaces/classes. Thanks in advance for any ideas. Ryan - package edu.hope.cs.surve

Re: UiBinder.useSafeHtmlTemplates

2011-05-03 Thread Ryan Sims
On Tue, May 3, 2011 at 11:31 AM, Thomas Broyer wrote: > > > On Tuesday, May 3, 2011 3:34:42 PM UTC+2, decitrig wrote: >> >> After upgrading to 2.3.0, I was getting a warning about >> UiBinder.useSafeHtmlTemplates being false. I couldn't find any documentation >> on this, but looking through variou

RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-03-21 Thread Ryan Rathsam
// More setting of properties etc. results.add(child); } return results; } Any help would be greatly appreciated. Thanks all! Ryan Rathsam -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: is there a command line GWT Compiler ? gwtc MyGWTClass.java ?

2011-03-05 Thread Ryan Mehregan
basic script (gwtc) to invoke the command above. Ryan -- 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-w

Re: Example to test RequestFactory in JRE

2011-03-01 Thread Ryan Mehregan
I have created the following utility method, which gives me access to RequestFactory for Unit Tests. public class RequestFactoryProvider { public static AppRequestFactory get() { ServiceLayer serviceLayer = ServiceLayer.create(); SimpleRequestProcessor processor = new Simple

Re: Replace Enter key by Shift + Enter

2011-02-24 Thread ryan T
Hi, I want the rich text editor to do line-break only even though it receives Enter or Shift+Enter. Can I dispatch Shift+Enter to RichTextArea whenever I get Enter? Any idea? Thanks, ryan On Fri, Feb 25, 2011 at 2:18 AM, Falcon wrote: > As for the "Why", many rich text edit

Replace Enter key by Shift + Enter

2011-02-24 Thread ryan T
Hi all, Is there any way to replace Enter key by Shift + Enter for a widget such as RichTextArea? Thanks, ryan -- 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@googlegrou

Re: GWT 2.2

2011-02-22 Thread Ryan Mehregan
You need to upgrade to GIN 1.5. make sure to also add guice 3.0-rc2 and guice-assistedinject as dependencies. http://groups.google.com/group/google-gin/browse_thread/thread/8a8d13618568da8 Ryan -- You received this message because you are subscribed to the Google Groups "Google Web To

Re: SAXParseException when using SafeHtml Template

2011-02-19 Thread Ryan Mehregan
try wrapping your "template markup" in a block element, public interface Template extends SafeHtmlTemplates { @SafeHtmlTemplates.Template("{1}") SafeHtml img(String url, String text); } Ryan -- You received this message because you are subscribed

  1   2   >