Re: GWT-apps and OAuth 2.0

2021-03-03 Thread Luca Morettoni
is there a maven package with that patch or you have included directly the 
source code?
Thanks!

> On 3 Mar 2021, at 13:42, Michael Conrad  wrote:
> 
> Yes.
> 
> I had to apply a fix to the code for inter-window communications.
> 


--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/A55646C2-F8EC-41CC-8E37-038F0EE8268A%40morettoni.net.


Re: GWT-apps and OAuth 2.0

2021-03-03 Thread Luca Morettoni
seems forked from the one I posted… 

> On 2 Mar 2021, at 19:18, Michael Conrad  wrote:
> 
> I'm using a version of gwt-oauth2 for Google OAUTH logins in this project: 
> https://github.com/CherokeeLanguage/AudioQualityVote 
> <https://github.com/CherokeeLanguage/AudioQualityVote>.
> 
> The version of gwt-oauth2 I'm using is at: 
> https://github.com/CherokeeLanguage/gwt-oauth2 
> <https://github.com/CherokeeLanguage/gwt-oauth2>

--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/FF1B76C6-C286-47BA-AB9B-9B9848909238%40morettoni.net.


GWT-apps and OAuth 2.0

2021-03-02 Thread Luca Morettoni
Hello, I have a quite old application that actually uses an internal 
implementation to manage the user access to the system: a login screen that 
send to the server username/password and gets a token used around in the 
different functionalities of the application.
Now a customer instead of using this “server-side” authentication  wants to use 
his own OAuth 2.0 server inside his network.

Looking around I found this project: 
https://github.com/freddyboucher/gwt-oauth2 
<https://github.com/freddyboucher/gwt-oauth2> but if you have any other 
recommendation and/or projects I will appreciate it a lot!

Thanks in advance to all!

--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/DAF84368-2EE6-4C27-AC35-FA308B3F50C4%40morettoni.net.


Re: Updated GXT for GWT 2.9.0 and Java 11

2021-02-25 Thread Luca Morettoni
hello, we still using GXT 4.0.2, and we waited years a fix version because 
4.0.3 was a total failure… now we decided to move to “something else”, but we 
still evaluating different (commercial and not) solutions to replace the client 
widgets infrastructure.
Also we had a very BAD experience with their support, we paid the fee for 
years, and in the last times we got a very LIMITED support!

In any case, we are using GXT 4.0.2 and GWT 2.9.0 for a long time without any 
issue, but we never tested it under Java 11...

> On 25 Feb 2021, at 07:56, 'RobW' via GWT Users 
>  wrote:
> 
> Not sure how many of you also use GXT, but just spotted an announcement from 
> Sencha that GXT 4.1 is out, with support for GWT 2.9.0 and Java 11 (although 
> the latter is marked as a "should support").
> 
> In the middle of some othe rwork, so have yet to try it in our setup. Will 
> report back once we have though. FWIW - we've been building and running under 
> GWT 2.9.0 fine with the previous 4.0 version, so I'm not really expecting any 
> issues from that side of things.
> 
> 


--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/D892D4B3-EE78-44AB-8CD8-B7F7EE71B205%40morettoni.net.


Re: Compilation issue on GWT 2.8.2 (modular maven project)

2018-11-13 Thread Luca Morettoni


> On 13 Nov 2018, at 10:58, Thomas Broyer  wrote:
> 
> remove scope=provided and classifier=sources from test-shared
> remove the jaxb dependency from test-server
> possibly add the jaxb dependency with classifier=sources in test-client
> 

Thanks Thomas, it works (with this changes):

Added jaxb as dependency in the shared project as:


  javax.xml.bind
  jaxb-api
  2.3.0


Added jaxb as dependency in the client project as:


  javax.xml.bind
  jaxb-api
  2.3.0
  sources


I keep the dependency on the server side, but I will try to remove it with the 
real project to see if then passes all the tests!

Thanks for the help!!!

--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Compilation issue on GWT 2.8.2 (modular maven project)

2018-11-12 Thread Luca Morettoni


> On 12 Nov 2018, at 23:14, Freddy Boucher  wrote:
> 
> Juste remove
> 
> provided
> 
> to fix SDM.

no, I tried this solution but it does not fix the problem...

--
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Compilation issue on GWT 2.8.2 (modular maven project)

2018-11-12 Thread Luca Morettoni
Hello, I’m using the Thomas Broyer fantastic plugin[1] for maven to split my project into multiple subproject (client, shared and server).Until now I used GWT version 2.8.1, but today I started a new project and I’d like to use the latest version (2.8.2), and some of the POJOs I use in the shared module will be used also in the server module as a response for some REST call (with Jersey).Usually I annotate my POJOs with the usual @XmlRootElement to use it also in the response payload of a REST call; but switching to 2.8.2 version of GWT I got the known error:[INFO]       [ERROR] Errors in 'file:/Users/luca/tmp/gwt/test/test-shared/src/main/java/net/morettoni/GreetingResponse.java'[INFO]          [ERROR] Line 22: XmlTransient cannot be resolved to a type[INFO]          [ERROR] Line 4: The import javax.xml.bind cannot be resolved[INFO]          [ERROR] Line 8: XmlRootElement cannot be resolved to a type[INFO]          [ERROR] Line 3: The import javax.xml.bind cannot be resolved[INFO]          [ERROR] Line 31: XmlTransient cannot be resolved to a typeand as I see in the messages in this mailing list the solution is to add this extra dependency:  javax.xml.bind  jaxb-api  ...  sources  providedbut I continue to get the same error running the SDM code server (mvn gwt:codeserver -pl *-client -am), even if I added the above to the pom.xml of the shared module.Any idea on how to fix this issue? I’m using JAVA version 1.8 to compile and run the attached example.Thanks in advance for the help![1]: https://github.com/tbroyer/gwt-maven-archetypes
--Luca Morettoni morettoni.net> | http://www.morettoni.nethttp://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni





-- 
You received this message because you are subscribed to the Google Groups "GWT Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
<>




-- 
You received this message because you are subscribed to the Google Groups "GWT Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Different code-server port with gwt-maven-plugin

2017-08-10 Thread Luca Morettoni

> On 9 Aug 2017, at 16:15, Ignacio Baca Moreno-Torres <igna...@bacamt.com> 
> wrote:
> 
> You can use arbitrary arguments per-mode, so to add the codeserverPort to the 
> codeserver goal add:
> -codeServerPort1234
> If you are using dev mode use:
> -codeServerPort1234.

I totally missed that section in the manual, thanks!

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Different code-server port with gwt-maven-plugin

2017-08-09 Thread Luca Morettoni
Hello, for a project we’re using the fantastic gwt-maven-plugin, but now we 
need to migrate a legacy feature of the app to a new version, and we like to 
run both version of the app (old and new) to compare the results.
We have a difficult, we can’t force the code-server to use a port different 
than the default one (9876) with that maven plugin.

Any idea or hint? Looking the documentation there isn’t any option to do that:

https://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html 
<https://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html>

Thanks in advance!

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: best practices for modular GWT app

2016-10-13 Thread Luca Morettoni

> On 12 Oct 2016, at 19:38, Kirill Prazdnikov <pkir...@gmail.com> wrote:
> 
> I do not completely understand which problems do you have, but we dont have 
> any issues working with SDM with modules I described above.

maybe was something wrong in my project layout. Now I made another test, and in 
the submodule I revert the packaging to “jar” and added back this:




src/main/java

**/*.java
**/*.gwt.xml
**/*.ui.xml





and in the main GWT pom.xml file I need to have this to work it correctly:


${project.groupId}
WebMetabase-module-user
${project.version}
sources


otherwise without the classifier-sources I didn’t get a recompile when I 
refresh the browser.
As I posted yesterday the system is also working using the other GWT-Maven 
plugin, but I think is a “clear” way to add extra modules to the project, I’m 
right?

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: best practices for modular GWT app

2016-10-12 Thread Luca Morettoni

> On 12 Oct 2016, at 10:29, Luca Morettoni <l...@morettoni.net> wrote:
> 
> Hi all, currently my application is using a single module for the GWT code, 
> but I’d like to split it in some submodules to better organize the code.
> Everything is under maven and I organised the main project layout using 
> Thomas Broyer gwt-maven-archetypes [1], so now I have a main maven project 
> and its 3 submodules (client, shared and server): my goal is to have the 
> client submodule that will use the new GWT-submodules, but which is the best 
> approach?
> 
> [1]https://github.com/tbroyer/gwt-maven-archetypes 
> <https://github.com/tbroyer/gwt-maven-archetypes>
I think I found a reasonable solution to my problem adding a maven submodule, 
and in the main pom.xml I just added this:


App-client
App-module-user
App-shared
App-server


in the "App-client” pom.xml (this is the main GWT app) I just added:


${project.groupId}
 App-module-user
${project.version}
gwt-lib


and last this is the pom.xml file for the App-module-user:

http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
4.0.0


net.morettoni.test
App
master


App-module-user
gwt-lib


${mavenVersion}




${project.groupId}
App-shared
${project.version}


${project.groupId}
 App-shared
${project.version}
sources


com.google.gwt
gwt-user




junit
junit






net.ltgt.gwt.maven
gwt-maven-plugin


net.morettoni.test.App.User






Hope this may help others!
A special Thanks to Thomas for the FANTASTIC plugin!!!

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: best practices for modular GWT app

2016-10-12 Thread Luca Morettoni

> On 12 Oct 2016, at 19:05, Kirill Prazdnikov <pkir...@gmail.com> wrote:
> 
> As far as I know you need only one GWT maven module that builds the app. 
> The rest modules are just regular (platform independent) modules 
> (jar) and the gwt-app module depends on it.
> 
> So for the client app u have 2: main GWT module (A) with GWT specific code 
> and GWT dependencies and a plain jar module (B) with shared (with server) 
> logic. 
> And the A depends on B.


Thanks for the hint, but I think the configuration I used don’t allow the SDM 
to recompile the code if I will so some changes in the submodules; that was 
related to the gwt-maven-plugin I used in my project.

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: best practices for modular GWT app

2016-10-12 Thread Luca Morettoni

> On 12 Oct 2016, at 10:29, Luca Morettoni <l...@morettoni.net> wrote:
> 
> Hi all, currently my application is using a single module for the GWT code, 
> but I’d like to split it in some submodules to better organize the code.
> Everything is under maven and I organised the main project layout using 
> Thomas Broyer gwt-maven-archetypes [1], so now I have a main maven project 
> and its 3 submodules (client, shared and server): my goal is to have the 
> client submodule that will use the new GWT-submodules, but which is the best 
> approach?
> 
> - I will add other maven submodules and I will put there the code?
> - I will continue to use only one maven submodule for the client and there I 
> will split the GWT code in different submodules?
> 
> Thanks for any hints!
> 
> [1]https://github.com/tbroyer/gwt-maven-archetypes 
> <https://github.com/tbroyer/gwt-maven-archetypes>
I think I need to use generate-module [2], but I can’t find any sample or some 
extra details on how to use it, any help?


[2] https://tbroyer.github.io/gwt-maven-plugin/generate-module-mojo.html

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


best practices for modular GWT app

2016-10-12 Thread Luca Morettoni
Hi all, currently my application is using a single module for the GWT code, but 
I’d like to split it in some submodules to better organize the code.
Everything is under maven and I organised the main project layout using Thomas 
Broyer gwt-maven-archetypes [1], so now I have a main maven project and its 3 
submodules (client, shared and server): my goal is to have the client submodule 
that will use the new GWT-submodules, but which is the best approach?

- I will add other maven submodules and I will put there the code?
- I will continue to use only one maven submodule for the client and there I 
will split the GWT code in different submodules?

Thanks for any hints!

[1]https://github.com/tbroyer/gwt-maven-archetypes
--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Using different .gwt.xml in super-dev-mode

2016-05-02 Thread Luca Morettoni

> On 02 May 2016, at 12:33, Thomas Broyer <t.bro...@gmail.com> wrote:
> 
> Starting with 2.8.0-beta1, you can set properties from the command-line with 
> "-setProperty compiler.stackMode=emulated".
> You could also use a conditional set-property so it's only set when in SDM 
> (works in 2.7 and 2.6):
> 
> 
>   
> 

thanks, that solution is perfect!
Another question: where I can find a list of this “properties”?

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Using different .gwt.xml in super-dev-mode

2016-05-02 Thread Luca Morettoni
Hi list! In a big project I need to use a different .gwt.xml file 
because I’d like to disable some “memory consuming options” I have in that 
file, like:



My project is currently splitted in three different subproject (client, server 
and shared), and the client subproject uses two main configuration profiles: 
dev (the active by default) and production that is enabled only when we build 
the final war file.

My first idea is to have two different /src/main/resources for dev and 
production, but I will prefer to know if there are any other possible solution 
for my config!

Thanks to all!

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


User interface, which one?!?

2016-01-18 Thread Luca Morettoni
Hi list! Finally I had the green light to change the UI of our GWT-based 
application and I’m in front of a huge wall!
Actually the application uses 100% of GWT-widgets for the user interface, my 
idea is to totally remove the dependency to that widgets to get ready for the 
future versions of GWT (Jackal?), but which approach is the best one?

- polymer/material design approach need to be discarded (designers don’t like 
that, full stop), so I can’t use it!
- gwt-bootstrap i think is just a bootstrap CSS applied over the actuals GWT 
widget, so could become deprecated soon[1]?
- could be the choice of bootstrap (or any others) “plain-CSS” approach, 
engaged with gQuery[2] to control the html-widgets from the code-side a right 
way to create now an UI with an eyes on the “future” of GWT?

Thanks in advance for any contribution to this thread!


[1]https://github.com/gwtbootstrap3/gwtbootstrap3/issues/281
[2]https://github.com/gwtquery/gwtquery

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: User interface, which one?!?

2016-01-18 Thread Luca Morettoni

> On 18 Jan 2016, at 16:25, Alain Ekambi <jazzmatad...@gmail.com> wrote:
> 
> Personally I dont know why people are  trying to optimise their code for 
> something that s not there. Something no one knows when it will come and how 
> it will be.


that change on my project will involve the effort of 6/7 programmers and some 
months of work, imagine if at the end of this operation (that will cost money 
to the company) we need to start from zero because the system we used become 
unmaintained and/or deprecated… a good choice now could save money, angry 
peoples and long nights spent for nothing! :)

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: two widgets communication

2015-10-02 Thread Luca Morettoni
On Fri, Oct 2, 2015 at 11:44 AM, naveen gayar <navind...@gmail.com> wrote:
> Hi
>
> I have widget on the left side and the widget on the right side. When i
> click the button in the left side, it should change the content in the right
> side widget.

this article could be a good start:

http://www.gwtproject.org/articles/mvp-architecture.html

-- 
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: (modern) chart system for GWT

2015-09-28 Thread Luca Morettoni
On Mon, Sep 28, 2015 at 3:07 PM, ronifabio <ronifa...@gmail.com> wrote:
> I use GWT-charts.
> https://code.google.com/p/gwt-charts/
> http://gwt-charts.appspot.com/
> https://github.com/google/gwt-charts

but it uses Google charts... and if I remember well we need to be
connected to have the chart rendered...

-- 
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Plugin Problem

2015-08-21 Thread Luca Morettoni
On Fri, Aug 21, 2015 at 7:54 AM, Vivekanand Bhatt
vivekanandbha...@gmail.com wrote:
 Hi,

 After installing gwt plugin in chrome it is still showing install missing
 plugin. Why??

because it is obsolete, please follow this article:

http://www.gwtproject.org/articles/superdevmode.html

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


(modern) chart system for GWT

2015-08-18 Thread Luca Morettoni
Hello, in my GWT app to render some dynamics chart on client side I
used Client Side GChart project [1], everything work fine, but we're
going to refresh the application user interface and we like to have
a more fresh and modern chart system.
The structure of the project requires:

• the rendering of the charts can't use external servers, so we can
immediately exclude Google Visualisation API;

• we can't use any external plugin in the browser to render the charts
(like Flash);

• we need to interact with the charts (handle user clicks on the curves)

I started to evaluate some packages, but I have found some limits and
difficulties and I'd like to know your experience or if you have other
package to evaluate:

• GWT Highcharts [2] looks well structured, easy to use and has a good
documentation, but I have found a lot of troubles using it in our
project and I can't render any charts, I need to investigate the
source of the issue;

• gflot [3] I like this package, the problem is the documentation;

• D3js [4] this is the last resort, but using it require a lot of code
to render a simple chart


Thanks for any hints!

[1]https://code.google.com/p/clientsidegchart/
[2]http://www.moxiegroup.com/moxieapps/gwt-highcharts/
[3]https://github.com/nmorel/gflot
[4]https://github.com/gwtd3/gwt-d3

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Material Design

2015-03-30 Thread Luca Morettoni
On Fri, Feb 6, 2015 at 6:51 AM, mark kevin ringor kevzlou7...@gmail.com wrote:
 Hi to all,

 We are a team of GWT Developers to implement the GWT Material Design with
 the help MaterializeCSS (http://materializecss.com/). We
 are doing our best to integrate the Features to be able to integrate inside
 GWT Applications.

Looks great! There is any plan to have it in Maven?

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.7.0 is here

2014-11-20 Thread Luca Morettoni
Well done Daniel (and all the GWT developer community)!! Proud to have
met you in Firenze!

On Thu, Nov 20, 2014 at 12:11 PM, Juan Pablo Gardella
gardellajuanpa...@gmail.com wrote:
 Awesome!!

 On 20 November 2014 07:59, Daniel Kurka danku...@google.com wrote:

 Today we are excited to announce the GWT 2.7.0 release.  Thanks to
 everyone who contributed to this release, especially our non-Google open
 source contributors.

 One major feature of this release is a new super fast compilation path in
 Super Dev mode that replaces the old dev mode.
 For a run-down of all changes since GWT 2.6.1, read the release notes.

 The release is available for download here or on maven central.

 If you find any issues with this release, please file a bug in our issue
 tracker.

 Daniel,
 on behalf of the GWT team at Google

 --
 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 this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


 --
 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 this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.



-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6 RC1 DevMode log4j fail?

2014-06-12 Thread Luca Morettoni
On Sat, May 31, 2014 at 1:34 AM, Thomas Broyer t.bro...@gmail.com wrote:
 The link you just quoted above:
 https://github.com/tbroyer/gwt-maven-archetypes ;-)

I'm too old to this job!!!
Thanks! Fantastic example!

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6 RC1 DevMode log4j fail?

2014-05-30 Thread Luca Morettoni
On Tue, Feb 18, 2014 at 3:22 PM, Thomas Broyer t.bro...@gmail.com wrote:
 Yes.
 (the instead of bit depends on your project; I keep thinking that if you
 mix client-side and server-side code in the same Maven module, then you're
 doing it wrong; Maven wants you to modularize your project, and it really
 works great; see https://github.com/tbroyer/gwt-maven-archetypes for
 examples)

Hello Thomas (and list), I'm thinking to split my current GWT in
some submodules also to avoid the problem in thread (actually we
have GWT 2.5.1).
I see the example in [1], but it focus on multi-maven modules on the
client-side, do you know if there are any other example/best
practices for client/server code splitting?


[1]http://mojo.codehaus.org/gwt-maven-plugin/user-guide/multiproject.html

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Compiling for IE8

2013-01-30 Thread Luca Morettoni
I have that as the first line of my code, but the server don't receive
any line to log.
I think there is some strange think on that IE installation that
produce that error on the client.

On Wed, Jan 30, 2013 at 2:56 PM, Thomas Broyer t.bro...@gmail.com wrote:


 On Wednesday, January 30, 2013 8:59:29 AM UTC+1, Luca Morettoni wrote:

 On Thu, Jan 17, 2013 at 9:08 AM, Thomas Broyer t.br...@gmail.com wrote:
  I've got a fairly complex RIA application involving GWT 2.5 and GXT
  3.0.1,
  and I noticed that changing compiler flags (like optimization level)
  doesn't
  improve (and even degrades) performance in IE8.
  So, could anyone help me out: what are the best compiler settings for
  performance in IE8 in production mode.

 About IE8 browser, I have a GWT application that work fine under IE8,
 and crash in another PC with the same version of IE and O.S.
 The problem comes when the browser start to load the initial
 application page, and the error is:

 Message: Exception thrown and not caught
 Line: 4239
 Char: 150
 Code: 0

 any idea/hint? I can't debug directly into the customer browser... :(


 Try adding a GWT.UncaughtExceptionHandler that possibly sends the error up
 to the server (have a look at
 https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging#Remote_Logging
 or
 http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/HttpThrowableReporter.html#installUncaughtExceptionHandler(java.lang.String))
 See also http://msdn.microsoft.com/en-us/library/ie/w4e7h3yz(v=vs.94).aspx

 --
 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 this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
Google+ profile: http://bit.ly/morettoni_plus
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Compiling for IE8

2013-01-29 Thread Luca Morettoni
On Thu, Jan 17, 2013 at 9:08 AM, Thomas Broyer t.bro...@gmail.com wrote:
 I've got a fairly complex RIA application involving GWT 2.5 and GXT 3.0.1,
 and I noticed that changing compiler flags (like optimization level) doesn't
 improve (and even degrades) performance in IE8.
 So, could anyone help me out: what are the best compiler settings for
 performance in IE8 in production mode.

About IE8 browser, I have a GWT application that work fine under IE8,
and crash in another PC with the same version of IE and O.S.
The problem comes when the browser start to load the initial
application page, and the error is:

Message: Exception thrown and not caught
Line: 4239
Char: 150
Code: 0

any idea/hint? I can't debug directly into the customer browser... :(

--
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
Google+ profile: http://bit.ly/morettoni_plus
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Developer Plugin for Firefox 8

2011-11-10 Thread Luca Morettoni
On Thu, Nov 10, 2011 at 4:52 PM, Samyem Tuladhar sam...@gmail.com wrote:
 Thanks. Worked for me as well. Wonder if the GWT official team would be able
 to pick this up and offer through the official channel.

and it's incredible that the chrome plugin is tremendous slower than the ff one!

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni
Member of Python User Group Perugia: http://www.pypg.org/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



TabLayoutPanel inside TabLayoutPanel (IE problem?)

2011-05-16 Thread Luca Morettoni
Hello list, I have a GWT 2.2  application that the main UI is based on
a big TabLayoutPanel that use all the page size (100%), on a
particular tab of that I have a FlexTable with 3 rows:

- one FlexTable (width=100%, no heigth);
- one TabLayoutPanel (width=100%, no heigth);;
- one FlexTable (width=100%, no heigth);;

the two inner FlexTables has a small heigth and I set the rows height to:

getFlexCellFormatter().setHeight(0, 0, 5%);
getFlexCellFormatter().setHeight(1, 0, 90%);
getFlexCellFormatter().setHeight(2, 0, 5%);

with this code on FireFox and Chrome the layout is perfect, but in
IInternet Explorer (8  9) I loose the bottom part of the inner
TabLayoutPanel and the last FlexTable...
Any hint to resolve this?
Thanks!
-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni
Member of Python User Group Perugia: http://www.pypg.org/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Visibility event of a Composite

2011-04-18 Thread Luca Morettoni
Hello list, I have a composite widget (that wrap some controls) but I
need to know when the widget become visible and invisible;
for example if I put two different instance of my widget on two
different tab of TabLayoutPanel just one at time could be visible and
I need to know (by the widget code) when the visibility changes, there
is a way to do that?
Sorry if I'm little out of topic...
Thanks!

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



ButtonCell on some CellTable rows

2011-04-04 Thread Luca Morettoni
Hello list, I have a CellDataTable that display some object of my
application; some of that object could be added manually by the user
and other are fetched from the server; the user can delete only the
ones added by hand, for this I have a column on my table that render a
Button, when the user click I need to check if the data row is manual
or not before removing it; there is a way to don't render a cell
depending on a specific value?
This is the current code:

// table declaration:
CellTableMyDataProxy table;

// Only manual added rows can be deleted
ColumnCompoundDataProxy, String deleteColumn = new
ColumnMyDataProxy, String(
new ButtonCell()) {
public String getValue(CompoundDataProxy c) {
return Delete;
}
};
deleteColumn
.setFieldUpdater(new FieldUpdaterMyDataProxy, String() {
public void update(int index, MyDataProxy c,
String value) {
if (c.isManualAdded())
removeDataFromList(c);
}
});
table.addColumn(deleteColumn, );

thanks!
-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ButtonCell on some CellTable rows

2011-04-04 Thread Luca Morettoni
2011/4/4 Luca Morettoni l...@morettoni.net:
 Hello list, I have a CellDataTable that display some object of my
 application; some of that object could be added manually by the user
 and other are fetched from the server; the user can delete only the
 ones added by hand, for this I have a column on my table that render a
 Button, when the user click I need to check if the data row is manual
 or not before removing it; there is a way to don't render a cell
 depending on a specific value?
 This is the current code:

            // table declaration:
            CellTableMyDataProxy table;

            // Only manual added rows can be deleted
            ColumnMyDataProxy, String deleteColumn = new
 ColumnMyDataProxy, String(
                    new ButtonCell()) {
                public String getValue(CompoundDataProxy c) {
                    return Delete;
                }
            };


resolved, I just overrided the render method:

ColumnMyDataProxy, String deleteColumn = new
ColumnMyDataProxy, String(
new ButtonCell()) {
public String getValue(MyDataProxy c) {
return Delete;
}

@Override
public void render(Context context,
MyDataProxy c, SafeHtmlBuilder sb) {
if (c.isManualAdded())
super.render(context, c, sb);
}
};

and the button is rendered only for manual added informations!

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory and related object persistence

2011-03-23 Thread Luca Morettoni
2011/3/22 Thomas Broyer t.bro...@gmail.com:
 Have a look
 at http://code.google.com/p/google-web-toolkit/issues/detail?id=5776 and
 related bugs.

thanks, at the moment I fire two persistence request (one for A
update) and a second for B changes...

I'll hope to see that fixed in next releases...

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



RequestFactory and related object persistence

2011-03-22 Thread Luca Morettoni
Hello list, I have this type of information on the ORM (Hibernate)

@Entity
class A {
  // id, version, getter and setter omitted
  String name;
  @ManyToMany(cascade = CascadeType.ALL)
  private ListB selections = new ArrayListB();
}

@Entity
class B {
  // id, version, getter and setter omitted
  Boolean accepted;
}

now on the client side I can edit A entity with:

AProxy editableA = request.edit(returnedA);
editableA.setName();

RequestVoid updateReq = request.persist().using(editableA);
updateReq.fire(...);

and on the db I got the new name xxx.
But if I'll add this to change some values into B instance:

editableA.getSelections().get(1).setAccepted(true);

the changes are not stored into db!
I try to change the persist call with:

request.persist().using(editableA).with(selections).fire(...)

but nothing changes :(
any hints?
-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



removing focus border from CellTable cells

2011-03-11 Thread Luca Morettoni
I'm using a CellTable inside a project, all works file, but when I
click on a cell of the table I can see around clicked cell a
light-blue border, I checked CellTable css[1] but I can't find
anythings useful; I try to add this to my css:

.cellTableSelectedRowCell {
}

but the borser still there... any hint?

[1]http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/cellview/client/CellTable.css
-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: removing focus border from CellTable cells

2011-03-11 Thread Luca Morettoni
2011/3/11 Luca Morettoni l...@morettoni.net:
 I'm using a CellTable inside a project, all works file, but when I
 click on a cell of the table I can see around clicked cell a
 light-blue border, I checked CellTable css[1] but I can't find
 anythings useful; I try to add this to my css:

in attach you can see the border, just around the checkbox cell...

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

attachment: border.png

multiple client request with RequestFactory

2011-02-16 Thread Luca Morettoni
Hello list, I have this scenario in a test project:

An Entity objects like this

class TestEntity {
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Long id;
  @Version
  @Column(name = version)
  private Integer version;
  @ManyToMany(cascade = CascadeType.ALL)
  private ListOtherEntity group1 = new ArrayListOtherEntity();
  @ManyToMany(cascade = CascadeType.ALL)
  private ListOtherEntity group2 = new ArrayListOtherEntity();
  @ManyToMany(cascade = CascadeType.ALL)
  private ListOtherEntity group3 = new ArrayListOtherEntity();

  // getter, setters and other methos
}

on the client I create all the requests (Proxies, RequestFactory ecc..)

and if I use this all work fine:

  final EventBus eventBus = new SimpleEventBus();
  requestFactory = GWT.create(TestEntityRequestFactory.class);
  requestFactory.initialize(eventBus);
  TestRequest request = requestFactory.testRequest();

  request.findTestEntity(1L)
.with(group1).with(group2).with(group3)
  .fire(new ReceiverTestEntityProxy() {
@Override
public void onSuccess(TestEntityProxy e) {
  // we can use e
}
  });

but if I want to do separare request for every group I need to
complete the first request and make the second request inside the
onSuccess method... there is another way to do this? I mean somethinks
like this:

  request.findTestEntity(1L)
.with(group1)
  .fire(new ReceiverTestEntityProxy() {
@Override
public void onSuccess(TestEntityProxy e) {
  // we can use e.group1
}
  });


  request.findTestEntity(1L)
.with(group2)
  .fire(new ReceiverTestEntityProxy() {
@Override
public void onSuccess(TestEntityProxy e) {
  // we can use e.group2
}
  });

ecc..
Thanks for the hints!

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: multiple client request with RequestFactory

2011-02-16 Thread Luca Morettoni
2011/2/16 Thomas Broyer t.bro...@gmail.com:
 A RequestContext can contain more than one invocation, but can only be
 fire()d once.
 context.findTestEntity(1L).with(group1).to(some receiver);
 context.findTestEntity(1L).with(group2).to(some other receiver);
 context.fire(); // with or without receiver
 This is however useless, as all invocations (calls to findTestEntity) will
 be batched as a single HTTP request.
 So, in your case, you have to create a new RequestContext for each
 invocation:
 factory.testRequest().findTestEntity(1L).with(group1).fire(...);
 factory.testRequest().findTestEntity(1L).with(group2).fire(...);

thanks Thomas, all work fine!!!
Where can I found more details (like yours) about RequestFactory?

-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Generated Maven pom.xml does not add GWT project natures

2011-01-17 Thread Luca Morettoni
2011/1/2 Cheng Lee cheng@gmail.com:
 Hi GWT gurus,

 I'm generating an Eclipse project using webAppCreator. The project is
 created but the pom.xml does not contain the appropriate GWT project
 nature, meaning the application can't be launched as Web Application
 because the Project does not use GWT or GAE. The usual sequence to
 launch the app by right clicking the project root - Run As - Web
 Application is not available since it's not a GWT project.

you could check here:
http://code.google.com/eclipse/docs/faq.html#gwt_with_maven

and about the debugging phase you can read the generated README.TXT
file under your project subdir...


-- 
Luca Morettoni luca(AT)morettoni.net | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.