Editors _ multi editors for a same field

2017-03-02 Thread 129pierre
Hi, I am trying to dynamicly change the editor of a field. In some circonstances, I want a particular field (value) to be edited by a RadioButton Group and in others by a ListBox. I started this way : @Path("value") @UiField(provided=true) RadioGroupEditor valueRB = new RadioGroupEditor(... @

Re: RequestBuilder, safely send data to server

2017-03-02 Thread salk31
Indeed, you really can't trust the client code. You just send code that you would like the client to run. The client can do whatever it likes. If somebody was really attacking you they wouldn't even be using a browser. As ever it depends what you want to optimise for ;) I can see two main archi

Re: RequestBuilder, safely send data to server

2017-03-02 Thread 'gitzzz' via GWT Users
Thanks! I meant that I can't trust the client code. For example, we play poker, the server sent 3,4,5,6,8 combination. It's not a win hand and I've decided to send my own data - 3,4,5,6,7. At this point we see that the server should to check/validate sended data with incoming data. But is it op

Re: Mojo's Maven Plugin for GWT - general questions

2017-03-02 Thread Ignacio Baca Moreno-Torres
The new plugin is called GWT Eclipse Plugin. The full explanation here https://www.youtube.com/watch?v=x04sufQce-Y. If you are starting a new project it's strongly recommended that you use the new maven plugin ( https://github.com/tbroyer/gwt-maven-plugin). I think that it is much easier if you upl

Re: Mojo's Maven Plugin for GWT - general questions

2017-03-02 Thread Jens
> > > > But calling "GWT Development mode" results in this message: > > Usage: at least one module must be supplied > > > I don't understand this message, because I provided a name for a module > when I created the project. > Sounds like Eclipse / the GWT plugin can not find your *.gwt.xml files

Re: Mojo's Maven Plugin for GWT - general questions

2017-03-02 Thread Magnus
Hello, no more posts here? :-) I have looked inside some pom.xml files. What if really beginning from scratch, like Thomas recommended? How would you modify a pom.xml so that you can start a debugging session in eclipse? Magnus -- You received this message because you are subscribed to the G

Re: RequestBuilder, safely send data to server

2017-03-02 Thread Thomas Broyer
On Thursday, March 2, 2017 at 8:01:18 AM UTC+1, gitzzz wrote: > > Hi! I use RequestBuilder for client-server communication. And I have some > questions: > > For example we make http request to ".../get.php"(function(), select some > data from DB and send it back). Response is an array[1,2,3,4,

Re: RequestBuilder, safely send data to server

2017-03-02 Thread Chad Vincent
Seconded. One of the best bits of advise I ever got is, "if you have a validation on the client, re-validate on the server". The JSR validation makes it easy to be sure validation is consistent, but I've not tried it now that the validation is a library. On Thursday, March 2, 2017 at 5:27:59 A

Re: RequestBuilder, safely send data to server

2017-03-02 Thread salk31
Basically you can't trust the client or the client code... If that is what you mean? Unless all clients and network access is tied down by you (very rare) then you must not trust anything coming in... need parse carefully, check permissions.. On Thursday, March 2, 2017 at 7:01:18 AM UTC, git