Re: Superdev doesn't work with GWT 2.8.2 & IntelliJ 14

2020-04-02 Thread Stefan Bicher
Had the same problem today (with IntelliJ 2019.3 - quite updated) and it 
turned out, I had to reimport my Maven Project, on which I started the 
Super-Dev-Mode (Right Click in the Project Explorer -> Maven -> Reimport)
After that all went well.

BTW, the problem occured after I deleted my local maven repo and built our 
project from scratch.

Am Dienstag, 30. Januar 2018 16:26:53 UTC+1 schrieb BM:
>
> When I start the debug mode I get following error in the IJ.
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> cern/colt/map/OpenIntObjectHashMap
> at com.google.gwt.dev.util.collect.IntMultimap.(IntMultimap.java:28)
> at 
> com.google.gwt.dev.StringAnalyzableTypeEnvironment.(StringAnalyzableTypeEnvironment.java:68)
> at 
> com.google.gwt.dev.MinimalRebuildCache.(MinimalRebuildCache.java:192)
> at 
> com.google.gwt.dev.CompilerContext$Builder.(CompilerContext.java:37)
> at com.google.gwt.dev.DevModeBase.(DevModeBase.java:636)
> at com.google.gwt.dev.DevMode.(DevMode.java:463)
> at com.google.gwt.dev.DevMode.main(DevMode.java:430)
> Caused by: java.lang.ClassNotFoundException: 
> cern.colt.map.OpenIntObjectHashMap
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 7 more
> Disconnected from the target VM, address: '127.0.0.1:53044', transport: 
> 'socket'
>
> Process finished with exit code 1
>
>
> Please advise.
>
>
>

-- 
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/8101cc35-9324-4b00-8cf5-6d51baa63cbe%40googlegroups.com.


Re: GWT Material Design Addins

2016-06-20 Thread Stefan Falk
I'd recommend posting such issues on https://github.com/GwtMaterialDesign

You can also visit those guys 
on https://gitter.im/GwtMaterialDesign/gwt-material

It's quite active in there so give it a try :)

On Monday, 20 June 2016 00:39:47 UTC+2, Velusamy Velu wrote:
>
> Thank you, your response triggered me to revisit this issue. I made two 
> changes to my code and tested successfully.
>
>1. Upgraded to gwt-material-1.5.1.jar 
>2. Changed the name space to 
>xmlns:ma="urn:import:gwt.material.design.addins.client.window" 
>and declared the window as--> 
> It works now. If I follow what's suggested in the documentation (
> http://gwtmaterialdesign.github.io/gwt-material-demo/#window) it still 
> fails.
>
> I hope it helps.
>
> On Sunday, June 19, 2016 at 5:40:51 AM UTC-4, Jaroslav Záruba wrote:
>>
>> Reading your message again I believe I misunderstood your issue. I got 
>> nothing rendered, you are referring to invalid UiBinder XML.
>>
>> Dne středa 11. května 2016 18:07:09 UTC+2 Velusamy Velu napsal(a):
>>>
>>> I followed these steps to use the MaterialWindow addin from the 
>>> gwt-material-addins-1.5.0.jar in an application.
>>>
>>>1. Downloaded gwt-material-addins-1.5.0.jar and added to 
>>>application's build path in Eclipse.
>>>2. Added the line  in the ..gwt.xml
>>>3. Added the line 
>>>xmlns:ma="urn:import:gwt.material.design.addins.client" in the 
>>>UiBinder.
>>>4. Then started adding the line >>"window" width="50%" title="Documents"> in the UiBinder 
>>>
>>> But MaterialWindow is not visible to the UiBinder.  Any idea what could 
>>> be wrong?
>>>
>>

-- 
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: GWT Material - Video tutorial #1

2016-06-12 Thread Stefan Falk
Awesome! Great work :)

On Friday, 10 June 2016 10:00:53 UTC+2, mark kevin ringor wrote:
>
> We've just released our gwt-material  first video tutorial - Project Setup 
> using gwt-material-archetype with Eclipse IDE and Intelij IDEA.
> Also during weeked we will do some shooting to provide the next tutorial 
> series.
>
> https://www.youtube.com/watch?v=sEVqfqDUOpE
>

-- 
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.


GWT Servlet - How can I get rid of /app prefix in my requests?

2016-06-12 Thread Stefan Falk
I don't know why but all requests are forcing me to to map each Servlet to 
something like



xsrf
/app/xsrf



whatever
/app/whatever



and so on. I can't find anything that is actually setting the "base url" to 
e.g. localhost:8080/app for all requests but does anybody know how I can 
change that?



-- 
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.


XsrfProtectedServiceServlet and subject to change. Do not use this in production code.

2016-06-07 Thread Stefan Falk
Since GWT 2.8.0 is going to be released sooner or later I'd just like to 
ask if anything is actually going to change in this class - because if not 
maybe someone could remove that comment. :D

-- 
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: Sorting cell table columns populated from gwt rpc not working

2016-05-13 Thread Stefan Bylund
Try to replace this line:
ListHandler listHandler = new ListHandler(result);

with the following line:
ListHandler listHandler = new 
ListHandler(dataProvider.getList());

I would also create the ListHandler, set its comparators and adding it to 
the table outside of the async callback when creating the table. The 
ListDataProvider can also be created initially with the table. Then you 
only need to update the ListDataProvider in your async callback.

/Stefan

-- 
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: Cannot get rich log messages from java.util.logging.Logger

2016-04-25 Thread Stefan Falk
Sorry, my bad! This is finally working! Thanks you very much for that! :D

On Tuesday, 19 April 2016 10:26:49 UTC+2, Pavlo Iatsiuk wrote:
>
> Hello,
>
> There are a few settings which allow to print more. Here is my logging 
> settings:
>
> 
> 
> 
> 
> 
> 
>  name="compiler.emulatedStack.recordLineNumbers" value="true"/>
>  value="true"/>
>
>
>
>
>
> On Thursday, April 14, 2016 at 11:58:53 PM UTC+2, Stefan Falk wrote:
>>
>> Can somebody take a look at my question [1] on stackoverflow?
>>
>> My problem is that I am not getting the full package name or anything 
>> else but the raw log message printed to the log window.
>>
>> So instead of something like
>>
>> com.company.more.packages.MyObject - Hello World!
>>
>>
>> I am  just getting
>>
>> Hello World!
>>
>>
>> and I have no idea what the problem is ..
>>
>> Thank you for any help!
>>
>> BR; Stefan
>>
>> [1] 
>> http://stackoverflow.com/questions/36634580/why-am-i-not-getting-the-whole-class-path-added-to-my-log-messages
>>
>

-- 
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: Cannot get rich log messages from java.util.logging.Logger

2016-04-25 Thread Stefan Falk
Commenting 



out makes it compile but I still don't get package paths printed out ..

On Monday, 25 April 2016 12:41:19 UTC+2, Stefan Falk wrote:
>
> If I use this I am getting
>
>  Property 'gwt.logging.popupHandler' not found
>
> :/ Any idea why this does not work for me?
>
> On Tuesday, 19 April 2016 10:26:49 UTC+2, Pavlo Iatsiuk wrote:
>>
>> Hello,
>>
>> There are a few settings which allow to print more. Here is my logging 
>> settings:
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> > name="compiler.emulatedStack.recordLineNumbers" value="true"/>
>> > value="true"/>
>>
>>
>>
>>
>>
>> On Thursday, April 14, 2016 at 11:58:53 PM UTC+2, Stefan Falk wrote:
>>>
>>> Can somebody take a look at my question [1] on stackoverflow?
>>>
>>> My problem is that I am not getting the full package name or anything 
>>> else but the raw log message printed to the log window.
>>>
>>> So instead of something like
>>>
>>> com.company.more.packages.MyObject - Hello World!
>>>
>>>
>>> I am  just getting
>>>
>>> Hello World!
>>>
>>>
>>> and I have no idea what the problem is ..
>>>
>>> Thank you for any help!
>>>
>>> BR; Stefan
>>>
>>> [1] 
>>> http://stackoverflow.com/questions/36634580/why-am-i-not-getting-the-whole-class-path-added-to-my-log-messages
>>>
>>

-- 
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: Cannot get rich log messages from java.util.logging.Logger

2016-04-25 Thread Stefan Falk
If I use this I am getting

 Property 'gwt.logging.popupHandler' not found

:/ Any idea why this does not work for me?

On Tuesday, 19 April 2016 10:26:49 UTC+2, Pavlo Iatsiuk wrote:
>
> Hello,
>
> There are a few settings which allow to print more. Here is my logging 
> settings:
>
> 
> 
> 
> 
> 
> 
>  name="compiler.emulatedStack.recordLineNumbers" value="true"/>
>  value="true"/>
>
>
>
>
>
> On Thursday, April 14, 2016 at 11:58:53 PM UTC+2, Stefan Falk wrote:
>>
>> Can somebody take a look at my question [1] on stackoverflow?
>>
>> My problem is that I am not getting the full package name or anything 
>> else but the raw log message printed to the log window.
>>
>> So instead of something like
>>
>> com.company.more.packages.MyObject - Hello World!
>>
>>
>> I am  just getting
>>
>> Hello World!
>>
>>
>> and I have no idea what the problem is ..
>>
>> Thank you for any help!
>>
>> BR; Stefan
>>
>> [1] 
>> http://stackoverflow.com/questions/36634580/why-am-i-not-getting-the-whole-class-path-added-to-my-log-messages
>>
>

-- 
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.


Cannot get rich log messages from java.util.logging.Logger

2016-04-14 Thread Stefan Falk
Can somebody take a look at my question [1] on stackoverflow?

My problem is that I am not getting the full package name or anything else 
but the raw log message printed to the log window.

So instead of something like

com.company.more.packages.MyObject - Hello World!


I am  just getting

Hello World!


and I have no idea what the problem is ..

Thank you for any help!

BR; Stefan

[1] 
http://stackoverflow.com/questions/36634580/why-am-i-not-getting-the-whole-class-path-added-to-my-log-messages

-- 
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.


How can I set the parent of an Element?

2016-03-28 Thread Stefan Falk
I am "injecting" HTML code into a contenteditable . Since any content 
there could potentially be removed with e.g. BACKSPACE, I want to know when 
this elements are getting detached in order to remove the whole panel from 
the parent contenteditable div.

However, these events don't seem to work. I managed to get events like 
Event.ONKEYPRESS etc. but no Attach/DetachEvent.

I also tried a MutationObserver [1] - this is giving me at least the 
attach/detach event but the problem is that the elements which are coming 
in, at least those of which I am interested in, do not have a parent.

You can have a look at the code on my github repository if you want but 
please keep in mind this is just my own experimental stuff. Here [2] is how 
I "inject" the HTML code into the contenteditable at the caret position and 
here [3]
you can see the line where I have the problem of the parent being null.

Widget does have a setParent() method but I cannot override it.

[1] 
https://github.com/ArcBees/gwtquery-elastic-plugin/blob/master/elastic/src/main/java/com/arcbees/gquery/elastic/client/MutationObserver.java
[2] 
https://github.com/silentsnooc/contenteditable-textarea/blob/master/contenteditable-client/src/main/java/com/contenteditable/widget/MentionPanel.java#L203
[3] 
https://github.com/silentsnooc/contenteditable-textarea/blob/master/contenteditable-client/src/main/java/com/contenteditable/widget/MentionPanel.java#L60

-- 
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: Why can I not extend java.util.Date?

2016-03-24 Thread Stefan Falk
My main problem here is that on the server side everything is following the 
ISO standard MONDAY = 1, TUESDAY = 2, .. etc and since we only got Date on 
he client things can get mixed up. This is why I thought I could 
wrap/extend Date and just override the getDay() method in order to

   - have the mapping exactly where I need it and
   - get rid of all the deprecation warnings in my code as I use only MyDate

I agree with you.. Dates are very hard to handle and I really hate it 
actually ^^ That is even more a reason for me to get things straight with 
my client and server. Having to call another method from another util class 
is also just not what I am looking for - it can also be forgotten somewhere.

Speaking of Date .. will there actually be support for all of the fancy 
Date/Time stuff that came with Java 8? Again, like you said, working with 
Dates is very hard sometimes so imho it would be very important to get 
there with GWT. But I understand that this might also not be that easy and 
it must have a particular reason why it's not yet there.




On Tuesday, 22 March 2016 16:01:11 UTC+1, Chad Vincent wrote:
>
> 1) Dates are very, very, very hard.  Calendar idiosyncrasies, time zones, 
> leap seconds...  Be 100% sure you need to actually extend Date before 
> messing with it.
> 2) You are probably better off putting your method (presuming this is the 
> only one) in a custom utility class instead of extending Date so you don't 
> alter the functionality of any other libraries you use that aren't 
> expecting DOW to be non-standard.
> getCustomDay(Date date) {
>   if (date.getDay() == 0)
> return 7;
>   return date.getDay();
> }
>
>
>
> On Sunday, March 20, 2016 at 12:24:09 PM UTC-5, Stefan Falk wrote:
>>
>> Working with Date is a nightmare.. so beforehand: Any advice regarding 
>> work with time and date in GWT are very welcome!
>>
>> Why do my requests silently fail if I do this:
>>
>> public class AwesomeDate extends java.util.Date {
>>
>>   public final static int MONDAY = 1; 
>>   public final static int TUESDAY = 2; 
>>   public final static int WEDNESDAY = 3; 
>>   public final static int THURSDAY = 4; 
>>   public final static int FRIDAY = 5; 
>>   public final static int SATURDAY = 6; 
>>   public final static int SUNDAY = 7;
>>
>>   @Override
>>   public int getDay() { 
>> switch(super.getDay()) { 
>> case 1:
>>   return MONDAY;
>> case 2:
>>   return TUESDAY;
>> case 3:
>>   return WEDNESDAY;
>> case 4:
>>   return THURSDAY;
>> case 5:
>>   return FRIDAY;
>> case 6:
>> return SATURDAY;
>>   case 0:
>>   return SUNDAY;
>> } 
>> throw new RuntimeException();
>>   }
>> }
>>
>>
>> and then
>>
>> AwesomeDate fromDate = ..
>> AwesomeDate toDate = ..
>>
>> myObjectEnter.request(fromDate, toDate, onSuccess, onFailure);
>>
>>
>> where
>>
>> MyObject#request(Date from, Date to, OnSuccess success, 
>> OnFailure failure);
>>
>>
>> Because if I do that my request does simply nothing. It's not even 
>> getting sent off.. I have an object that takes care for parallel requests
>>
>>  for (ParallelizableRequest parallelizableRequest : this.childRequests
>> ) {
>>parallelizableRequest.request();
>>  }
>>
>> but that request that is using AwesomeDate is simply not being executed. 
>> In the JavaScript debugger I see that the list childRequests contains two 
>> elements but that's all I can tell.
>>
>> Any ideas?
>>
>

-- 
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.


Why can I not extend java.util.Date?

2016-03-20 Thread Stefan Falk
Working with Date is a nightmare.. so beforehand: Any advice regarding work 
with time and date in GWT are very welcome!

Why do my requests silently fail if I do this:

public class AwesomeDate extends java.util.Date {

  public final static int MONDAY = 1; 
  public final static int TUESDAY = 2; 
  public final static int WEDNESDAY = 3; 
  public final static int THURSDAY = 4; 
  public final static int FRIDAY = 5; 
  public final static int SATURDAY = 6; 
  public final static int SUNDAY = 7;

  @Override
  public int getDay() { 
switch(super.getDay()) { 
case 1:
  return MONDAY;
case 2:
  return TUESDAY;
case 3:
  return WEDNESDAY;
case 4:
  return THURSDAY;
case 5:
  return FRIDAY;
case 6:
return SATURDAY;
  case 0:
  return SUNDAY;
} 
throw new RuntimeException();
  }
}


and then

AwesomeDate fromDate = ..
AwesomeDate toDate = ..

myObjectEnter.request(fromDate, toDate, onSuccess, onFailure);


where

MyObject#request(Date from, Date to, OnSuccess success, 
OnFailure failure);


Because if I do that my request does simply nothing. It's not even getting 
sent off.. I have an object that takes care for parallel requests

 for (ParallelizableRequest parallelizableRequest : this.childRequests) {
   parallelizableRequest.request();
 }

but that request that is using AwesomeDate is simply not being executed. In 
the JavaScript debugger I see that the list childRequests contains two 
elements but that's all I can tell.

Any ideas?

-- 
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: Deploy GWT App to Google App Engine

2016-03-20 Thread Stefan Falk
Hi Gilberto! :)

In fact I saw your comment and I planned to reply as soon as I was going to 
give the deployment another try XD

My project is at the moment still a little away from actually being 
deployed to the web but I wanted to build my own toolchain for deployment. 

At the moment I am very busy with my actual work and university - but I 
will take a look and update my question on SO with the trace output as you 
suggested.

Thank you for helping me here! :)

On Monday, 14 March 2016 01:01:17 UTC+1, Gilberto wrote:
>
> Hi Stefan,
>
> Did you manage to get it working?
>
> I put a comment on the SO question you made, but I think you didn't see 
> yet.
>
> I have multiple GWT projects running on App Engine, and one of them is 
> open-sourced, maybe it can help you out: 
> https://github.com/gilberto-torrezan/feel-vision (I didn't use any 
> archetypes).
>

-- 
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.


Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Stefan Falk
HI!

I recently stepped over Lombok [1],[2] and saw that it can be used with 
GWT. Did anybody of you guys ever use it with GWT?

Does it pay off or is it unnecessary?

BR; Stefan


[1] https://projectlombok.org/index.html
[2] https://github.com/rzwitserloot/lombok

-- 
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: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Stefan Falk
Okay, you guys convinced me. Maybe it's better to go without it :)


On Wednesday, 16 March 2016 14:51:39 UTC+1, James Horsley wrote:
>
> I haven't used Lombok due to similar reasons as Jens described but have 
> had really great success with annotation processing libraries like 
> Immutables (http://immutables.github.io/), AutoValue, etc. I've even 
> started writing my own annotation processors to help reduce boilerplate.
>
> On Wed, Mar 16, 2016 at 12:37 PM Jens  
> wrote:
>
>> If its just for value classes and factories you better use Google's 
>> AutoValue / AutoFactory projects which are based on annotation processing 
>> instead of hacking the Java compiler as Lombok does.
>>
>> Personally I would never use Lombok. As it adds code during compilation, 
>> that code is invisible to tools that work on Java source. IMHO Lombok is 
>> fragile and can break easily with any JDK update, you can also see this in 
>> the changelog as it contains quite some "Bugfix: X breaks starting with JDK 
>> Y". The reason is that Lombok relies on the com.sun.tools.javac package 
>> which is considered a private API.
>>
>> So I would generally advice using annotation processors instead.
>>
>> -- J.
>>
>> -- 
>> 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-we...@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: GWT-Material vs Polymer

2016-03-19 Thread Stefan Falk
Hi Evan!

I am using GWT Material Design for my current project. To be hones: I can't 
really compare anything because I went straight for it. I was looking at 
other stuff like SmartGWT but let's not talk about that.

What I can tell, like Gilberto already mentioned, is that building on the 
"old" Widget GWT classes is not a disadvantage. It's the exact opposite in 
fact. You're very flexible and you can mix GWTMD with GWT vanilla elements. 
No headache there. No unnecessary dependencies and should you ever decide 
to switch or to mix with another library you'll very thankful for that.

What I can also tell is that the two guys Gilberto and Kevin (I think that 
should be his name XD) are very active and incredible fast when it comes to 
adding new widgets. Also, the code is quite contribution friendly imho. I 
contributed some lines myself very recently.

Using GWTMD for a few months now I have to say that I have no complaints so 
far. There were/are some minor issues at the moment but they are all 
related to the currently developed version v1.5.0. But so far it was also 
no pain for me to work on the bleeding edge.

I am sorry that my comment is a little one-sided but to summarize: GWTMD is 
awesome and the default style it comes shipped is already a very good base 
to start for an awesome design imho!

BR; Stefan

On Tuesday, 15 March 2016 18:06:22 UTC+1, Evan Ruff wrote:
>
> Hey guys,
>
> I was wondering if you could chime in about some of the new libraries 
> being used. I'm interested in creating a new modern application and I have 
> experimented with GWT-Material, Polymer Elements and GWT-Elemento with CSS3 
> (GSS). 
>
> I like the syntax of GWT-Elemento and that it tracks very closely to the 
> DOM. I would say that's the best and worst parts of it, in that nothing is 
> really pre-built and I'm doing a lot of UI work myself.
>
> I used Polymer Elements from Vaadin and they seem to work well, but are 
> pretty cumbersome. They feel slow to load on mobile devices and I have some 
> issues sometimes with them not loading when an application is new. I 
> believe this is using the new Web Components stuff which is cool and is the 
> future, but how important is it RIGHT NOW if I want to build a modern, 
> responsive, quick app?
>
> GWT-Material seems great, but I know it's based on the old Widget GWT 
> classes which have fallen a bit out of favor. How has that effected 
> people's experience with the library? I imagine it makes it harder to style 
> the elements and such (with all the inner/outer containers, etc)? Will the 
> library be left behind in GWT 3.0 if Widget support is removed, or do the 
> authors have a plan to migrate?
>
> I do feel like GWT-material lets me get off the ground and be more 
> productive.
>
> Just trying to understand what the best options are for a greenfield 
> application,
>
> Thanks!
>
> E 
>

-- 
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.


Can somebody explain what happened here?

2016-03-12 Thread Stefan Falk
Okay, can somebody please explain to me what just happened...


I tore down everything I wrote today, checked out different versions of my 
project, cleaned it multiple times, restarted the code server, tomcat and 
even Eclipse and after everything even my machine.. 

I started to get this error: http://pastebin.com/J69T553R

But it did not break everything at once. Just slowly step by step I could 
not navigate and more and more pages led to this exception. After going 
crazy I decided to create a new simple HomeView/Presenter/etc to try and 
test what the heck was wrong. Unfortunately this did not work and after 
this little test anything else went down the same and stopped working. 

I have no idea why I thought about this but after hours of ripping hair off 
my head I did this:


http://dl.google.com/gwt/DTD/xhtml.ent;>




   asd

 


to

http://dl.google.com/gwt/DTD/xhtml.ent;>




   asd

  


 and *everything *was back to normal. Usually I would not care but this 
just made me almost throw stuff against my monitors thus I'd really like to 
know what just happened ... I am not even sure if that did the trick but 
right after adding gss="true" it started working again. I can even remove 
it now and it's still working.. 

Thanks for any clarification!

BR; Stefan

-- 
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: Deploy GWT App to Google App Engine

2016-03-11 Thread Stefan Falk
Would that work for an already existing project?

My problem is this: 
https://code.google.com/p/googleappengine/issues/detail?can=2=0=100=Execution%20default=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log===12804

at the moment. appengine is either against me or I am doing something wrong 
and I can't figure out what..

BR; Stefan

On Tuesday, 8 March 2016 17:58:17 UTC+1, Rogelio Flores wrote:
>
> I started my gwt + appengine project with Brandon's archetype which 
> already does everything for me:
>
>
> https://github.com/branflake2267/Archetypes/tree/master/archetypes/gwt-basic-rpc-appengine
>
> This uploads my app (after you build it as mentioned already in the thread)
>
> mvn appengine:update
>
> I don't think I changed many things in the pom.xml besides updating to the 
> latest appengine SDK. At minimum, you can take a look at the pom.xml file 
> to know how to configure it all.
>
>
> On Monday, March 7, 2016 at 8:49:21 AM UTC-7, Stefan Falk wrote:
>>
>> Ah sorry, I saw that too late.
>>
>> Well, okay so my assumption was right. What I did was placing the plugin 
>> into the pom.xml of my myapp-server module:
>>
>> 
>> com.google.appengine
>> appengine-maven-plugin
>> ${appengine.version}
>> 
>> false
>> ${app.version}
>> 
>> 
>> 
>> com.google.appengine
>> gcloud-maven-plugin
>> ${gcloud.plugin.version}
>> 
>> true
>> 
>> 
>>
>> If that is correct so far I think I should be able to make it work. At 
>> the moment though maven is complaining about that it can't find the plugin 
>> "appengine" ..
>>
>> On Monday, 7 March 2016 16:32:30 UTC+1, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Monday, March 7, 2016 at 4:08:37 PM UTC+1, Stefan Falk wrote:
>>>>
>>>> I already have a project of type gwt-maven-archetypes. I don't want to 
>>>> change the whole project to another archetype.
>>>>
>>>
>>> Why would you "change the whole project to another archetype"? An 
>>> archetype is only a skeleton-generator; the doc talks about the provided 
>>> appengine archetype to make it easier for people knowing relatively few 
>>> things about Maven; but that doesn't mean you *have* to use the archetypes.
>>>  
>>>
>>>>
>>>> On Sunday, 6 March 2016 21:16:22 UTC+1, Greg wrote:
>>>>>
>>>>>
>>>>> https://cloud.google.com/appengine/docs/java/tools/maven#uploading_your_app_to_production_app_engine
>>>>>
>>>>
>>> From what I read here, you'd do something like:
>>>
>>> mvn install (to make your shared and client artifacts available to the 
>>> server one outside the reactor build)
>>> cd *-server && mvn appengine:update
>>>
>>> Of course, that's after you configured the appengine-maven-plugin in the 
>>> *-server project's POM.
>>>
>>> Otherwise, the tool seems to be 
>>> the com.google.appengine.tools.admin.AppCfg class in the 
>>> appengine-tools-api.jar from the AppEngine SDK, that you'd call with the 
>>> "update" command and your WAR file (or exploded  WAR directory, i.e. 
>>> *-server/target/*-server-*/ after a "mvn package", I can't tell) as 
>>> arguments.
>>> (note: it took me 10 minutes to find that information from the Maven and 
>>> Ant documentation pages and a bit of googling; I never used AppEngine)
>>>
>>

-- 
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: Deploy GWT App to Google App Engine

2016-03-07 Thread Stefan Falk
Ah sorry, I saw that too late.

Well, okay so my assumption was right. What I did was placing the plugin 
into the pom.xml of my myapp-server module:


com.google.appengine
appengine-maven-plugin
${appengine.version}

false
${app.version}



com.google.appengine
gcloud-maven-plugin
${gcloud.plugin.version}

true



If that is correct so far I think I should be able to make it work. At the 
moment though maven is complaining about that it can't find the plugin 
"appengine" ..

On Monday, 7 March 2016 16:32:30 UTC+1, Thomas Broyer wrote:
>
>
>
> On Monday, March 7, 2016 at 4:08:37 PM UTC+1, Stefan Falk wrote:
>>
>> I already have a project of type gwt-maven-archetypes. I don't want to 
>> change the whole project to another archetype.
>>
>
> Why would you "change the whole project to another archetype"? An 
> archetype is only a skeleton-generator; the doc talks about the provided 
> appengine archetype to make it easier for people knowing relatively few 
> things about Maven; but that doesn't mean you *have* to use the archetypes.
>  
>
>>
>> On Sunday, 6 March 2016 21:16:22 UTC+1, Greg wrote:
>>>
>>>
>>> https://cloud.google.com/appengine/docs/java/tools/maven#uploading_your_app_to_production_app_engine
>>>
>>
> From what I read here, you'd do something like:
>
> mvn install (to make your shared and client artifacts available to the 
> server one outside the reactor build)
> cd *-server && mvn appengine:update
>
> Of course, that's after you configured the appengine-maven-plugin in the 
> *-server project's POM.
>
> Otherwise, the tool seems to be 
> the com.google.appengine.tools.admin.AppCfg class in the 
> appengine-tools-api.jar from the AppEngine SDK, that you'd call with the 
> "update" command and your WAR file (or exploded  WAR directory, i.e. 
> *-server/target/*-server-*/ after a "mvn package", I can't tell) as 
> arguments.
> (note: it took me 10 minutes to find that information from the Maven and 
> Ant documentation pages and a bit of googling; I never used AppEngine)
>

-- 
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: Deploy GWT App to Google App Engine

2016-03-07 Thread Stefan Falk
Maybe I have to ask: How can I integrate the appengine-maven-plugin 
correctly into the gwt-maven-archetypes archetype?

BR; Stefan

On Sunday, 6 March 2016 18:22:27 UTC+1, Thomas Broyer wrote:
>
> Isn't the appengine-maven-plugin offering a goal to do the upload?

-- 
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: Deploy GWT App to Google App Engine

2016-03-07 Thread Stefan Falk
I already have a project of type gwt-maven-archetypes. I don't want to 
change the whole project to another archetype.

On Sunday, 6 March 2016 21:16:22 UTC+1, Greg wrote:
>
>
> https://cloud.google.com/appengine/docs/java/tools/maven#uploading_your_app_to_production_app_engine
>
> On Sunday, March 6, 2016 at 9:05:53 PM UTC+1, Stefan Falk wrote:
>>
>> Well, I don't know. I can remember when I did it last time it was a 
>> one-liner in the command line. I think I had something like a secret or API 
>> key or something like that and I could deploy the web application to GAE. 
>>
>> I was searching and searching but I can't find that anymore. How do you 
>> deploy your gwt-maven-archetype to GAE (if you do)?
>>
>> On Sunday, 6 March 2016 18:22:27 UTC+1, Thomas Broyer wrote:
>>>
>>> Isn't the appengine-maven-plugin offering a goal to do the upload?
>>
>>

-- 
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: UIBinder & Materials

2016-03-07 Thread Stefan Falk
You can visit the guys on Gitter: 
https://gitter.im/GwtMaterialDesign/gwt-material

:) 

BR; Stefan

On Sunday, 6 March 2016 15:46:45 UTC+1, Sam Wootton wrote:
>
> Dear GWT Users,
>
> As ever, thanks for any help.
>
> Quick (possibly stupid) question.  I'd like to start investigating GWT 
> Materials
>
> http://gwtmaterialdesign.github.io/gwt-material-demo/#!gettingstarted
>
> ... states "*Assuming that you're using UIBinder, add the following 
> namespace to the  element*".
>
> My current gwt application does not use UIBinder framework (just 
> traditional Java).  Do I *have* to switch to UIBinder if I want to use 
> GWT Materials?
>
> Regards, Sam
>

-- 
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: Deploy GWT App to Google App Engine

2016-03-06 Thread Stefan Falk
Well, I don't know. I can remember when I did it last time it was a 
one-liner in the command line. I think I had something like a secret or API 
key or something like that and I could deploy the web application to GAE. 

I was searching and searching but I can't find that anymore. How do you 
deploy your gwt-maven-archetype to GAE (if you do)?

On Sunday, 6 March 2016 18:22:27 UTC+1, Thomas Broyer wrote:
>
> Isn't the appengine-maven-plugin offering a goal to do the upload?

-- 
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.


Deploy GWT App to Google App Engine

2016-03-06 Thread Stefan Falk
Can somebody tell me how I can deploy my GWT App to the Google App engine 
[1]? 

Since I am using gwt-maven-archetype I cannot use the convenient Google 
Plugin for Eclipse.

I've googled a whole day but I can't find anything. I know that there is a 
command line tool that is supposed to do that but I can't remember where I 
saw it or how it's called..

BR; Stefan


[1] 
http://stackoverflow.com/questions/35817916/how-to-deploy-gwt-app-to-google-app-engine

-- 
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: What is best IDE for developing GWT applications?

2016-03-03 Thread Stefan Falk
Yes that's true but you can't e.g. shut down the Code Server from Eclipse. 
I have to use the task manager to kill the process ^^

On Wednesday, 2 March 2016 11:08:22 UTC+1, Thomas Broyer wrote:
>
>
>
> On Tuesday, March 1, 2016 at 6:17:48 PM UTC+1, Stefan Falk wrote:
>>
>> Is working with your gwt-maven-archetype? I am using this for my project 
>> but it seems that this does not work with the plugin.
>>
>
> No idea. I know he's been working on it but don't know the current state.
> That said, AFAIK, you can just launch the maven tasks from within Eclipse 
> (including launching "mvn tomcat7:run" in debug –Debug as…– to debug your 
> server-side code)
>  
>
>> On Tuesday, 1 March 2016 11:41:30 UTC+1, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Monday, February 29, 2016 at 11:56:06 PM UTC+1, Stefan Falk wrote:
>>>>
>>>> To be hones I never tried IntelliJ with GWT but maybe I'll give it a 
>>>> try sometime :)
>>>>
>>>> Is there actually some development going on? Either for Eclipse of 
>>>> IntelliJ or are projects like these frozen?
>>>>
>>>
>>> Can't tell for IntelliJ as the GWT plugin is closed-source, but Brandon 
>>> Donnelson has been working hard to improve the Eclipse plugin at 
>>> https://github.com/gwt-plugins/gwt-eclipse-plugin (a fork of the 
>>> original one by Google).
>>> IIUC a message from Brandon on the GPE-dedicated group, Googlers might 
>>> be working again on the plugin.
>>>
>>>>

-- 
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: What is best IDE for developing GWT applications?

2016-03-01 Thread Stefan Falk
Ah, good to know. I really should try this plugin .. Have you ever tried 
GWT Material Design?

On Tuesday, 1 March 2016 19:48:42 UTC+1, Rogelio Flores wrote:
>
> Works fine for me too. The only issue I've noticed is that for some 
> external modules such as mgwt, I don't get code-completion on the widget 
> names when including them from a common package path (e.g. 
> mgwt:panel.flex.FlexPanel and mgwt:panel.scroll.ScrollPanel). MGWT has 
> almost every widget in its own package.
>
> On Monday, February 29, 2016 at 7:14:04 PM UTC-7, Peter Donald wrote:
>>
>> Hi, 
>>
>> On Tue, Mar 1, 2016 at 12:26 PM, Slava Pankov  wrote: 
>> > I don't know why many people are suggesting IntelliJ for GWT. For 
>> example 
>> > code completion in ui.xml files is not working in IntelliJ, and I don't 
>> > understand how to develop UI efficiently without it. 
>>
>> It works fine for me and has in every version I have ever used. 
>>
>> The current version I am using is either 14.1.5 or  14.1.6 
>>
>> -- 
>> Cheers, 
>>
>> Peter Donald 
>>
>

-- 
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: What is best IDE for developing GWT applications?

2016-03-01 Thread Stefan Falk
Is working with your gwt-maven-archetype? I am using this for my project 
but it seems that this does not work with the plugin.

On Tuesday, 1 March 2016 11:41:30 UTC+1, Thomas Broyer wrote:
>
>
>
> On Monday, February 29, 2016 at 11:56:06 PM UTC+1, Stefan Falk wrote:
>>
>> To be hones I never tried IntelliJ with GWT but maybe I'll give it a try 
>> sometime :)
>>
>> Is there actually some development going on? Either for Eclipse of 
>> IntelliJ or are projects like these frozen?
>>
>
> Can't tell for IntelliJ as the GWT plugin is closed-source, but Brandon 
> Donnelson has been working hard to improve the Eclipse plugin at 
> https://github.com/gwt-plugins/gwt-eclipse-plugin (a fork of the original 
> one by Google).
> IIUC a message from Brandon on the GPE-dedicated group, Googlers might be 
> working again on the plugin.
>
>>

-- 
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: What is best IDE for developing GWT applications?

2016-02-29 Thread Stefan Falk
To be hones I never tried IntelliJ with GWT but maybe I'll give it a try 
sometime :)

Is there actually some development going on? Either for Eclipse of IntelliJ 
or are projects like these frozen?


On Monday, 29 February 2016 17:46:54 UTC+1, Rogelio Flores wrote:
>
> @Stefan
> You have run configurations for GWT similar to eclipse (with the google 
> plugin) but better IMO, with SDM as default and you can still run classic 
> DevMode if you want.
> You can rename @UiField variables and it will rename all instances in your 
> Java file and also on your ui.xml file (or vice versa, if you rename the 
> ui:field on your ui.xml).
> IntelliJ also comes with a Chrome Browser plugin so your debugging can be 
> done on the IDE from the javascript + sourcemaps running on your browser.
> There's also code-completion, syntax highlighting on JSNI javascript code 
> (not sure if eclipse now has this).
> I've imported numerous GWT maven-based projects and they just work and run 
> from IntelliJ as soon as I create a run config which takes a few seconds.
>
> These might not sound like super features or way too different from 
> eclipse, but consider the fact that I didn't have to get/install any IDE 
> plugins and even if I did I don't even remember because installing a plugin 
> is a lot simpler too.
>
>
> #gwtisback ;-)
>
> On Sunday, February 28, 2016 at 5:35:45 PM UTC-7, Stefan Falk wrote:
>>
>> Somebody has to do it! :P
>>
>> #gwtisback
>>
>> On Monday, 29 February 2016 01:19:36 UTC+1, Alain wrote:
>>>
>>> "And GWT is such an awesome technology I am simply no getting why it's 
>>> so underused.."
>>>
>>> Advertissement :)
>>>
>>> On 29 February 2016 at 01:02, Stefan Falk <stefan...@gmail.com> wrote:
>>>
>>>> Well, as for me I am willing to do almost *anything* just for the sake 
>>>> of not having to write too many JavaScript lines :D
>>>>
>>>> And GWT is such an awesome technology I am simply no getting why it's 
>>>> so underused..
>>>>
>>>>
>>>> On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:
>>>>>
>>>>> @Stefan
>>>>> Totally Agree there are some points of concern.
>>>>>
>>>>> I am so used to doing things the "hard" way that I am immune to the 
>>>>> pitfalls.
>>>>>
>>>>> At the end of the day Eclipse give me what I need for my particular 
>>>>> use case.
>>>>>
>>>>> I usually do not use the build in server and deploy to jetty/tomcat 
>>>>> instances for testing.
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Ed
>>>>>
>>>>>
>>>>> On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk <stefan...@gmail.com> 
>>>>> wrote:
>>>>>
>>>>>> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
>>>>>> Eclipse-only developer. I would use it to brew coffee if there was a 
>>>>>> plug 
>>>>>> in. :D
>>>>>>
>>>>>> What I'm just missing are some basic support e.g. if I use GWTP I 
>>>>>> want to see some generated code. Java/GWT has some boilerplate code that 
>>>>>> could be generated.
>>>>>>
>>>>>> Another thing that annoys me is that @UiField thing. Sometimes it's 
>>>>>> really annoying to keep all the field names up-to-date. Renaming stuff 
>>>>>> is 
>>>>>> sometimes a but nasty.
>>>>>>
>>>>>> Then there's the thing with the code server.. I'd really appreciate a 
>>>>>> better view for the error messages that one gets there. You always have 
>>>>>> to 
>>>>>> search for the actual line that points out what's wrong instead of 
>>>>>> seeing 
>>>>>> that message in the Eclipse "Markers" view or something.
>>>>>>
>>>>>> One more thing that I miss is a better Project Explorer. The files 
>>>>>> are sorted by type and that means you get A.java B.java A.ui.xml 
>>>>>> B.ui.xml 
>>>>>> instead of A.java A.ui.xml B.java B.ui.xml. 
>>>>>>
>>>>>> Since I am using gwt-maven-archetypes I even have to kill the Code 
>>>>>> Server by hand - I cannot use the Eclipse "Debug" or "Server" view for 
>&g

Re: What is best IDE for developing GWT applications?

2016-02-28 Thread Stefan Falk
Somebody has to do it! :P

#gwtisback

On Monday, 29 February 2016 01:19:36 UTC+1, Alain wrote:
>
> "And GWT is such an awesome technology I am simply no getting why it's so 
> underused.."
>
> Advertissement :)
>
> On 29 February 2016 at 01:02, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> Well, as for me I am willing to do almost *anything* just for the sake of 
>> not having to write too many JavaScript lines :D
>>
>> And GWT is such an awesome technology I am simply no getting why it's so 
>> underused..
>>
>>
>> On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:
>>>
>>> @Stefan
>>> Totally Agree there are some points of concern.
>>>
>>> I am so used to doing things the "hard" way that I am immune to the 
>>> pitfalls.
>>>
>>> At the end of the day Eclipse give me what I need for my particular use 
>>> case.
>>>
>>> I usually do not use the build in server and deploy to jetty/tomcat 
>>> instances for testing.
>>>
>>> Best Regards,
>>>
>>> Ed
>>>
>>>
>>> On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk <stefan...@gmail.com> 
>>> wrote:
>>>
>>>> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
>>>> Eclipse-only developer. I would use it to brew coffee if there was a plug 
>>>> in. :D
>>>>
>>>> What I'm just missing are some basic support e.g. if I use GWTP I want 
>>>> to see some generated code. Java/GWT has some boilerplate code that could 
>>>> be generated.
>>>>
>>>> Another thing that annoys me is that @UiField thing. Sometimes it's 
>>>> really annoying to keep all the field names up-to-date. Renaming stuff is 
>>>> sometimes a but nasty.
>>>>
>>>> Then there's the thing with the code server.. I'd really appreciate a 
>>>> better view for the error messages that one gets there. You always have to 
>>>> search for the actual line that points out what's wrong instead of seeing 
>>>> that message in the Eclipse "Markers" view or something.
>>>>
>>>> One more thing that I miss is a better Project Explorer. The files are 
>>>> sorted by type and that means you get A.java B.java A.ui.xml B.ui.xml 
>>>> instead of A.java A.ui.xml B.java B.ui.xml. 
>>>>
>>>> Since I am using gwt-maven-archetypes I even have to kill the Code 
>>>> Server by hand - I cannot use the Eclipse "Debug" or "Server" view for 
>>>> that. 
>>>>
>>>> Maybe some of that stuff could be avoided or changed but it's not 
>>>> supported out of the box by Eclipse afaik.
>>>>
>>>>
>>>> @Gilberto: Yes, that's actually a good point. The plugins can be 
>>>> sometimes a bit messy. 
>>>>
>>>> @Rogelio: What kind of support are we talking here? It happens that I 
>>>> might have access to the Ultimate edition for free as a student.
>>>>
>>>>
>>>> On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:
>>>>>
>>>>> I find IntelliJ to be superior to eclipse, not only in its out of the 
>>>>> box (for the Ultimate edition--not free) support for GWT, but for almost 
>>>>> everything else. I was too an eclipse user for many years so I know the 
>>>>> difference.
>>>>>
>>>>>
>>>>> On Saturday, February 27, 2016 at 8:13:56 AM UTC-7, Gilberto wrote:
>>>>>>
>>>>>> Let's get real for a moment: Eclipse is a plug-in hell.
>>>>>>
>>>>>> Have you ever try to run a multi-module App Engine project with multi 
>>>>>> module GWT app, configured with Maven? Don't even try, go to the command 
>>>>>> line and run the server from there.
>>>>>>
>>>>>> Sometimes you lose days of work just setting up the environment. And 
>>>>>> that sucks.
>>>>>>
>>>>>> But, I still use it. I prefer how Eclipse deal with git and how it's 
>>>>>> code completion works (ctrl+space for everything, instead of a different 
>>>>>> shortcut for each type of code completion, like on IntelliJ). It's a 
>>>>>> matter 
>>>>>> of knowing what is possible and what is not inside the IDE, and which 
>>>>>> combinatio

Re: What is best IDE for developing GWT applications?

2016-02-28 Thread Stefan Falk
Well, as for me I am willing to do almost *anything* just for the sake of 
not having to write too many JavaScript lines :D

And GWT is such an awesome technology I am simply no getting why it's so 
underused..


On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:
>
> @Stefan
> Totally Agree there are some points of concern.
>
> I am so used to doing things the "hard" way that I am immune to the 
> pitfalls.
>
> At the end of the day Eclipse give me what I need for my particular use 
> case.
>
> I usually do not use the build in server and deploy to jetty/tomcat 
> instances for testing.
>
> Best Regards,
>
> Ed
>
>
> On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
>> Eclipse-only developer. I would use it to brew coffee if there was a plug 
>> in. :D
>>
>> What I'm just missing are some basic support e.g. if I use GWTP I want to 
>> see some generated code. Java/GWT has some boilerplate code that could be 
>> generated.
>>
>> Another thing that annoys me is that @UiField thing. Sometimes it's 
>> really annoying to keep all the field names up-to-date. Renaming stuff is 
>> sometimes a but nasty.
>>
>> Then there's the thing with the code server.. I'd really appreciate a 
>> better view for the error messages that one gets there. You always have to 
>> search for the actual line that points out what's wrong instead of seeing 
>> that message in the Eclipse "Markers" view or something.
>>
>> One more thing that I miss is a better Project Explorer. The files are 
>> sorted by type and that means you get A.java B.java A.ui.xml B.ui.xml 
>> instead of A.java A.ui.xml B.java B.ui.xml. 
>>
>> Since I am using gwt-maven-archetypes I even have to kill the Code Server 
>> by hand - I cannot use the Eclipse "Debug" or "Server" view for that. 
>>
>> Maybe some of that stuff could be avoided or changed but it's not 
>> supported out of the box by Eclipse afaik.
>>
>>
>> @Gilberto: Yes, that's actually a good point. The plugins can be 
>> sometimes a bit messy. 
>>
>> @Rogelio: What kind of support are we talking here? It happens that I 
>> might have access to the Ultimate edition for free as a student.
>>
>>
>> On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:
>>>
>>> I find IntelliJ to be superior to eclipse, not only in its out of the 
>>> box (for the Ultimate edition--not free) support for GWT, but for almost 
>>> everything else. I was too an eclipse user for many years so I know the 
>>> difference.
>>>
>>>
>>> On Saturday, February 27, 2016 at 8:13:56 AM UTC-7, Gilberto wrote:
>>>>
>>>> Let's get real for a moment: Eclipse is a plug-in hell.
>>>>
>>>> Have you ever try to run a multi-module App Engine project with multi 
>>>> module GWT app, configured with Maven? Don't even try, go to the command 
>>>> line and run the server from there.
>>>>
>>>> Sometimes you lose days of work just setting up the environment. And 
>>>> that sucks.
>>>>
>>>> But, I still use it. I prefer how Eclipse deal with git and how it's 
>>>> code completion works (ctrl+space for everything, instead of a different 
>>>> shortcut for each type of code completion, like on IntelliJ). It's a 
>>>> matter 
>>>> of knowing what is possible and what is not inside the IDE, and which 
>>>> combination of plug-ins (and its versions) works for your project, and 
>>>> which don't.
>>>>
>>>> I have some friends that love IntelliJ and would never go back to 
>>>> Eclipse again. In my opinion, if you aren't crazy yet because of the 
>>>> plug-in hell, Eclipse can still do a good job. Like Ed said, it's the best 
>>>> free IDE available.
>>>>
>>> -- 
>> 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-we...@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: What is best IDE for developing GWT applications?

2016-02-28 Thread Stefan Falk
@Ed: Don't get me wrong. I like Eclipse and I am basically an Eclipse-only 
developer. I would use it to brew coffee if there was a plug in. :D

What I'm just missing are some basic support e.g. if I use GWTP I want to 
see some generated code. Java/GWT has some boilerplate code that could be 
generated.

Another thing that annoys me is that @UiField thing. Sometimes it's really 
annoying to keep all the field names up-to-date. Renaming stuff is 
sometimes a but nasty.

Then there's the thing with the code server.. I'd really appreciate a 
better view for the error messages that one gets there. You always have to 
search for the actual line that points out what's wrong instead of seeing 
that message in the Eclipse "Markers" view or something.

One more thing that I miss is a better Project Explorer. The files are 
sorted by type and that means you get A.java B.java A.ui.xml B.ui.xml 
instead of A.java A.ui.xml B.java B.ui.xml. 

Since I am using gwt-maven-archetypes I even have to kill the Code Server 
by hand - I cannot use the Eclipse "Debug" or "Server" view for that. 

Maybe some of that stuff could be avoided or changed but it's not supported 
out of the box by Eclipse afaik.


@Gilberto: Yes, that's actually a good point. The plugins can be sometimes 
a bit messy. 

@Rogelio: What kind of support are we talking here? It happens that I might 
have access to the Ultimate edition for free as a student.

On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:
>
> I find IntelliJ to be superior to eclipse, not only in its out of the box 
> (for the Ultimate edition--not free) support for GWT, but for almost 
> everything else. I was too an eclipse user for many years so I know the 
> difference.
>
>
> On Saturday, February 27, 2016 at 8:13:56 AM UTC-7, Gilberto wrote:
>>
>> Let's get real for a moment: Eclipse is a plug-in hell.
>>
>> Have you ever try to run a multi-module App Engine project with multi 
>> module GWT app, configured with Maven? Don't even try, go to the command 
>> line and run the server from there.
>>
>> Sometimes you lose days of work just setting up the environment. And that 
>> sucks.
>>
>> But, I still use it. I prefer how Eclipse deal with git and how it's code 
>> completion works (ctrl+space for everything, instead of a different 
>> shortcut for each type of code completion, like on IntelliJ). It's a matter 
>> of knowing what is possible and what is not inside the IDE, and which 
>> combination of plug-ins (and its versions) works for your project, and 
>> which don't.
>>
>> I have some friends that love IntelliJ and would never go back to Eclipse 
>> again. In my opinion, if you aren't crazy yet because of the plug-in hell, 
>> Eclipse can still do a good job. Like Ed said, it's the best free IDE 
>> available.
>>
>

-- 
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.


getCookie() always returns null

2016-02-28 Thread Stefan Falk
Can anybody tell me why my cookie is null 

 ?


Cookies.setCookie(ApiParameters.LOGIN_COOKIE, sessionId, expires, null, "/", 
true);
String cookie = Cookies.getCookie(ApiParameters.LOGIN_COOKIE);

if(cookie == null) {
throw new RuntimeException("Cookie is 'null'.");
}



It used to work a few hours ago. Chrome says the cookie is actually there 
but getCookie() returns always null. What am I doing wrong here?

-- 
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: GWT Material Design

2016-02-27 Thread Stefan Falk
Hi! Sorry for the late answer! :)

We know each other <-- silentsnooc from gitter :)

I was asking here because I would have been interested in hearing the 
opinion of other users. Since I am using this tool now too I am kind of 
interested who else is using it :)
Personally I think GWT Material Design is really great. It is awesome how 
fast I can make a design that looks quite professional from just a few 
lines of XML.

So if anybody has experience with GWT Material Design and wants to share 
his or her opinion let us/me know :)

BR; Stefan

On Friday, 19 February 2016 01:51:49 UTC+1, Gilberto wrote:
>
> Hi Stefan,
>
> I'm an active contributor to the project, and I only became a contributor 
> after seeing how productive and fun it is to build cool stuff - and of 
> course after seeing that the team is inspired and productive.
>
> Currently I'm using GWT Material in two different projects. In one, I'm 
> porting an old GWT app (made without UiBinder), converting all those 
> VerticalPanels and Cell Widgets to the new, responsive components of GWT 
> Material. I'm always submitting patches to make that process easier.
>
> On the other project I'm building a new app from scratch. The projects are 
> completely separate from each other - they have no shared codebase. So I'm 
> dealing with both perspectives: creating a new app, and porting an old one.
>
> I'd say that porting is not trivial. But it's not GWT Material's fault: 
> I'm trying to convert a complete tabular app to a responsive design one, 
> and that's no easy task. Maybe I could blame GWT to make me think that 
> using Vertical/HorizontalPanels would be a good idea. But the App is old 
> (the first version was released in 2011), so there's a lot of cleaning to 
> do.
>
> There are plenty of components there are just like the AWT/Swing analogue: 
> AWT has a Button, and Swing a JButton. In GWT we have a Button as well, and 
> on GWT Material, a MaterialButton. And that applies to several components, 
> such as MaterialListBox, MaterialCheckBox, MaterialTextBox and so on. So 
> that's not the hard part. The hard part is to make everything responsible 
> and fluid, and GWT Material does a really good job helping you on this, 
> with the row/column system, the predefined 3 screen sizes for the whole 
> application, and so on.
>
> When creating a new app, everything just work. Of course eventually you 
> find something that needs some tweaking, but the framework is getting 
> mature and more feature complete on a fast pace. It already has more 
> components than its parent project, Materializecss.
>
> So I think it worth a try, at least on a small project, for you to see if 
> it fits your needs. I'm a experienced GWT developer, and the project 
> surprised me on how easy is to create stunning apps without trouble. One of 
> the main complaints about the pure GWT is the poor Widget library. GWT 
> Material fixes just that: you can have a small client compiled code, 
> type-safe environment, same object model shared between server and client, 
> AND a stunning, responsive and fluid UI too.
>
> --
> Gilberto
>

-- 
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: What is best IDE for developing GWT applications?

2016-02-27 Thread Stefan Falk
Is Eclipse still a thing in 2016? 

I mean it's basically working and such but I feel like I have to work with 
a very high-level engine on a barely supported IDE. Eclipse feels okay but 
I'm far away from being happy with it..

So, are you guys still using Eclipse or are there better alternatives? Or 
are there any plugins for Eclipse that I missed ..?

BR; Stefan

On Tuesday, 21 October 2008 17:44:02 UTC+2, Sarah kho wrote:
>
> Hi 
> Thank you for reading my post 
> Can someone please let me know what is best IDE for developing GWT 
> applications? 
>
> Thanks

-- 
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: GWT vs AngularJS

2016-02-18 Thread Stefan Falk
Those are actually two good points. It's very unfortunate that there is 
nothing that can help you to setup a GWT app a little faster.

I am still using gwt-maven-archetype and create my modular app(s) by hand. 
XD


On Friday, 19 February 2016 00:50:07 UTC+1, Marko wrote:
>
>
> ... but how could one chose JavaScript over Java if he has the choice?
>>
>
> Because:
> 1) beginners have a running web app in JavaScript in 1 minute, whereby 
> they need 1 day to setup development environment for building web apps in 
> Java and even more for GWT
> 2) beginners don't know that Java is better than JavaScript, they lack 
> experience
>
>

-- 
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.


GWT vs AngularJS

2016-02-18 Thread Stefan Falk
Hi!

>From time to time I look at Google Trends to compare AngularJS and GWT [1] 
trends. 

I really don't understand why AngularJS appears to be a lot more popular 
than GWT. The main reason why I want to use GWT is of course that I can do 
this in Java. 
Not that Java is my overall favorite programming language but how could one 
chose JavaScript over Java if he has the choice?

What I wonder is if GWT will ever have a comeback or if it will slowly die 
as the Google Trend chart suggests.

BR; Stefan


[1] 
https://www.google.com/trends/explore#q=%2Fm%2F0d6jq1%2C%20%2Fm%2F0j45p7w=q=Etc%2FGMT-1

-- 
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.


GWT Material Design

2016-02-18 Thread Stefan Falk
Hi!

Currently I am going for GWT Material Design and I'd like to ask you guys 
what you think about it?

I just started using it and I have to say it feels quite productive - but 
to be honest I don't really have something to compare.
One has to say that the website [1] (snapshot) is not up-to-date which 
means one has to read some lines of code on their github page and take some 
examples there.

So if you didn't now GWT Material Design you might want to check it out if 
you're going to write a responsive webapp. 

In any case I'd like to hear from you what you think about this library.

Thanks you! :)

BR; Stefan

[1] http://gwtmaterialdesign.github.io/gwt-material-demo/snapshot/

-- 
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: GWT CssResource not propagating width:calc(x) property

2016-02-18 Thread Stefan Falk
Oh!

Thanks Jens and Gilberto! I'm definitely going to check that out!

On Monday, 15 February 2016 14:40:05 UTC+1, Gilberto wrote:
>
>
> Stefan, convert all your CSS files and  declarations to GSS and 
> save yourself from going crazy. With GSS you can use all the CSS (and 
> CSS3!) goodies without pain (including media queries, CSS functions and so 
> on).
>
> Take a look at http://www.gwtproject.org/articles/gss_migration.html and 
> http://www.gwtproject.org/doc/latest/DevGuideGssVsCss.html for hints on 
> how to do the migration.
>
> On Saturday, February 13, 2016 at 9:11:59 PM UTC-2, Jens wrote:
>>
>>
>> Unfortunately GWT 2.8.0 still does not support that feature. Had to use 
>>> literal("") as well here.
>>>
>>
>> You are still using Css right? According to 
>> https://github.com/google/closure-stylesheets/issues/59 closure 
>> stylesheet should support  and thus GWT GSS should support it.
>>
>> -- J.
>>
>

-- 
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: GWT CssResource not propagating width:calc(x) property

2016-02-13 Thread Stefan Falk
Unfortunately GWT 2.8.0 still does not support that feature. Had to use 
literal("") as well here.

On Saturday, 10 August 2013 22:23:26 UTC+2, Wayne Rasmuss wrote:
>
> For anyone who cares the final css looks like this:
>
> I'm actually thinking of trying position relative and using the same calc 
> method for the height as well.
>
> .form-input-line-cell {
> position: absolute;
> left: 8px;
> top:3px;
> bottom: 3px;
> font-size: 32px;
> text-indent: 8px;
> border: solid #d3d3d3 1px;
> border-radius: 3px;
> color: black;
> width: literal("calc(100% - 16px)");
> }
>
> On Saturday, August 10, 2013 3:22:03 PM UTC-5, Wayne Rasmuss wrote:
>>
>> Thanks! Using literal fixed it. It turned out I didn't need the special 
>> web kit value either. This seems to work in IE 10, Firefox, and Chrome 
>> (latest or very recent updates of each)
>>
>

-- 
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: Is GWT not being massively adopted because the crawler problem?

2016-01-20 Thread Stefan Bylund
Google's web crawler (Googlebot) has improved substantially lately when it 
comes to crawling dynamic HTML pages generated with JavaScript. It does not 
simply crawl the initial HTML page but executes any JavaScript and then 
crawls the resulting HTML page. You don't have to do the cumbersome 
hashbang (escaped fragments) workaround any more. I have not had any 
problems with indexing GWT web apps with Google's web crawler. See this 
article for more info:

http://searchengineland.com/tested-googlebot-crawls-javascript-heres-learned-220157

However, I think that Bing's web crawler still have problems with indexing 
dynamic HTML pages generated with JavaScript. But with Google's market 
share I don't see that as a problem.

/Stefan


Den onsdag 20 januari 2016 kl. 06:35:30 UTC+1 skrev Adolfo Rodriguez:
>
> Hi, the title is provocative. I wanted to ask 2 questions in the same 
> thread. I love GWT, no doubt is the framework that delivers higher 
> productivity. But I quit using it 2 years ago because google robots where 
> not able to properly index my pages despite I implemented the escaped 
> fragment specs 
> <https://developers.google.com/webmasters/ajax-crawling/docs/specification>. 
> Disappointing.
>
> On the other hand, I would expect much more traction in a Java framework 
> than can combine presentation (Bootstrap) with presentation login (any JS 
> libraries) and server side. But barely you can see job openings in the 
> market demanding GWT. Even, the last message in this list is 40 days old.
>
> So, I want to raise the question:
>
> * what is stopping GWT against other frameworks? Is the problem with 
> crawlers?
>
> * what i the current status of crawler, HTML generation and search engine 
> robots?
>
> I have a mixed feeling with GWT, I love it... but my experience says that 
> I should not use it.
>
> Thanks
>
>
>
>

-- 
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: Are there any currently developed GWT Widget Libraries?

2016-01-17 Thread Stefan Falk
:D Yeah, I am sure you can customize it. The phrase "too desktop-like" was 
intended to be some kine of compliment :P

On Sunday, 17 January 2016 04:10:52 UTC+1, Alain wrote:
>
> Thanks :)
>
> "That is almost too desktop-like for my needs". LOL. It will be fully 
> customizable.
> You can add remove stuff as needed. And fully opensourced :)
>
> I never used Smart GWT so I can really help there.
>
> Sorry :)
>
> On 17 January 2016 at 04:02, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> Wow, that looks quite impressive! That is almost too desktop-like for my 
>> needs, I didn't mean an actual desktop :P 
>>
>> Well, I think I will have to spent more time on that and take a closer 
>> look at each of those libraries. 
>> When I started searching I thought I will just add a new dependency to my 
>> pom.xml and I am ready to go but nah ..
>>
>> It seems that I will install each of those libs and try out a few things..
>>
>> I am not sure if you can help me with that but do you have a clue why I 
>> am getting this error: [1] 
>> I tried to make Smart GWT work earlier that day but I couldn't find out 
>> what the problem might be here.
>>
>> However, thank you for your help and advice! I'll read through all of it 
>> again tomorrow but it's 4 am her in Austria and I think I should
>> go to bed anytime soon :D
>>
>> [1] 
>> http://stackoverflow.com/questions/34831911/trying-to-use-smartgwt-but-getting-errors-cannot-read-property-setautodraw-o
>>
>>
>> On Sunday, 17 January 2016 03:20:14 UTC+1, Alain wrote:
>>>
>>> I feel you :)
>>> Actually we are building a reusable webdesktop component.  We build in 
>>> from the ground and will license it to others. 
>>> You can see an early (very old) demo here : desk.ahome-it.com
>>>
>>> But again it s based on Ext JS
>>>
>>> If you can afford  your app beeing GPL you can use it :)
>>>
>>>
>>>
>>> On 17 January 2016 at 03:13, Stefan Falk <stefan...@gmail.com> wrote:
>>>
>>>> My brain hurts.. there's just so much. That GWT-Material library looks 
>>>> awesome but it appears to focus on mobile apps and tablets.
>>>>
>>>> What I am currently writing at is a administration tool for, let's say 
>>>> store owners that will be able to maintain multiple stores and different 
>>>> offers.
>>>>
>>>> It's nothing too complex I guess but I intent to create a desktop-like 
>>>> app. What I've seen so far from Smart GWT or Sencha would indeed provide 
>>>> everything I need.
>>>>
>>>> I've been focusing a lot on server side things the last few months 
>>>> implementing the database, learning first Hibernate then jOOQ and all the 
>>>> Spring and Spring Security stuff etc. 
>>>>
>>>> Now I am finally at the point where I could start to create a UI 
>>>> mock-up but first I have to find yet another library ^^ Why didn't I study 
>>>> economics like my father told me :P
>>>>
>>>>
>>>>
>>>>
>>>> On Sunday, 17 January 2016 02:47:24 UTC+1, Alain wrote:
>>>>>
>>>>> We have an old unmaintained wrapper for Qooxdoo but we dropped it to 
>>>>> go with Ext JS.
>>>>> Maybe you can write a wrapper. The community will appreciate I m sure 
>>>>> :)
>>>>>
>>>>> Well I heard that GWT 3 will drop support for Widget so maybe it s not 
>>>>> that bad to not extend widget.
>>>>>
>>>>> Are you trying to build a webdesktop ? 
>>>>> Then Sencha really has the best foundament for that imho.
>>>>>
>>>>> To be honest I dont know what to use. 
>>>>>
>>>>> I heard GXT 4 doest even offer a GPL version. 
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 17 January 2016 at 02:37, Stefan Falk <stefan...@gmail.com> wrote:
>>>>>
>>>>>> Sorry, I missed that Browser Desktop showcase of qooxdoo. There's 
>>>>>> indeed a lot but it's pure JavaScript, right? ^^
>>>>>>
>>>>>> I've just tried Vaadin. It appears that a Vaadin-Button is not a 
>>>>>> Widget? Why would such a basic UI element not implement the Widget 
>>>>>> interface? O_o
>>>>>>
>>>>>

Re: Are there any currently developed GWT Widget Libraries?

2016-01-16 Thread Stefan Falk
My brain hurts.. there's just so much. That GWT-Material library looks 
awesome but it appears to focus on mobile apps and tablets.

What I am currently writing at is a administration tool for, let's say 
store owners that will be able to maintain multiple stores and different 
offers.

It's nothing too complex I guess but I intent to create a desktop-like app. 
What I've seen so far from Smart GWT or Sencha would indeed provide 
everything I need.

I've been focusing a lot on server side things the last few months 
implementing the database, learning first Hibernate then jOOQ and all the 
Spring and Spring Security stuff etc. 

Now I am finally at the point where I could start to create a UI mock-up 
but first I have to find yet another library ^^ Why didn't I study 
economics like my father told me :P




On Sunday, 17 January 2016 02:47:24 UTC+1, Alain wrote:
>
> We have an old unmaintained wrapper for Qooxdoo but we dropped it to go 
> with Ext JS.
> Maybe you can write a wrapper. The community will appreciate I m sure :)
>
> Well I heard that GWT 3 will drop support for Widget so maybe it s not 
> that bad to not extend widget.
>
> Are you trying to build a webdesktop ? 
> Then Sencha really has the best foundament for that imho.
>
> To be honest I dont know what to use. 
>
> I heard GXT 4 doest even offer a GPL version. 
>
>
>
>
> On 17 January 2016 at 02:37, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> Sorry, I missed that Browser Desktop showcase of qooxdoo. There's indeed 
>> a lot but it's pure JavaScript, right? ^^
>>
>> I've just tried Vaadin. It appears that a Vaadin-Button is not a Widget? 
>> Why would such a basic UI element not implement the Widget interface? O_o
>>
>> :D I guess most people chose GWT because they don't like JavaScript 
>> right? :D
>>
>> GXT (or Sencha) does look good, indeed. But the prices are sky high.. 
>>
>> Hm, I am sure 1 hour is not enough to evaluate even one of those 
>> frameworks but if qooxdoo is pure JavaScript and Vaadin is not implementing 
>> vanilla GWT interfaces, what's left besides a quite expensive GXT? :/
>>
>>
>> On Sunday, 17 January 2016 01:52:30 UTC+1, Alain wrote:
>>>
>>> What are you looking for tha you could not find in qooxdoo ? 
>>> Did you look at vaadin ? I think the lasts versions dont require a 
>>> server for the UI
>>>
>>> We dont like JavaScript either.
>>> So we have a Java wrapper for Ext JS. http://eemi2010.github.io/ext4j/
>>>
>>> Also did you have a look at GXT ? 
>>>
>>> or maybe GWT-Polymer (https://github.com/vaadin/gwt-polymer-elements)
>>> or GWT-Material ? (http://gwt-material-demo.herokuapp.com/)
>>>
>>> There is another one I think I forgot.
>>>
>>>
>>>
>>> On 17 January 2016 at 01:46, Stefan Falk <stefan...@gmail.com> wrote:
>>>
>>>> qooxdoo looks indeed not bad but their showcase does not provide a lot 
>>>> of examples unfortunately (compared to others).
>>>>
>>>> I can't afford expensive libraries unfortunately and like you both 
>>>> already pointed out it is a little unfortunate for startups. Not sure if 
>>>> one could say that I already have a startup but I try to start up a 
>>>> startup 
>>>> :)
>>>>
>>>> It is really hard to tell what would make me happy. I'd of course 
>>>> prefer anything that is not a pain to get along with GWT vanilla. So 
>>>> jQWidgets won't be my favorite then. 
>>>>
>>>> And I am afraid that Ext JS isn't something for me either. The whole 
>>>> point for me to go with GWT was because I just don't like JavaScript - no 
>>>> offence here ^^ 
>>>>
>>>>
>>>>
>>>> On Sunday, 17 January 2016 00:09:14 UTC+1, Alain wrote:
>>>>>
>>>>> Actually I like http://qooxdoo.org/demos too.
>>>>> Free looks nice and easy to port to GWT
>>>>>
>>>>> Well we had a look a jQWidgets Try to port that API to GWT. 
>>>>> I tell you it s not fun
>>>>>
>>>>> Yes Ext JS is expensive. But for what it brings on the table it s 
>>>>> worth it.
>>>>>
>>>>> Not everyone Google and can give stuff away for free.
>>>>>
>>>>>
>>>>>
>>>>> On 16 January 2016 at 23:50, Blake McBride <bl...@arahant.com> wrote:
>>>>>
>>>>>> The minimum price for a limited version of ExtJS is now $4,475. 

Re: Are there any currently developed GWT Widget Libraries?

2016-01-16 Thread Stefan Falk
Well, I've found this stackoverflow question here [1] which appears to be 
quite outdated.
I am not quite sure which library to use because I can't really find some 
more recent comparisons. 
A lot of people tend to say "don't use any of those libraries, just use the 
MVP pattern instead" which sounds kind of strange to me because how does 
the MVP pattern satisfy all my Widget-Needs? ^^

I've seen there is a LGPL licence for SmartGWT but I am not sure: Is 
SmartGWT a replacement for GWT or is it just a library I can use withing 
GWT applications?

Regarding Vaadin: It seems this library runs on the server. I don't think 
this is suitable for me.

It appears that there is a lot of stuff out there and I am already stuck in 
another framework hell. 
So are there any sources where I can get informed or can somebody recommend 
me reliable library that won't send me into hell's kitchen?

BR; Stefan

On Saturday, 16 January 2016 01:04:02 UTC+1, Alain wrote:
>
> Vaadin (https://vaadin.com/home)
> GXT(https://www.sencha.com/products/gxt/)
> GWT Bootstap (http://gwtbootstrap3.github.io/gwtbootstrap3-demo/)
> Ext4j (http://eemi2010.github.io/ext4j/) : Disclaimer I created the 
> library
>
> See there a lot of choice :)
>
>
>
> On 15 January 2016 at 17:23, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> I am looking for a GWT Widget Library with basic desktop-like elements 
>> like Smart GWT [1]? 
>>
>> Unfortunately Smart GWT is not really cheap. Is there a library that you 
>> can recommend me?
>>
>> Best regards and thank you for any hints.
>>
>> Stefan
>>
>>   [1]: http://www.smartclient.com/smartgwt/showcase/#main
>>
>> -- 
>> 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-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Alain Ekambi
>
> Co-Founder
>
> Ahomé Innovation Technologies
>
> http://www.ahome-it.com/ <http://ahome-it.com/>
>

-- 
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: migrating from css to gss (gwt 2.7) - CellWidgets compile errors ?

2016-01-16 Thread Stefan Falk
Hi!

I just had the same issue using this Vaadin library, or rather say while 
testing it. 
What does this mean exactly? That GWT 2.8.0 won't support CSS at all and 
that I will have to convert all the CSS into GSS? 

I am asking because in that case I wouldn't even start to use CSS.

BR; Stefan

On Wednesday, 6 May 2015 17:38:22 UTC+2, Thomas Broyer wrote:
>
> Widgets have not yet been updated to GSS; it should be done by the 2.8 
> release (there was an attempt already –last week IIRC– but it had to be 
> reverted)
>
> On Wednesday, May 6, 2015 at 4:46:44 PM UTC+2, Thomas Lacroix wrote:
>>
>> Hi,
>> I am migrating from css to gss using gwt 2.7 and the compile fails :
>>
>> Computing all possible rebind results for 
>> 'com.google.gwt.resources.client.CommonResources.Bundle'
>> Rebinding 
>> com.google.gwt.resources.client.CommonResources.Bundle
>>Invoking generator 
>> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
>>   Preparing method inlineBlockStyle
>>  [ERROR] Your ClientBundle is referencing css files 
>> instead of gss. You will need to either convert these files to gss using 
>> the converter tool or turn on auto convertion in your gwt.xml file. Note: 
>> Autoconversion will be removed in the next version of GWT, you will need to 
>> move to gss.Add this line to your gwt.xml file to temporary avoid 
>> this:
>>  [ERROR] Errors in 
>> 'com/google/gwt/resources/client/CommonResources.java'
>> [ERROR] Line 57: Failed to resolve 
>> 'com.google.gwt.resources.client.CommonResources.Bundle' via deferred 
>> binding
>>  Computing all possible rebind results for 
>> 'com.google.gwt.user.cellview.client.CellList.Resources'
>> Rebinding 
>> com.google.gwt.user.cellview.client.CellList.Resources
>>Invoking generator 
>> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
>>   Preparing method cellListStyle
>>  [ERROR] Your ClientBundle is referencing css files 
>> instead of gss. You will need to either convert these files to gss using 
>> the converter tool or turn on auto convertion in your gwt.xml file. Note: 
>> Autoconversion will be removed in the next version of GWT, you will need to 
>> move to gss.Add this line to your gwt.xml file to temporary avoid 
>> this:
>>  [ERROR] Errors in 
>> 'com/google/gwt/user/cellview/client/CellList.java'
>> [ERROR] Line 147: Failed to resolve 
>> 'com.google.gwt.user.cellview.client.CellList.Resources' via deferred 
>> binding
>>  Computing all possible rebind results for 
>> 'com.google.gwt.user.cellview.client.CellBrowser.Resources'
>> Rebinding 
>> com.google.gwt.user.cellview.client.CellBrowser.Resources
>>Invoking generator 
>> com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
>>   Preparing method cellBrowserStyle
>>  [ERROR] Your ClientBundle is referencing css files 
>> instead of gss. You will need to either convert these files to gss using 
>> the converter tool or turn on auto convertion in your gwt.xml file. Note: 
>> Autoconversion will be removed in the next version of GWT, you will need to 
>> move to gss.Add this line to your gwt.xml file to temporary avoid 
>> this:
>>  [ERROR] Errors in 
>> 'com/google/gwt/user/cellview/client/CellBrowser.java'
>> [ERROR] Line 896: Failed to resolve 
>> 'com.google.gwt.user.cellview.client.CellBrowser.Resources' via deferred 
>> binding
>>
>> The errors goes away with the flag
>> 
>>
>> Am I doing something wrong or does it mean CellWidgets are not compatible 
>> with GSS for GWT 2.7 ? If do will it be for the next release ?
>> Thanks,
>> Thomas
>>
>>

-- 
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: Are there any currently developed GWT Widget Libraries?

2016-01-16 Thread Stefan Falk
Sorry, I missed that Browser Desktop showcase of qooxdoo. There's indeed a 
lot but it's pure JavaScript, right? ^^

I've just tried Vaadin. It appears that a Vaadin-Button is not a Widget? 
Why would such a basic UI element not implement the Widget interface? O_o

:D I guess most people chose GWT because they don't like JavaScript right? 
:D

GXT (or Sencha) does look good, indeed. But the prices are sky high.. 

Hm, I am sure 1 hour is not enough to evaluate even one of those frameworks 
but if qooxdoo is pure JavaScript and Vaadin is not implementing vanilla 
GWT interfaces, what's left besides a quite expensive GXT? :/


On Sunday, 17 January 2016 01:52:30 UTC+1, Alain wrote:
>
> What are you looking for tha you could not find in qooxdoo ? 
> Did you look at vaadin ? I think the lasts versions dont require a server 
> for the UI
>
> We dont like JavaScript either.
> So we have a Java wrapper for Ext JS. http://eemi2010.github.io/ext4j/
>
> Also did you have a look at GXT ? 
>
> or maybe GWT-Polymer (https://github.com/vaadin/gwt-polymer-elements)
> or GWT-Material ? (http://gwt-material-demo.herokuapp.com/)
>
> There is another one I think I forgot.
>
>
>
> On 17 January 2016 at 01:46, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> qooxdoo looks indeed not bad but their showcase does not provide a lot of 
>> examples unfortunately (compared to others).
>>
>> I can't afford expensive libraries unfortunately and like you both 
>> already pointed out it is a little unfortunate for startups. Not sure if 
>> one could say that I already have a startup but I try to start up a startup 
>> :)
>>
>> It is really hard to tell what would make me happy. I'd of course prefer 
>> anything that is not a pain to get along with GWT vanilla. So jQWidgets 
>> won't be my favorite then. 
>>
>> And I am afraid that Ext JS isn't something for me either. The whole 
>> point for me to go with GWT was because I just don't like JavaScript - no 
>> offence here ^^ 
>>
>>
>>
>> On Sunday, 17 January 2016 00:09:14 UTC+1, Alain wrote:
>>>
>>> Actually I like http://qooxdoo.org/demos too.
>>> Free looks nice and easy to port to GWT
>>>
>>> Well we had a look a jQWidgets Try to port that API to GWT. 
>>> I tell you it s not fun
>>>
>>> Yes Ext JS is expensive. But for what it brings on the table it s worth 
>>> it.
>>>
>>> Not everyone Google and can give stuff away for free.
>>>
>>>
>>>
>>> On 16 January 2016 at 23:50, Blake McBride <bl...@arahant.com> wrote:
>>>
>>>> The minimum price for a limited version of ExtJS is now $4,475.  No 
>>>> non-commercial, free version.
>>>>
>>>> Checkout jQWidgets.  It's free for non-commercial use, reasonable for 
>>>> commercial use, and looks really good!
>>>>
>>>> Blake McBride  (I have no affiliation with either.)
>>>>
>>>>
>>>>
>>>> On Sat, Jan 16, 2016 at 2:27 PM, Alain Ekambi <jazzma...@gmail.com> 
>>>> wrote:
>>>>
>>>>> Never used Vaadin but i heard their widget work client side too.
>>>>>
>>>>> Smart GWT is a wrapper around the smart client js library. It s nice 
>>>>> but i heard it does not play well with GWT widgets.
>>>>>
>>>>> We created our own library on top ext Ext JS called Ext4j. It s free 
>>>>> to use but Ext JS is commercial.
>>>>>
>>>>> If you ask me i would say go with Ext JS they   have the best widget 
>>>>> set really.
>>>>>
>>>>> On 16 January 2016 at 20:55, Stefan Falk <stefan...@gmail.com> wrote:
>>>>>
>>>>>> Well, I've found this stackoverflow question here [1] which appears 
>>>>>> to be quite outdated.
>>>>>> I am not quite sure which library to use because I can't really find 
>>>>>> some more recent comparisons. 
>>>>>> A lot of people tend to say "don't use any of those libraries, just 
>>>>>> use the MVP pattern instead" which sounds kind of strange to me because 
>>>>>> how 
>>>>>> does the MVP pattern satisfy all my Widget-Needs? ^^
>>>>>>
>>>>>> I've seen there is a LGPL licence for SmartGWT but I am not sure: Is 
>>>>>> SmartGWT a replacement for GWT or is it just a library I can use withing 
>>>>>> GWT applications?
>>>>>>
>>&

Re: Are there any currently developed GWT Widget Libraries?

2016-01-16 Thread Stefan Falk
qooxdoo looks indeed not bad but their showcase does not provide a lot of 
examples unfortunately (compared to others).

I can't afford expensive libraries unfortunately and like you both already 
pointed out it is a little unfortunate for startups. Not sure if one could 
say that I already have a startup but I try to start up a startup :)

It is really hard to tell what would make me happy. I'd of course prefer 
anything that is not a pain to get along with GWT vanilla. So jQWidgets 
won't be my favorite then. 

And I am afraid that Ext JS isn't something for me either. The whole point 
for me to go with GWT was because I just don't like JavaScript - no offence 
here ^^ 



On Sunday, 17 January 2016 00:09:14 UTC+1, Alain wrote:
>
> Actually I like http://qooxdoo.org/demos too.
> Free looks nice and easy to port to GWT
>
> Well we had a look a jQWidgets Try to port that API to GWT. 
> I tell you it s not fun
>
> Yes Ext JS is expensive. But for what it brings on the table it s worth it.
>
> Not everyone Google and can give stuff away for free.
>
>
>
> On 16 January 2016 at 23:50, Blake McBride <bl...@arahant.com 
> > wrote:
>
>> The minimum price for a limited version of ExtJS is now $4,475.  No 
>> non-commercial, free version.
>>
>> Checkout jQWidgets.  It's free for non-commercial use, reasonable for 
>> commercial use, and looks really good!
>>
>> Blake McBride  (I have no affiliation with either.)
>>
>>
>>
>> On Sat, Jan 16, 2016 at 2:27 PM, Alain Ekambi <jazzma...@gmail.com 
>> > wrote:
>>
>>> Never used Vaadin but i heard their widget work client side too.
>>>
>>> Smart GWT is a wrapper around the smart client js library. It s nice but 
>>> i heard it does not play well with GWT widgets.
>>>
>>> We created our own library on top ext Ext JS called Ext4j. It s free to 
>>> use but Ext JS is commercial.
>>>
>>> If you ask me i would say go with Ext JS they   have the best widget set 
>>> really.
>>>
>>> On 16 January 2016 at 20:55, Stefan Falk <stefan...@gmail.com 
>>> > wrote:
>>>
>>>> Well, I've found this stackoverflow question here [1] which appears to 
>>>> be quite outdated.
>>>> I am not quite sure which library to use because I can't really find 
>>>> some more recent comparisons. 
>>>> A lot of people tend to say "don't use any of those libraries, just use 
>>>> the MVP pattern instead" which sounds kind of strange to me because how 
>>>> does the MVP pattern satisfy all my Widget-Needs? ^^
>>>>
>>>> I've seen there is a LGPL licence for SmartGWT but I am not sure: Is 
>>>> SmartGWT a replacement for GWT or is it just a library I can use withing 
>>>> GWT applications?
>>>>
>>>> Regarding Vaadin: It seems this library runs on the server. I don't 
>>>> think this is suitable for me.
>>>>
>>>> It appears that there is a lot of stuff out there and I am already 
>>>> stuck in another framework hell. 
>>>> So are there any sources where I can get informed or can somebody 
>>>> recommend me reliable library that won't send me into hell's kitchen?
>>>>
>>>> BR; Stefan
>>>>
>>>> On Saturday, 16 January 2016 01:04:02 UTC+1, Alain wrote:
>>>>>
>>>>> Vaadin (https://vaadin.com/home)
>>>>> GXT(https://www.sencha.com/products/gxt/)
>>>>> GWT Bootstap (http://gwtbootstrap3.github.io/gwtbootstrap3-demo/)
>>>>> Ext4j (http://eemi2010.github.io/ext4j/) : Disclaimer I created the 
>>>>> library
>>>>>
>>>>> See there a lot of choice :)
>>>>>
>>>>>
>>>>>
>>>>> On 15 January 2016 at 17:23, Stefan Falk <stefan...@gmail.com> wrote:
>>>>>
>>>>>> I am looking for a GWT Widget Library with basic desktop-like 
>>>>>> elements like Smart GWT [1]? 
>>>>>>
>>>>>> Unfortunately Smart GWT is not really cheap. Is there a library that 
>>>>>> you can recommend me?
>>>>>>
>>>>>> Best regards and thank you for any hints.
>>>>>>
>>>>>> Stefan
>>>>>>
>>>>>>   [1]: http://www.smartclient.com/smartgwt/showcase/#main
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups 

Re: Are there any currently developed GWT Widget Libraries?

2016-01-16 Thread Stefan Falk
Wow, that looks quite impressive! That is almost too desktop-like for my 
needs, I didn't mean an actual desktop :P 

Well, I think I will have to spent more time on that and take a closer look 
at each of those libraries. 
When I started searching I thought I will just add a new dependency to my 
pom.xml and I am ready to go but nah ..

It seems that I will install each of those libs and try out a few things..

I am not sure if you can help me with that but do you have a clue why I am 
getting this error: [1] 
I tried to make Smart GWT work earlier that day but I couldn't find out 
what the problem might be here.

However, thank you for your help and advice! I'll read through all of it 
again tomorrow but it's 4 am her in Austria and I think I should
go to bed anytime soon :D

[1] 
http://stackoverflow.com/questions/34831911/trying-to-use-smartgwt-but-getting-errors-cannot-read-property-setautodraw-o


On Sunday, 17 January 2016 03:20:14 UTC+1, Alain wrote:
>
> I feel you :)
> Actually we are building a reusable webdesktop component.  We build in 
> from the ground and will license it to others. 
> You can see an early (very old) demo here : desk.ahome-it.com
>
> But again it s based on Ext JS
>
> If you can afford  your app beeing GPL you can use it :)
>
>
>
> On 17 January 2016 at 03:13, Stefan Falk <stefan...@gmail.com 
> > wrote:
>
>> My brain hurts.. there's just so much. That GWT-Material library looks 
>> awesome but it appears to focus on mobile apps and tablets.
>>
>> What I am currently writing at is a administration tool for, let's say 
>> store owners that will be able to maintain multiple stores and different 
>> offers.
>>
>> It's nothing too complex I guess but I intent to create a desktop-like 
>> app. What I've seen so far from Smart GWT or Sencha would indeed provide 
>> everything I need.
>>
>> I've been focusing a lot on server side things the last few months 
>> implementing the database, learning first Hibernate then jOOQ and all the 
>> Spring and Spring Security stuff etc. 
>>
>> Now I am finally at the point where I could start to create a UI mock-up 
>> but first I have to find yet another library ^^ Why didn't I study 
>> economics like my father told me :P
>>
>>
>>
>>
>> On Sunday, 17 January 2016 02:47:24 UTC+1, Alain wrote:
>>>
>>> We have an old unmaintained wrapper for Qooxdoo but we dropped it to go 
>>> with Ext JS.
>>> Maybe you can write a wrapper. The community will appreciate I m sure :)
>>>
>>> Well I heard that GWT 3 will drop support for Widget so maybe it s not 
>>> that bad to not extend widget.
>>>
>>> Are you trying to build a webdesktop ? 
>>> Then Sencha really has the best foundament for that imho.
>>>
>>> To be honest I dont know what to use. 
>>>
>>> I heard GXT 4 doest even offer a GPL version. 
>>>
>>>
>>>
>>>
>>> On 17 January 2016 at 02:37, Stefan Falk <stefan...@gmail.com> wrote:
>>>
>>>> Sorry, I missed that Browser Desktop showcase of qooxdoo. There's 
>>>> indeed a lot but it's pure JavaScript, right? ^^
>>>>
>>>> I've just tried Vaadin. It appears that a Vaadin-Button is not a 
>>>> Widget? Why would such a basic UI element not implement the Widget 
>>>> interface? O_o
>>>>
>>>> :D I guess most people chose GWT because they don't like JavaScript 
>>>> right? :D
>>>>
>>>> GXT (or Sencha) does look good, indeed. But the prices are sky high.. 
>>>>
>>>> Hm, I am sure 1 hour is not enough to evaluate even one of those 
>>>> frameworks but if qooxdoo is pure JavaScript and Vaadin is not 
>>>> implementing 
>>>> vanilla GWT interfaces, what's left besides a quite expensive GXT? :/
>>>>
>>>>
>>>> On Sunday, 17 January 2016 01:52:30 UTC+1, Alain wrote:
>>>>>
>>>>> What are you looking for tha you could not find in qooxdoo ? 
>>>>> Did you look at vaadin ? I think the lasts versions dont require a 
>>>>> server for the UI
>>>>>
>>>>> We dont like JavaScript either.
>>>>> So we have a Java wrapper for Ext JS. http://eemi2010.github.io/ext4j/
>>>>>
>>>>> Also did you have a look at GXT ? 
>>>>>
>>>>> or maybe GWT-Polymer (https://github.com/vaadin/gwt-polymer-elements)
>>>>> or GWT-Material ? (http://gwt-material-demo.herokuapp.com/)
>>>>>
>>>>> There is a

Are there any currently developed GWT Widget Libraries?

2016-01-15 Thread Stefan Falk
I am looking for a GWT Widget Library with basic desktop-like elements like 
Smart GWT [1]? 

Unfortunately Smart GWT is not really cheap. Is there a library that you 
can recommend me?

Best regards and thank you for any hints.

Stefan

  [1]: http://www.smartclient.com/smartgwt/showcase/#main

-- 
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: How to avoid rounding problems when working with doubles

2016-01-12 Thread Stefan Bylund
Try BigDecimal if you need precision.

/Stefan

Den tisdag 12 januari 2016 kl. 12:28:31 UTC+1 skrev Frank:
>
> Javascript has some serious problems when working with floating numbers.
>
> Like if you enter the following into a javascript in any browser : 7.3 - 7
> These will all give the result : 0.2998
>
>
> This problems is also visible in GWT : 
>
> int test = 7;
> double dTest = 7.3;
> double result = dTest - test;
> GWT.log("test result = " + result);
>
> will also print out 0.2998
>
>
> How does one avoid these problems in GWT, so that you can trust on the 
> results you receive when calculating with floating point numbers ?
>
>
>
> FYI : The specific use case that I have is that users enter a time in 
> decimals hours in a textbox. And I must recalculate this to minutes.
> For example when the user enters 7.5, this should give 450 minutes.
> But with all these rounding problems this often goes of by one minute...
>

-- 
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: GWT strengths and suitability for enterprise apps - presentation

2015-12-09 Thread Stefan Bylund
Why not say something like: GWT, formerly known as Google Web Toolkit when 
run by Google and now simply called GWT when run as an open source project.

Den onsdag 9 december 2015 kl. 07:04:45 UTC+1 skrev Anand, Debasish Gautam:
>
> Unfortunately GWT = GWT web toolkit sounds quite terrible. Anyone would 
> ask what GWT in GWT stands. By this naming policy we are forcing the legacy 
> to become more prominent. Why shouldn't we call it Grumpy web toolkit or 
> say Grand web toolkit to make the transition smooth and natural.
> On Dec 9, 2015 1:25 AM, "Jens"  wrote:
>
>>
>> Well in that case, everyone would like to know what the G there stands 
>>> for :) any clues ?
>>>
>>
>> From http://www.gwtproject.org/GWTPolicy.html
>>
>> *"Name is spelled GWT - all capital and it stands for GWT Web Toolkit."*
>>
>> -- J.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/TouUeFhlevY/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@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 "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 app shows wrong on iPad/Safari?

2015-11-24 Thread Stefan Bylund
Hi Magnus,

I'm not sure how to make the viewport meta tag conditional on the client 
side so that it's only picked up by iOS Safari web browsers.

However, if you can generate your main HTML page dynamically on the server 
side, I guess that you can detect the type of user agent (i.e. web browser) 
and in case of iOS Safari add the viewport meta tag to your main HTML page.

Maybe someone else can suggest a better solution for your problem?

/Stefan


Den torsdag 19 november 2015 kl. 04:37:17 UTC+1 skrev Magnus:
>
> Hi Stefan,
>
> my app always worked until a user of IOS 9.1 said that the app is 
> extremely zoomed. Then I asked here and applied the viewport meta tag for 
> the first time. The IOS user said, it was ok now. But now the app is 
> displayed wrong on Android.
>
> The app adapts its GUI to the width of the screen. However, on a 
> smartphone the screen may be so small that the app shrinks so much that you 
> cannot use it anymore. In other words, there is a minimum width and if this 
> does not fit onto the screen, there must be horizontal scrollbars.
>
> Without IOS everything was ok. Can't we apply a viewport meta tag for IOS 
> devices only and leave the others alone?
>
> Thanks
> Magnus
>

-- 
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 app shows wrong on iPad/Safari?

2015-11-17 Thread Stefan Bylund
Hi Magnus,

Doesn't the screen go back to non-zoomed mode if you double tap on it?

I guess that one way of preventing the auto zoom feature for input fields 
in IOS is to add user-scalable=no like this:



However, that will completely disable zooming and that may not be what you 
want. I have also read somewhere that if the font size is 16px then IOS 
will not auto zoom but I haven't tested it myself.

You say that this solution doesn't work on Android. Is your web app 
responsive, i.e. does it adapt to the current screen/window size? If not, 
then you should probably not use the viewport meta tag at all.

/Stefan


Den tisdag 17 november 2015 kl. 13:45:55 UTC+1 skrev Magnus:
>
> Hi,
> in the meantime I found that the solution for IOS made the GUI unusable 
> for Android.
> The display is shrinked to fit on the screen. There are no scrollbars 
> anymore.
>
> Isn't there a solution for this?
> Or could you limit the viewport tag for ios devices only?
>
> Thanks
> Magnus
>

-- 
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 app shows wrong on iPad/Safari?

2015-10-20 Thread Stefan Bylund
Try to add the following line to the head section in your HTML file:



I think that the viewport meta tag was introduced by Apple in Safari on iOS 
and it's now supported by several other mobile web browsers as well. As far 
as I know, desktop we browsers ignore the viewport meta tag.

/Stefan


Den tisdag 20 oktober 2015 kl. 05:30:04 UTC+2 skrev Magnus:
>
>
>
> On Saturday, October 17, 2015 at 3:18:11 PM UTC+2, james0072 wrote:
>>
>> Did you use the viewport in the html?
>>
>> https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
>>
>
> No, but the page you pointed to sounds like there could be a solution.
> But if I add a viewport tag, what about the "normal" PCs where my app 
> already shows correctly?
>
> And what width should I set in the viewport?
> I don't know the device my app is running on. Do I have to "detect" the 
> device and set the viewport then? Sounds cumbersome...
>
> Thank you
> Magnus
>

-- 
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.


Places & Activities for two folded website

2015-09-13 Thread Stefan Falk
What I mean by "two folded" is that I am having a public landing page for 
the "common folks" and an admin area for some particular users.

However, I am realizing that the way I am handling Places at the moment 
does not "feel" optimal to me (check out my stackoverflow question [1]).

But there's now another thing. I have no idea how I would split those two 
areas admin/non-admin. For example I would not like to mix up their places. 

I don't think it should be necessary to have something like

if(place instanceof SomeAdminPlace1) {
// ...
} else if(place instanceof SomeAdminPlace2) {
// ...
} else if(place instanceof SomeNoneAdminPlace1) {
// ...
} // and so on...

My question would be if I would have two different ActivityMapper and 
PlaceHistoryMappers for such an application and if yes how that would look 
like?

How would I setup such an application in my onModuleLoad() entry point? And 
how can I ensure that the history is still working if I got multiple 
ActivityMapper and/or multiple PlaceController if that's even possible ..

I am almost pretty sure that I am mixing here a few things up but I don't 
really know how to do that without shooting myself in he foot later on 
during this project ..

Best regards and thank you for any help!

[1] 
http://stackoverflow.com/questions/32552331/gwt-activities-and-places-how-to-understand-this-concept

-- 
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.


Dead links on http://www.gwtproject.org

2015-09-07 Thread Stefan Falk
Hi!

Somehow every link on 
http://www.gwtproject.org/doc/latest/DevGuideLogging.html appears to be 
broken. But I've seen a lot more broken links to images and/or other 
websites. What is the reason for all the dead links on 
http://www.gwtproject.org ?

Best regards,
Stefan

-- 
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.


Building a simple layout.

2015-09-04 Thread Stefan Falk
I'm searching for a way to implement this very simple static layout [1] 
using the UiBinder. It seems not to be possible using just a HTMLPanel 
which throws a parsing exception if I do something like:



but how can I create such a static layout as described in my SO question 
[1]? I've been looking but I can't find a way..

Or is a table a wrong approach here?

Thanks for any help on this!

Best regards,
Stefan

[1] 
http://stackoverflow.com/questions/32402917/how-to-use-flextable-with-uibinder

-- 
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.


Hyperlink: Why does my history token getting removed and replaced by /# ?

2015-08-15 Thread Stefan Falk
Hi!

This question is also on stackoverflow: 
http://stackoverflow.com/questions/32027495/gwt-hyperlink-strange-behavior-redirecting-to-http-localhost8080

But essentially the history token I am passing to the Hyperlink gets just 
loaded very shortly but then replaced by /# which causes my landing page to 
get loaded where I would have wanted my event calendar to be.

How I create the Hyperlink:

Hyperlink eventCalendar= new Hyperlink(Eventkalender, eventCalendar= + 
store.getId());


How I register the event handler:

App.activityManager.setDisplay(this.mainView.getMainContentContainer());
History.addValueChangeHandler(new ValueChangeHandlerString() {
@Override
public void onValueChange(ValueChangeEventString event) {
String historyToken = event.getValue();
GWT.log(onValueChange() historyToken  + historyToken);
}});




But for some reason

http://localhost:8080/#eventCalendar=1



changes to 

http://localhost:8080/#



immediately after. What am I doing wrong? :/

-- 
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.


gwtproject.org Images not displaying

2015-08-07 Thread Stefan Falk
For some reason the images on this article [1] are not displayed but 
instead their relative location is written e.g. 
![screenshot](../images/contact-list-view.png). Any chance that somebody 
could fix this? Didn't check if other articles/pages are affected.

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

-- 
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.


Should I use XsrfProtectedServiceServlet despite its experimental declaration?

2015-08-03 Thread Stefan Falk
Hey guys!

I would like to know [1] if I can use the XsrfProtectedServiceServlet 
class. I just realized that it is declared as being experimental but 
there are not changes since 2011. For me it is working so far so should I 
take that warning do not use in production serious or not?

Best regards,
Stefan

[1] 
http://stackoverflow.com/questions/31784521/should-i-use-xsrfprotectedserviceservlet-despite-its-experimental-declaration

-- 
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-contrib] Re: Stop calling it GWT 3.0

2015-06-16 Thread stefan . bylund99
Features that I hope will still be supported (or have replacements) in GWT 
3.0:

* The core parts of the widget library, i.e. the base widgets, composites, 
cell widgets (e.g. CellTable, DataGrid), and layout panels. However, I will 
not miss the old-style table-based panels and all deprecated APIs.

* UiBinder

* i18n

* Event bus

* History support

* Eclipse IDE integration

/Stefan


  

-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/a82a9098-41b8-425c-8e0f-69adf2a5795b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Logging GWT with Tomcat

2015-05-13 Thread Stefan Bylund
See the blog post 7 Tips for Exception Handling in GWT at 
http://www.summa-tech.com/blog/2012/06/11/7-tips-for-exception-handling-in-gwt 
and the GWT documentation 
http://www.gwtproject.org/doc/latest/DevGuideLogging.html#Remote_Logging.

Section 4 Log exceptions on the server in this blog post describes how to 
log client events on the server. This example talks about using GWT-RPC for 
remote logging but it's quite easy to implement custom remote logging using 
JSON or whatever.




-- 
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: Chrome prompts me to install GWT Developer Plugin even though the plugin is already installed

2015-04-20 Thread Stefan Bylund
I also noticed this yesterday.

The GWT Developer Plugin requires NPAPI, which was disabled in Chrome 
version 42.

It is possible to temporarily re-enable it again using the URL 
chrome://flags/#enable-npapi

Evidently, that option will disappear in Chrome version 45...

-- 
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.


IntelliJ IDEA, custom urls in hosts file

2014-12-03 Thread Stefan Berger


Hi,


in my hosts file I have

127.0.0.1 test.loc.com www.loc.com

I'm playing with cookies, create them for different domain names.

In IntelliJ's GWT configuration, in the Dev Mode Parameters I have

-startupUrl http://test.loc.com: com.test.MyApp

The console output is

 Dev Mode initialized. Startup URL:  
 http://test.loc.com:/MyApp.html?gwt.codesvr=127.0.0.1:9997

I have the Open in browser option checked. Chrome opens with the url 
http://127.0.0.1:/MyApp.html?gwt.codesvr=127.0.0.1:9997 and everything 
looks ok, same with localhost:. But when I open

http://test.loc.com:/MyApp.html?gwt.codesvr=127.0.0.1:9997

I get

Plugin failed to connect to Development Mode server at 127.0.0.1:9997

Using IntelliJ + Firefox or Eclipse + any browser my own urls work, Havent' 
tried other browsers. Is that a bug? Is this the right place to report it?

-- 
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.


[gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-23 Thread Stefan Lecho
It seems that the com.google.gwt.widget.client.TextButton class is no 
longer packaged in the v2.7.0-beta1 of gwt-user.jar. Where can I find this 
class ?

On Saturday, 18 October 2014 19:54:40 UTC+2, Daniel Kurka wrote:

 Hi all,

 since we are adding major features to GWT, we decided to change our 
 release process for GWT 2.7. I just published GWT 2.7.0-beta1 to maven 
 central and our file storage http://goo.gl/pr7km3.
 We are doing this beta to get external feedback on incremental compilation 
 and GSS.

 Incremental compilation is now default with GWT 2.7 and replaces, together 
 with Super dev mode, the regular old dev mode. Inside of Google we are 
 already using it for a while now and most of the issues should have already 
 been dealt with, however we also want to make sure that external users that 
 might have slightly different use cases will have a working 2.7.0 release.

 So please start testing with beta1 and give us lots of feedback on the 
 contributor 
 list 
 https://groups.google.com/forum/#!forum/Google-Web-Toolkit-Contributors 
 or on the issue tracker 
 https://code.google.com/p/google-web-toolkit/issues/list. Please keep 
 in mind that we did not do any release testing on beta1, so there might be 
 issues that you do not expect from a release candidate.

 Our current plan is to wait until the end of next week for any feedback. 
 If we do not find any serious external issues we will start the testing 
 process for an actual release candidate.

 -Daniel


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/9de6bff0-56c2-4c27-80da-d9cfbffca481%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: GWT 2.7.0 beta1

2014-10-23 Thread Stefan Lecho
Thanks for pointing me to the source code. If I want to use v2.7.0-beta1, 
with which classes should I replace them ?

On Friday, 24 October 2014 07:01:27 UTC+2, Goktug Gokdogan wrote:

 com.google.gwt.widget.* was deprecated and removed in the 2.7 release.
 You can get a copy of the files here:

 https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/widget/client?r=9884

 On Thu, Oct 23, 2014 at 7:57 AM, Stefan Lecho stl...@gmail.com 
 javascript: wrote:

 It seems that the com.google.gwt.widget.client.TextButton class is no 
 longer packaged in the v2.7.0-beta1 of gwt-user.jar. Where can I find 
 this class ?

 On Saturday, 18 October 2014 19:54:40 UTC+2, Daniel Kurka wrote:

 Hi all,

 since we are adding major features to GWT, we decided to change our 
 release process for GWT 2.7. I just published GWT 2.7.0-beta1 to maven 
 central and our file storage http://goo.gl/pr7km3.
 We are doing this beta to get external feedback on incremental 
 compilation and GSS.

 Incremental compilation is now default with GWT 2.7 and replaces, 
 together with Super dev mode, the regular old dev mode. Inside of Google we 
 are already using it for a while now and most of the issues should have 
 already been dealt with, however we also want to make sure that external 
 users that might have slightly different use cases will have a working 
 2.7.0 release.

 So please start testing with beta1 and give us lots of feedback on the 
 contributor 
 list 
 https://groups.google.com/forum/#!forum/Google-Web-Toolkit-Contributors 
 or on the issue tracker 
 https://code.google.com/p/google-web-toolkit/issues/list. Please keep 
 in mind that we did not do any release testing on beta1, so there might be 
 issues that you do not expect from a release candidate.

 Our current plan is to wait until the end of next week for any feedback. 
 If we do not find any serious external issues we will start the testing 
 process for an actual release candidate.

 -Daniel

  -- 
 You received this message because you are subscribed to the Google Groups 
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com 
 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/9de6bff0-56c2-4c27-80da-d9cfbffca481%40googlegroups.com
  
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/9de6bff0-56c2-4c27-80da-d9cfbffca481%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/e342662b-7fcd-47a0-9b48-ae09eb80bec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving to Maven

2014-08-26 Thread Stefan Ollinger
Maven has archetypes, which are basically project templates [1]. The GWT 
plugin has a simple archetypes, this is also explained on the plugin 
page [2]. Thomas created archetypes for a more complex project setup [3].


I found Google's sample projects really helpful to get started with 
Maven+GWT [4], [5].


Regards,
Stefan

[1] 
http://maven.apache.org/guides/introduction/introduction-to-archetypes.html

[2] http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
[3] https://github.com/tbroyer/gwt-maven-archetypes
[4] 
https://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/
[5] 
https://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/



Am 26.08.2014 19:06, schrieb Magnus:

Hi Thomas!

On Tuesday, August 26, 2014 10:32:48 AM UTC+2, Thomas Broyer wrote:

Where is a tutorial that gets me started?


I don't know about a tutorial per se, but for me
https://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
https://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
is where you'll want to start.

This document again refers to the other 
one: http://mojo.codehaus.org/gwt-maven-plugin/


Given that you already know GWT, I'd start from scratch: create
the POM manually and add things incrementally until you reach a
point where you have something usable.


Ok, but at the very beginning, I need a tutorial that shows the steps 
to create a new project, i. e. what actually are the commands to 
create the POM manually:

In essence: Which maven command creates a hello world GWT app?

IMO that's the best way to learn because you're forced to read docs


I agree, but I need docs. As a maven beginner it's very frustrating 
that there are several GWT plugins for maven, and that there are no 
unique names, so that you can tell plugin XXX is good, but plugin YYY 
is bad.


Magnus

and other projects and understand what you're doing; it takes
longer but at least you should know how everything's tied
together. YMMV though, but then I'm not the right person to ask
for advice ;-)

--
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 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto: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.


mgwt Scrollpanel doesn't scroll with Android-Phonegap

2014-02-06 Thread Stefan Strobl
Hello,

I tried to deploy my mgwt-App with Phonegap on Android.  My configuration 
is:

gwt 2.5.0
mgwt 1.1.2
gwtphonegap:2.4.0.0
and 
phonegap 2.4.0

In the Webbrowser of the device the scrollpanel works fine, but in the 
webview from phonegap there is no scrolling. 
I haven't found something to this issue in the internet. There are some 
ideas to fix it?

Thanks, Stefan

-- 
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/groups/opt_out.


Re: mgwt Scrollpanel doesn't scroll with Android-Phonegap

2014-02-06 Thread Stefan Strobl
Sorry wrong Gorup :(
https://groups.google.com/forum/#!topic/mgwt/YfGyYJjClmE

Am Donnerstag, 6. Februar 2014 15:14:18 UTC+1 schrieb Stefan Strobl:

 Hello,

 I tried to deploy my mgwt-App with Phonegap on Android.  My configuration 
 is:

 gwt 2.5.0
 mgwt 1.1.2
 gwtphonegap:2.4.0.0
 and 
 phonegap 2.4.0

 In the Webbrowser of the device the scrollpanel works fine, but in the 
 webview from phonegap there is no scrolling. 
 I haven't found something to this issue in the internet. There are some 
 ideas to fix it?

 Thanks, Stefan


-- 
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/groups/opt_out.


Re: Firefox / GWT plugin troubles

2013-12-04 Thread Stefan Brozinski
Is this known issue ever going to be fixed?
I wouldn't call rolling back Firefox from 25.0.1 to 25 a fix. Sounds more 
like a workaround.

-- 
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/groups/opt_out.


Re: Still problems with com.google.gwt.core.client.GWTBridge

2013-08-28 Thread Stefan Sandhop
I agree with you. 
Passing 'null' did the trick in most cases.

So I just wanted to share my finding as it would not be a big change and 
would not make a difference in any other case.


On Tuesday, August 27, 2013 4:27:42 PM UTC+2, Thomas Broyer wrote:



 On Tuesday, August 27, 2013 4:03:32 PM UTC+2, Stefan Sandhop wrote:

 On Wednesday, June 5, 2013 4:32:04 PM UTC+2, Thomas Broyer wrote:


 Are you using any third-party GWT library on the server? Which class is 
 trying to access com.google.gwt.core.client.GWT? (rather than 
 com.google.gwt.core.shared.GWT) 

  
 For me this happens with com*.*google*.*gwt*.*event*.*dom*.*client*
 .PrivateMap* using GWT 2.5.1 while trying to create a ClickEvent in a 
 JUnit test (not GWTTestCase). I think, there is no need to use 
 *com.google.gwt.core.client.GWT 
 *there*.*


 It's possible that using shared.GWT there would solve your immediate 
 problem, but ClickEvent definitely is *client* code, with lots of JSNI; 
 it's not meant to be used outside a “GWT environment” (i.e. plain JVM), so 
 I think it's unlikely we'd make the change.
 Try to refactor your code, or pass 'null' instead of a ClickEvent 
 instance, or have a look at gwt-test-utils or gwt-mockito.


-- 
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/groups/opt_out.


Re: Still problems with com.google.gwt.core.client.GWTBridge

2013-08-27 Thread Stefan Sandhop
On Wednesday, June 5, 2013 4:32:04 PM UTC+2, Thomas Broyer wrote:


 Are you using any third-party GWT library on the server? Which class is 
 trying to access com.google.gwt.core.client.GWT? (rather than 
 com.google.gwt.core.shared.GWT) 

 
For me this happens with 
comeclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom
*.*googleeclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom.google
*.*gwteclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom.google.gwt
*.*eventeclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom.google.gwt.event
*.*domeclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom.google.gwt.event.dom
*.*clienteclipse-javadoc:%E2%98%82=ecg.trade.mts.nom.msg.ui/C:%5C/Users%5C/sandhops%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-user%5C/2.5.1%5C/gwt-user-2.5.1.jar%3Ccom.google.gwt.event.dom.client
*.PrivateMap* using GWT 2.5.1 while trying to create a ClickEvent in a 
JUnit test (not GWTTestCase). I think, there is no need to use 
*com.google.gwt.core.client.GWT 
*there*.*


 

-- 
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/groups/opt_out.


Re: Query Regarding MVP architecture

2013-04-17 Thread Stefan Ollinger

Hi,

MVP makes sense if your application has multiple view implementations for 
different devices (browser, mobile, tablet).
Otherwise I prefer simple widgets using UiBinder/HtmlPanel and Composite 
containing presenter and view logic together.

Regards, Stefan

Am 17.04.2013 um 07:42 schrieb Kedar Vyawahare kedar.vyawahare1...@gmail.com:

 
 Hi all,
 
 We are Building a large scale application in GWT. We are a little bit 
 confused about the pattern we should  use.Can anyone please suggest me shall 
 we go with GWT simple pattern  or shall we use patterns like MVP?
 
 -Regards
 
 Kedar
  
 
 
 
 
 -- 
 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.
  
  

-- 
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: What is right approach to send frequently server time to client in GWT?

2013-04-17 Thread Stefan Ollinger
Using RPC seems ok here. Note that there are no threads in the browser. 
Also you cant compare the JProfiler results of the application running 
in debug mode to the actually compiled JavaScript application which runs 
in the browser engine.


On 17.04.2013 12:31, Bhumika Thaker wrote:

Hi,

I have one gwt application. I have a requirement to show frequently 
server date to client side, For this, I used GWTEventService. While 
user logged in, then I am sending one rpc and create one thread using 
timer which will send periodically event to client.


But due to memory leak, after debugging using *JProfiler *I came to 
know that date object created inside timer and due to thread creation 
it is not being garbage collected.


I think I am doing somewhat wrong way.  Let me know is What is right 
approach to send frequently server time to client in GWT?


*This is a method which will call after login.*

public static void *registerServerTimerEvent*(final Label widget,final 
String dateFormat)

{
ClientGinjector ginjector = (ClientGinjector) 
WorkFlowSessionFactory.getValue(WorkFlowSesisonKey.GININJECTOR);

DispatchAsync dispatchAsync = ginjector.getDispatchAsync();
dispatchAsync.execute(new UtilityCaller(), new 
AsyncCallbackUtilityCallerResult() {


@Override
public void onFailure(Throwable caught) {
}

@Override
public void onSuccess(UtilityCallerResult result) {
String strdate;
if(dateFormat!=null){
DateTimeFormat fmt = DateTimeFormat.getFormat(dateFormat);
strdate = fmt.format(result.getServerDate());
}else{
strdate = result.getServerDate().toString();
}
setDateTime(strdate,widget);
}
});
RemoteEventService theRemoteEventService = 
RemoteEventServiceFactory.getInstance().getRemoteEventService();

//add a listener to the SERVER_MESSAGE_DOMAIN
theRemoteEventService.addListener(NTTimerEvent.SERVER_MESSAGE_DOMAIN, 
new RemoteEventListener() {

public void apply(Event anEvent) {
if(anEvent instanceof NTTimerEvent) {
NTTimerEvent theServerGeneratedMessageEvent = (NTTimerEvent)anEvent;
String strdate;
if(dateFormat!=null){
DateTimeFormat fmt = DateTimeFormat.getFormat(dateFormat);
strdate = fmt.format(theServerGeneratedMessageEvent.getServerDate());
}else{
strdate = theServerGeneratedMessageEvent.getServerDate().toString();
}
setDateTime(strdate,widget);
WorkFlowSessionFactory.putValue(WorkFlowSesisonKey.SERVER_DATE_TIME,theServerGeneratedMessageEvent.getServerDate());
}
}
});
}
public static void setDateTime(String dateTime,Label label) {
if(label != null){
label.setText(dateTime);
}
}


*NTTimerEvent *
*
*
public class NTTimerEvent implements Event
{
/**
 *
 */
private static final long serialVersionUID = 1L;

public static final Domain SERVER_MESSAGE_DOMAIN = 
DomainFactory.getDomain(server_message_domain);


private Date serverDate;

private NTTimerEvent() {}

public NTTimerEvent(Date serverDate) {
this.serverDate = serverDate;
}

public Date getServerDate() {
return serverDate;
}

public void setServerDate(Date serverDate) {
this.serverDate = serverDate;
}
}

*Handler Code:*

public class UtilityCallerActionHandler extends 
RemoteEventServiceServlet implements

ActionHandlerUtilityCaller, UtilityCallerResult {

private static Timer myEventGeneratorTimer;
@Inject
public UtilityCallerActionHandler() {
}

@Override
public UtilityCallerResult execute(UtilityCaller action,
ExecutionContext context) throws ActionException {
try{
if(myEventGeneratorTimer == null) {
   myEventGeneratorTimer = new Timer(true);
   myEventGeneratorTimer.schedule(new ServerTimerTask(), 0, 
1);

   }
return new UtilityCallerResult();
}catch (Exception e) {
CommonUtil.printStackTrace(e);
long exceptionBeanId = 0l;
if (e instanceof NTException) {
exceptionBeanId = ((NTException)e).getExceptionBeanId();
}
throw new NTActionException(NTException.getStackTrace(e),e.getCause(), 
exceptionBeanId);

}
}

@Override
public void undo(UtilityCaller action, UtilityCallerResult result,
ExecutionContext context) throws ActionException {
}

@Override
public ClassUtilityCaller getActionType() {
return UtilityCaller.class;
}
private class ServerTimerTask extends TimerTask
{
public void run() {
*  final Date theEventMessage = new Date();*
*//create the event*
*Event theEvent = new NTTimerEvent(theEventMessage);*
*//add the event, so clients can receive it*
*addEvent(NTTimerEvent.SERVER_MESSAGE_DOMAIN, theEvent);*
}
}

}



--
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.




--
You received this message because 

Re: What is right approach to send frequently server time to client in GWT?

2013-04-17 Thread Stefan Ollinger

There are two methods:

  - Polling: calling the server in regular intervals
  - Pushing: the server sends data on its own to the client

For pushing i suggest you to take a look at Atmosphere

  - http://async-io.org/
  - 
https://github.com/Atmosphere/atmosphere-extensions/wiki/Atmosphere-GWT-2.0


Regards,
Stefan

On 17.04.2013 14:21, Bhumika Thaker wrote:

Hi Stefan,

No, I don't want to make rpc call frequently. because it will 
create unnecessaryRPC call. As I mention I want to show*server time 
*to client frequently. so to avoid unnecessary  RPC call like 
client-request-server than server-response-client

I am doing if time change than server-response-client only.

Seems someone still holds a reference to the objects, so it cant be 
garbage collected.
As you see code then in UtilityCallerActionHandler, in this code 
NTTimerEvent event object created inside *Timer*.

private class ServerTimerTask extends TimerTask
{
public void run() {
final Date theEventMessage = new Date();
//create the event
Event theEvent = new NTTimerEvent(theEventMessage);
//add the event, so clients can receive it
addEvent(NTTimerEvent.SERVER_MESSAGE_DOMAIN, theEvent);
}
}
As I know timer is thread and thread is not make eligible object for 
garbage collection which objects are created inside it. util stopped JVM.
So that is why thread hold this reference. but I don't have any event 
other than thread to send this event to client.


Let me know is other approach to achieve this things.

Thanks,
Bhumika Thaker


On Wed, Apr 17, 2013 at 4:31 PM, Stefan Ollinger 
stefan.ollin...@gmx.de mailto:stefan.ollin...@gmx.de wrote:


Seems someone still holds a reference to the objects, so it cant
be garbage collected.
You could create the objects on demand per RPC request.




--
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: RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Stefan Ollinger
It isnt exactly a use-case of RF to construct existing entities on the 
client side.

Either you create a new one, or load an existing one form the server.

Alternatively you can create a search API which expects simple 
parameters instead of objects:

searchApi.lookup(id, name, ..)

Putting everything in objects adds sometimes only another layer of 
indirection.


Regards,
Stefan

On 17.04.2013 16:22, Aryan wrote:
Thanks Jens, This is exactly how I am doing right now. I am having 
something like EmployeeSearchProxy extends ValueProxy for 
EmployeeSearch class which wraps up Employee and have an additional 
field for id.


But it seems to me as workaround for a perticular case which solves a 
perticular problem. A few workarounds are not bad but if they grew 
large enough, they may haunt you back in maintainance.


The real problem is control and communication which developer can do 
with GWT-RequestFactory framework.


If I could have said at runtime to RequestFactory
Hey RequestFactory, chill !!!, don't make any checks and don't 
throw any exception, this one is just for search purpose


I guess it could might have been a better design and more compiling to 
object oriented principles.



On Wednesday, 17 April 2013 17:50:20 UTC+5:30, Jens wrote:


*
*Is there any way I can tell RequestFactory:
'*Hey RequestFactory, chill !!!, don't make any checks and
don't throw any exception, this one is just for search purpose*'


Use ValueProxy instead, e.g. EmployeSearchCriteriaProxy extends
ValueProxy. ValueProxies do not have an identity and RF should not
care about IDs and Versions.
At first it may sound stupid to duplicate all the methods from
your EmployeeEntityProxy because you can filter all properties of
your Employee but in the future you may need to filter employees
based on more complex data that is not directly available on
EmployeeEntityProxy.

-- J.

--
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.




--
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.




[gwt-contrib] RequestFactory Feature Request: @Immutable EntityProxy, reduced payload size, Map support.

2013-04-16 Thread Stefan Ollinger
Hi,

when editing large object graphs on the client-side, there are currently 
two problems regarding performance:

1) Entity proxies could not be modified when firing a RequestContext. A 
diff will be done nevertheless, which costs CPU time. There could be an 
annotation which marks entity proxies as immutable on the client-side and 
forces RF to always send the EntityProxyId.

2) All reachable value proxies on the edited data will be sent, even if the 
owner entity proxies did not change. This increases the payload size and 
could be avoided by sending only those values proxies which are reachable 
through actually edited entity proxies (or request arguments). There is 
already a todo in 
https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java#1211

Are you aware of those problems, and are they relevant enough to be taken 
into account in one of the next releases?

Also is there a plan to add support for Maps (
https://codereview.appspot.com/6132056/.)?

Regards,
Stefan Ollinger

-- 
-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Gwt Request factory

2013-04-15 Thread Stefan Ollinger
Can you create a service implementation which forwards to the concrete 
services?

Alternatively you can create a proxy for each service.

On 15.04.2013 10:38, deepak chauhan wrote:

Hi All,

I am using gwt request factory. But, there is one design issue I am 
facing. As per the proxy design in RequestContext interface I can only 
declare one service in @service annotation. But there are situations 
where many methods in the context can be served by different services. 
But, due to design constraint, I have to put the all context methods 
in same service.


Can somebody tell me the better way to get it done


--
Deepak Chauhan
--
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.




--
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.




[no subject]

2013-04-13 Thread stefan bachert


-- 
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 , Highcharts not working

2013-04-05 Thread Andrei-Stefan Ifrim
On a first view JQuery is also needed. 
take a look at step 
3 http://www.moxiegroup.com/moxieapps/gwt-highcharts/quickstart.jsp

script type=text/javascript 
   src=http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js; 
/script
script type=text/javascript src=js/highcharts.js/script

I also got this exception, but in my case it was caused by the fact that 
this js files were not placed in the head of the HTML file.

Best regards!

marți, 24 ianuarie 2012, 21:24:16 UTC+2, junaidp a scris:

 I am trying to run a simple High chart in my GWT Application but getting 
 this error

  '$wnd.Highcharts' is null or not an object

 my OnModule

  public void onModuleLoad() {
   RootPanel.get().add(createChart());  
 }  

 public Chart createChart() {  

 Chart chart = new Chart()
.setType(Series.Type.SPLINE)
.setChartTitleText(Lawn Tunnels)
.setMarginRight(10);
 Series series = chart.createSeries()
.setName(Moles per Yard)
.setPoints(new Number[] { 163, 203, 276, 408, 547, 729, 628 });
 chart.addSeries(series);
 return chart;  
 }  

 }

 my xml

  !-- Inherit the core Web Toolkit stuff.--
 inherits name='com.google.gwt.user.User'/
inherits name=org.moxieapps.gwt.highcharts.Highcharts/

 my HTML

/script
 script type=text/javascript src=js/highcharts.js/script
 script type=text/javascript src=js/themes/dark-blue.js/script
  script type=text/javascript src=js/modules/exporting.js/script

 /script

  included this jar file in my classpath

  org.moxieapps.gwt.highcharts-1.1.3.jar

 Any suggestion

 Thanks


-- 
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: Complex JSON and overlay types

2013-04-03 Thread Stefan Ollinger

You need to decode Message.class.

So instead of:
/AutoBeanPerson bean = AutoBeanCodex.decode(factory, Person.class, json);

Do this: /
/  AutoBeanMessage bean = AutoBeanCodex.decode(factory, 
Message.class,json );/


Take a look here: https://gist.github.com/dozed/912ebc73dbeb43f3a539

Regards,
Stefan

On 02.04.2013 16:24, sebastien.rib...@isen-lille.fr wrote:

Thank you for your answers.
- Thomas:
Yes, it works. But the problem is that I don't know John. It can be 
anything else. For example the JSON can be: /{records: [{names: 
{Cedric: [50, H, US], Jean: [50, H, US]}, style: 
TR}]} /or {records: /[{names: {Blabla: [50, H, US]}, 
style: TR}]}. /To get the lists, I have to get the names first. 
And I don't know how to do.

- Stefan:
I try to do that but I get *null *even for /bean.as().getStyle()./ I 
don't understand how this method can get the properties..

/interface Message {
   ListPerson getRecords();
 }/
/interface Person {
  MapString, ListString getNames();
   String getStyle();
 }/
/ // Declare the factory type
 interface MyFactory extends AutoBeanFactory {
   AutoBeanMessage message();
   AutoBeanPerson person();
 }/

/public class HelloWorld implements IsWidget,EntryPoint {


  public Widget asWidget() {
   String url=data.json;
   RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url);
 try {
   Request response = builder.sendRequest(null, new 
RequestCallback() {

 public void onError(Request request, Throwable exception) {
   // Code omitted for clarity
 }/
/ public void onResponseReceived(Request request, Response 
response) {

   MyFactory factory = GWT.create(MyFactory.class);

  AutoBeanPerson bean = AutoBeanCodex.decode(factory, 
Person.class, response.getText());


  System.out.println(oui + bean.as().getNames());
/
/ }/
/   });
 } catch (RequestException e) {
 }
  return null;

   }/

/@Override
public void onModuleLoad() {

 asWidget();
}

}
/

Le mardi 2 avril 2013 04:00:02 UTC-4, Thomas Broyer a écrit :



On Monday, April 1, 2013 5:51:26 PM UTC+2,
sebastie...@isen-lille.fr wrote:

Thank you for your answer. If I do that:
/public final native JsArrayjson getTest()
 /*-{
 return this.records[0].names.John;
 }-*/;/
/
/I get *50,H,US, *so it's OK for that. But I'm not supposed to
know John or Jack, so how can I get them?


Does /this.records[0].names[John]/ works? If so, there shouldn't
be any problem replacing the John with a method argument.

--
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.




--
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: Complex JSON and overlay types

2013-04-01 Thread Stefan Ollinger

Hi,
you could take a look at 
http://code.google.com/p/google-web-toolkit/wiki/AutoBean


Regards,
Stefan

On 29.03.2013 14:18, sebastien.rib...@isen-lille.fr wrote:

Hi everybody,
I want to read this kind of JSON with GWT:

/{records: [{names: {John: [50, H, US], Jack: [50, 
H, US]}, style: TR}]}/


I use overlay for that.

If I use that, I get *TR*:

/ public final native String getStyle()
 /*-{
 return this.records[0].style;
 }-*/;/

So, it's work. Now I want to get *John *and the list *50,H,US.* If I 
use that I get *null:*


/public final native String getNames(String i)
 /*-{
 return this.records[0].names[i];
 }-*/;/

For the same thing, I try to do that and I get no result: (json is the 
of my class which is extended by JavaScriptObject)


/   public final native JsArrayjson getArray(String key) /*-{
return this[key] ? this[key] : new Array();
}-*/;/

and

/result.getArray(names).toString()/

//

Have you any idea to do what I want?

Thank you in advance !

--
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.




--
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: Complex JSON and overlay types

2013-04-01 Thread Stefan Ollinger
Your interfaces dont match the JSON data structure. You would need to 
use Map and List, maybe sth like this:


interface Message {
  ListPerson getRecords();
}

interface Person {
  MapString, ListString getNames();
}


On 01.04.2013 21:37, sebastien.rib...@isen-lille.fr wrote:
Thanks. I try it, but I don't undestand how does it works... Do you 
have simple examples or tutorials?

I try to do it:
/interface Person {
   Names getNames();
   String getStyle();
 }/
/ interface Names {
   // Other properties, as above
  String getProp1();
  String getProp2();
  String getProp3();/
/ }/
/ // Declare the factory type
 interface MyFactory extends AutoBeanFactory {
   AutoBeanNames names();
   AutoBeanPerson person();
 }/

/public class HelloWorld implements IsWidget,EntryPoint {


  public Widget asWidget() {
   String url=data.json;
   RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url);
 //builder.setHeader(Access-Control-Allow-Origin, *);

 try {
   Request response = builder.sendRequest(null, new 
RequestCallback() {

 public void onError(Request request, Throwable exception) {
   // Code omitted for clarity
 }/
/ public void onResponseReceived(Request request, Response 
response) {

   MyFactory factory = GWT.create(MyFactory.class);

  AutoBeanPerson bean = AutoBeanCodex.decode(factory, 
Person.class, response.getText());


  System.out.println(oui + bean.as().getNames());
/
/ }/
/   });
 } catch (RequestException e) {
 }
  return null;

   }/

/@Override
public void onModuleLoad() {

 asWidget();
}

}/
I get *null*. What do you think?
*I'm still interested by a method with overlay type (= Javascript)*, 
just to get Jack and John in /{records: [{names: {John: 
[50, H, US], Jack: [50, H, US]}, style: TR}]}./

Le lundi 1 avril 2013 12:43:37 UTC-4, Stefan Ollinger a écrit :

Hi,
you could take a look at
http://code.google.com/p/google-web-toolkit/wiki/AutoBean
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

Regards,
Stefan

On 29.03.2013 14:18, sebastie...@isen-lille.fr javascript: wrote:

Hi everybody,
I want to read this kind of JSON with GWT:

/{records: [{names: {John: [50, H, US], Jack:
[50, H, US]}, style: TR}]}/

I use overlay for that.

If I use that, I get *TR*:

/ public final native String getStyle()
 /*-{
 return this.records[0].style;
 }-*/;/

So, it's work. Now I want to get *John *and the list *50,H,US.*
If I use that I get *null:*

/public final native String getNames(String i)
 /*-{
 return this.records[0].names[i];
 }-*/;/

For the same thing, I try to do that and I get no result: (json
is the of my class which is extended by JavaScriptObject)

/   public final native JsArrayjson getArray(String key) /*-{
return this[key] ? this[key] : new Array();
}-*/;/

and

/result.getArray(names).toString()/

//

Have you any idea to do what I want?

Thank you in advance !

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




--
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.




--
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.




Java7 Langauge Feature Support

2013-03-12 Thread Stefan McDaniel
The company I work for uses GWT in a fashion that allows us to reuse logic 
that was originally run only on the server. Since this server code changes 
over time, and the company updates to the latest version of Java fairly 
quickly, there is a growing amount of developers using Java7 language 
features. Occasionally the new language features are added to files 
examined by the GWT compiler, which of course fails and requires the 
changes to be backed out. This results in a medium sized brew-haha every 
three months or so as to why we are using a technology that isn't keeping 
current with Java while the company is commited to doing so.
 
So, two questions:
1) What is the timeframe to update the ECJ to a version that handles Java7 
language features?
2) I've messed around in the GWT compiler quite a bit. What is the level of 
diffciulty related to updating the ECJ used by the GWT Compiler myself?
 
Thanks,
Stefan

-- 
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: Wishlist - What GWT developers want for Christmas

2012-12-11 Thread Stefan Ollinger

+1 Keep it moving

Am 11.12.2012 19:45, schrieb Joonas Lehtinen:
We just published all of the 2600+ wishes you guys added to the Future 
of GWT survey on most important things needed in GWT. Take a look:


https://vaadin.com/gwt/report-2012/wishlist
--
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/-/81D5pIYdNQ4J.

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.


--
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: [POLL] Maven project layout, what to standardize?

2012-11-13 Thread Stefan Ollinger

Hi,

I would prefer alternative 2, since it follows the Maven standard 
project layout. Personally I sometimes put the .ui.xml and .gwt.xml 
files in the  src/main/java folder, since it allows for faster 
navigation in Eclipse. I guess that is mainly a tooling issue and should 
not have any impact on the standard we choose.


For super sources I am not sure what is best, since I dont use them.

Regards,
Stefan

Am 13.11.2012 13:51, schrieb Thomas Broyer:

Hi all,

As some of view may already know, I'm porting GWT to use Maven as the 
build system (instead of Ant). I'm also about to reboot GWT+Maven 
integration (more to come by the end of the week, stay tuned).


As part of this effort, I'm wondering which project structure to use 
as the default, standard layout for GWT projects using Maven? I'm 
particularly looking for advice/preferences for GWT library projects 
(such as GWT itself, mgwt, Errai, GXT, etc.), not much for GWT 
applications (the one you run the GWT Compiler on).



NOTE: this poll is cross-posted to the GWT and gwt-maven-plugin 
groups, please answer only once! (wherever you want)



The question is about where to put files such as: GWT module 
descriptors (*.gwt.xml), GWT processed resources (*.ui.xml, etc.), 
and super-sources.
It comes without saying (for me at least) that Java sources would go 
into src/main/java and public resources (i.e. the things within 
**/public/**, e.g. the CSS and image files from the themes) into 
src/main/resources, so the everything below only refers to those 
other files listed above.
Remember I'm only interested in defining the standard layout for GWT 
*libraries*, and please think about them as /GWT-only/ libraries, not 
the kind with server-side and client/server-shared code!
Note that in any case, src/main/java is also added as a resource 
folder (packaged within the JAR)


Here are the alternatives I thought about:

 1. everything in src/main/java
super-sources in src/main/resources
 2. everything in src/main/resources
 3. everything in src/main/resources
super-sources in src/main/super (or gwt-super, or some other name,
let's discuss that later as I suspect it's a bikeshed)

When casting your vote, do not hesitate to explain *why* you prefer 
that particular layout over the others, or why you don't like one of 
the proposed layouts. Also feel free to propose a fourth alternative.

--
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/-/npnUeQyrLXkJ.

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.


--
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: RPC call from server to client

2012-10-17 Thread Stefan Ollinger

Hello Magnus,

you can use WebSockets and Comet.

http://en.wikipedia.org/wiki/Comet_%28programming%29
http://de.wikipedia.org/wiki/WebSocket

That way you can send messages from the server to the client.
So if someone sends a new chat message to the server, you can broadcast 
it to the interested parties.

Also see: http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

Atmosphere is a good implementation and has support for GWT:
https://github.com/Atmosphere/atmosphere/wiki/Getting-started-with-GWT

Regards,
Stefan

Am 17.10.2012 13:31, schrieb Magnus:

Hello,

I realized a simple chat within my chess application:

When the user posts something, the posting is sent to the server and 
the chat view on the client side is updated.
But when another user posts something, the user's view is not updated 
automatically.


I wonder how to realize an automatic update. From the server's point 
of view it chould be realized like this:


Whenever *some* user sends a posting, do the following:
{
 ListUser l = getAllUsersThatAreCurrentlyLoggedIn();
 for (User u:l)
  notifyClientOfUser(u);
}

However, I do not know how and where to start and how to realize the 
methods used above.

How can I determine the users who need to be notified?
How can I send the notification to the users? I have access to the 
user's session data, but how can I make a call, where do I have to 
define the service methods and where does the call come out within the 
client?


Thanks
Magnus

--
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/-/DoASuAbKVnkJ.

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.


--
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: RPC call from server to client

2012-10-17 Thread Stefan Ollinger

See answers inline.

Am 17.10.2012 15:19, schrieb Magnus:

Hello,

thank you for the responses and the links.

It would bother me a little bit to use a third-party library for this. 
If there is no other way I would do this, but at the moment I would 
like to know if this is really needed.

You usually want to use a third party library for this.


Calling the server from the client is also possible without other 
products. Can't I just do this in the other direction?


Define a Service/ServiceAsync/ServiceImpl and so on?

You need to think about how HTTP works. The client always starts a request.
Here is an overview of push technologies: 
http://en.wikipedia.org/wiki/Push_technology


Magnus
--
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/-/kUrlZG4kZsIJ.

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.


--
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: maven gwt

2012-05-16 Thread Stefan Ollinger

Hi,

in order to convert your project to maven, you need to apply the Maven 
folder structure:


src/main/java - java sources
src/main/resources - resources: .properties files, .xml files, ...
src/test/java - test java sources
src/test/resources - test resources

Then you need to create your own pom.xml. The pom.xml tells Maven about 
your project: what dependencies (jars) it has, the name of the project, 
the authors and then also how to build the project.


Take a look at that pom:

http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml

You need to adjust the properties to your own settings. Most importantly 
are the project information in the header and the properties of the 
gwt-maven-plugin. If you dont use RequestFactory you can remove the 
build plugins maven-processor-plugin and build-helper-maven-plugin and 
some dependencies.


The other option you have, is to use a Maven archetype, which is a 
project template. Using an archetype creates a new project. So you would 
need to copy/paste your existing files over.


Regards,
Stefan

Am 15.05.2012 18:31, schrieb tong123123:

Thanks for reply.

As I am new to maven, what I first need to understand is the sample 
project
Mobile Web app sample 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/ 

DynaTable RequestFactory sample 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/

?

my current non-maven gwt application is web application (not mobile 
application), using gwt-rpc (not requestFactory).

is the above 2 sample project relevant to me?
there is no step by step guide for migrate a non-maven gwt application 
to maven gwt application?


Sorry as I need to migrate a non-maven gwt application to maven gwt 
application in a very short period, I have no any idea now.

--
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/-/DVkLEcqw1gMJ.

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.


--
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: maven gwt

2012-05-16 Thread Stefan Ollinger
The resources which are in your/module/package/public can still be 
placed in src/main/java. Also if you have images which are used in 
CssResource or UiBinder, they can be kept in src/main/java. This is a 
pragmatic solution. Maven suggests to put them in src/main/resources. 
See: 
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html


The resources which go straight to the war/ folder should be placed 
into: src/main/webapp.

See http://maven.apache.org/plugins/maven-war-plugin/ for more information.

Am 16.05.2012 15:18, schrieb Kei Kei:
I am in home now, but before using maven, I put the css file under 
module folder/public and I placed images folder under war directory, 
now I need place these css and image under src/main/resources?

In gwt developer guide
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects
there is some suggested folder structure, if using maven, then should 
use maven structure and neglect the developer guide recommended 
structure, is it?



--
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.


--
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: maven gwt

2012-05-16 Thread Stefan Ollinger
It adds the GWT project nature and the GWT builder to the eclipse 
project. You dont need the GPE, but i'd suggest you to use it. GPE adds 
syntax highlighting and completion to .ui.xml files, a development mode 
view and lots of other helpful things.


Am 16.05.2012 18:15, schrieb Kei Kei:


!-- Mark the project for Google Plugin for Eclipse (GPE) --
plugin
artifactIdmaven-eclipse-plugin/artifactId
version2.8/version
configuration
downloadSourcestrue/downloadSources
downloadJavadocsfalse/downloadJavadocs
wtpversion2.0/wtpversion
additionalBuildcommands
buildCommand
namecom.google.gwt.eclipse.core.gwtProjectValidator/name
/buildCommand
/additionalBuildcommands
additionalProjectnatures
projectnaturecom.google.gwt.eclipse.core.gwtNature/projectnature
/additionalProjectnatures
/configuration
/plugin
/plugins


I see the above plugin in 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/pom.xml
what is its use? I have not installed GPE, instead I have installed 
M2Eclipse. is GPE necessary?

--
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.


--
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: DTO + GWT

2012-04-24 Thread Stefan Ollinger

Hello Akram,

Data Transfer Objects are just simple POJOs which are used to transfer 
data to the client.
Take a look at Dozer to map data from your business objects to DTOs: 
http://dozer.sourceforge.net/documentation/about.html


Regards,
Stefan

Am 24.04.2012 10:30, schrieb Akram Moncer:

hello every body;


i created a web application with GWT and for persistence i use the 
google app engine datastore but , to transfert data between server and 
client i should use DTO(data transfert object) but i don't know how 
can i do it,


so i will be grateful if someone can help me with example or any 
information





thinks

--
Akram MONCER
Personne

--
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.


--
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: DTO + GWT

2012-04-24 Thread Stefan Ollinger
1:1 DTOs are not required. I think you can configure Dozer. You could 
for example create multiple views of your business model.


Regards,
Stefan

Am 24.04.2012 11:10, schrieb Akram Moncer:

thinks a lot

i have a big model of database, and i have association between 
entities, do i have to create the same association between the DTO ?


Le 24 avril 2012 09:52, Stefan Ollinger stefan.ollin...@gmx.de 
mailto:stefan.ollin...@gmx.de a écrit :


Boxbe https://www.boxbe.com/overview
google-web-toolkit@googlegroups.com
mailto:google-web-toolkit@googlegroups.com is not on your Guest
List https://www.boxbe.com/approved-list | Approve sender
https://www.boxbe.com/anno?tc=11171384182_158310061 | Approve
domain https://www.boxbe.com/anno?tc=11171384182_158310061dom

Hello Akram,

Data Transfer Objects are just simple POJOs which are used to
transfer data to the client.
Take a look at Dozer to map data from your business objects to
DTOs: http://dozer.sourceforge.net/documentation/about.html

Regards,
Stefan

Am 24.04.2012 tel:24.04.2012 10:30, schrieb Akram Moncer:

hello every body;


i created a web application with GWT and for persistence i use
the google app engine datastore but , to transfert data between
server and client i should use DTO(data transfert object) but i
don't know how can i do it,

so i will be grateful if someone can help me with example or any
information




thinks

-- 
Akram MONCER

Personne

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


-- 
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
mailto:google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
mailto:google-web-toolkit%2bunsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.




--
Akram MONCER
Personne

--
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.


--
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: I need help/tips with general application architecture

2012-02-08 Thread Stefan Ollinger

Hello,

i took a quick look over your code.

You should definitely try out UiBinder. This will make code like this 
much easier:

https://code.google.com/p/odrop/source/browse/trunk/ODropServer/src/odrop/client/pages/login/Login.java

Also MVP could be interesting to you. It decouples the widget logic from 
the application logic.


Depending on the application-type there are some other options to think 
about: Activities/Places, RequestFactory, Google Gin
Dont try to integrate all at once. An interesting article to read is: 
http://nathanmarz.com/blog/suffering-oriented-programming.html


Regards,
Stefan

On 08.02.2012 17:57, divStar wrote:

Hello,

I've been using GWT for about two years now. In this period I've
rewritten major parts of my application a few times. However: as I
implement more and more stuff into it, I lose overview and sometimes
am dazzled by the complexity my application has reached. It's not that
the application is big - it isn't. It barely consists of some under
500 classes.

Do you have any hints or suggestions on how to keep an application as
simple as possible (code- and class-wise) while also ensuring that the
application consists of highly reusable classes?

At the moment my application is written from scratch. I haven't used
any UIBinders or any other framework - for the sake of compatibility
(I want to be able to update to next major GWT release as fast as
possible). My project consists of the client, server and shared
packages. I'm having a hard time with my client-package - the server-
files and -classes are just fine (I have a few static services and
some servlets, that are used during GWT-RPC). My shared package
contains all my DTOs that I'm sending back and forth - nothing else.

In my application the users can log into their (supposed) game
accounts and browse the inventory of their characters. They can also
browse all items that are available on the server as well as all NPCs
(non-player-characters) that are available on the server. The
celltable, pagination and filtering controls are used within all those
3 pages. However: I feel that the code is somehow overly complex and I
sometimes loose track about the eventhandlers and their
implementations etc.

What is the right way to go about a GWT application design? You can
find my project including the source-code here: https://code.google.com/p/odrop/
. I figured it's very easy to add functionality, but it's pretty hard
to keep it all very flexible.

I'm grateful for every suggestion or tip (book-suggestions, tutorials
or anything else on this matter is very welcome). I'm not using any
framework on top of GWT as I feel like I don't know what's going on
under the hood if I did use them.

Thank you very much in advance :).
divStar.



--
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: I need help/tips with general application architecture

2012-02-08 Thread Stefan Ollinger

Hello,

UiBinder saves you from manually creating the widget hierarchy. You can 
also hack the css directly into the .ui.xml files, which is a great time 
saver and also reduces the amount of code used in the widgets. I did 
make positive experience with HTMLPanel, which reduces the markup in the 
.ui.xml files, since you can use light-weight html markup to create some 
parts of the widget layout. I suggest you to take a look at UiBinder first.
MVP is great to separate the display logic from the business/application 
logic.


Regards,
Stefan

On 09.02.2012 00:15, divStar wrote:

Thank you very much for the latter link - I just finished reading this
wonderful article. But - if I'm not mistaken - according to this
suffering-oriented programming I did the right thing: I collected a
set of use-cases (in my particular case: the ItemListener, NPCListener
and Belongings, which display different information in a very similar
manner), I hacked down a solution that sort-of works, but even though
I tried to prevent the mistakes you make almost by default, I'm sure
my code is sloppy and not as efficient as it could've been if it went
through a process described by Nathan Marz.

I think I'll try to do what itches me sort-of the most about my
program now: I really want to go about working on the application
business logic rather than having to deal with all the stuff regarding
the display etc. But in order to be able to get to developing that
business logic, I'll have to deal with the latter problem first, no? I
want to abstract the UI-elements as much as I can, to be able to have
them do the same work they do now, but make it easier for me to go
about the actual application logic.

If I consequently follow this idea, I'd be probably where I was at the
beginning: I think I'm not sure what I have to do first... try to
switch to some UiBinder-driven interface? Implement Activities/Places
or a MVP-approach? What I certainly dislike about what I've produced
is, that I have to deal with basic UI-definition as I had to when I
used Swing or AWT. And if I'm at the widgets, I want to be able to
encapsulate as much as possible in order for them to reveal just the
functionality I really need to have my use-case work.

Thank you for your reply :).

Igor.



--
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.



The (currently) definite way to achieve Push/Comet/Streaming in a GWT app? :)

2012-01-19 Thread Stefan Sigvardsson
Hi y'all!

Just a few quick questions. 

Background: 
We have a GWT app running on multiple touch-screen interfaces which need to 
stay up to date with each other. 
Currently we make scheduled callbacks to update the apps when they are 
idle, but some kind of Push technology would be preferable. 
We are not using app engine, instead we have our own tomcat 7 server which 
we deploy the application to. 
We are using RemoteService interfaces to do standard async callbacks to 
RemoteServiceServlet implementations. 
The touch-screens are all running the latest Firefox release (currently 
9.0.1). 
We have held off dealing with Push, confident that GWT soon would include 
it natively, but now GWT seems to only focus on app engine from what I can 
tell. 

Questions:
1. What is your (currently) recommended way of dealing with Push in GWT? Is 
it still http://code.google.com/p/gwt-comet/ (or is it abandoned)?
2. Do you know if maybe GWT soon will include a simple Push technology for 
servers other than app engine?
3. If you have your own implementation, and it is stable and easy to run in 
a GWT app, would you mind sharing it?

Kind regards!
Stefan

-- 
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/-/UiXBTahEd7kJ.
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: The (currently) definite way to achieve Push/Comet/Streaming in a GWT app? :)

2012-01-19 Thread Stefan Sigvardsson
*GWTEventService* looks promising, i'll look into that one. Thanks!

-- 
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/-/_bahhP74zYQJ.
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: Cocoa like UI API for GW

2011-12-29 Thread Stefan Ollinger

Generally I like the idea of a clean widget set, maybe also themeable.
About the gui editor: I think having an alternative editor, which is 
merely based on HTML/CSS and not on any IDE frameworks, is a nice to 
have. You could integrate this designer into several IDEs, via plugin 
wrappers.


Regards,
Stefan

Am 24.12.2011 23:20, schrieb Christopher Bruno:
I plan to use the UiBinder-style XML as the file format for laying out 
widgets.  Im not sure about supporting GWT designer -- I would rather 
implement something like Apple's Interface builder and not have it 
bound to Eclipse.


Here is an demo TableView widget (not feature complete)

http://www.hokuasoftware.com/tableview/


On Sat, Dec 24, 2011 at 7:51 AM, Gal Dolber gal.dol...@gmail.com 
mailto:gal.dol...@gmail.com wrote:


I think its more about extracting the styles from Cappuccino.
Personally, I stay away from widget libraries


On Sat, Dec 24, 2011 at 10:42 AM, Stefan Ollinger
stefan.ollin...@gmx.de mailto:stefan.ollin...@gmx.de wrote:

Do you plan to add UiBinder and GWT Designer support?

Stefan

Am 23.12.2011 21 tel:23.12.2011%2021:10, schrieb cbruno:

I am currently building a clean room implementation of the
Cappuccino
widgets (cappuccino.org http://cappuccino.org)  in GWT.
Instead of using layout classes the
widgets utilize absolute positioning and autoresizing
masks for
layouts. The event system is based on a Responder class which
implements mouseDown, mouseUp, KeyDown, etc.. methods to
handle
events. Aristo is the default theme.

 My ultimate goal is to release an interface builder like
tool,
similar to the tool Atlas that was being made for
Cappuccino (now
defunct)

I will be placing greater emphasis on  wai-aria markup and
accessibility (Including keyboard  touch) than cappuccino
currently

supports.

What do you all think? Given the existence of gxt and
smartgwt, do you
think there is room for another widget library?

Chris


-- 
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
mailto:google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
mailto:google-web-toolkit%2bunsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt

applications.

http://code.google.com/p/guit/




-- 
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
mailto:google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
mailto:google-web-toolkit%2bunsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.




--
Chris Bruno
sent from my Mac Pro

--
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.


--
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: Cocoa like UI API for GW

2011-12-24 Thread Stefan Ollinger

Do you plan to add UiBinder and GWT Designer support?

Stefan

Am 23.12.2011 21:10, schrieb cbruno:

I am currently building a clean room implementation of the Cappuccino
widgets (cappuccino.org)  in GWT. Instead of using layout classes the
widgets utilize absolute positioning and autoresizing masks for
layouts. The event system is based on a Responder class which
implements mouseDown, mouseUp, KeyDown, etc.. methods to handle
events. Aristo is the default theme.

  My ultimate goal is to release an interface builder like tool,
similar to the tool Atlas that was being made for Cappuccino (now
defunct)

I will be placing greater emphasis on  wai-aria markup and
accessibility (Including keyboard  touch) than cappuccino currently
supports.

What do you all think? Given the existence of gxt and smartgwt, do you
think there is room for another widget library?

Chris



--
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: ListEditor with inheritance

2011-12-22 Thread Stefan Ollinger
I submitted a post to the gwt contributors mailing list with a similar 
issue:

https://groups.google.com/d/msg/google-web-toolkit-contributors/gUFkDIQ2TSE/Atjg5PZ6G4kJ

This is basically what is proposed in the Issue 6791.
Is there any progress on that issue yet, or are there any problems which 
prevent this solution?


Regards,
Stefan

Am 22.12.2011 17:56, schrieb Thomas Broyer:
First, have you seen 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6719 ?


In your case, I think you could do it quite easily by:

 1. not having the TextArea as a sub-editor
 2. implementing ValueAwareEditor to push to the TextArea and make it
visible when the value is a SqlDataProvider in setValue, and pull
from it and push to the value in flush(); and similar things for
other kinds of values.

That unfortunately won't scale very well as you add other DataProvider 
subclasses.


FWIW, in a similar scenario, we chose to not use the Editor framework 
and handle everything by hand instead (but we had another challenge: 
some structures are recursive; i.e. we could have a DataProvider that 
would contain other DataProvider).

--
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/-/EsCldOjAMBgJ.

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.


--
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.



  1   2   3   4   5   >