trying to find out the cursor index in GWT RichTextArea

2014-06-22 Thread junaid
getCursor is available in GWT textarea and workd perfectly but I need to make the selected text Colored , Thats Why I am switching to RichTextArea . If there is anyway i can give color to the text of TextArea please suggest if not Please guide me how to get cursor position in GWt RichtextArea.

Best server communication

2014-06-22 Thread mamadou lakhassane cisse
Hi people I'm a newbie in GWT. I've made some apps but still using RPC. I was wondering now if there were a better way than that for server communication. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: Request Factory Security

2014-06-22 Thread Clive Cadogan
i want to check this code but the link is broken On Wednesday, December 21, 2011 10:38:04 AM UTC-4, Thomas Broyer wrote: On Wednesday, December 21, 2011 3:18:25 PM UTC+1, EMan wrote: there have been several posts on RequestFactory security, but I am still not clear. the sample code here:

Re: Using hammer.js for handling touch events/gesture recognitions?

2014-06-22 Thread Dosi Bingov
Hi there I have created small GWT wrapper for hammer js Take a look at https://github.com/geomajas/geomajas-project-hammer-gwt On Tuesday, November 5, 2013 2:52:41 PM UTC+1, Manoula Orczyna wrote: Hi Ed! in the meantime i did write a tiny wrapper for hammer.js. It is kind of incomplete,

Re: Use of reflection inside generator

2014-06-22 Thread Thomas Broyer
On Saturday, June 21, 2014 6:31:47 PM UTC+2, Jens wrote: I don't think reflection will cause issues. I am pretty sure GIN generators also use reflection to call into Guice and execute the GinModule. GWT generators run in a JVM so you can use whatever you want. BUT, in DevMode or

Re: Use of HandlerManager in GWT example code conflicts with javadoc

2014-06-22 Thread Thomas Broyer
The doc was written before EventBus (or even Places and Activities) was introduced. There's a reason these are articles with a date in the heading ;-) So, follow the javadoc, use EventBus (but there's nothing fundamentally *wrong* using HandlerManager) On Thursday, June 19, 2014 9:19:42 PM

Re: Request Factory Security

2014-06-22 Thread Thomas Broyer
Code has moved to gwt.googlesource.com, and the expenses sample has been retired since then. You can find the code at https://gwt.googlesource.com/gwt/+/2.4.0/samples/expenses/src/main/java/com/google/gwt/sample/gaerequest/#gaerequest (that was the version of the sample that shipped in GWT

Re: Use of reflection inside generator

2014-06-22 Thread Nicolas Morel
I looked at annotation processor but there is one thing that is bothering me for my use case. If I have something like this : @GenMapper public interface PersonMapper extends JsonMapperPerson {} or @GenMapper public class Person{ public Child child; } First compilation, my processor is

Server side JSR 303 validation issues

2014-06-22 Thread Arpit
Hi, I get following error on throwing ConstraintViolationException from following server code. Validator jsr303Validator = Validation.buildDefaultValidatorFactory ().getValidator(); SetConstraintViolationUserDto violations = jsr303Validator. validate(userDto); if

Re: Use of reflection inside generator

2014-06-22 Thread Thomas Broyer
On Sunday, June 22, 2014 3:57:49 PM UTC+2, Nicolas Morel wrote: I looked at annotation processor but there is one thing that is bothering me for my use case. If I have something like this : @GenMapper public interface PersonMapper extends JsonMapperPerson {} or @GenMapper public

Re: Server side JSR 303 validation issues

2014-06-22 Thread Thomas Broyer
Does your RPC declares ConstraintViolationException in its throws clause? On Sunday, June 22, 2014 4:51:46 PM UTC+2, Arpit wrote: Hi, I get following error on throwing ConstraintViolationException from following server code. Validator jsr303Validator = Validation.

Re: Using hammer.js for handling touch events/gesture recognitions?

2014-06-22 Thread Juan Pablo Gardella
Thanks for sharing! 2014-06-20 10:20 GMT-03:00 Dosi Bingov d.bin...@gmail.com: Hi there I have created small GWT wrapper for hammer js Take a look at https://github.com/geomajas/geomajas-project-hammer-gwt On Tuesday, November 5, 2013 2:52:41 PM UTC+1, Manoula Orczyna wrote: Hi Ed! in

GWT RequestFactory: IllegalArgumentException for setter only fields

2014-06-22 Thread Arpit
Why is it mandatory to have both getters and setters for a field in RF Proxy interfaces? For some fields (like plain text password), you want setters only. e.g. @ProxyFor(value = User.class) public interface UserProxy extends ValueProxy { void setPassword(String password); }

Re: GWT RequestFactory: IllegalArgumentException for setter only fields

2014-06-22 Thread Thomas Broyer
See https://code.google.com/p/google-web-toolkit/issues/detail?id=5760 I don't get why having a getter defeats the purpose. Just because you have a getter does not mean there's a value to get. You could also have a setPassword service method instead (you can probably use your existing

Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2014-06-22 Thread Bert van Brakel
Confirm that adding the key to the Wow6432Node as above does the trick. The other solutions didn't work for me. Could either be the difference between the 32/64bit versions, or java 1.7/1.8. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

[gwt-contrib] Redirecting Subversion to Git

2014-06-22 Thread Thomas Broyer
Hi all, When we moved from SVN at code.google.com to Git at gwt.googlesource.com, I wanted to keep the SVN repo alive because there are many links to source files from blogs or sites like StackOverflow (I'm responsible for many of them). In the last few days however, I've seen many people

Re: [gwt-contrib] Redirecting Subversion to Git

2014-06-22 Thread 'Daniel Kurka' via GWT Contributors
I think updating the trunk branch is a good idea. I just gave you commit rights and I did hide the source tab from the project. On Sun, Jun 22, 2014 at 5:53 PM, Thomas Broyer t.bro...@gmail.com wrote: Hi all, When we moved from SVN at code.google.com to Git at gwt.googlesource.com, I wanted