Re: [ANN] (Unofficial) Elemental2 2.24 release

2019-06-12 Thread John Huss


> On Wed, Jun 12, 2019 at 8:29 AM Peter Donald  > wrote:
>
>> On Wed, Jun 12, 2019 at 7:31 AM John Huss > > wrote:
>>
>>> Out of curiosity, how did you get this project to build successfully? 
>>>
>>> When I try to build it I see this:
>>>
>>> $ ./bazel_build_test.sh 
>>>
>>> *ERROR: */Users/john/repos/elemental2/third_party/BUILD:21:1: no such 
>>> target '@com_google_javascript_closure_compiler//:externs': target 
>>> 'externs' not declared in package '' defined by 
>>> /private/var/tmp/_bazel_john/b729f51825638d22c4a92cfea6e4556d/external/com_google_javascript_closure_compiler/BUILD
>>>  
>>> and referenced by '//third_party:es6_collections'
>>>
>>>
>>>
>> My guess is that you need to do something like this
>>
>> bazel clean --expunge
>>  
>> This will remove all downloaded repositories (i.e. the closure-compiler 
>> source code as well as the other remote dependencies) and rebuild them. I 
>> believe after that it should build cleanly.
>>
>
> That said I just ran this and it seems to be running against the last 
> binary release of closure compiler ... not the current git repository ... 
> which will not produce the same jar as I generated as the closure externs 
> are outdated. I will need to poke around to figure out how to work arouns 
> this.
>

That worked, 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5b43869e-8228-4649-a98b-8adab3bbe074%40googlegroups.com.


Re: [ANN] (Unofficial) Elemental2 2.24 release

2019-06-11 Thread John Huss
Out of curiosity, how did you get this project to build successfully? 

When I try to build it I see this:

$ ./bazel_build_test.sh 

*ERROR: */Users/john/repos/elemental2/third_party/BUILD:21:1: no such 
target '@com_google_javascript_closure_compiler//:externs': target 
'externs' not declared in package '' defined by 
/private/var/tmp/_bazel_john/b729f51825638d22c4a92cfea6e4556d/external/com_google_javascript_closure_compiler/BUILD
 
and referenced by '//third_party:es6_collections'


On Sunday, June 2, 2019 at 8:56:47 PM UTC-5, Peter Donald wrote:
>
> Elemental2 provides type checked access to browser APIs for Java
> code. This is done by using closure extern files and generating
> JsTypes, which are part of the new JsInterop specification that
> is implemented in both GWT and J2CL.
>
> https://github.com/google/elemental2
>
> This is an unofficial release to Maven Central under a different groupId.
> Please don't bug the original authors. Versions are released on demand.
>
> API Changes relative to Elemental2 version 2.23
>
> elemental2-core:
>   API Differences: 
> https://jsinterop.github.io/api-diff/?key=elemental2-core&old=2.23&new=2.24
>   - 39 non breaking changes.
>   - 19 potentially breaking changes.
>   - 49 breaking changes.
> elemental2-dom:
>   API Differences: 
> https://jsinterop.github.io/api-diff/?key=elemental2-dom&old=2.23&new=2.24
>   - 85 non breaking changes.
>   - 68 potentially breaking changes.
>   - 165 breaking changes.
> elemental2-indexeddb:
>   API Differences: 
> https://jsinterop.github.io/api-diff/?key=elemental2-indexeddb&old=2.23&new=2.24
>   - 1 non breaking changes.
> elemental2-svg:
>   API Differences: 
> https://jsinterop.github.io/api-diff/?key=elemental2-svg&old=2.23&new=2.24
>   - 1 breaking changes.
> elemental2-webassembly:
>   API Differences: 
> https://jsinterop.github.io/api-diff/?key=elemental2-webassembly&old=2.23&new=2.24
>   - 1 potentially breaking changes.
>
> The complete set of Elemental2 API differences is available at
>
>   https://jsinterop.github.io/api-diff/?key=elemental2&old=2.23&new=2.24
>
> The Maven dependencies can be added to your pom.xml via
>
> 
>   org.realityforge.com.google.elemental2
>   ${artifact-id}
>   2.24
> 
>
> where artifact-id is one of
>
> * elemental2-core
> * elemental2-dom
> * elemental2-promise
> * elemental2-indexeddb
> * elemental2-svg
> * elemental2-webgl
> * elemental2-media
> * elemental2-webstorage
> * elemental2-webassembly
>
> Hope this helps,
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a7ddd14d-d72d-4f45-ab43-cecb13c267a0%40googlegroups.com.


Re: application compiles in 2.8 but does not run

2017-10-02 Thread John Malpas
I figured it out. The entry point class extended another class that 
implemented EntryPoint, but did not explicitly say that it implemented 
EntryPoint. This works fine in 2.6 but not in 2.8.

On Sunday, October 1, 2017 at 9:16:55 PM UTC-7, John Malpas wrote:
>
> I have a fairy complex web application (What Grows Here) with maps etc 
> that has been out for few years.
>
> I have been compiling it in GWT 2.6. It compiles and runs just fine in 2.6.
> This week I have been trying to move a bunch of GWT apps to 2.8.
> This one application compiles quietly in 2.8, but the sizes of all of the 
> output files are much smaller than the output files produced by 2.6.
> When I try to run it, nothing happens. I have deliberately simplified 
> onModuleLoad() so that all that happens is an alert with a message,
> but it will not even do that.
>
> Something is going wrong in the compile. I have compiled it with -logLevel 
> TRACE, and compared the TRACE log with the TRACE produced by a 2.6 compile.
> The two TRACE logs are very similar, until the very end, when it starts 
> saying things like
> Adding '16' generated units
>
> In the 2.8 log, the counts of generated units are lower than in the 2.6 
> log, and the sizes of the 2.8 output files are
> much smaller than the sizes of the 2.6 files.
>
> Has anyone else encountered this behavior? What should I be looking for in 
> the TRACE log for a clue
> as to why the compile succeeds, but produces nonsense output?
>
> Thank you.
>

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


application compiles in 2.8 but does not run

2017-10-01 Thread John Malpas
I have a fairy complex web application (What Grows Here) with maps etc that 
has been out for few years.

I have been compiling it in GWT 2.6. It compiles and runs just fine in 2.6.
This week I have been trying to move a bunch of GWT apps to 2.8.
This one application compiles quietly in 2.8, but the sizes of all of the 
output files are much smaller than the output files produced by 2.6.
When I try to run it, nothing happens. I have deliberately simplified 
onModuleLoad() so that all that happens is an alert with a message,
but it will not even do that.

Something is going wrong in the compile. I have compiled it with -logLevel 
TRACE, and compared the TRACE log with the TRACE produced by a 2.6 compile.
The two TRACE logs are very similar, until the very end, when it starts 
saying things like
Adding '16' generated units

In the 2.8 log, the counts of generated units are lower than in the 2.6 
log, and the sizes of the 2.8 output files are
much smaller than the sizes of the 2.6 files.

Has anyone else encountered this behavior? What should I be looking for in 
the TRACE log for a clue
as to why the compile succeeds, but produces nonsense output?

Thank you.

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


non-updatable widget

2016-02-12 Thread John Harrison
I'm new to GWT and working with legacy code (GWT 2.4) I am trying to update 
the value of a textarea using setValue  via a valueChangeHandler, but the 
textArea seem to be updated when I look in debug but not refreshing on 
screen, I have tried removing the textArea from the view but this also 
doesn't seem to update the screen,Does anyone have any pointers please

John

-- 
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 2.7.0 is here

2015-08-20 Thread John Malpas
Hello, 

>
> I'm repsonsible for @ 50 GWT web apps. I develop
on Windows 7 on a command line, and the apps run
on a commercial Linux server.
Last month (July 2015) I switched from 2.6 to 2.7.
I small thing I noticed right away was that the deliverable file
sizes for 2.7 were uniformly slightly bigger, between 2 and 5%.
But the problem I'm having with 2.7 is when I put out
a newer version of a web app that has already been
loaded into a users' browser.

On the server, the update times for all relevant files (.html, .css, 
.js etc.) are set to one week. So if there is a new version of a
web app, users will typically get it within a week. For users who
ask for the latest version right away, I would tell them to 
force refresh the browser page.For 2.6 and earlier, this worked reliably 
on all browsers I tested (IE Firefox and Chrome on Windows, Firefox
and Chrome on Mac, Chrome on Android). With 2.7, it works sometimes,
but there have been several occasions where I asked the user to
refresh to get the latest version, they did, and they ended up with a dead 
page.
In other words, the GWT javascript page of the page did not load at all.
Faced with that, I have to tell users to delete their browsing history, and
try again (-- I never had to resort to that extreme step before 2.7).

Faced with that, I decided to go back to 2.6 today, and the problem 
completely
went away. I asked the same users who ended up with dead pages from the 2.7
version to refresh again to the just published 2.6 version, and the app 
worked
right away, no problem.

-- 
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: ClassCastException when trying SuperDevMode on my application with 2.7

2014-11-22 Thread 'John Stalcup' via Google Web Toolkit
It sounds like one of the registered EntryPoint classes or something that
one of the EntryPoint classes is being rebound to does not implement the
EntryPoint interface.

On Sat, Nov 22, 2014, 1:29 AM Thomas Broyer  wrote:

> +cc stalcup@
>
> Any idea John?
>
> Roland, can you make a small repro-case?
>
> On Saturday, November 22, 2014 12:38:16 AM UTC+1, Roland wrote:
>>
>> With the advent of 2.7 I am determined to get going with SuperDevMode.
>> However, once my development environment (Eclipse) is all set to run the
>> code server when I try to load my application using SuperDevMode I get the
>> following error. This actually happens whether I compile with debug mode on
>> or debug mode off when loading the code this way. I don't know what piece
>> of the tool chain is reporting the error, but this shows up in my
>> JavaScript console.
>>
>> Uncaught java.lang.ClassCastExceptionCast.java:59
>>
>> dynamicCast_0_g$ gov_00046noaa_00046pmel_
>> 00046tmap_00046las_00046UI__EntryMethodHolder.java:3
>>
>> init_2_g$ModuleUtils.java:44
>>
>> initializeModules_0_g$   Impl.java:247
>>
>> apply_1_g$   Impl.java:306
>>
>> entry0_0_g$  Impl.java:72
>>
>> (anonymous function) ModuleUtils.java:55
>>
>> gwtOnLoad_0_g$   PeriodPrinter.java:40
>> (anonymous function)
>>
>> This happens both when I try Firefox 33.0 and Chrome Version
>> 39.0.2171.65 (64-bit) as the browser. The application runs fine as a
>> production app if I compile it and deploy it to the server from the command
>> line. I could also debug it using Classic Development Mode using FF 24 just
>> prior to now when I was using GWT 2.5. I run in MyEclipse 2015 on Ubuntu
>> 14.04 if that makes a difference.
>>
>> If this is a problem with the framework and not my application I'm happy
>> to help try to gather the information to get it fixed, but I would need
>> some guidance for how to gather the details needed to debug.
>>
>> Thanks,
>>
>> Roland
>>
>>

-- 
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: Petition for a standalone Chome installer allowing DevMode

2014-06-14 Thread John Jerger
I am very reliant on the GWT DevMode plugin on Chrome Linux.  I have tried 
Super Dev Mode, and I do not find it nearly as useful as the standard 
DevMode.

On Thursday, June 12, 2014 11:24:44 AM UTC-7, Warren Baltz wrote:
>
> Many people were surprised that their DevMode no longer worked recently. I 
> am one of them.  I am aware of Super Dev Mode. It's not always the answer.
>
> After some digging I found that I can disable Chrome's auto update, but I 
> still need an older version to install. Google has made it very difficult 
> to get an older version. I understand their interest in security, stability 
> and new features. But it feels like the rug was pulled out from under 
> developers using DevMode.
>
> If anyone else would like a standalone installer for an older Chrome that 
> still allows DevMode, please leave a brief comment. I'd like this thread to 
> get some attention quickly and hopefully provide some relief.  I have a 
> major project derailed because of this change, and I imagine there are 
> others like me. Time is critical here.  What do you say, Google?  Help a 
> developer 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.
For more options, visit https://groups.google.com/d/optout.


Re: you can only use Chrome extensions that you get from the Chrome Web Store

2014-06-13 Thread john wolfe


On Thursday, June 12, 2014 6:59:02 AM UTC-5, AJ wrote:
>
> I started up Chrome today and received notification that the GWT Plugin 
> has been disabled
>
> For your protection, you can only use Chrome extensions that you get from 
> the Chrome Web Store
>
> At the moment I find no way to enable it, not even with developer mode 
> enabled
>

you can get around this by downloading the "Dev Channel for Windows" build 
of chrome here http://www.chromium.org/getting-involved/dev-channel

you may have to restart chrome or drag n drop .crx files again but i was 
able to just click enable on most disabled extensions.  shouldnt change 
your chrome experience. 

-- 
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 Displaying HTML Emails

2014-02-08 Thread John Kida
I have a GWT app that reads incoming emails. I need to solve the problem of 
how to strip out any poorly formatted or even malicious HTML tags from the 
emails. I do want to be able to render HTML emails like your common email 
client will, but what would a best practice be for allowing this without 
allowing for global CSS properties and javascript or anything that may 
effect the rest of the app? My only idea is to put it into an IFrame... but 
id like to find something that can just safely strip the text to atleast be 
friendly enough to be inserted into the page as an HTML widget.


-- 
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: Click handler for widgets in content panel for a DisclosurePanel does not work

2014-01-11 Thread John Preston
I instantiate the DisclosurePanel as follows.



  
  
  
  


  
Link
1
User Profile
Logout
  

  



public class ActiveSessionPanel extends Composite
{
  private static ActiveSessionUiBinder uiBinder =
GWT.create(ActiveSessionUiBinder.class);

  interface ActiveSessionUiBinder extends UiBinder
  {
  }

  @UiField
  HTML sessionName;
  @UiField
  Label logout_link;
  @UiField
  Anchor link1;
  @UiField
  Anchor link2;

  public ActiveSessionPanel()
  {
initWidget(uiBinder.createAndBindUi(this));

sessionName.setHTML("Active session");

logout_link.addClickHandler(new ClickHandler()
{
  @Override
  public void onClick(ClickEvent event)
  {
Window.alert("logout link clicked");
  }
});

  }

}


However I see the panel and it opens ok, but the links do not produce any
response, although they present themselves with underlines, thus I think
they are being recognized as links.

Can't figure what I'm doing wrong.


On Sat, Jan 11, 2014 at 4:25 PM, Jens  wrote:

> Works for me. I have DisclosurePanels that contain content widgets with
> lots of Buttons / Anchors having ClickHandler attached.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/zx9JOwQVd20/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-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.
>

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


Any GWT.create videos available?

2013-12-19 Thread John Kida
Have they or will they be releasing the recordings from the GWT.create 
events? Does anyone know if there are any available yet?

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


Multipath/Branch Workflow Wizard

2013-11-28 Thread John Kida
Does anyone know of any GWT based Wizard project that will allow multiple 
questions that lead you down different paths in the wizard?

I want to create a sort of tree style wizard, which could be used for a 
number of things, but in my case to direct a support agent towards a 
solution for a particular problem. So you would basically be selecting from 
a list of answers for a question on each page, depending on the answer you 
selected would determine the next wizard screen to display, hopefully 
narrowing the problem down further and further until a solution is found.

I have seen a few GWT wizard projects out there, but they all seem to be 
set on 1 static screen path, and i need branching of the wizard path. If 
anyone knows of anything like this, or if there is any active GWT Wizard 
project out there that would be a really good candidate to extend for this 
functionality, please let me know. 

If nothing like this exists, I will go ahead and start a github project for 
it, let me know if anyone else is interested.
 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: GWT Designer Internal Error in Design mode (Eclipse Juno)

2013-10-19 Thread John Flournoy
I had this problem after trying to resize a layout panel and even pulling 
the source files down from backup didn't resolve the issue.   GWT plugin 
must be saving the size information somewhere other than the XML file.

I resolved it by cleaning, then deleting the project and importing it again 
as existing source.
Once I did all that I was able to view the UIBinder file in the 
WindowBuilder design tab.

Regards

-- 
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: Where i may to download update site archive for GWT Designer?

2013-09-10 Thread John Murphy
That page gives an XML error on all the P2 sites.

More to the point, I am trying to get the full version of GWT Designer as I 
have installed the lightweight version that comes with the Eclipse PDE. 
That version gives no access to the GWT Designer wizard that I want. Where 
is the GWT Designer full version to be found?



On Monday, November 21, 2011 2:40:10 PM UTC-8, Eric Clayberg (Google) wrote:
>
> Try these:
>
> http://code.google.com/p/gwt-designer/downloads/list
>

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


GWT + mvp4g url-rewriting

2013-08-27 Thread John Khandygo
Hi everyone!
In my java web project we use spring + gwt + mvp4g. We have several users 
on site, each of them is able to see several pages: 
Profile: 
mysite.com/#profile?user=blabla
Orders: 
mysite.com/#orders?user=blabla
and so on 
History tokens "user", "orders" are handled by some @Presenter annotated 
class (according to mvp4g best practises : EventBus + HistoryConverter).
We want to provide each user some kind of personal 
space:mysite.com/blabla
 or 
blabla.mysite.com
 (assuming 
that "blabla" is unique for each user)

So links listed above should look in the following way:
Profile: 
mysite.com/blabla/profile
 or 
blabla.mysite.com/profile
Orders: 
mysite.com/blabla/orders
 or 
blabla.mysite.com/orders
...

How can achieve this?

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


Access POST parameters via servlet?

2013-08-22 Thread John
I'm creating a GWT application that, when accessed, will be passed POST 
parameters (user id, etc.).

All the reading I've done so far has led me to believe that I should create 
a servlet (I'm using tomcat) that will handle the POST parameters and then 
forward to my GWT application.  I've gotten this working, but I'm still 
having trouble passing this data to my application.  I've seen 3 suggested 
approaches:

   1. Save data to context:  I have this working right now, but I'm not 
   happy with it.  When the servlet is accessed, I parse the parameters and 
   update the context of my GWT web application and then forward to the 
   application where I make an RPC call to read the context.  This does what I 
   want it to, but this creates a race condition when multiple users try to 
   access the application at the same and the context is rapidly changing.
   2. Store data in session:  I've tried saving the data to the request 
   session in my servlet, and then doing a 
   "response.sendRedirect(response.encodeRedirectURL("url"))" but I've not 
   been able to access the same session.  When I do 
   "this.getThreadLocalRequest().getSession()" I always get a new/different 
   session, so I assume I'm mucking this up somewhere.
   3. Pass data in URL:  My application will be opened in an iframe, 
   meaning "Window.location.getParameter()" will not be usable.

Any help would be greatly appreciated!  I'm still learning GWT and web 
development in general so don't be afraid to call me out on any obvious or 
silly mistakes.

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] I'm enhancing GWT to provide Java stack traces for clientside exceptions in production

2013-07-17 Thread John A. Tamplin
On Wed, Jul 17, 2013 at 4:56 PM, Alex Epshteyn  wrote:

> I would like to announce that I have finally solved what I always thought
> to be GWT's greatest weakness: its lack of debugging information for
> client-side exceptions in production.
>
> With my patch, your deployed app will be able to report stack traces like
> this:
>
> com.google.gwt.core.client.JavaScriptException: (TypeError) : a is null
>
> com.google.gwt.dom.client.DOMImplMozilla.$getBodyOffsetLeft(DOMImplMozilla.java:145)
>
> com.google.gwt.user.client.ui.PopupPanel.$setPopupPosition(Document.java:1287)
>
> com.google.gwt.user.client.ui.PopupPanel.setPopupPosition(PopupPanel.java:884)
> com.google.gwt.user.client.ui.PopupPanel.PopupPanel(PopupPanel.java:453)
>
> com.typeracer.commons.client.widgets.EnhancedPopup.EnhancedPopup(EnhancedPopup.java:32)
>
> com.typeracer.commons.client.widgets.PopupWithIcon.PopupWithIcon(PopupWithFocusableTextBox.java:28)
>
> com.typeracer.main.client.controller.TyperacerUncaughtExceptionHandler$1.execute(TyperacerUncaughtExceptionHandler.java:55)
>
> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:50)
> etc... :-)
>
>
> instead of the current state of affairs that looks like this:
>
> lineNumber: 3190 columnNumber: 15354: a is null; (TypeError) fileName:
> http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html
> stack: @
> http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html:2422
> Rub@http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html:2423
>
> dSb@http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html:3190
>
> tA@http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html:2810
> Xmb@http://localhost:8088/9C4DC2D905BEA407601C92C56B43E3B8.cache.html:2289
>
> etc... :-(
>
>
So, something like this has been used at least internally for quite a long
time -- what exactly did you have to change in StackTraceDeobfuscator?

-- 
John A. Tamplin

-- 
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: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2013-06-15 Thread John V Denley
Just had the same problem myself, and found that to fix it I had to do what 
you suggested, but I also had to manually create a "Prefs" key under 
JavaSoft too, as mentioned here:
http://www-01.ibm.com/support/docview.wss?uid=swg21496098

On Friday, 14 June 2013 02:02:26 UTC+1, QingFeng Du wrote:
>
> well well, 4 years later, I came across the same problem.
> here's my solution:
> open regedit.exe ( really hate Microsoft and their regedit.reg).
> change the permission of key: 
> HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft.Right click the icon, then change 
> the permission to full operation.
>
> On Saturday, June 27, 2009 3:03:20 PM UTC-4, Farinha wrote:
>>
>> The subject has it all. 
>>
>> Eclipse 3.4.2 
>> GWT Eclipse Plugin 
>> Windows 7 
>>
>> Thanks in advance for the help. 
>>
>

-- 
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: How Gwt runAsync decides to include code... be careful...?

2013-06-09 Thread John Stalcup
Goktug has commited a fix at 
https://gwt.googlesource.com/gwt/+/6d2ad61035607f4799301f0c0bc0991006a5f097 to 
make GWT.runAsync() act asynchronously in devmode as well.

Your work around should no longer be necessary if you work off a HEAD 
version of GWT.

On Sunday, December 16, 2012 4:15:21 AM UTC-8, Ed wrote:
>
> (Using version 2.5.0)
>
> I am a bit surprised the way gwt decide to include code in a split point, 
> or left over.
>
> Example: creation of a controller in a split point. (without 
> the -XfragmentCount option)
> 1) Safe way that always works:  create controller in an anonymous 
> RunAsyncCallback.onSuccess() method:
> 
> public void createSomeController(final AsyncCallback 
> callback, final Bla args) {
>  final RunAsyncCallback async = new RunAsyncCallback() {
>public void onSuccess() {
> callback.onSuccess(new SomeControllerDefault(args));
>}
>public void onFailure(Throwable ex) {
> callback.onFailure(ex);
>}
>  };
> GWT.runAsync(async);
> }
> 
> The above gives the same result when not creating  the async variable but 
> passing the RunAsyncCallback directly to the GWT.runAsync() method. Which 
> might sound logic, but nothing is like it seems...
> Above results in my case in (Soyc report):
>  Total code size: 1.1 MB
>  Initial size: 350 KB
>  left over: 550 KB
>
> 2) However when I replace the above line  "GWT.runAsync(async)" by the 
> following:
> ---
> if (GWT.isScript()) {
> GWT.runAsync(async);
> }
> else {
>new CommandDeferred() { 
>  public void execute() { 
>  GWT.runAsync(callback); 
>   } 
> }; 
> }
> 
> I do the above because I want   the runAsync to be run decoupled when 
> running in dev mode to get the exact same behavior as in script mode. This 
> is due to an open issue (bug) that hasn't been solved yet, that is: in dev 
> mode the behavior is different as it's not decoupled that can lead to 
> strange app bugs..
> Anyway: the point here is: that it will always run the "
> GWT.runAsync(async);" command just like above but then through an if 
> statement...
> Surprisingly however, the above results in a much bigger left over:
> ---
>  Total code size: 1.1 MB
>  Initial size: 350 KB
>  left over: *750* KB
> ---
> Interesting, so the GWT compiler doesn't use the runtime dependency path 
> like you would expect...
> BTW: this is a bumper so that I can never use this construction, such that 
> my behavior in web and dev mode are (too) different... (mentioned above)
>
> This is just one of the tests that was I was surprised of.
> I another test I did:
> 3) Just like 1) but pass in a Creator method, like this: 
> ---
> public void createSomeController(final AsyncCallback 
> callback, final CreatorSimple creator) {
>final RunAsyncCallback async = new RunAsyncCallback() {
> public void onSuccess() {
> callback.onSuccess(creator.create());
> }
>
> public void onFailure(Throwable ex) {
> callback.onFailure(ex);
> }
>   };
>   GWT.runAsync(async);
> }
> ---
> I call the above code like this for example (the above usage makes it nice 
> to share split points in case it works anyway):
> ---
> final CreatorSimple creator = new 
> CreatorSimple() {
>public SomeController create() {
> return new SomeControllerDefault(args);
>}
> };
> getLazyLoader().createLoonController(callback, creator);
> ---
> Also this results in the same big left over :(..
> I am surprised about this as the creation of the controller is only called 
> through the GWT.runAsync() and NEVER through another piece of code...
> So why is my left over so big? Why is GWT deciding it's not included in 
> it's own split point?
> I don't understand the difference with construction 1), as besides it's 
> another construction, it leads to the same result you would expect
> I tried more constructions like putting the controller creation in it's 
> own class instead of through an anonymous class, but it all results to the 
> same big left over...
>
> Idea's, your experience ?
>
> My experience/advice: always use the less flexible construction 1) which 
> makes it difficult to share split points and workaround the 
> dev-mode-script-mode (bug) difference.. But at least that results in 
> "correct" split points...
>
> - Ed
>
>
>
>
>

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




What is the reason for "Oops! Google Chrome cannot connect to server 127.0.0.1:8888"?

2013-05-26 Thread Mike John
Hey there,

I've been developing using Google Web Toolkit / Eclipse Java EE IDE for Web 
Developers (on Mac OS 10.8.3) for a few weeks, and today, all of a sudden, 
I got an error message when trying to look at page in Chrome:

*"Oops! Google Chrome cannot connect to server 127.0.0.1:"*

I restarted Chrome, Eclipse and my computer; and after a while of trying 
and trying, things worked again the desired way.

*My question:* Does anybody know what has happened? I would like to avoid 
such a situation in the future.

Thank you,
:) Mike




( GWT )

-- 
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: eclipse 4.2

2013-03-28 Thread John Boray
I had the same problem. That installer seems to be for Android developers.
But I found a zip on 
https://developers.google.com/eclipse/docs/install-from-zip 
which worked fine.
Hope that helps! :-)


On Thursday, 7 March 2013 02:12:39 UTC+1, Elaine Toscano wrote:
>
> When I install GWT on eclipse 4.2 I do not get the blue *Web Application 
> Project *button.* *Or the New menu item for the same.*
> *How do I verify my install on 4.2?
> thanks
> ET.*
>
> * 

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




Question about LeafValueEditor

2013-03-15 Thread John Jackson
Hello,

I'm new to editors in GWT. What I would like to achieve is the following: 
user selects the salutation for a person (e.g. Dr., Mr., Ms., etc.); when 
selected if the salutation is "Mr." I would like to update the Gender 
ListBox automatically to "Male", if the salutation is "Ms. or Mrs." gender 
should be set to Female, otherwise the gender needs to be changed manually 
(e.g., for Dr.). So, what I did in the salutation LeafValueEditor was to 
set the genderListBox to the proper selected item (see code below) --- when 
I flush the editor the value does change in the backing object as expected 
-- however, the genderListBox value is not updated on screen when the 
salutation changes. How can I acheive this?

// SALUTATION
LeafValueEditor salutation = new LeafValueEditor() {
@Override
public String getValue() { 
if (mode == SharedConstants.EDIT_MODE || mode == SharedConstants.ADD_MODE) {
int selectedIndex = salutationListBox.getSelectedIndex();
String selectedValue = salutationListBox.getValue(selectedIndex);

if ("Ms.".equals(selectedValue) || "Mrs.".equals(selectedValue)) { 
genderListBox.setItemSelected(1, true);
} else {
if ("Mr.".equals(selectedValue)) {
genderListBox.setItemSelected(0, true);
}
}

return (selectedValue);
} 

String selectedText = salutationTextBox.getText();
return selectedText; 
}

Many Thanks,
JJ

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




IE 8 issues with GWT 2.5

2013-02-28 Thread John Paca
We recently started using GWT 2.5 for our GWT applications.  Prior to a 
couple of months ago, we used GWT 2.4.  After deploying the GWT 2.5 
applications, we noticed that the applications no longer work with IE 8. 
 When the user navigates to the application via an index.html page, the 
page is accessed successfully but the GWT java script is not loaded.  We do 
not see the login dialog as we would expect.  With Chrome and IE 9, we do 
not have issues.

We are using SSL.

We noticed that if we access the application using IE 8 and we add the site 
as a trusted site in IE 8, it works ok.

Also, we noticed that if we access the application using IE 8 and use the 
IP address of the machine versus the domain name, it works ok.

We've looked at the problem in Fiddler and it looks like with IE there is a 
problem in the SSL handshake.  Things hang after about 2 steps in the 
handshake, whereas in the good case there are several more messages back 
and forth before receiving the dialog page.

For the user agent string in the gwt module, we have:

  

In our index.html file, we have:



One thing worth noting is that we also started using UIBinder when we moved 
to GWT 2.5.  I'm not sure if that makes any difference or not.

Thanks for any help anyone can provide.




-- 
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: Chrome 24 and GWT

2013-01-24 Thread John V Denley
Looks to me like the latest release (Version 24.0.1312.56 m) fixes this 
issue...

On Sunday, 20 January 2013 22:04:32 UTC, darkflame wrote:
>
> Just to confirm/clarify this problem as I found it today. 
>
>
> PopupPanel test = new PopupPanel(); 
>
> test.add(new Label("test")); 
>
> test.setAnimationEnabled(true); 
>
> test.center(); 
>
> Is all it takes to reproduce it for me. 
> Animation seems to have to be true, it seems to work fine without, so 
> that could be a workaround for some people needing 2.4. 
>
>
> On Jan 15, 2:22 am, Thomas Broyer  wrote: 
> > Sorry, didn't see that part of your mail: 
> > 
> > On Monday, January 14, 2013 5:43:36 PM UTC+1, zarfh...@gmail.com wrote: 
> > 
> > > Perhaps you have the resources to fully regression test all of your 
> > > applications every week on all 8 or 9 different supported browsers, 
> plus 
> > > dev/beta versions, but in the real world of enterprise software, 
> that's 
> > > simply not feasible. 
> > 
> > I don't have those resources, but I'm aware that it's what I should do. 
> > It's actually even worse: I'm paid to build webapps, not maintaining 
> them. 
> > We're not proactive on browser changes because that's not part of the 
> deal 
> > with our customers, but we're generally in the situation of shipping a 
> > fixed version (provided there's an easy fix or workaround) in a matter 
> of 
> > hours. Once the warranty period is over however, I bet nobody does 
> testing 
> > either and fixes can take ages. 
> > BTW, I also know there *are* people in the "real world of enterprise 
> > software" who *do* end-to-end testing, either using Selenium/WebDriver 
> on a 
> > cluster of servers, or using SaaS such as Sauce Labs, driven by a CI 
> server 
> > (Jenkins/Hudson, TeamCity, Bamboo, etc.) to be run on each commit and/or 
> > nightly. 
> > 
> > The root of the issue is that most people (IT deps mostly) ask for 
> webapps 
> > rather than native apps (generally to replace native apps) for bad 
> reasons 
> > and/or without understanding the consequences. 
> > 
> > > Stable software should remain stable. If a customer upgrades his 
> version 
> > > of Windows, I shouldn't expect the new version to suddenly start 
> working 
> > > strangely because of a radical change in how animations are rendered. 
> A 
> > > similar concept should apply for web browsers. 
> > 
> > ROTFL! 
> > Are you talking about that Windows OS that breaks its WebDAV support in 
> > almost every new version or service pack, and even sometimes hotfixes?
> http://www.greenbytes.de/tech/webdav/webdav-redirector-list.html(I had to 
> > do an emergency patch in a server after the SP1 was deployed on Win7 
> this 
> > fall; BTW the webapp is 4 years old 'cause nobody allocated the budget 
> to 
> > maintain and update it, not even with security fixes: “if it ain't 
> broke, 
> > don't fix it”, BS; this is the state of software in the "real world of 
> > enterprise software": zombie servers on a drip of emergency fixes to 
> keep 
> > them alive) 
> > The one OS for which every IT department delays hotfix/SP deployment by 
> > fear of breaking their payroll or LoB apps? (which is probably the main 
> > reason there's still so many IE7 and IE8 out there –last year I would 
> even 
> > have added IE6 to the list–). 
> > 
> > But again, we're talking here about a bug in GWT, in the use of a "beta" 
> > API. And that bug was fixed long before the change in Chrome reached end 
> > users. 
> > Also note that in a closed environment (intranet) running Windows, you 
> can 
> > disable Chrome and/or ChromeFrame auto-updates using a group policy. 
>

-- 
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: Chrome 24 and GWT

2013-01-14 Thread John V Denley
Yes I have had to send an email to all my customers telling them to 
temporarily switch to firefox, safari or IEv8+

On Monday, 14 January 2013 14:02:25 UTC, Samyem Tuladhar wrote:
>
> Switch to Firefox!
>
> On Monday, January 14, 2013 8:55:55 AM UTC-5, John V Denley wrote:
>>
>> Any idea how I can fix this/workaround this in a currently live product, 
>> that I am unable to recompile/redeploy? Can I set something in chrome to 
>> stop it happening or revert back to an older version?
>>
>> On Sunday, 13 January 2013 22:12:20 UTC, Craig Mitchell wrote:
>>>
>>> Thanks Andy!  Your workaround works great!
>>>
>>> +1 for not happy with Google!  GWT 2.4 is supposed to be the stable 
>>> build!  We've been deferring going to GWT 2.5 because we wanted the 
>>> stability.
>>>
>>> Summary for workaround is to add the following to your .gwt.xml file:
>>>
>>> 
>>> 
>>> >> class="com.google.gwt.animation.client.AnimationSchedulerImplTimer">
>>>   >> class="com.google.gwt.animation.client.AnimationScheduler"/>
>>>   
>>> 
>>> 
>>> 
>>> 
>>> 
>>>   
>>> 
>>>
>>> 
>>> >> class="com.google.gwt.animation.client.AnimationSchedulerImplMozilla">
>>>   >> class="com.google.gwt.animation.client.AnimationScheduler"/>
>>>   
>>> 
>>> 
>>>
>>>
>>>
>>> On Saturday, January 12, 2013 5:20:20 AM UTC+11, Andy wrote:
>>>>
>>>> I posted the workaround that we're using to the chromium issue thread: 
>>>> http://code.google.com/p/chromium/issues/detail?id=158910
>>>>
>>>> We have 100s of customers with servers deployed behind firewalls so 
>>>> this is going to be ugly.
>>>>
>>>

-- 
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/-/qNjcQHPHr4kJ.
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: Chrome 24 and GWT

2013-01-14 Thread John V Denley
Yes Thomas, you are quite correct on two very good points, firstly that my 
customers are technically waiting for ME to upgrade to 2.5 and secondly 
that I SHOULD have been using an SCM and/or should have been taking regular 
backups... thats TOTALLY on me..

I have grown organically and was not even aware of how to use an SCM when I 
started development back in 2009, its been a learning experience the whole 
way through, and the reason I chose GWT as a development platform was so 
that I would not have to worry about testing against all the possible 
browser options. (Yes it quickly became obvious that Google do not take ALL 
the cross browser pain away!)

I actually dropped my pc (attached to my backup device, while backing up 
and managed to destroy both beyond recovery - I spend over £500 trying to 
recover the data) 

I am working through the process of rebuilding the product since my last 
cloud backup in April 2012, but that was built in GWT2.4. So yes, I cant 
branch my SCM (didnt have one) and I didnt plan for that eventuality. I am 
NOW using GIT and BitBucket and SugarSync, DropBox and Google Drive to back 
EVERYTHING up constantly!

I relied too heavily on Google taking care of all browser compatibility and 
I didn't fully comprehend the dangers of not being absolutely meticulous... 
totally my fault on those two issues, but still its annoying that an 
automatic update to Chrome has broken my application. Sure, I should be 
able to  fix and be agile and maneuver  but currently I'm not, so I am 
stuck in the short them having to ask my customers to go use firefox or 
safari or god forbid even IE (v8 at least!!)


On Monday, 14 January 2013 16:26:19 UTC, Thomas Broyer wrote:
>
>
>
> On Monday, January 14, 2013 2:53:52 PM UTC+1, John V Denley wrote:
>>
>> Yup, same problem for me at www.DiaryBooker.com/demo - click any 
>> appointment location to create a new appointment and you see it right 
>> there! 
>>
>> This has actually happened before and a few updates later it had gone 
>> away again!
>>
>> I'm not sure what version of GWT is currently live, but my current 
>> development version is not showing this issue, trouble is I am halfway 
>> through a massive update, so cant make any changes to the current live 
>> version
>>
>
> You mean that cannot even create a branch in your SCM from the commit you 
> last deployed, apply the workaround and re-deploy? And you didn't plan for 
> that eventuality?
>  
>
>> and Im getting complaints from my customers I have had to tell them 
>> to use Internet Explorer while we wait for Google to fix it!!
>>
>
> You mean "while they wait for you to update", right?
>
> I don't get why people get angry here: there was a bug in GWT, it was 
> fixed 8 months ago in trunk and was released nearly 3 months ago (before 
> users on the stable channel of Chrome could even notice). There's an easy 
> workaround too for people not ready to update to GWT 2.5.
> So what's the problem actually? You didn't test your apps with beta or dev 
> versions of your browsers (that gives you 6 to 12 weeks to fix issues 
> before your users can notice), you're 3 months late on updating to the 
> latest stable release of GWT *and* you cannot deploy an updated version 
> (recompiled with the workaround) quickly. You can blame GWT for using a 
> "beta", though rather stable, API (requestAnimationFrame) to smooth the 
> rendering of your app and having made assumptions on the value it received 
> as argument and the exact time it'll be called back, but GWT is not the 
> only one to blame by an order of magnitude.
> The Web is a moving target: browsers update and can break your code as 
> soon as you (or the lib you use) a) make assumptions on browsers behaviors, 
> b) use "beta" APIs or c) use hacks or workarounds. When working with web 
> technologies (whether it's GWT, jQuery or vanilla JS), it's very important 
> to regularly a) test in beta or dev versions of your browsers, b) update to 
> the latest release of the libs you use and c) be prepared to re-deploy 
> quickly.
>

-- 
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/-/bPZf01ykJbgJ.
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: Chrome 24 and GWT

2013-01-14 Thread John V Denley
Any idea how I can fix this/workaround this in a currently live product, 
that I am unable to recompile/redeploy? Can I set something in chrome to 
stop it happening or revert back to an older version?

On Sunday, 13 January 2013 22:12:20 UTC, Craig Mitchell wrote:
>
> Thanks Andy!  Your workaround works great!
>
> +1 for not happy with Google!  GWT 2.4 is supposed to be the stable build! 
>  We've been deferring going to GWT 2.5 because we wanted the stability.
>
> Summary for workaround is to add the following to your .gwt.xml file:
>
> 
> 
>  class="com.google.gwt.animation.client.AnimationSchedulerImplTimer">
>class="com.google.gwt.animation.client.AnimationScheduler"/>
>   
> 
> 
> 
> 
> 
>   
> 
>
> 
>  class="com.google.gwt.animation.client.AnimationSchedulerImplMozilla">
>class="com.google.gwt.animation.client.AnimationScheduler"/>
>   
> 
> 
>
>
>
> On Saturday, January 12, 2013 5:20:20 AM UTC+11, Andy wrote:
>>
>> I posted the workaround that we're using to the chromium issue thread: 
>> http://code.google.com/p/chromium/issues/detail?id=158910
>>
>> We have 100s of customers with servers deployed behind firewalls so this 
>> is going to be ugly.
>>
>

-- 
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/-/QctnmlGYQYkJ.
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: Chrome 24 and GWT

2013-01-14 Thread John V Denley
Yup, same problem for me at www.DiaryBooker.com/demo - click any 
appointment location to create a new appointment and you see it right 
there! 

This has actually happened before and a few updates later it had gone away 
again!

I'm not sure what version of GWT is currently live, but my current 
development version is not showing this issue, trouble is I am halfway 
through a massive update, so cant make any changes to the current live 
version and Im getting complaints from my customers I have had to tell 
them to use Internet Explorer while we wait for Google to fix it!!

On Thursday, 10 January 2013 23:08:25 UTC, Paul wrote:
>
> This morning Google updated Chrome to version 24.  Now all my GWT 
> (animated) dialogs "flash" when opened.  They continuously open/close and 
> give a flashing effect.  I can't access the buttons to close them and have 
> to kill the browser window to stop it.  Confirmed on linux mint (13) and 
> Windoze 7 versions of Chrome.  I had another linux box that I did not allow 
> to update, and confirmed that Chrome 23 (and previous) does not do this. 
>  I've seen one other person complain of this on the Chrome forum.  Just 
> thought everyone should know!
>
> Paul
>
>

-- 
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/-/e-OyQG0OojoJ.
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.



gwt v2.0 with newer eclipse version

2013-01-07 Thread john . strockmeyer
i initially created a gwt 2.0-based application using eclipse 3.5. however, 
when i upgraded to newer eclipse version 3.6, the gwt plugin stopped 
working. i am no longer able to perform gwt compile in eclipse, nor the 
runtime debugging. is there a way to make older gwt versions work with 
newer versions of eclipse, or do i absolutely have to upgrade to a gwt 
version that is comparable to whatever eclipse version i am using? 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/-/JMNHV0epy4cJ.
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.



External Server communication with HTTP requests

2012-10-29 Thread John P
Hello,

I need support for the communication with external services like Google 
Maps API.
The following code and websites includes my concerns.

At first I want to get a google map with a HTTP request.
The following website shows the information for my intention.
https://developers.google.com/maps/documentation/staticmaps/?hl=en

How can I get Google Maps over HTTP requests?

Another point is the geocoding API from google. 
https://developers.google.com/maps/documentation/geocoding/
I want to get information with the geoCodeStr.
I tried this string with my browser and get information which you can see 
under the HTTP request code.
The problem of my project is that I get no response.
The status code is 0.

I hope someone can give me some advice?

Thanks.

String geoCodeStr= 
URL.encode("http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false";);
requestBuilder = new RequestBuilder(RequestBuilder.GET, geoCodeStr);
 try {
 requestBuilder.sendRequest(null,
new RequestCallback() {
public void onError(Request request, Throwable exception) {
Window.alert("Request timeout or no connection to server: "
+ exception.getMessage());
}

public void onResponseReceived(Request request,
Response response) {
System.out.println(response.getHeadersAsString());
System.out.println(response.getText());
if (200 == response.getStatusCode()) {
System.out.println(response.getText());
} else {
Window.alert(""+response.getStatusText());
}
 System.out.println(Integer.toString(response.getStatusCode()));
 }
});
} catch (RequestException e) {
Window.alert("No connection with server: "+e.getMessage());
}
}

{
   "results" : [
  {
 "address_components" : [
{
   "long_name" : "1600",
   "short_name" : "1600",
   "types" : [ "street_number" ]
},
{
   "long_name" : "Amphitheatre Pkwy",
   "short_name" : "Amphitheatre Pkwy",
   "types" : [ "route" ]
},

...

-- 
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/-/X_vIMWxc78sJ.
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: Chrome 15, GWT DMP Plugin crashes

2012-10-22 Thread John Patterson
Thats exactly the version I have and it works for me on a mac.  Make sure it is 
not being upgraded automatically.  the old version has a wrench icon in the top 
right corner, the new version has a few horizontal black lines.

On 22/10/2012, at 7:00 PM, Juanra Collado wrote:

> Wich version exactly?? I'm with the 21.0.1180.89 m and still doesn't work
> 
> thanks
> 
> El domingo, 21 de octubre de 2012 08:28:11 UTC+2, John Patterson escribió:
> BTW, just save it on your desktop and turn off auto-update or it will be 
> replaced with the broken new version as soon as you restart it.
> 
> On Sunday, 21 October 2012 12:59:08 UTC+7, John Patterson wrote:
> Download Chome 21 and use it instead until this bug is resolved.
> 
> http://www.oldapps.com/google_chrome.php
> 
> On Sunday, 21 October 2012 09:23:02 UTC+7, Cristobal Ramirez wrote:
> same problem in chrome v22.0.1229.94 m
> but works well in mozilla & IE..
> ..any idea to fix this problem??
> 
> -- 
> 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/-/VXFdaQmYgNkJ.
> 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: Chrome 15, GWT DMP Plugin crashes

2012-10-20 Thread John Patterson
BTW, just save it on your desktop and turn off auto-update or it will be 
replaced with the broken new version as soon as you restart it.

On Sunday, 21 October 2012 12:59:08 UTC+7, John Patterson wrote:
>
> Download Chome 21 and use it instead until this bug is resolved.
>
> http://www.oldapps.com/google_chrome.php
>
> On Sunday, 21 October 2012 09:23:02 UTC+7, Cristobal Ramirez wrote:
>>
>> same problem in chrome v22.0.1229.94 m
>> but works well in mozilla & IE..
>> ..any idea to fix this problem??
>>
>

-- 
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/-/AGPBRprM0lkJ.
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: Chrome 15, GWT DMP Plugin crashes

2012-10-20 Thread John Patterson
Download Chome 21 and use it instead until this bug is resolved.

http://www.oldapps.com/google_chrome.php

On Sunday, 21 October 2012 09:23:02 UTC+7, Cristobal Ramirez wrote:
>
> same problem in chrome v22.0.1229.94 m
> but works well in mozilla & IE..
> ..any idea to fix this problem??
>

-- 
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/-/xhCPhmw-gl8J.
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: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread John
No, just jumped over to Firefox.  What a pain!

On Wednesday, September 26, 2012 1:35:29 PM UTC-4, Jambi wrote:
>
> ah ok! have you figured out a convienient way to roll back the versioning? 
> maybe someone has an idea which old version to use. I was trying an older 
> beta but it still won´t work
>
> Am Mittwoch, 26. September 2012 19:23:25 UTC+2 schrieb John:
>>
>> YES!!  And I thought maybe uninstalling/reinstalling the plugin might 
>> help, but it doesn't reinstall. :(
>>
>> On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote:
>>>
>>> Hey guys,
>>>
>>> today I was starting my gwt app in Chrome and there appears a message 
>>> that the dev plugin couldn´t be loaded. I think this could be the fault of 
>>> an auto update... Does anyone else have this issue on Mac osx with Chrome 
>>> 22.0.1229.79 
>>> and dev plugin 1.0.9738?
>>>
>>> this drives me crazy oO!
>>>
>>

-- 
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/-/AlNPlgVxSZwJ.
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: GWT Dev Plugin broke (Chrome/mac osx)

2012-09-26 Thread John
YES!!  And I thought maybe uninstalling/reinstalling the plugin might help, 
but it doesn't reinstall. :(

On Wednesday, September 26, 2012 12:49:08 PM UTC-4, Jambi wrote:
>
> Hey guys,
>
> today I was starting my gwt app in Chrome and there appears a message that 
> the dev plugin couldn´t be loaded. I think this could be the fault of an 
> auto update... Does anyone else have this issue on Mac osx with Chrome 
> 22.0.1229.79 
> and dev plugin 1.0.9738?
>
> this drives me crazy oO!
>

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



Problem generating Elemental sources

2012-08-08 Thread John A.
Getting this stack trace when trying to run the generate target on 
elemental:

[john@vaadin elemental]$ ant generate
Buildfile: /home/john/Repositories/gwt/trunk/elemental/build.xml

generate:
 [exec] Traceback (most recent call last):
 [exec]   File "idl/scripts/elemental_fremontcutbuilder.py", line 217, 
in 
 [exec] sys.exit(main())
 [exec]   File "idl/scripts/elemental_fremontcutbuilder.py", line 214, 
in main
 [exec] return build_database(idl_files, database_dir)
 [exec]   File "idl/scripts/elemental_fremontcutbuilder.py", line 139, 
in build_database
 [exec] builder.import_idl_file(file_name, webkit_options)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/databasebuilder.py", 
line 472, in import_idl_file
 [exec] idl_file = self._load_idl_file(file_path, import_options)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/databasebuilder.py", 
line 83, in _load_idl_file
 [exec] defines=import_options.idl_defines)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/idlparser.py", 
line 444, in parse
 [exec] content = self._pre_process(content, defines, includePaths)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/idlparser.py", 
line 424, in _pre_process
 [exec] stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 [exec]   File "/usr/lib64/python2.7/subprocess.py", line 672, in 
__init__
 [exec] errread, errwrite)
 [exec]   File "/usr/lib64/python2.7/subprocess.py", line 1202, in 
_execute_child
 [exec] raise child_exception
 [exec] OSError: [Errno 2] No such file or directory
 [exec] Traceback (most recent call last):
 [exec]   File "idl/scripts/elementaldomgenerator.py", line 164, in 

 [exec] sys.exit(main())
 [exec]   File "idl/scripts/elementaldomgenerator.py", line 155, in main
 [exec] database_dir, use_database_cache)
 [exec]   File "idl/scripts/elementaldomgenerator.py", line 120, in 
GenerateDOM
 [exec] systems = systems)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/elementalgenerator.py",
 
line 279, in Generate
 [exec] 
self.PopulateMixinBase(self._database.GetInterface('ElementalMixinBase'), 
mixins)
 [exec]   File 
"/home/john/Repositories/gwt/trunk/elemental/idl/scripts/database.py", line 
188, in GetInterface
 [exec] raise RuntimeError('Interface %s is not loaded' % 
interface_name)
 [exec] RuntimeError: Interface ElementalMixinBase is not loaded

Running against the latest GWT trunk (rev 11195) with Python 2.7.1 on a 
Linux (Fedora 15) platform.

Any ideas?

-- John

-- 
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/-/qEW4EqrM7m8J.
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: Compiler warnings when migrating from 2.3 to 2.4 or 2.5-rc1

2012-08-06 Thread John
I found it.  Looks like I don't have validation-api-1.0.0.GA-sources.jar on 
the classpath, I have a 2nd copy of validation-api-1.0.0.GA.jar parading as 
sources.  Now to figure out how that is happening.

On Thursday, August 2, 2012 10:58:07 AM UTC-4, John wrote:
>
> GWT compile using 2.3.0 appears clean.  When I migrate to 2.4.0 or 
> 2.5.0-rc1 I see the following warnings:
>
>  [java]Validating units:
>  [java]   Ignored 70 units with compilation errors in first pass.
>  [java] Compile with -strict or with -logLevel set to TRACE or DEBUG 
> to see all errors.
>  [java]Computing all possible rebind results for 
> 'com.google.gwt.useragent.client.UserAgentAsserter'
>  [java]   Rebinding 
> com.google.gwt.useragent.client.UserAgentAsserter
>  [java]  Checking rule  class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
>  [java] [WARN] Detected warnings related to 
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are 
> validation-api-.jar and validation-api--sources.jar on 
> the classpath?
>  [java] Specify -logLevel DEBUG to see all errors.
>  [java] [WARN] Unknown type 
> 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred 
> binding rule
>
> I made some modifications to my ivy and build files to make sure 
> that validation-api-1.0.0.GA-sources.jar and validation-api-1.0.0.GA.jar 
> were on the classpath, but this didn't make any difference.
>
> Any ideas how to clean up these warnings?
>
> 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/-/T0Qf44FagOAJ.
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.



Compiler warnings when migrating from 2.3 to 2.4 or 2.5-rc1

2012-08-03 Thread John
GWT compile using 2.3.0 appears clean.  When I migrate to 2.4.0 or 
2.5.0-rc1 I see the following warnings:

 [java]Validating units:
 [java]   Ignored 70 units with compilation errors in first pass.
 [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to 
see all errors.
 [java]Computing all possible rebind results for 
'com.google.gwt.useragent.client.UserAgentAsserter'
 [java]   Rebinding 
com.google.gwt.useragent.client.UserAgentAsserter
 [java]  Checking rule 
 [java] [WARN] Detected warnings related to 
'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are 
validation-api-.jar and validation-api--sources.jar on 
the classpath?
 [java] Specify -logLevel DEBUG to see all errors.
 [java] [WARN] Unknown type 
'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred 
binding rule

I made some modifications to my ivy and build files to make sure 
that validation-api-1.0.0.GA-sources.jar and validation-api-1.0.0.GA.jar 
were on the classpath, but this didn't make any difference.

Any ideas how to clean up these warnings?

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/-/6W8k2r-oE4wJ.
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.



Help with JavaScriptObject casting issue in Prod Mode.

2012-06-04 Thread John Gentilin
I am working with a wrapper around the FB JS libs, which is actually 
running on a iPhone / PhoneGap that is calling the native FB Libs..

I have the following wrapper function that will log me out of FB and 
call the success function on return 

  public static native void logout (AsyncCallback 
callback) /*-{
 $wnd.FB.logout(function(response){
  
@com.gwtfb.client.core.FBCore::callbackSuccess(Lcom/google/gwt/user/client/rpc/AsyncCallback;Lcom/google/gwt/core/client/JavaScriptObject;)(callback,response);
   });
}-*/;

The response method is defined below. During execution, the logout function 
just returns the 
String "OK".  From the diagnostics in the method below, obj is of class *
java.lang.String* and the 
callback signature is *protected class LoginStatusCallback implements 
AsyncCallback *

callback.onSuccess (obj); fails with a Class Cast Exception when running in 
Prod Mode,

The try / catch around callback.onSuccess (obj) does get caught and it 
successfully calls 
the callback with null as a parameter. it just seems off that the obj 
correctly identifies itself
as an instance of JavaScriptObject but fails on the call.. It works fine 
hosted mode..


Thank You
John Gentilin

  protected static void callbackSuccess(AsyncCallback 
callback, JavaScriptObject obj) 
  {
m_Log.info("FB call response " + obj.toString());
if (obj instanceof JavaScriptObject )
{
  m_Log.info(obj.getClass().getName());
  if(callback != null)
  {
try
{
  m_Log.info(callback.getClass().getName());
  callback.onSuccess (obj);
}
catch(Exception e)
{
  m_Log.info("Exception in callback, calling success with null");
  callback.onSuccess(null);
}
  }
}
else
{
  m_Log.info("Other than JavaScript Object returned on callback " 
+obj.getClass().getName());
}
  }

-- 
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/-/T_U-9Av-vBgJ.
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: GWT Designer + MGWT library = Runtime exception

2012-04-13 Thread John Gentilin
Konstantin,

Has this version of truck been made available for the Eclipse updates ?
I just upgraded to the latest and the problem still exists.

Thank You
John Gentilin

On Thursday, February 16, 2012 6:35:47 AM UTC-8, Konstantin Scheglov wrote:
>
> Fixed in GWT Designer trunk.

-- 
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/-/FYPY2fMI0kIJ.
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: 2.4 RPC failure

2012-03-30 Thread John Malpas

One of the users actually figured it out
(at least one variation) --
this is crowd sourced software development.

As I wrote them, the ServiceDefTarget classes force
the service entry point to be the domain name
including "www".

So if a user went to a webpage in our domain, but
without the "www", then the various browsers would
interpret the webpage as being in a different domain
from the call to the server -- therefore
a violation of SOP.

-- 
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/-/w_aKtPjcKLAJ.
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: 2.4 RPC failure

2012-03-30 Thread John Malpas
SOB to debug is right!

I do have the message asking them to reload the page,
but I am afraid that many of them get discouraged by
the initial error.

However, putting the stack trace in a user dialog is having
some beneficial effects (at the cost of making us appear
totally incompetent) -- I received this from a user this morning:

Please refresh the page
Update ERROR(41): fail to write
CAUGHT com.google.gwt.user.client.rpc.InvocationException: Unable to 
initiate the asynchronous service invocation 
(WeedDataService_Proxy.writeXRecord) -- check the network connection
CAUSED BY com.google.gwt.http.client.RequestPermissionException: The URL 
http://www.calflora.org/ is invalid or violates the same-origin 
security restriction
CAUSED BY com.google.gwt.http.client.RequestException: (Error): Access is 
denied. 

So that looks like it is an SOP error, in spite of the
servlet being on the same domain as the webpage.
I will look at the generated WeedDataService_Proxy 
class to see if anything looks amiss.

-- 
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/-/SRA4Tzdh8GMJ.
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: 2.4 RPC failure

2012-03-30 Thread John Malpas
Thomas and Boris thanks for your comments.

Here are a few more details.

It is very hard to test, because it does not happen for me.
I have even trotted my laptop around to various cafes /
wireless environments trying to provoke the problem,
but I have not yet experienced the problem.

It is not SOP, because the web page and the web server
are coming from the same domain + server.

It is (seemingly!) random. I have talked to two users to verify this.
When an RPC call fails (e.g writing a record), if they try the same
call a few seconds later, it might succeed.

One of the apps subject to this problem has been in production
since 2008. This problem has appeared only recently. I think the
first time a user wrote in about was in Dec 2011, and since I could not
replicate what he was talking about, I attempted to dismiss it as
related to his strange bad internet connection. Since then many
users have reported it. There have been certain days when it
seem to happen a lot.

I have some tried some weird stuff, like iterating on the RPC
call while it is failing (try - fail - wait - try again ... 4 times).
I can't tell if this ever does any good, but from what the user
told me yesterday, sometimes it goes through 4 tries 
without succeeding. 

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



2.4 RPC failure

2012-03-29 Thread John Malpas
I have several apps out there written in GWT 2.4
Over the last few months, users have started to complain
about seemingly random RPC failures, both reading and writing.
I have never yet experienced these errors from my own computer,
but there are enough users writing in about it that
it seems that there must be something going wrong -- not just
one user with a questionable internet connection.

The manifestation in the onFailure() method of an AsyncCallback
is usually
  com.google.gwt.user.client.rpc.StatusCodeException: 0

I found one cooperative user who has been willing to beat on the
apps for me and send me results.He gets the errors with Firefox 8, IE 8,
and Chrome.When the RPC calls work, I see custom log messages in
the tomcat log. When the calls do not work, I see no evidence of any 
activity
in either the tomcat log or the apache log, so it appears that the RPC
calls are not reaching the server.

This morning I changed one of the apps to include a symbol table,
and to print out a stack trace in a dialog when the failure happens, and 
then
asked my precious user to try it. He sent back this stack trace,
copied from the dialog:

fail to write
CAUGHT com.google.gwt.user.client.rpc.StatusCodeException: 0
0 : Unknown.Em(StackTraceCreator.java:168)
1 : Unknown.Jl(StackTraceCreator.java:421)
2 : Unknown.RF(StatusCodeException.java:35)
3 : Unknown.bH(RequestCallbackAdapter.java:209)
4 : Unknown.bs(Request.java:287)
5 : Unknown.Bs(RequestBuilder.java:395)
6 : Unknown.anonymous(XMLHttpRequest.java:287)
7 : Unknown._l(Impl.java:168)
8 : Unknown.cm(Impl.java:213)
9 : Unknown.anonymous(Impl.java:57)

In broad strokes, I understand that the exception is
thrown because the browser is unable to do an XMLHttpRequest.
But more than that, why? I have looked up the line references
in the 2.4 source modules mentioned in the stack trace above,
but am still at a loss. The last one is this:

 public final native void setOnReadyStateChange(ReadyStateChangeHandler 
handler) /*-{
// The 'this' context is always supposed to point to the xhr object in 
the
// onreadystatechange handler, but we reference it via closure to be 
extra sure.
var _this = this;
this.onreadystatechange = $entry(function() {
 287: 
handl...@com.google.gwt.xhr.client.ReadyStateChangeHandler::onReadyStateChange(Lcom/google/gwt/xhr/client/XMLHttpRequest;)(_this);
});
  }-*/;

Any suggestions would be greatly appreciated.

-- 
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/-/2TVvDKQzwkkJ.
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: how to test GWT app through a proxy

2012-03-27 Thread John Malpas
Thanks Jens for your pointers. Here are a few developments.

On Tuesday, March 13, 2012 5:25:47 PM UTC-7, Jens wrote:
>
>
> The exception you see is thrown in RemoteServiceProxy.doInvoke(...) and 
> simply wraps a possible RequestException. These RequestExceptions can be 
> thrown by RequestBuilder.doSend(..) and are wrappers for 
> JavaScriptExceptions that can be thrown by the browser if it can not do an 
> ajax request using XMLHttpRequest.
>
> All these exceptions are chained together so you should log the whole 
> stack trace to get some more information.
>
> That is probably a good next step: I changed it so that now it shows a 
stack trace of nonsense -- I could
put the symbol table into the app (with SourceMaps?), and then ask users 
who experience
the problem to email me the stack trace.
 

> I don't think its an issue in GWT-RPC. Its just that your customer's 
> browser sometimes can't establish a connection to your server 
>

I still have not been able to see the problem for myself. On the theory 
that it
is likely to happen in places with weak internet, I have carried my laptop 
around
to various cafes etc. and run a bunch of apps, but so far no problem.

I have tried a few adventuresome things, like 
* in the RemoteServiceServlet I made doGetSerializationPolicy()
always return null, thereby forcing it to use a 1.3.3 compatible policy.
This seems to have helped, in the sense that users had earlier reported
errors related to getting a serialization policy, and since this change,
no one has reported those errors.

Then last Thursday, my associate was giving a training in Sacramento in
a situation with possibly weak internet, at the same time
that several other users were keeping our server engaged with
massive uploads (I am still not sure if server load has anything to do with 
this).
The trainees were supposed to use our GWT apps. Many of them
got a ...client.rpc.StatusCodeException: 0 whenever the app they were
using tried to read or write through RPC.

The apps seem to report StatusCodeException 0 when they are not able 
to reach the server, because I was not able to see any evidence of these
failures in any server log.

My associate says he ended up apologizing to the trainees instead
of covering the material, He thinks we should be investigating something
beside GWT, or at least hiring someone who really knows GWT RPC to
audit our apps. (Is there such a person?)

Another thing I have tried after Thursday was to put some of the critical
RPC calls (logging in) inside an iteration with DeferredCommands and Timers,
so that if the first attempt doesn't work, it will try a few more times 
before
giving up. I am not yet sure if this makes any difference. These are
desperate (read silly) measures.

-- 
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/-/cx8hTxO1XiUJ.
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: how to test GWT app through a proxy

2012-03-13 Thread John Malpas
The problem is getting worse, Now several users have sent me
similar errors, all on the new version of an app that has been
running (I thought reliably) for 1 1/2 years.

The error is like
Class$yE: Unable to initiate the asynchronous service invocation 
(MyDataService_Proxy.readRecords) -- check the network connection

And the same apps continue to work fine for me
on my internet connection.

So somehow GWT RPC is failing for some class of users out
there. Very confusing. I look at tomcat logs and apache
logs and I see no activity corresponding to the time when
the failure happened.


On Monday, February 27, 2012 11:43:05 AM UTC-8, JoseM wrote:
>
> I don't think it's directly related to the proxy pattern that Dan 
> mentioned.  It seems to be that your user doesn't have great internet 
> access, or there is some issue in the connection between that user and your 
> web server.  It seems that the error message happens when the browser is 
> not able to communicate (reliably) with the web server.
>
> Here is a related link that could help you out:  
> http://stackoverflow.com/questions/5258434/unable-to-initiate-the-asynchronous-service-invocation
>  
>
> On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote:
>>
>> Thanks that is interesting. What I know is, 
>> I am writing the "MyDataService" part, and somehow 
>> GWT must be writing the "MyDataService_Proxy" part. 
>>
>> And then there is this one (thankfully) very vocal 
>> user, whose access to the RPC needed by the application 
>> goes through the "MyDataService_Proxy" part, 
>> and it works for him only occasionally. 
>>
>> I would like to be able to test the "MyDataService_Proxy" 
>> part from where I am developing, or at least from 
>> somewhere nearby. 
>>
>> On Feb 26, 7:20 am, Dan  wrote: 
>> > That error message suggests a different kind of proxy,
>> http://en.wikipedia.org/wiki/Proxy_pattern. 
>> > 
>> > On Feb 25, 8:40 pm, John Malpas  wrote: 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > > I have several GWT (2.4) applications out there. 
>> > 
>> > > One in a while, a user writes in with a problem, 
>> > > where it is clear the RPC is not working, and it 
>> > > is clear there is some proxy involved in their access 
>> > > to the application. 
>> > 
>> > > (Most recent: "Unable to initiate the asynchronous service invocation 
>> > > (MyDataService_Proxy.login)") 
>> > 
>> > > I need to figure out some way to test access to the 
>> > > applications through a proxy, so I can at least see what 
>> > > these users are seeing. The same applications work fine 
>> > > for me on a variety of browsers and computers. 
>> > > (My own computers get to the web through ATT DSL with 
>> > > no proxy involved.) 
>> > 
>> > > Has anyone else faced this problem (need to test through 
>> > > a proxy)?
>
>
> On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote:
>>
>> Thanks that is interesting. What I know is, 
>> I am writing the "MyDataService" part, and somehow 
>> GWT must be writing the "MyDataService_Proxy" part. 
>>
>> And then there is this one (thankfully) very vocal 
>> user, whose access to the RPC needed by the application 
>> goes through the "MyDataService_Proxy" part, 
>> and it works for him only occasionally. 
>>
>> I would like to be able to test the "MyDataService_Proxy" 
>> part from where I am developing, or at least from 
>> somewhere nearby. 
>>
>> On Feb 26, 7:20 am, Dan  wrote: 
>> > That error message suggests a different kind of proxy,
>> http://en.wikipedia.org/wiki/Proxy_pattern. 
>> > 
>> > On Feb 25, 8:40 pm, John Malpas  wrote: 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > > I have several GWT (2.4) applications out there. 
>> > 
>> > > One in a while, a user writes in with a problem, 
>> > > where it is clear the RPC is not working, and it 
>> > > is clear there is some proxy involved in their access 
>> > > to the application. 
>> > 
>> > > (Most recent: "Unable to initiate the asynchronous service invocation 
>> > > (MyDataService_Proxy.login)") 
>> > 
>> > > I need to figure out some way to test access to the 
>> > > appli

Re: how to test GWT app through a proxy

2012-02-27 Thread John Malpas
Thanks that is interesting. What I know is,
I am writing the "MyDataService" part, and somehow
GWT must be writing the "MyDataService_Proxy" part.

And then there is this one (thankfully) very vocal
user, whose access to the RPC needed by the application
goes through the "MyDataService_Proxy" part,
and it works for him only occasionally.

I would like to be able to test the "MyDataService_Proxy"
part from where I am developing, or at least from
somewhere nearby.

On Feb 26, 7:20 am, Dan  wrote:
> That error message suggests a different kind of 
> proxy,http://en.wikipedia.org/wiki/Proxy_pattern.
>
> On Feb 25, 8:40 pm, John Malpas  wrote:
>
>
>
>
>
>
>
> > I have several GWT (2.4) applications out there.
>
> > One in a while, a user writes in with a problem,
> > where it is clear the RPC is not working, and it
> > is clear there is some proxy involved in their access
> > to the application.
>
> > (Most recent: "Unable to initiate the asynchronous service invocation
> > (MyDataService_Proxy.login)")
>
> > I need to figure out some way to test access to the
> > applications through a proxy, so I can at least see what
> > these users are seeing. The same applications work fine
> > for me on a variety of browsers and computers.
> > (My own computers get to the web through ATT DSL with
> > no proxy involved.)
>
> > Has anyone else faced this problem (need to test through
> > a proxy)?

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



how to test GWT app through a proxy

2012-02-25 Thread John Malpas
I have several GWT (2.4) applications out there.

One in a while, a user writes in with a problem,
where it is clear the RPC is not working, and it
is clear there is some proxy involved in their access
to the application.

(Most recent: "Unable to initiate the asynchronous service invocation
(MyDataService_Proxy.login)")

I need to figure out some way to test access to the
applications through a proxy, so I can at least see what
these users are seeing. The same applications work fine
for me on a variety of browsers and computers.
(My own computers get to the web through ATT DSL with
no proxy involved.)

Has anyone else faced this problem (need to test through
a proxy)?

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



Charting Tool for GWT

2012-01-07 Thread John Methew
Hi everyone,
  I have been looking over the options for Charting
tools available for GWT, Visualization API seems to be very promising
one, only thing its not suitable for intranet. Also I browsed to many
other open source Charting API, but there are so many and I am not
very sure about them. So I would like to hear expert opinions from GWT
community  about charting alternatives of Visualization API. (*Flash
is not bad but my preferences are for non-flash API.).
Thanks in advance.

-- 
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: Right Click Cell Table

2011-12-09 Thread John Maitland
Thanks, all works! I already have a custom
DefaultSelectionEventManager for double clicking. I had to override
handleMultiSelectionEvent as it only works for click and keyup
explicitly. A single selection model would work as is.

-- 
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: Right Click Cell Table

2011-12-09 Thread John Maitland
So put the contextmenu event on the cell itself rather than sinking an
event on the celltable?

John

On Dec 9, 11:18 am, Thomas Broyer  wrote:
> I think you need a CellPreviewEvent.Handler (have a look at
> DefaultEventSelectionManager) so that a "contextmenu" event turns into a
> SelectAction.SELECT or SelectAction.TOGGLE (depending on whether the Ctrl
> or Meta key is down). The current code should correctly change selection on
> a "click" event, whichever the button (left, right or middle).
> Or maybe your cell is handling selection itself? (isSelectionHandled
> returns true)

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



Right Click Cell Table

2011-12-09 Thread John Maitland
Is it possible that on right click, that the cell is also selected?

If I sink ONCONTEXTMENU, it will provide a context menu event, which
won't render the cell selected. For the cell to be selected, I need a
click event from the cell itself.

Many thanks,

John

-- 
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: Chrome 15, GWT DMP Plugin crashes

2011-11-30 Thread John Patterson
Was this issue ever fixed?  I'm getting it now after upgrading chrome to 
the dev channel and then reverting it back to the stable channel

-- 
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/-/_KUMVAXeM7EJ.
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: GWT Chrome dev OOPHM is Slow. What is the roadmap?

2011-11-28 Thread John Ho
While I can't speak for the OP, I'll add my two cents on why it would be a 
major plus for our development team. We are developing an offline feature 
using Web SQL and the only way to test it is to go through Chrome, since 
Firefox does not support it.



On Monday, November 28, 2011 2:42:44 AM UTC-5, Tom Carchrae wrote:
>
> I'm curious to know why this is a priority for you?
>
> I use Firefox for development and it's a perfectly workable solution for 
> me.  What does Chrome give you that you need for GWT development?
>
> Tom
>
>
>
> On Mon, Nov 28, 2011 at 5:53 AM, Brandon Donnelson wrote:
>
>> If you haven't already starred the issue, please star it. 
>> http://code.google.com/p/google-web-toolkit/issues/detail?id=6813 They 
>> have begun working on it too. I agree Firefox is faster as of now. 
>>  On Nov 27, 2011 6:39 PM, "Strelok"  wrote:
>>
>>> Latest ChromeDev (17.0.942.0 dev-m) is unbearably slow. I've given up on 
>>> Chrome now. Only Firefox is any good on Windows. 
>>>
>>> -- 
>>> 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/-/8d9-qD1kvWwJ.
>>> To post to this group, send email to google-we...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-web-tool...@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-we...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-web-tool...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/afLsZOnD6tAJ.
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: Adding Buttons to DialogBox

2011-11-28 Thread John Maitland
Thanks Vid, I've simplified the above code for this post and have
multiple buttons. But looking into what setWidget on the
DecoratorPanel, I realised that I need to override the following:

@Override
protected void doAttachChildren() {
try {
super.doAttachChildren();
} finally {
// See comment in doDetachChildren for an explanation of
this call
okButton.asWidget().onAttach();
}
}

@Override
protected void doDetachChildren() {
try {
super.doDetachChildren();
} finally {
/*
* We need to detach the caption specifically because it is
not part of
* the iterator of Widgets that the {@link SimplePanel}
super class
* returns. This is similar to a {@link ComplexPanel}, but
we do not want
* to expose the caption widget, as its just an internal
implementation.
*/
okButton.asWidget().onDetach();
}
}

Thanks,

John

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



Adding Buttons to DialogBox

2011-11-25 Thread John Maitland
Could anyone suggest why the Click Event doesn't fire in the following
example code?

Many thanks

John

public class OKDialog extends DialogBox {

public OKDialog() {

Button okButton = new Button("OK");

//add a button in dialogBottomCenterInner div
Element bottomMiddle = getCellElement(2, 1);

okButton.removeFromParent();
remove(okButton);

// Add the buttons to the top row of the decorator panel. We
need to
// logically adopt the caption so we can catch click events.
DOM.appendChild(bottomMiddle,
okButton.asWidget().getElement());
adopt(okButton.asWidget());

okButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
GWT.log("Clicked!");
}
});
   }
}

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



Problem with IE

2011-11-22 Thread John
Hi,

I'm trying to follow the instructions to test out Chart Tools with
GWT.

I followed everything step by step to make the SimpleViz test app but
for some reason it doesn't work in IE. Both Chrome and Firefox work
perfectly but nothing I've tried will get IE to work either in
development mode or in production mode.

I put a test up here: http://www.inflytenow.com/test/war/SimpleViz.html

Any help figuring out what's wrong with this in IE would be
appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-28 Thread John Gentilin
I have been using this mechanism and it works great..

but i was thinking later that it would be so much better if we could
specify the
EntryPoint to use in the ui.xml file, that way there is no need to
switch... i.e.


-John G

On Oct 24, 11:24 am, "Eric Clayberg (Google)" 
wrote:
> It should be available in the latest GWT Designer build.
>
> Heres how to use it...
>
> 1. Create a GWT project with a GWT module, moduleA.gwt.xml file.
> 2. Create a second GWT module, moduleB.gwt.xml in the same folder.
> 3. If you want to make sure that GWT Designer uses moduleB.gwt.xml, add the
> following comment to that file: 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-22 Thread John Gentilin
Konstantin,

When you say this is in trunk, is it in the release version.. I've
search around
but haven't found any reference to gwtd.module.use. To get by I have
been
renaming the entry points I am not using to .txt, would be nice to
take advantage
of the gwtd.module.use feature if it exists today.. If it is in the
release product,
can you point me to docs on how to utilize it..

Thank you
John Gentilin

On Oct 12, 6:13 am, Konstantin Scheglov  wrote:
> Yes, there is no need for a ticket.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Multiple Entry Points & GWT Designer, how to choose..

2011-10-11 Thread John Gentilin
Are you saying there is no need for a ticket now ??

Are GPE issues added to the GWT project or do they have their
own ?  ie. http://code.google.com/p/google-web-toolkit/

Thanks
John Gentilin

On Oct 11, 6:13 am, Konstantin Scheglov  wrote:
> Support "gwtd.module.use" marker  to choose single module was added to GWTD
> trunk.

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



Multiple Entry Points & GWT Designer, how to choose..

2011-10-10 Thread John Gentilin
After much thought I decided that the best way to accomplish what I am
trying to
do was to  use multiple Entry Points.. One down side is that it seems
that GWT Designer
will pick up the first one it sees in the directory.. Is there a way
to tell GWT Designer which
is the current Entry Point to use ?

Thank You
John Gentilin

-- 
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: Custom UIBinder Widget, problem expecting only widgets

2011-10-10 Thread John Gentilin
What I am trying to do is set up a blank UL container I can fill from my 
control code..
ie. below, where UnorderedList is a Java class that I used the source 
from HTMLPanel

as a starting point..




   



The above works fine, and I can access the galleryContainer object as a UIField 
in my control code..
but if I want to add some static list elements, mostly to see how they look in 
GWTDesigner, it fails..
i.e.





   
 
   




When I go to open GWTDesigner, it fails initialization saying the element 
MyWidget:UnorderedList
is only expecting Widgets. I pulled in the source for HTMLPanel into my 
UnorderedList class in its
entirety and only modified it to produce UL elements instead of Div elements.

Not sure what's going on here, I get the feeling that there is some description 
file somewhere
telling which UI elements are allowed to contain HTML vs Widgets somewhere 
since the code is
the same as HTMLPanel.

-John Gentilin

On 10/10/11 12:14 AM, Sudhakar Abraham wrote:

There are two ways to add html tag inside the HTMLPanel. You can add
Unorder List / ListItem (UL/LI) directly to HTMLPanel,  or using HTML
class inside the HTMLPanel.  Try the below code.

//.xml file


  

   
 
   
 ListItem
 ListItem1
 ListItem2
   
 
 
   

  

//.java
public class HtmlTest extends Composite
{
interface Binder extends UiBinder{}
Binder binder = GWT.create(Binder.class);

public HtmlTest()
{
initWidget(binder.createAndBindUi(this));
}

}

S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE



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



Custom UIBinder Widget, problem expecting only widgets

2011-10-09 Thread John Gentilin
I am trying to create a custom to use in my UIBinder templates, UL/LI
elements are curiously missing..
I used HTMLPanel as a template where I copied the class source to my
project. The object itself
works fine, but as soon as I try to include HTML code in the element,
the UIBinder parser complains
saying that my UL widget is only expecting Widgets, but the HTMLPanel
can include both HTML and
Widgets.. What am I doing wrong ?

Thanks
-John G

-- 
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: Splitting initial fragment

2011-09-25 Thread John Patterson
Actually I mean the *leftovers *fragment!  It just keeps on growing

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



Splitting initial fragment

2011-09-25 Thread John Patterson
My app has many html pages that each load a base "loader" module that calls 
a set of "features" which are each split with a GWT.runAsync call.

The idea is to share common code such as java.util classes and common gwt 
widgets.

But the problem I have hit is that the initial fragment has become too 
large.  Any code that is common between 2 features is placed in the initial 
fragment even though it is not used in any other features.  It doesn't seem 
very clever to just throw everything in the same fragment.  I want this 
initial fragment to be more fine grained.

Is there any work happening to help with these non-"app in a single page" 
type websites?

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



Problem in UIbinder with sub class of SplitLayoutPanel

2011-09-21 Thread John
I get a problem  in uibinder for a  subclass  of SplitLayoutPanel.
When I compile, my application throws the following error.

//console error

[ERROR] Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator'
threw an exception while rebinding 'com.tan.client.Test.Binder'
java.util.MissingFormatArgumentException: Format specifier '3$s'

// ...  test code segment ...

//subclass of  SplitLayoutPanel
package com.tan.client;

import com.google.gwt.user.client.ui.SplitLayoutPanel;

public class SplitTest extends SplitLayoutPanel
{

  public SplitTest()
  {
super();
  }
}

//test class

package com.tan.client;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class Test extends Composite
{
   interface Binder  extends UiBinder
  {
  }
  public Test()
  {
 initWidget(GWT.
create(Binder.class).createAndBindUi(this));
   }
}

//Test.ui.xml





 
   This is the WEST panel
 

 
This is the CENTER panel
 

 

Pls help.

S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE


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



Unexpected RPC trouble when moving up to GWT2.4

2011-09-20 Thread John Howe
 I thought this was going to be easy.

I'm trying to move a working GAE java app up to GWT 2.4.

But when I do, I see the following stack trace on the first RPC call to
appengine.

At least one other guy has seen this while doing same and posted a query at
http://groups.google.com/group/google-appengine/browse_frm/thread/a78f4c443bd3b249

Any help, suggestions, or insight would be most appreciated!

Thanks.


The server is running at
http://localhost:/
mozilla/5.0 (windows nt 6.0) applewebkit/535.1 (khtml, like gecko)
chrome/14.0.835.163 safari/535.1
[ERROR] javax.servlet.ServletContext log: Exception while dispatching
incoming RPC call
java.lang.NoClassDefFoundError: javax/validation/Path
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(SerializationPolicyLoader.java:196)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.loadSerializationPolicy(RemoteServiceServlet.java:90)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy(RemoteServiceServlet.java:293)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy(RemoteServiceServlet.java:157)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:455)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:237)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at
com.sportzcasterbeta.server.ServiceFilterImpl.doFilter(ServiceFilterImpl.java:25)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.sportzcasterbeta.server.ServiceFilterImpl.doFilter(ServiceFilterImpl.java:25)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:35)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)

Re: can't attach text with mail using Google App engine? please help me

2011-09-14 Thread John
I didn't get any exception.  please help me. I have been waiting for
your reply for the past 8 hours.

This is My Google App Engine Log:

2011-09-13 20:47:12.758 /mailserver 200 79ms 46cpu_ms 0kb Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902
Firefox/3.6.22

59.92.6.102 - - [13/Sep/2011:08:17:12 -0700] "POST /mailserver HTTP/
1.1" 200 0 "http://dinefinemail.appspot.com/"; "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22"
"dinefinemail.appspot.com" ms=80 cpu_ms=47 api_cpu_ms=0
cpm_usd=0.301408 instance=00c61b117ce578ca700cf428ae7f9245e72200

I 2011-09-13 20:47:12.708

[s~dinefinemail/1.353217802270349484].: Mail Servlet is





On Sep 13, 9:11 pm, skly  wrote:
> You can print  the exceptions to view details
>
> 2011/9/13 John 
>
> > I don't know what mistake i did in the server side code of google app
> > engine, I send my code segment to you. Thanks for advance .
>
> > //server side code
> > public class MailServlet extends HttpServlet {
>
> >        private static final long serialVersionUID = 1L;
>
> >        public void doPost(HttpServletRequest req, HttpServletResponse resp)
> >        {
>
> >                Properties properties = new Properties();
>
> >                Session session = Session.getDefaultInstance(properties,
> > null);
>
> >                String message = "Welcome towww.datastoregwt.com";
>
> >                String attachement = "attachementString for testing" ;
>
> >                try
> >                {
>
> >                Message msg = new MimeMessage(session);
>
> >                Multipart mp = new MimeMultipart();
>
> >                MimeBodyPart bodyPart = new MimeBodyPart();
>
> >                bodyPart.setContent(attachement, "text/plain");
>
> >                mp.addBodyPart(bodyPart);
>
> >                msg.setFrom(new
> > InternetAddress("rajaganapathiv...@gmail.com"));
> >                msg.addRecipient(Message.RecipientType.TO, new
> > InternetAddress("gan.tan...@gmail.com"));
>
> >                msg.setSubject("Invitation fromwww.datastoregwt.com");
>
> >                msg.setText(message);
>
> >                msg.setContent(mp);
>
> >                Transport.send(msg);
>
> >                }
> >                catch (AddressException e1)
> >                {
>
> >                }
> >                catch (MessagingException e2)
> >                {
>
> >                }
> >                catch (UnsupportedEncodingException e)
> >                {
> >                        e.printStackTrace();
> >                }
> >        }
> > }
>
> > --
> > 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.



can't attach text with mail using Google App engine? please help me

2011-09-13 Thread John
I don't know what mistake i did in the server side code of google app
engine, I send my code segment to you. Thanks for advance .

//server side code
public class MailServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

public void doPost(HttpServletRequest req, HttpServletResponse resp)
{

Properties properties = new Properties();

Session session = Session.getDefaultInstance(properties, null);

String message = "Welcome to www.datastoregwt.com";

String attachement = "attachementString for testing" ;

try
{

Message msg = new MimeMessage(session);

Multipart mp = new MimeMultipart();

MimeBodyPart bodyPart = new MimeBodyPart();

bodyPart.setContent(attachement, "text/plain");

mp.addBodyPart(bodyPart);

msg.setFrom(new
InternetAddress("rajaganapathiv...@gmail.com"));
msg.addRecipient(Message.RecipientType.TO, new
InternetAddress("gan.tan...@gmail.com"));

msg.setSubject("Invitation from www.datastoregwt.com");

msg.setText(message);

msg.setContent(mp);

Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
}

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



How to avoid user select the text from TextArea Using Mouse and KeyBord? Please help me.

2011-09-13 Thread John
TextArea content not selected by user While click and drag. I refer
the gwt 2.4.0 documentation, I used the setReadOnly() method. It is
used to content not edited by the user, but the user select the text.
how to avoid user select the text from textArea.

-- 
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: TextArea problem?urgent

2011-09-13 Thread John
Through browser I can't select the content from textArea.

On Sep 13, 2:20 pm, John  wrote:
> TextArea content prefilled with text. When the user not select the
> text usgin click and drag?I hope provide good solution for me.

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



TextArea problem?urgent

2011-09-13 Thread John
TextArea content prefilled with text. When the user not select the
text usgin click and drag?I hope provide good solution for me.

-- 
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: Creating my own UiBinder panel

2011-09-09 Thread John LaBanca
You're best bet is to email Google-Web-Toolkit@googlegroups.com after
joining https://groups.google.com/group/google-web-toolkit.  You can cc me
on the email, but hopefully one of our other users will be able to answer
your questions.

If you haven't already seen it, the UiBinder Dev
Guide<http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html>is
a good resource, and there are a bunch of UiBinder examples in GWT
samples.
 John LaBanca | GWT Software Engineer | jlaba...@google.com




On Fri, Sep 9, 2011 at 1:42 AM, Aviad Ben Dov wrote:

> Hello!
>
> My name is Aviad, and I'm emailing you quite randomly because I have no
> idea who to turn to with questions regarding UiBinder other than the
> developers themselves. I hope you're the right pick, I was just amused by
> the Scott's Soul page so I decided to mail you.
>
> I read the GWT pages, documentation, even some of the code, and still I
> have a few questions. Would it be alright if I asked a few questions? Or is
> there someone else you could refer me to if you don't want to be bothered?
>
> Thanks!
> Aviad.
>
>

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



GWT development is UNBEARABLY slow

2011-09-05 Thread John Wheeler
The cross-browser time-savings are completely diminished when you take into 
account OOPHM or hosted mode development in ANY of the browsers with ALL of 
the optimizations on stackoverflow, in the newsgroups, etc. It is incredibly 
slow and frustrating.

People considering GWT development need to know that the hosted mode and out 
of process plugins are essentially worthless because once your app gets to 
one or two screens, you'll be deploying to live everytime you want to test. 
This just sucks for app engine apps which take over a minute to deploy. I 
don't like having to wait 5 minutes for compile/test cycles.

Seriously, it takes 5 seconds for a button to click. Do you guys plan on 
doing anything about it ever?

-- 
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/-/q_Es5YL0ggcJ.
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: RequestContext Overhead

2011-08-31 Thread John Maitland
I agree that it looks like the overhead is per-requestcontext. This is
also reflected in the size of the abstract request factory vs the
abstract request context.

-- 
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: plugin failed to connect to hosted mode server at...

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command:

jar i gwt-maps.jar

-- 
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/-/8_AvliNl8TcJ.
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: GWT 1.52 Compile error

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command:

jar i some-jar-file.jar

-- 
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/-/TkdaLOGtQDAJ.
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: Need help with parallel build (ant)

2011-08-30 Thread John Maitland
Have a look at local workers flag, it will compile the permutations in
parallel:

http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions

John

-- 
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: RequestContext Overhead

2011-08-30 Thread John Maitland
Thanks Thomas. And the code sharing between request contexts is done
at the RequestFactory level or between request factories. For example,
if I have a entity proxy that is used on multiple request factories
would that be shared? This is important if you wanted to code split an
entire request factory compared to passing a reference from the
initial fragment (i.e. one giant request factory, lots of request
contexts vs lots of request factories with one contexts).

John

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



RequestContext Overhead

2011-08-30 Thread John Maitland
Is there a overhead to having multiple RequestContexts inside a
RequestFactory? I know with RPC, there was a overhead of having
multiple async services.

John

-- 
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: CellTable custom footer

2011-08-15 Thread John LaBanca
There is an example in the DataGrid example of Showcase:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwDataGrid.java?r=10228#270

Within the footer getValue() mathod, you can get all of the row data and
extract values and do some math.
John LaBanca | GWT Software Engineer | jlaba...@google.com




On Mon, Aug 15, 2011 at 2:30 PM, Mark Wengranowski
wrote:

> Thanks John!
>
> Do you have an example of how i would total all of the cells in a
> particular column and set the footer (Header instance)?
>
> On Aug 15, 11:19 am, John LaBanca  wrote:
> > If you pass a Header instance as the footer, it will be updated every
> time
> > you push new row data.  You can also refresh footers manually using
> > CellTable#redrawFooters().
> >
> > There is also a pending change that allows you to fully customize headers
> > and footers:http://gwt-code-reviews.appspot.com/1499808/
> > John LaBanca | GWT Software Engineer | jlaba...@google.com
> >
> > On Mon, Aug 15, 2011 at 12:10 PM, Mark Wengranowski <
> m...@greatlittlebox.com
> >
> >
> >
> > > wrote:
> > > Anyone?
> >
> > > On Aug 9, 1:05 pm, Mark Wengranowski  wrote:
> > > > Hi Everyone,
> >
> > > > I'm trying to add a footer to my CellTable and am having a hard time
> > > > finding information on creating a footer that would update
> dynamically
> > > > based on the cells in that column.
> >
> > > > i.e. I want the last row in my cell table to have a total footer.
> >
> > > > Adding static text is easy as you just pass an extra argument to the
> > > > constructor:
> > > >cellTable.addColumn(qty, "Qty",Integer.toString(totalQty));
> >
> > > > Thats not what want though.
> >
> > > > If i don't set totalQty to a value before adding the column to the
> > > > CellTable then it shows up as 0. If i try using the funtion
> > > > CellTable.redrawFooters() it does not update the footer with the
> > > > updated variable value for totalQty.
> >
> > > > I see in the documentation that footers are supposed to update
> > > > automatically when set up as a type Header.
> >
> > > > I can' t find any source examples so if anyone could point me in the
> > > > right direction or post an example that would be great.
> >
> > > > Thanks,
> > > > -Mark
> >
> > > --
> > > 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.- Hide quoted
> text -
> >
> > - Show quoted text -
>
> --
> 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: CellTable custom footer

2011-08-15 Thread John LaBanca
If you pass a Header instance as the footer, it will be updated every time
you push new row data.  You can also refresh footers manually using
CellTable#redrawFooters().

There is also a pending change that allows you to fully customize headers
and footers:
http://gwt-code-reviews.appspot.com/1499808/
John LaBanca | GWT Software Engineer | jlaba...@google.com




On Mon, Aug 15, 2011 at 12:10 PM, Mark Wengranowski  wrote:

> Anyone?
>
> On Aug 9, 1:05 pm, Mark Wengranowski  wrote:
> > Hi Everyone,
> >
> > I'm trying to add a footer to my CellTable and am having a hard time
> > finding information on creating a footer that would update dynamically
> > based on the cells in that column.
> >
> > i.e. I want the last row in my cell table to have a total footer.
> >
> > Adding static text is easy as you just pass an extra argument to the
> > constructor:
> >cellTable.addColumn(qty, "Qty",Integer.toString(totalQty));
> >
> > Thats not what want though.
> >
> > If i don't set totalQty to a value before adding the column to the
> > CellTable then it shows up as 0. If i try using the funtion
> > CellTable.redrawFooters() it does not update the footer with the
> > updated variable value for totalQty.
> >
> > I see in the documentation that footers are supposed to update
> > automatically when set up as a type Header.
> >
> > I can' t find any source examples so if anyone could point me in the
> > right direction or post an example that would be great.
> >
> > Thanks,
> > -Mark
>
> --
> 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: Help!

2011-08-04 Thread John Ho
Even though you are creating a new FlowPanel and adding your 
propertiesEditor widget after passing it into the popup, it still doesn't 
matter because you are passing the panel as an Element in your 
openInfoWindowWidget 
method.

But to elaborate on the approach I mentioned, try this as an example:

public class YourPanel extends Composite {
JavaScriptObject clickFunction;

{
createJSNIBridge();
}

public YourPanel() {
Button button = new Button("Button");
button.getElement().setPropertyJSO("onclick", clickFunction);

FlowPanel panel = new FlowPanel();
panel.add(button);
initWidget(panel);
}

native void createJSNIBridge()/*-{
this.@your.package.location.YourPanel::clickFunction = function() {
alert("Clicked!");
}
}-*/;
}

And then call openInfoWindowWidget(currentCoordinate, new YourPanel
().getElement()); 

-- 
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/-/SzQF0VraJK0J.
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: jsni, parameter from java to javascript

2011-08-04 Thread John Ho
Unless I'm misreading what you're trying to accomplish, it sounds as though 
you just need to assign what you are passing in your method arguments.

public static native void setSharePropertyButton(String nameShare, String 
linkShare, String pictureShare, String captionShare, 
String descriptionShare, String messageShare) /*-{ 

$wnd.FB.ui({
method: 'feed', 
name: nameShare, 
link: linkShare, 
caption: captionShare, 
description: descriptionShare, 
message: messageShare
});
}-*/;

-- 
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/-/vgdzJt0h1BQJ.
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: Help!

2011-08-04 Thread John Ho
Because you are passing an Element, any handlers that were added to your
Widget do not get passed along. To get around this, you will need to create
a native JSNI function for your buttons and links.

Example:

yourButton.getElement().setPropertyJSO("onclick", yourClickFunction);

Where yourClickFunction is defined in JSNI.



On Thu, Aug 4, 2011 at 10:06 AM, Thomas Lefort wrote:

> I am debugging with firefox but I do not see any error. It's more like
> all handlers have been wiped out, when I click on a link it doesn't do
> anything anymore. If I try the exact same widget by adding it to
> another widget or via uibinder all the links and buttons work fine.
>
>
>
> On Aug 4, 4:01 pm, Juan Pablo Gardella 
> wrote:
> > Are you debbug with firebug or similar to see the error?
> >
> > 2011/8/4 Thomas Lefort 
> >
> >
> >
> >
> >
> >
> >
> > > If anybody can help, I am really pulling my hairs...
> >
> > > I am on my last bit of my jsni integration with maps v3. I want a
> > > widget to appear in an infowindow. The widget has buttons and links.
> > > All elements appear fine in the infowindow except that none of the
> > > links, buttons work anymore.
> >
> > > This is what I do:
> >
> > > public native void openInfoWindowWidget(EOLatLng markerPosition,
> > > Element element) /*-{
> > >var myElement = element;
> >
> > >
> $wnd.mapsJSNI.openInfoWindowWidget(markerPositi...@com.metaaps.webapps.earthimages.shared.domain.EOLatLng
> > > ::lat,
> > > markerPositi...@com.metaaps.webapps.earthimages.shared.domain.EOLatLng
> > > ::lng,
> > > myElement);
> > > }-*/;
> >
> > > public final void openPropertiesWindow(EOLatLng currentCoordinate,
> > > List properties, PropertiesChange callBack) {
> > >FlowPanel panel = new FlowPanel();
> > >openInfoWindowWidget(currentCoordinate, panel.getElement());
> > >panel.add(propertiesEditor);
> > >}
> >
> > > propertiesEditor is my widget, it's a field. I am adding the flowpanel
> > > in between to avoid a call to getElement on the widget itself.
> >
> > > I would really appreciate any ideas!!!
> >
> > > Thanks
> >
> > > --
> > > 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.
>
>

-- 
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: GWT CELLTABLE How to restore old value in EditableTextCell?

2011-08-01 Thread John LaBanca
Take a look at AbstractEditableCell#clearViewData(Obect
key)<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/AbstractEditableCell.html#clearViewData%28java.lang.Object%29>

EditTextCell automatically recognizes when the pending value becomes the
actual value (successful commit).  If it fails, you have to revert the value
manually by clearing the ViewData, which contains the pending value.  The
key in this case is the key associated with the value you are editing.  If
you do not specify a KeyProvider, the key is the value itself.


John LaBanca | GWT Software Engineer | jlaba...@google.com



On Mon, Aug 1, 2011 at 2:24 PM, vaibhav bhalke wrote:

> Hi,
>
> I want to used editableNumbercell like intger,decimal etc.. But there
> is no such gwt widget present so I am using editable text cell and
> using validation for numbers when user update value in cell.
>
> Problem is that if validation fail then editabletext cell value
> restored to old value.
>
> intgerColumn.setFieldUpdater(new FieldUpdater() {
>public void update(int index, RecordInfo object, String value) {
>// Called when the user changes the value.
>if(value.matches("(-)?(\\d){1,8}")){
>object.setColumnInRecordEdited(true);
>object.setValue(value);
>RecordData.get().refreshDisplays();
>}else{
>Window.alert("Specify valid integer value for parameter");
>// How to reset old value here? currently updated
> value immediately set to cell
>
>}
>
>}
>});
>
> Any help or guidance in this matter would be appreciated.
>
> --
> Best Regards,
> Vaibhav
>
> --
> 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: Cell Table Data Handling & Performance

2011-07-26 Thread John LaBanca
Do you mean CellTable's cache or the data store of your data?  CellTable's
cache is in a List in HasDataPresenter, which is a package protected
presenter implementation that backs all of the cell widgets.  Your data can
exist anywhere you want, and you can use ListDataProvider or
AsyncDataProvider to link your data store to the range change events that
CellTable fires when it requests new data.


John LaBanca | GWT Software Engineer | jlaba...@google.com




On Tue, Jul 26, 2011 at 1:58 AM, BST  wrote:

>
> Where does the datastore actually exist?
>
> --
> 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/-/iy93M8fa5hwJ.
>
> 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: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 1:22 PM, BST  wrote:

>
> Many Thanks for the input.
>
> The scenario is that I am not displaying more than 100 rows per page. And
> the pager works through 3 pages.
>
> Yes the Data load is on Demand, as when the user presses the next button
> for the 4th page I am getting another 300 rows thru an RPC. It is a plain
> view only table. So only after the user has paged thru the 3 pages I go for
> the next batch of 300.
>
>  Also No changes or search within the table, it is view only. The table is
> a result of a server call for search. So I guess so far no worries :-)
>
>
> CellTable caches the row values within the current page so it can pass the
>> row values to Cells, and so it can re-render rows when needed.  When you
>> switch pages, the row values of the previous page are dumped.
>
>
> My understanding: So when I am viewing the 11 th page with 100 rows and go
> to the 12th page  (using an implementation AbstractPager), the rows on the
> 11th Page is dumped and no longer in the browser. So only 100 rows are
> managed by the browser even though 1100 rows of data is available with the
> DataProvider List. Have I got it right?
>
> Let's say the User has paged thru about 12 pages, so there is a list of
> 1200 in the dataProvider list already of which 100 are being shown in a
> page. So when the user goes back and forth within the range of 12 pages(1200
> rows) sorting or changing the display per page  to be 50 or 25 (on the
> client side),will the cell table efficiently manage?
>
Yes, it only caches the data on the current page.  When you go back and
forth between pages (even pages that you've already visited), CellTable will
send a new request to the data store for the rows in range.

This allows you to control the overall caching policy in your data provider.
 You can choose to cache all rows that you receive from the server in your
data provider, or you could, for example, just cache a window for plus or
minus 5 pages.

>
> I guess after your reply I will be more confident in delivering the
> solution :-)
>
>  --
> 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/-/9IaeCLLTpQoJ.
>
> 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: Cell Table Data Handling & Performance

2011-07-25 Thread John LaBanca
On Mon, Jul 25, 2011 at 6:49 AM, BST  wrote:

> Hi,
>
> I have successfully managed to use a Cell table & an abstract pager to
> fetch the new set of data from an RPC and display them on the cell
> table. Many thanks to the developer discussions and Developer Guide.
>
> But I do have a few concerns, as I plan to use it for large data sets,
> maybe like 10k objects. The Developer Guide does mention Cell table
> can handle large data sets, but I wanna know how large is large, any
> approximate number of objects in a list? Also a few other questions
> below,
>
The maximum page size is heavily dependent on the app and the data being
displayed, but some teams have gotten into the 250-500 rows per page.
 Assuming your backend can provide the data quickly, the limiting
performance factor of CellTable is rendering, and rendering a 500 row table
isn't instantaneous.

>
>
> Will my browser performance become sluggish if I load too many objects
> simultaneously ? For E.g lets say I store a list of Contact objects,
> with a pic of the contact and other textual information such as name,
> address and mail. The image might be a blob or a Base64 string.
>
All modern browsers should be able to handle an array of a few thousand
Contact objects without a problem, but if you are searching through the
array, that might be slow.  You also have to consider bandwidth constraints.
 Can you load the Contacts on demand and push the processing to the server?


> Is there a performance lag while using the pager on a really large
> data set?
>
There is no performance lag in CellTable itself.  If your backend can
provide data within a range, paging is a better experience than loading
10,000 objects upfront.

>
> If you are not sure, maybe you can tell me this, how the object
> handling in a list w.r.t Cell Table is done , and do the objects exist
> once objects are converted to html in the Cell Table on the client
> Side?
>
CellTable caches the row values within the current page so it can pass the
row values to Cells, and so it can re-render rows when needed.  When you
switch pages, the row values of the previous page are dumped.



> Regards,
> BST
>
>
> --
> 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: Multiple leftover fragments with a tree of code split points?

2011-07-23 Thread John Patterson
I'm having the same problem - the left overs fragment is growing and control 
should be more fine grained.  This is particularly important with multi page 
apps (c.f. app in one page) where each page must load the initial fragment, 
its exclusive fragment and the leftovers fragment.

I found this work that seems related:

http://code.google.com/p/gwt-splitter/

but there is no activity on that project.

@Google: any work happening on smarter leftover fragment splitting?

-- 
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/-/Pi6rPRBEl84J.
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: Can't install Google Eclipse plugins.

2011-06-30 Thread John More
John,

Log on to the group site and search for jrmore. This is a thread about your
problem and what I did to fix it.

On Thu, Jun 30, 2011 at 11:44 AM, John  wrote:

> I can’t seem to find an answer to my problem.  I’ve searched the
> forums and done everything I know but still can’t get Google Eclipse
> plugin to install.  I’m using Helios.  The site I’m installing from is
> http://dl.google.com/eclipse/plugin/3.6.
> I have also tried installing from the zip files to no avail.
> Does anyone have any insight?  Below is the erro message.
>
>
> Cannot complete the install because one or more required items could
> not be found.
>  Software being installed: Google Plugin for Eclipse 3.6
> 2.3.2.r36v201106211634
> (com.google.gdt.eclipse.suite.e36.feature.feature.group
> 2.3.2.r36v201106211634)
>  Missing requirement: Google Eclipse 3.6 Platform Plugin
> 2.3.2.r36v201106211634 (com.google.gdt.eclipse.platform.e36
> 2.3.2.r36v201106211634) requires 'bundle org.eclipse.jst.server.core
> 0.0.0' but it could not be found
>  Cannot satisfy dependency:
>From: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634
> (com.google.gdt.eclipse.suite.e36.feature.feature.group
> 2.3.2.r36v201106211634)
>To: com.google.gdt.eclipse.platform.e36 [2.3.2.r36v201106211634]
>
> --
> 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.
>
>


-- 
John More
352-658-1872

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



Can't install Google Eclipse plugins.

2011-06-30 Thread John
I can’t seem to find an answer to my problem.  I’ve searched the
forums and done everything I know but still can’t get Google Eclipse
plugin to install.  I’m using Helios.  The site I’m installing from is
http://dl.google.com/eclipse/plugin/3.6.
I have also tried installing from the zip files to no avail.
Does anyone have any insight?  Below is the erro message.


Cannot complete the install because one or more required items could
not be found.
  Software being installed: Google Plugin for Eclipse 3.6
2.3.2.r36v201106211634
(com.google.gdt.eclipse.suite.e36.feature.feature.group
2.3.2.r36v201106211634)
  Missing requirement: Google Eclipse 3.6 Platform Plugin
2.3.2.r36v201106211634 (com.google.gdt.eclipse.platform.e36
2.3.2.r36v201106211634) requires 'bundle org.eclipse.jst.server.core
0.0.0' but it could not be found
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.6 2.3.2.r36v201106211634
(com.google.gdt.eclipse.suite.e36.feature.feature.group
2.3.2.r36v201106211634)
To: com.google.gdt.eclipse.platform.e36 [2.3.2.r36v201106211634]

-- 
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: Drop file from the OS into a GWT application

2011-06-27 Thread John Maitland
Have a look at this session from Google I/O 2011 on HTML 5:

http://www.google.com/events/io/2011/sessions/html5-showcase-for-web-developers-the-wow-and-the-how.html

I'm not sure if this has native supported in GWT, but if not look at
JSNI.

John

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



Grid Cell Widget Possible?

2011-06-27 Thread John Maitland
Does anyone have any ideas of how to create a cell based grid, i.e. a
layout similar to the Grid widget?

Many Thanks,

John

-- 
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: override locale in datebox

2011-06-17 Thread John Tamplin
On Fri, Jun 17, 2011 at 1:12 PM, Dennis Haupt wrote:

> my requirement is to be able to change the locale on the fly. i've
> cheated by asking the server for a date format which i get out of a
> simpledateformat via reflection.
>

Right, all of GWT's i18n support is designed to do as much as possible at
compile time rather than runtime -- if you don't want that, you need to do
it on the server (you could do it yourself on the client, but the time/speed
penalty is pretty large).

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
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: Plural forms and I18NCreator

2011-06-16 Thread John A. Tamplin
This is not supported.  The problem is the information simply isn't there to 
convert from the properties file to the fully typed Java interface without 
adding some convention for comments specifying that information -- if you 
are going to do that, you might as well just write the Java code.

For example:

msg=They gave you a widget.
msg[FEMALE]=She gave you a widget.
msg[MALE]=He gave you a widget.

How are you supposed to get the type of the @Select parameter (assuming you 
infer it)?  It could be a String or an Enum, and if an Enum which one should 
you use?

How do you get the argument names or types?  Ie:

msg=Your total is {0}

Is argument 0 an int, double, BigDecimal, or something else?

-- 
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/-/k8SaGpBaVGAJ.
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: localisation issues with DateTimeFormat.PredefinedFormat MONTH_ABBR

2011-06-16 Thread John A. Tamplin
All of the data ultimately comes from Unicode CLDR.  For both English and 
German, the format string used for MONTH_ABBR is "LLL", which is the 
standalone abbreviated form of the month.  In English, all of the 
abbreviated names are 3 letters, as they should be.  For German, the 
standalone form of the month (to be used when it doesn't have a day and/or 
year in the format, depending on the locale) used to have the varying length 
and punctuation you describe, but has been updated in the current CLDR to 
all 3-letter abbreviations.

So, the updated German abbreviations will be picked up automatically when we 
next update the CLDR data included in GWT, which unfortunately will not be 
in time for the 2.4 release.

-- 
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/-/kCG-pQ0u8d8J.
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: Using a custom DateFormatProvider in GWT

2011-06-16 Thread John A. Tamplin
GWT uses the data from the Unicode CLDR, and supports ta and ta_LK, so ta_IN 
should get the ta defaults, which should be appropriate for IN.  If you 
believe there should be a specialization for ta in India, then I suggest 
filing a bug against CLDR to add it.

Aside from that, search for *_ta.* under user/src/com/google/gwt/i18n and 
make a copy under *_ta_IN.* and edit it as needed.  You could put those 
files in your own project and GWT will use them if they are on the 
classpath.  

-- 
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/-/IsYSDfFFZqIJ.
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: override locale in datebox

2011-06-16 Thread John A. Tamplin
GWT is only running one locale at a time -- you specify the set of locales 
you want to build your app with, and then only the strings / formats for 
that locale are downloaded to the user. 
 See http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html 
for more info.

Once you set the locales you want, then your date box will be formatted 
appropriately for the locale it is running in.

-- 
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/-/cZNcXsiKyPcJ.
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   6   7   8   9   >