Re: Retrieving values from fields in GWT generators

2012-09-11 Thread Adam Gordon
On Monday, September 10, 2012 3:14:40 PM UTC-6, Thomas Broyer wrote: What's wrong with accessing the field directly? (using JSNI to bypass the Java access rules) Maybe have a look at the kind of code generated by the JSR303 built-in support. I was under the impression that JSNI was more

Retrieving values from fields in GWT generators

2012-09-10 Thread Adam Gordon
I'm building a GWT generator and I'm parsing a class. I've gotten to the point where i have a JField[] and am iterating over the class fields. I need to know how to get the value from a field and the GWT documentation is a bit lacking (i.e., non-existent, at least from a javadoc perspective).

Re: Retrieving values from fields in GWT generators

2012-09-10 Thread Adam Gordon
, September 10, 2012 6:36:50 PM UTC+2, Adam Gordon wrote: I'm building a GWT generator and I'm parsing a class. I've gotten to the point where i have a JField[] and am iterating over the class fields. I need to know how to get the value from a field and the GWT documentation is a bit lacking

Unexpected server to client exception translation occurring

2012-04-10 Thread Adam Gordon
We're building some internal web applications for divisions and we have a need to send any server side stack traces to the client so that when employee end-users encounter errors they can put a stacktrace in our ticketing system. I have registered my own GWT.UncaughtExceptionHandler that

Re: Unexpected server to client exception translation occurring

2012-04-10 Thread Adam Gordon
the error thrown on the server and writes a generic response. The solution was to override the method and rather than call the RPCServletUtils method, to copy and tweak it so that it sends back the message I need to send. On Tuesday, April 10, 2012 9:26:19 AM UTC-6, Adam Gordon wrote: We're building