Re: How does UIBinder attributes map to methods / properties of the Java object ?

2010-11-24 Thread Chris Conroy
Hi John,

The mapping is from the property name to a corresponding setPropertyName
method. See UiBinderWriter.genPropertySet. In the case of say , that translates to a call to label.setText("oh hai")

In the case of a grid, since there aren't such setProperty calls. You could
extend Grid and create your own relevant setProperty calls or you could mark
it as @UiField(provided=true) and simply initialize it yourself.

On Wed, Nov 24, 2010 at 2:39 AM, John Gentilin  wrote:

> I am trying to determine what attributes are available for different
> GWT widgets and it is unclear to me how the attribute mapping exists
> from UIBinder to the actual Java implementation. Also how are
> constructors mapped.
> i.e. How would you specify a  to be sized to 5 x 5 from the
> UIBinder specification.. Right now I resize my table after calling
> initWidget() in my view constructor...
>
> -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-tool...@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-tool...@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: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-22 Thread Chris

On Nov 19, 7:50 pm, Thomas Broyer  wrote:
> FWIW, I have *no* problem with Eclipse Helios (3.6, updated to SR1)
> with GPE 1.4.0.v201010280102 and m2eclipse 0.10.2.20100623-1649 on
> Windows XP Pro SP3
> (if I understand correctly the issue, when launching DevMode, my
> index.jsp and other things like that from my "war directory" –$
> {project.build.directory}/${project.build.finalName}, i.e. target/
> – would vanish)

Hi,

Its not all files in the build output directory - our HTML files and
any static resources that are kept in 'src/main/webapp' and copied to
'target/' are left alone when starting dev mode.  Our
particular problem is that we had a separate maven resources project
that was being deployed to 'target/' during mvn:package, and
those exploded resources were being deleted when dev mode is starting
up.

-- 
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-tool...@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: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris

On Nov 18, 6:03 pm, Rajeev Dayal  wrote:
> Hey Chris,
>
> A few questions:
>
> -what operating system are you on?
> -I noticed that you have the gwt-user.jar and gwt-dev.jar explicitly on your
> build classpath. Did you add those entries? If you navigate over to the
> Project Properties -> Google -> Web Toolkit page, what SDK is selected?
>

I'm working in Windows XP.  The gwt-*.jar dependencies were
automatically added after - to answer your last question - I
configured the 2.1.0 SDK in project properties after upgrading the SDK/
plugin.  I'm fairly certain gwt-dev.jar shouldn't be a compile-time
dependency, right?  In any event, building/GWT-compiling work just
fine, the only problem is starting up dev mode.

I think I can reconfigure maven to explode the resources zip file to
src/main/webapp instead of target/ before compilation so
this likely won't be a long-term problem, but its still a change from
the behavior using the 1.3.3 plugin.

Many thanks,
- C

-- 
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-tool...@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: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris


On Nov 18, 5:41 pm, Rajeev Dayal  wrote:

Hi there Rajeev,

I'm using the following version of STS.  The rest of the applicable
version numbers are in the thread I linked to above.

Version: 2.3.2.RELEASE
Build Id: 201003230009

>
> Can you provide your .classpath 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-tool...@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: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-18 Thread Chris


> > I playing around with STS, Roo, Maven and GWT.  When I go to run a Roo
> > project from inside STS, STS seems to wipe out the entire project.
> > Anyone else playing with this particular combo of technologies and
> > running into issues?
>

This is happening to me, too, since I upgraded to GWT 2.1.0 and GPE
1.4.0 - I posted yesterday about the problem:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d13a6ed3673baf3f#

As soon as you start dev mode, any resource files in the build output
directory (target/) that are not also present in src/main/
webapp are deleted.

Thanks,
- C

-- 
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-tool...@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 client-side thread or asynchronous call ?

2010-11-18 Thread Chris Conroy
If you can target just HTML5, then you could use WebWorkers:
http://www.whatwg.org/specs/web-workers/current-work/

At the moment, you'll have to hand roll the JSNI to access them, but GWT
proper will be supporting HTML5 soon-ish.

On Thu, Nov 18, 2010 at 9:41 AM, MickeyR  wrote:

> Sorry, I probably was not clear. My entire story above is all
> happening on the client-side.
> So the search + display of results happens on the client, I'm not
> making a RPC
> to perform this.
>
> Currently I don't want to make any part of this server-side, so any
> idea on how to
> achieve this ?
>
> M.
>
> --
> 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-tool...@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-tool...@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: Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-17 Thread Chris


On Nov 17, 6:03 am, Thomas Broyer  wrote:

> Well, if your resources are to be shared with GWT apps only, then how
> about making a GWT module and putting them in the "public" path, so
> the GWT compiler copies them to the output folder?

Because we have 5 GWT apps using the same web resources and the point
was to avoid duplicating them 5 times in source control.

> Or maybe those resources shouldn't be put into that folder to begin
> with (it has always been the case that the  folder is
> "GWT controlled" and always cleared by the GWT compiler before it
> actually generates anything; it might have not always been the case
> for DevMode but I don't see an issue with DevMode doing the same thing
> as the compiler).

This isn't a GWT compiler issue.  Nothing in this folder is generated
by the compiler - all that goes to a subdirectory of target/.  Plus, this didn't happen with previous versions of GPE.  It
started after upgrading to 1.4.0.

> As a last resort, you can still use -noserver...

As a last resort I can simply copy the resources back into the folder
after GPE deletes them and before I load the app in my browser.  It
just seems broken that GPE is deleting whatever it wants from the
build output directory when starting Jetty.

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



Starting GWT dev mode within Eclipse causes Maven-managed resources to disappear

2010-11-16 Thread Chris
Hi,

I'm working on upgrading our development environment from GWT 2.0.4 to
2.1 - this involved upgrading GPE to 1.4 as well as the gwt-maven-
plugin to 2.1.  So far things have gone pretty smoothly except for one
nagging problem.

We have in our code tree a POM module that holds just shared resources
- images & CSS - that we make available to all GWT modules in our
codebase.  This is managed by maven-assembly-plugin that unpacks a zip
file from the repo into our target/ directory.

'mvn package' builds the directory structure correctly, and the
resultant war file can be deployed to an external Tomcat server with
no problem.  But when I try to run the app in developer mode it seems
that GPE is deleting the maven-assemly-plugin managed resources prior
to startup.

I've tried just about everything I can think of, but can't for the
life of me figure out why this resources directory is being removed.
Has anyone ever had a problem like this?

Thanks in advance for any help.

- C

---
Google Plugin for Eclipse 3.5   1.4.0.v201010280047
Eclipse Platform3.5.2.R35x_v20100210-0800-9hEiFzmFst-
TiEn9hNYgDWg1XN8ulH_JvCNGB
Google Web Toolkit SDK 2.1.02.1.0.v201010280047

-- 
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-tool...@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: Filtering Code Splitting

2010-11-16 Thread Chris Conroy
Code splitting is good, but you're describing a need for using
deferred binding.

http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html

On Mon, Nov 15, 2010 at 4:59 PM, Burly Jez  wrote:
> Hi GWT peeps,
>
> I have a debug-only panel which I want to remove from my production
> deployment.
>
> I've used code splitting and sure enough, I can remove the deferred-js
> from the final war and everything is rosy.
>
> But what if I want to split other things, like deferring the main UI
> code until after login? Is there a way to decorate splitting-points in
> some way so I can delete the right code?
>
>
> Thanks in advance for any help!
>
>
> Jason
>
> --
> 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-tool...@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-tool...@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.



getting size of center in a docklayoutpanel

2010-11-16 Thread Chris
I have an application running in a DockLayoutPanel. I'm trying to
display an image in the center component (the center contains a
FlowPanel which contains the image) and have that image fill as much
of the center as possible. I'm doing this by setting the image width
to 100%. The problem is that if the browser is very wide the image
will overflow and get cut off at the bottom. In this case I'd like to
set it to 100% height so that this doesn't happen. I can't figure out
how to get the visible height of the center component to make this
change when the browser is resized.
Is there something obvious that I'm missing?

Thanks,
-Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@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: strange problem in production mode

2010-11-15 Thread Chris Conroy
In general, it's easier to debug these sorts of issues if you compile
your code with -style PRETTY

On Mon, Nov 15, 2010 at 6:22 PM, Rodrigue Lagoue Njinthe
 wrote:
> Hi all,
>
> did somebody already faced the following problem. I have a code, that runs
> correctly in development mode, but throws an exception in production mode.
> The exception I got from the chrome javascript console can be found at the
> end for this email. Here is the code causing the problem:
>
> public void setAddCategoryAction(final BaoAction action) {
>                addCategoryButton.addClickHandler(new ClickHandler() {
>
>                       �...@override
>                        public void onClick(ClickEvent event) {
>                                try {
>                                action.execute();
>                                } catch (Exception e) {
>                                        logger.log(Level.SEVERE,
> "exception", e);
>                                        logger.log(Level.SEVERE,
> "exception", e.getCause());
>                                }
>                        }
>                });
>        }
> ---
>
> Thanks for any help
> Rodrigue
>
> com.google.gwt.core.client.JavaScriptException: (TypeError): Object
> de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1
> @243 has no method 'execute___3Ljava_lang_Object_2V'
>  stack: TypeError: Object
> de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1
> @243 has no method 'execute___3Ljava_lang_Object_2V'
>    at
> Object.cm_bao_warehouse_ui_gwt_client_module_inventory_items_ItemsManagement
> UiPanel$1_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V [as
> onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V]
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:8946:100)
>    at
> Object.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt_
> event_shared_EventHandler_2V [as
> dispatch__Lcom_google_gwt_event_shared_EventHandler_2V]
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:15396:95)
>    at
> com_google_gwt_event_shared_SimpleEventBus_$doFire__Lcom_google_gwt_event_sh
> ared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2Ljava_lang_Objec
> t_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:15825:15)
>    at
> com_google_gwt_event_shared_SimpleEventBus_$fireEvent__Lcom_google_gwt_event
> _shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:15879:3)
>    at
> com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event
> _shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:15761:157)
>    at
> com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client
> _ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:378:72)
>    at
> com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_do
> m_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_
> gwt_dom_client_Element_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:15295:158)
>    at
> com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_c
> lient_ui_Widget_2Lcom_google_gwt_user_client_Event_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:406:212)
>    at
> Object.com_google_gwt_user_client_ui_CustomButton_onBrowserEvent__Lcom_googl
> e_gwt_user_client_Event_2V [as
> onBrowserEvent__Lcom_google_gwt_user_client_Event_2V]
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:26244:3)
>    at
> com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Ev
> ent_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventL
> istener_2V
> (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C.
> cache.html:23124:12)
>  type: undefined_method
>  arguments:
> execute___3Ljava_lang_Object_2V,de.warehouse.ui.gwt.client.module.inventory.
> items.itemsmanagementpresente...@243
>        at
> Unknown.cm_bao_warehouse_ui_gwt_client_module_inventory_items_ItemsManagemen
> tUiPanel$1_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(Unknown
> source:0)
>        at
> Unknown.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt
> _event_shared_EventHandler_2V(Unknown source:0)
>        at
> Unknown.com_google_gwt_event_shared_SimpleEventBus_$doFire__Lcom_google_gwt_
> event_shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2Ljava_la
> ng_Object_2V(Unknown source:0)
>        at
> Unknown.com_google_gwt_event_share

Re: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Chris Conroy
This is a question better suited for the GALGWT mailing list
gwt-google-a...@googlegroups.com

On Wed, Nov 10, 2010 at 12:22 AM, Carl  wrote:
> I have noticed that Google Maps V2 has been deprecated,
> And since this is the only supported version for GWT I am getting a
> bit worried...
>
> Does anybody know why it has not been supported, or why there is no
> road-map to support it?
>
> Thanks
> Carl
>
> --
> 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-tool...@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-tool...@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 debugging under Linux is much slower than under Windows - what's wrong with my configuration?

2010-11-07 Thread Chris Conroy
Your slowness is not a Linux vs. Windows issue: it is a Chrome plugin
vs. Firefox plugin issue.

The Chrome NPAPI based plugin is known to be a lot slower than the
Firefox XPCOM plugin. This is partly due to the out of process nature
of plugins in chrome: each JS<->Java boundary crossing incurs extra
IPC latency. Also, there are some object identity issues in the Chrome
plugin model that require us to do some performance harming
workarounds for the sake of correctness. We hope the object identity
issues will be worked out, and we should get a speedup from that.
There isn't a lot to be done for the out of process problem, and
Firefox will probably head in that direction in future versions (just
a guess).

The Firefox plugin should install just fine on 64 bit ubuntu--I use it
myself all the time. Some other distros have some shared library
conflicts. FWIW, there are some troubleshooting tips in this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/9daf57fd972c5fe4?lnk=gst&q=LD_DEBUG#9daf57fd972c5fe4

On Sun, Nov 7, 2010 at 12:52 PM, ussuri  wrote:
> Hello!
>
> I recently switched from Windows 7 to Ubuntu for GWT development, and
> I am seriously considering moving back, as GWT debugging under Linux
> ("Debug as Web Application" in Eclipse) is painful - much slower than
> under Windows.
>
> My test: same project/code (GWT front-end, GAE back-end). While on the
> project page (fully loaded), I hit browser's "refresh" button, type
> login credentials into the login dialog (part of my GWT app) and then
> wait until I see my page with some data from GAE (also in the
> debugger, in the same Eclipse workspace, different project). Measure
> time. Then I hit "refresh" and login and wait until I see full page
> with data. Measure time. And again. And again.
>
> In Linux, it consistently takes about 21-28 seconds from "refresh" to
> destination page. Sometimes "refresh" never finishes, so I have to
> close the tab and open a new one. Even typing credentials is slow, as
> there is a noticeable delay (~1sec) between a key press and a symbol
> appearing in the text box (only under the debugger/plugin; "compiled"
> javascript is relatively fast).
>
> In Windows, it consistently takes 6-8 seconds (mostly typing) from
> hitting refresh to the "after login" page. If I exclude 3-4 secs it
> takes me to type credentials, linux will be ~8x times slower than
> Windows.
>
> What can I do to speed up GWT's debugger/plugin performance in Linux?
>
> My set-up:
>
> Linux: 64bit Ubuntu, desktop edition with "linux-server" kernel; the
> latest sun java x64 jdk/jre; Eclipse 3.6, GWT 2.1, AppEngine 1.8. GWT
> plugin for Google Chrome (Firefox plugin fails to install, probably
> because of x64 environment).
>
> Windows: 64bit Win 7; latest Java, same eclipse/gwt/appengine. GWT
> plugin for Firefox.
>
> Same computer (Intel i3 quad core, 7200 rpm hdd, 4GB RAM) - dualboot,
> no VMs.
>
> What's wrong with my set-up? Is there anything I can do to improve GWT
> debugging performance under Linux?
>
> Regards,
> MG
>
> --
> 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-tool...@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-tool...@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 Server Side Javascript Interpreter?

2010-11-04 Thread Chris Conroy
Sean,

There is no javascript interpreter on the server side. Everything on the
server runs in the java VM. On the client side, everything is javascript
when running a compiled app.

In development mode, things get a little confusing. Where possible, your
client side code runs in the Java VM, and any javascript (JSNI, JSO, DOM
access, etc...) gets run in the browser. The bridge that makes this possible
is the devmode plugin.

Hope that clears things up.

On Wed, Nov 3, 2010 at 8:36 PM, Sean  wrote:

> Looking at JSNI and JavaScript Overlays, the documentation is not very
> clear about where the JS <> Java jumping can occur.
>
> I realize the thinking is on the client side, but I am looking to see
> if there is a type of Javascript Interpreter on the server-side.
>
> Thanks. Sean.
>
> --
> 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-tool...@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-tool...@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 do I check out the Samples into Eclipse

2010-11-03 Thread Chris Conroy
Import the existing projects from the samples directory. I don't understand
your complaint about having separate projects: the samples are distinct and
isolated from each other.

On Wed, Nov 3, 2010 at 12:27 PM, Greg Dougherty
wrote:

> How do I check out the samples in trunk into Eclipse in a useful
> manner?
>
> Note:  Adding 10 different projects to my Eclipse workspace isn't
> "useful".  Neither is checking outa single project full of uncompiled
> code.  The point of having it in Eclipse is that Eclipse has great
> tools for dealing with compiled Java files (hover to see the javadoc,
> control-click to be taken to where something was defined, etc.)  None
> of that is of any use if I can't compile the code.
>
> --
> 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-tool...@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-tool...@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.



XML from external page

2010-11-02 Thread Chris
Hi all,

I've a question that is discussed a lot of times, but I couldn't find
a working solution.
Hope you can help me.

I have a gwt project that is currently working with servlets.
But for a new widget I need to request data from a site called
clinicalTrials.gov.
Unfortunately the only way they response data is in xml format.
See  http://clinicaltrials.gov/show/NCT1372?displayxml=true

I wrote a lot of things about cross site scripting but I guess there
isn't a way to get it working.

Then I had the idea to use a php file to get the data. That is working
really good but now I have the problem that it's not working in hosted
mode because of the running tomcat, but it's running on my apache live
server. But on the apache the java servlets aren't running.

Does anyone has an idea how to get this working? Doesn't matter if
it's cross side scripting or maybe a tomcat - apache bridge...

Thanks very much.
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@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: Performance issues with large number of divs

2010-11-02 Thread Chris
Thanks Jeff. I had thought of that idea, but then I'd somehow need to
tie in to the GWT event model so that I could capture when people
click on this text, firing through all my presenters and event bus. (I
just realised that I missed that bit off the first message).

Perhaps though that is fairly trivial?
Chris


On Oct 30, 1:42 pm, Jeff Schwartz  wrote:
> BTW, if the process to generate the content on the server were very
> intensive and you wanted to minimize the impact of generating your content
> on other users you could break the process up into smaller chunks or work by
> making repetitive calls back to the server. How you'd coordinate these calls
> with your client would be use-case dependent of course.
>
> For example, if you are deploying to App Engine you could use tasks & the
> datastore to do this:
> 1) 1st call back to the server asks to start the process of generating your
> content which kicks off a task to do it and when it completes it stores the
> generated content as a string in a datastore entity. This could actually use
> more than one task but again is  use-case dependent.
> 2) onSuccess method of the step 1 above loops call backs to the server to
> check if the entity in the table exists. If it does the server returns the
> string in the payload otherwise it returns null.
> 3)onSuccess method of step 2 above checks for a valid string having been
> returned and if true appends it to the dom. If null was returned it would
> just continue looping until a valid string were returned.
>
> While this process is ongoing you could put up an activity ajax indicator so
> the user knows that there is something 'cooking'.
>
> This is a very 'ajaxian' way of doing things.
>
> Jeff
>
> On Sat, Oct 30, 2010 at 9:28 AM, Jeff Schwartz wrote:
>
>
>
>
>
> > Setting inner text or html for each item will be very, very slow if done on
> > the client.
>
> > I'd generate all the items inside a parent container on the server in a
> > string and send that back to the client. Serializing the strong for
> > transport will be very quick.
>
> > On the client when you get the result back from your call to the server you
> > would just need to call one inner text or html call using the string
> > returned which will be very quick.
>
> > Jeff
>
> > On Sat, Oct 30, 2010 at 8:52 AM, Chris wrote:
>
> >> Hi All
>
> >> I have this application where I need to display lines of related text
> >> one under the other. For e.g., the English text would be on top, and
> >> then the Greek would be below. The text is split into phrases, so for
> >> example, the Greek is not necessarily in the right word order. All
> >> that matters is that the meaning of the greek word matches the meaning
> >> of the english word.
>
> >> How would you go about displaying this. I decided to go for a div
> >> containing child divs for each word. Each parent div then floats to
> >> the left, so that the wrapping of the text at the end of the page is
> >> maintained.
>
> >> The problem I have is 2 fold. For even small texts (~600 words), it
> >> takes a while to generate the correct DOM (600 parent divs at the
> >> minimum + for 2 lines 1200 child divs!). Are there ways of speeding
> >> this up? At the moment, I take each word-set as it comes in and render
> >> the div into the DOM tree. Would it be faster to do everything off the
> >> DOM and then attach the whole lot at the end? I believe I tried that
> >> months ago and it didn't seem to help much.
>
> >> Secondly, I get the impression it takes a while to deserialise the
> >> response from the server. For e.g. I have a response that is roughly
> >> 41Kb from the server, and it seems to take approximately 20 seconds to
> >> deserialise.
>
> >> All this is in DEV mode. In normal mode things are faster, but still
> >> not fast enough...
> >> Any ideas? I have a few thoughts, but I think that fundamentally this
> >> might just not have a nice solution.
>
> >> --
> >> 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-tool...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-web-toolkit+unsubscr...@googlegroups.com >>  cr...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > Jeff
>
> --
> Jeff

-- 
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-tool...@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: No GWT Developer Plugin for Chrome on OSX

2010-11-01 Thread Chris Conroy
http://code.google.com/p/google-web-toolkit/issues/detail?id=4493

On Mon, Nov 1, 2010 at 8:16 AM, Jeff Schwartz wrote:

> I don't think they are running all Macs. I think they have given up Windows
> but offer a choice of Mac or Linux.
>
> Jeff
>
>
> On Sat, Oct 30, 2010 at 10:55 AM, SteveG  wrote:
>
>> See subject.
>>
>> Why is this - I thought Google was running all Macs now - and this
>> product is missing the developer plugin for Chrome?
>>
>> Curious if this is something in progress or should I just continue to
>> use Safari/Firefox ?
>>
>> --
>> 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-tool...@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.
>>
>>
>
>
> --
> Jeff
>
>  --
> 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-tool...@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-tool...@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: Performance issues with large number of divs

2010-10-30 Thread Chris
Performance is more acceptable when not in Dev mode, but for small
texts, we're looking at the browser hanging for 2-3 seconds while it
renders. Would be keen too, to understand why dev mode is so much
slower!
Chris

On Oct 30, 1:52 pm, Chris  wrote:
> Hi All
>
> I have this application where I need to display lines of related text
> one under the other. For e.g., the English text would be on top, and
> then the Greek would be below. The text is split into phrases, so for
> example, the Greek is not necessarily in the right word order. All
> that matters is that the meaning of the greek word matches the meaning
> of the english word.
>
> How would you go about displaying this. I decided to go for a div
> containing child divs for each word. Each parent div then floats to
> the left, so that the wrapping of the text at the end of the page is
> maintained.
>
> The problem I have is 2 fold. For even small texts (~600 words), it
> takes a while to generate the correct DOM (600 parent divs at the
> minimum + for 2 lines 1200 child divs!). Are there ways of speeding
> this up? At the moment, I take each word-set as it comes in and render
> the div into the DOM tree. Would it be faster to do everything off the
> DOM and then attach the whole lot at the end? I believe I tried that
> months ago and it didn't seem to help much.
>
> Secondly, I get the impression it takes a while to deserialise the
> response from the server. For e.g. I have a response that is roughly
> 41Kb from the server, and it seems to take approximately 20 seconds to
> deserialise.
>
> All this is in DEV mode. In normal mode things are faster, but still
> not fast enough...
> Any ideas? I have a few thoughts, but I think that fundamentally this
> might just not have a nice solution.

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



Performance issues with large number of divs

2010-10-30 Thread Chris
Hi All

I have this application where I need to display lines of related text
one under the other. For e.g., the English text would be on top, and
then the Greek would be below. The text is split into phrases, so for
example, the Greek is not necessarily in the right word order. All
that matters is that the meaning of the greek word matches the meaning
of the english word.

How would you go about displaying this. I decided to go for a div
containing child divs for each word. Each parent div then floats to
the left, so that the wrapping of the text at the end of the page is
maintained.

The problem I have is 2 fold. For even small texts (~600 words), it
takes a while to generate the correct DOM (600 parent divs at the
minimum + for 2 lines 1200 child divs!). Are there ways of speeding
this up? At the moment, I take each word-set as it comes in and render
the div into the DOM tree. Would it be faster to do everything off the
DOM and then attach the whole lot at the end? I believe I tried that
months ago and it didn't seem to help much.

Secondly, I get the impression it takes a while to deserialise the
response from the server. For e.g. I have a response that is roughly
41Kb from the server, and it seems to take approximately 20 seconds to
deserialise.

All this is in DEV mode. In normal mode things are faster, but still
not fast enough...
Any ideas? I have a few thoughts, but I think that fundamentally this
might just not have a nice solution.



-- 
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-tool...@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: CellList row data - possible bug?

2010-10-28 Thread Chris Conroy
setRowData deals with the visible display of data. What you really want to
do in this case is use a ListDataProvider. You can call setList on your
ListDataProvider and it will handle the updating for you. Somewhat
counter-intuitively, you add the display to the list provider--not the other
way around.

So...

ListDataProvder provider = new ListDataProvider();
provider.addDataDisplay(myCellList);
provider.setList(list_with_5_elements);

provider.setList(list_with_2_elements);


On Thu, Oct 28, 2010 at 6:07 AM, Rafi  wrote:

> Hi!
>
> Either I do not get the idea or there is a little bug in CellList.
>
> Calling:
> setRowData(0, list_with_5_elements);
>
> Will show cell list with 5 elements.
>
> Then calling on the same CellList:
> setRowData(0, list_with_2_elements);
>
> Will show cell list containing 5(!) elements. First two items will be
> new one, other 3 items will be from old list. And I do not see any
> method to clear existing list. Setting an empty list as rowData of
> course does not do anything.
>
> Anyone knows is it designed behaviour or bug?
>
> Best regards,
> Rafal
>
> --
> 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-tool...@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-tool...@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 Complier OutOfMemory issue

2010-10-27 Thread Chris Conroy
For a really large compile, you might want to supply more than 1G of memory.
I would try upping your -Xmx.

On Tue, Oct 26, 2010 at 5:37 PM, Fernando  wrote:

> Hi:
>
> I have the same problem compiling with GWT 2.0.4. My project has about
> 3500 classes.
>
> Did you find any solution?
>
> Thanks in advance.
>
> The JVM parameters are:
>
> -Xss32m -Xms32m -Xmx1024m -XX:MaxPermSize=256m
>
> The StackTrace is:
>
>
> ---
> java.lang.OutOfMemoryError
> at java.io.FileOutputStream.writeBytes(Native Method)
>at java.io.FileOutputStream.write(Unknown Source)
>at com.google.gwt.dev.util.Util.writeBytesToFile(Util.java:1153)
>at com.google.gwt.dev.util.Util.writeBytesToFile(Util.java:1138)
>at com.google.gwt.dev.javac.StandardGeneratorContext
> $PendingResource.commit(StandardGeneratorContext.java:189)
>at
>
> com.google.gwt.dev.javac.StandardGeneratorContext.commitResource(StandardGeneratorContext.java:
> 287)
>at
> com.google.gwt.user.rebind.rpc.ProxyCreator.create(ProxyCreator.java:
> 293)
>at
>
> com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator.generate(ServiceInterfaceProxyGenerator.java:
> 57)
>at
>
> com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:
> 418)
>at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 38)
>at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.tryRebind(StandardRebindOracle.java:108)
>at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:54)
>at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 154)
>at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 143)
> at com.google.gwt.dev.Precompile
>
> $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:
> 317)
>at
>
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
> 95)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:200)
>at
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:123)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:234)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.access$200(AbstractCompiler.java:109)
>at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
> 522)
>at
>
> com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
> 112)
>at
>
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
> 47)
>at
>
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
> 430)
> at
>
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
> 32)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
>at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
>at com.google.gwt.dev.Compiler.run(Compiler.java:201)
>at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
>at
> com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
>at
>
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
> 81)
>at com.google.gwt.dev.Compiler.main(Compiler.java:159)
>   [ERROR] Out of memory; to increase the amount of memory, use the -
> Xmx flag at startup (java -Xmx128M ...)
> java.lang.OutOfMemoryError
>
> --
>
>
>
> On 5 oct, 12:14, Chris Conroy  wrote:
> > This doesn't address code-splitting per-se, but r8921 and r8850 reduce
> both
> > DevMode and compiler memory footprint.
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Sep 18, 2010 at 11:34 PM, lin.liang 
> wrote:
> > > Chris, I didn't see the OOME before using code splitting. In order to
> > > reduce the application's startup time, I adopt code splitting in the
> > > DynaClassGenerator.java (the implementation of GWT generator on data
> > > deferred binding in our project)
> >
> &

Re: Currency Symbol in NumberFormat

2010-10-26 Thread Chris Conroy
Jim,

Thanks for pointing out this problem. jat has just committed a fix:
http://code.google.com/p/google-web-toolkit/source/detail?r=9150

On Tue, Oct 26, 2010 at 3:47 AM, Jim Douglas  wrote:

> I think you're getting thrown by a small character encoding error on
> that documentation page:
>
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/i18n/client/NumberFormat.html
>
> The page will display correctly if you force it to display in UTF-8.
> To do that, select something like View->Encoding->Unicode (UTF-8) from
> your browser menu.
>
> The pattern character is exactly what you expect it to be.  To see a
> live sample, go here and select the Currency pattern from the list:
>
> http://gwt.google.com/samples/Showcase/Showcase.html#!CwNumberFormat
>
> On Oct 25, 11:51 pm, PARAG  wrote:
> > Hi,
> >
> > I want to use custom number format which may contain currency symbol
> > for perticular locale. I found that with the
> > com.google.gwt.i18n.client.NumberFormat class we can achieve this but
> > the symbol for the currency is ¤ instead of ¤ in java. Note that the
> > unicode used is same as that of the java (\u00A4). Any idea about
> > this?
> >
> > Thank you.
>
> --
> 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-tool...@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-tool...@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: Setting specific slice color in PieChart

2010-10-25 Thread Chris Conroy
It should work out of the box. One gotcha is that if you have a value that
is 0, the it won't take up a color slice.

See the SpeedTracer LatencyDashboard as an example:
http://code.google.com/p/speedtracer/source/browse/trunk/samples/LatencyDashboard/src/com/google/speedtracer/latencydashboard/client/RightPieChart.java

On Sat, Oct 23, 2010 at 3:36 PM, Killian  wrote:

> Hi Evevery,
>
> First of all apologies if this isn't the correct discussion group to
> answer this query. I have been looking for the gwt visualization api
> group but couldn't find it.
> My query is quite simple. I am trying to find a way to set the color
> of specific slices inside a PieChart object. It seems to be possible
> to do in js.
>
> http://code.google.com/apis/visualization/documentation/gallery/piechart.html
> pieSliceTextStyle |  {color: , fontName: , fontSize:
> }
>
> Hence I'm wondering if the same thing is possible with the gwt version
> of the piechart?
>
> The only way I found to do this in the gwt version of PieChart is by
> doing the following:
> options.setColors( "#3399FF","#80C080","#008000","#80");
> But unfortunately this assigns colors randomly to slices. Hence I
> can't control the color of particular slices
>
> Is there any way of doing this?
>
> Thanks for your help 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-tool...@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-tool...@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: Collection.sort in Linux Chrome 7, negative zero bug

2010-10-21 Thread Chris Conroy
This is a known bug in V8. It was fixed here:
http://code.google.com/p/v8/source/detail?r=5631. Which made its way into V8
trunk in version 2.5.1. Chrome DevChannel is still affected AFAIK, though I
would expect an update to 2.5.1 in the next week or two.

On Thu, Oct 21, 2010 at 11:35 AM, recun...@gmail.com wrote:

> When running Collection.sort weird behavior is occurring inside of the
> javascript mergeSort function which is generated by GWT. Here is the
> GWT generated javascript with some additional console.logs
>
> function sort(x, c){
>  mergeSort(x, 0, x.length, c?c:($clinit_2603() , $clinit_2603() ,
> NATURAL));
> }
>
> function mergeSort(x, fromIndex, toIndex, comp){
>  console.log('mergeSort: fromIndex = ' + fromIndex);
>  console.log('mergesort: -fromIndex: ' + (-fromIndex));
>  var temp_0, a, result;
>  temp_0 = (a = x , result = a.slice(fromIndex, toIndex) ,
> initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result);
>  mergeSort_0(temp_0, x, fromIndex, toIndex, -fromIndex, comp);
> }
>
> function mergeSort_0(temp_0, array, low, high, ofs, comp){
>  console.log('mergeSort_0: ofs = ' + (ofs));
>  var length_0, tempHigh, tempLow, tempMid;
>  length_0 = high - low;
>  if (length_0 < 7) {
>insertionSort(array, low, high, comp);
>return;
>  }
>  tempLow = low + ofs;
>  tempHigh = high + ofs;
>  tempMid = tempLow + (~~(tempHigh - tempLow) >> 1);
>  mergeSort_0(array, temp_0, tempLow, tempMid, -ofs, comp);
>  mergeSort_0(array, temp_0, tempMid, tempHigh, -ofs, comp);
>  if (comp.compare(temp_0[tempMid - 1], temp_0[tempMid]) <= 0) {
>while (low < high) {
>  setCheck(array, low++, temp_0[tempLow++]);
>}
>return;
>  }
>  merge(temp_0, tempLow, tempMid, tempHigh, array, low, high, comp);
> }
>
> When sort is run on an array, the argument ofs of mergeSort_0
> mysteriously becomes a large negative number when it is passed -0,
> such as -4419.
>
> Output of the console.log calls:
>
> mergeSort: fromIndex = 0
> mergeSort: -fromIndex: -4419
> mergeSort_0: ofs = -4419
> ...
> ...
>
> Now, if the same code is run, with a modified call to mergeSort_0, so
> that instead of passing -fromIndex we pass -1*fromIndex ofs properly
> becomes 0:
>
> function mergeSort(x, fromIndex, toIndex, comp){
>  console.log('mergeSort: fromIndex = ' + fromIndex);
>  console.log('mergesort: -fromIndex: ' + (-1*fromIndex));
>  var temp_0, a, result;
>  temp_0 = (a = x , result = a.slice(fromIndex, toIndex) ,
> initValues(a.arrayClass$, a.typeId$, a.queryId$, result) , result);
>  mergeSort_0(temp_0, x, fromIndex, toIndex, -1*fromIndex, comp);
> }
>
> Output of the console.log calls:
> mergeSort: fromIndex = 0
> mergeSort: -fromIndex: 0
> mergeSort_0: ofs = 0
> ...
> ...
>
> Also note the unmodified GWT code will work (pass -fromIndex to ofs)
> if our page is run as
> a top level application inside of Chrome. Ofs only becomes -4419 when
> it is run inside the Iframe of an another GWT page or inside the popup
> which is opened by another GWT page. Also the number is not always
> -4419. Sometimes other negative numbers were seen. But once that
> number appears once it always appears until the browser is restarted.
>
> This error is not seen on Chrome 6 or Firefox of any version. Untested
> on IE.
>
> Test Configurations:
> Ubuntu 10.04 32bit and 64bit and 10.10 64bit were tested
> Chrome build 7.0.517.41
>
> Thanks,
> Bob
>
> --
> 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-tool...@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-tool...@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: Change default browser in dev mode

2010-10-21 Thread Chris Conroy
I'm not sure what GWT DevMode gizmo you are referring to. Perhaps this is a
netbeans issue? GWT itself doesn't launch the browser except from GPE
(eclipse) or GWTShell, and GWTShell will only launch it if you hit the
'Launch Browser' button.

Could you post a screenshot of what you're talking about?

On Thu, Oct 21, 2010 at 1:32 AM, magic  wrote:

> I am using NetBeans. However the browser is launched by the GWT
> DevMode gizmo which picks the system default browser. So I don't
> understand what Eclipse's Window | Web Browser menu item would have to
> do with it. Please enlighten me.
>
> On Oct 21, 6:22 am, "A. Stevko"  wrote:
> >
> > Also, in eclipse, under the menu Window  | Web Browser, you can choose
> which
> > browser will open.
> >
>
> --
> 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-tool...@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-tool...@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: Change default browser in dev mode

2010-10-20 Thread Chris Conroy
Even the old school GWTShell Swing GUI has a "Copy URL" button. So I really
can't make sense of the OP's post.

On Wed, Oct 20, 2010 at 5:22 PM, A. Stevko  wrote:

> Not sure which IDE you are using but, using elicpse, the development mode
> box that lists the urls states:
>
>  For your convenience, here are some URLs that you may wish to view in
>> development mode. Simply copy/paste a url below into any supported browser.
>
>
> Also, in eclipse, under the menu Window  | Web Browser, you can choose
> which browser will open.
>
>
>
> On Wed, Oct 20, 2010 at 2:49 AM, tombs  wrote:
>
>> Is there any way to change the default web browser used when running a
>> GWT web app in dev mode? My researches so far have failed to find any
>> way.
>>
>> Currently dev mode runs the browser I have set as default on my system
>> (Windows XP) which is a reasonable thing to do, but I need GWT to run
>> a different browser.
>>
>> If this is not possible, it is possible to stop dev mode from
>> automatically launching the browser? If so I can cut & paste the URL
>> from the dev mode window to my desired browser without the annoyance
>> and delay of the default browser first popping up and complaining
>> about the GWT plug-in not being available. (Since it is FF4, there
>> truly is no GWT plug-in available.)
>>
>> --
>> 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-tool...@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-tool...@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-tool...@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: Strange compilation errors on linux platform

2010-10-19 Thread Chris Conroy
It looks like something about your images/system is causing ImageIO.write to
fail. My best guess is that it's returning that there are no available
ImageWriters, but the compiler incorrectly does not read the return value.

Any time the compiler dies with an NPE, we consider that a compiler bug. I
should have a patch later today to fail on this condition a bit more
gracefully. That said, the root cause will still mean your build won't
complete.

On Fri, Oct 15, 2010 at 10:44 AM, bananos wrote:

> We have a pretty heterogeneous team which works with GWT on Mac,
> Windows & linux machines.
> One of our latest commit crashed the automatic build which runs on
> linux box.
> The problem is that GWT java source generator fails with
> NullPointerException at different places with the same configuration
> inputs, therefore it is very hard to reproduce bug or nail it down.
>
> The only regularity we've found is that it fails at some point when
> trying to generate client bundles from PNG files.
> Here are few examples:
>
> Case #1
>
>[java]Scanning for additional dependencies: file:/home/bear-z/
> work/client/Application/src/com/project/client/common/bundles/
> CommonResources.java
> [java]   Computing all possible rebind results for
> 'com.project.client.common.bundles.CommonResources'
> [java]  Rebinding
> com.project.client.common.bundles.CommonResources
> [java] Invoking
> com.google.gwt.dev.javac.standardgeneratorcont...@72af7016
> [java][ERROR] Generator
> 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator'
> threw threw an exception while rebinding
> 'com.project.client.common.bundles.CommonResources'
> [java] java.lang.NullPointerException
> [java] at
>
> com.google.gwt.resources.rebind.context.InlineResourceContext.deploy(InlineResourceContext.java:
> 40)
> [java] at
>
> com.google.gwt.resources.rebind.context.AbstractResourceContext.deploy(AbstractResourceContext.java:
> 97)
> [java] at
>
> com.google.gwt.resources.rg.ImageResourceGenerator.maybeDeploy(ImageResourceGenerator.java:
> 369)
> [java] at
>
> com.google.gwt.resources.rg.ImageResourceGenerator.createFields(ImageResourceGenerator.java:
> 176)
> [java] at
>
> com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
> 328)
> [java] at
>
> com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java:
> 385)
> [java] at
>
> com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generate(AbstractClientBundleGenerator.java:
> 245)
> [java] at
>
> com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:
> 418)
> [java] at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 38)
> [java] at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.tryRebind(StandardRebindOracle.java:108)
> [java] at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:54)
> [java] at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 154)
> [java] at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 143)
> [java] at com.google.gwt.dev.Precompile
>
> $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:
> 317)
> [java] at
>
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
> 95)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:200)
> [java] at
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:123)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:234)
> [java] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.access$200(AbstractCompiler.java:109)
> [java] at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
> 522)
> [java] at
>
> com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
> 112)
> [java] at
>
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
> 47)
> [java] at
>
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
> 430)
> [java] at
>
> com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
> 32)
> [java] at
> com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
> [java] at
> com.google.gwt.dev.Precompile

Re: Defining an external API for a GWT application

2010-10-15 Thread Chris Conroy
See gwt-exporter: http://code.google.com/p/gwt-exporter/

On Fri, Oct 15, 2010 at 1:51 PM, Dan  wrote:
> Is there a way to externalize function names within the optimized
> compiled code so that I can provide an api to those who may wish to
> consume something I write in GWT?
>
> Similar to what @extern does for preventing obfuscation of css class
> names.
>
> --
> 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-tool...@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-tool...@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.1 Documentation

2010-10-06 Thread Chris Ramsdale
Aldo, we're still on track for a release in the Oct. timeframe. Is there
some other aspect that makes it a poor choice?

On Wed, Sep 29, 2010 at 3:11 PM, Aldo  wrote:

> My only question is: when will GWT 2.1 M4 be available? And when will
> it be released (the GA)? It seems like the due dates are always being
> updated and we all we can do is wait until we get it. I'm about to
> start an enterprise project and I chose GWT 2.1 because of the
> promises, but apparently it was a poor choice. I knew I'd start it
> around  October but now until when I'll have to wait to get the final
> release?
>
> Thanks
>
> On Aug 18, 10:08 am, David Chandler  wrote:
> > The design waves Thomas referenced (thank you, Thomas) are shared with
> > members of the google-web-toolkit-contributors group, which is the
> > best place to participate in ongoing development of the MVP features
> > in2.1.
> >
> > Expect documentation on2.1MVP to begin appearing with2.1M4and full
> > docs to be available with the2.1release.
> >
> > /dmc
> > David Chandler
> > Google Web Toolkit Team
> >
> > On Aug 17, 11:40 am, Thomas Broyer  wrote:
> >
> >
> >
> > > On 16 août, 03:58, Bayard Randel  wrote:
> >
> > > > Hi there,
> >
> > > > Is there any preliminary documentation around the new features in2.1,
> > > > particularly the MVP implementation? I'm going to be starting a large
> > > > GWT project shortly, but am somewhat hesitant to get started knowing
> > > > that official support for MVP is forthcoming.
> >
> > > Seehttps://wave.google.com/wave/waveref/googlewave.com/w+eva-sERfA
> >
> > > There are other waves that could interest you, about Cell widgets,
> > > Validation, RequestFactory, etc.
> > > Seehttps://wave.google.com/wave/waveref/googlewave.com/w+A-PZdxsLNas
> > > a starting point
> > > And the JavaDoc is here:
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/index.html
>
> --
> 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-tool...@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-tool...@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 1.6.4 question

2010-10-05 Thread Chris
I am working on an app that uses GWT 1.6.4 - I need to override the
RemoteServiceProxy stub that gets dynamically created when I call
GWT.create(Service) to set a custom header before it fires off the
request to the server.

I have found a way to do this using BindUI, however, upgrading GWT to
2.0 is not an option in this case.

Can anyone think of a *clean* way to do this across a large number of
services, without manually making changes to each service or how the
services are called?

-- 
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-tool...@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: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Thanks, it's not my book though. The vast majority of the book is
being written by Robert Hanson and Adam Tracy (the original authors of
GWT In Action).

On Oct 5, 2:06 pm, Y2i  wrote:
> Chris,
>
> Nice to hear from you.  Really appreciate your articles on MVP.
> Please elaborate more on GWT 2.1 MVP support in your book.
>
> Thanks,
> Yuri
>
> On Oct 5, 10:19 am, Chris Ramsdale  wrote:
>
>
>
>
>
>
>
> > Just to clarify, I donated my time to submit a few chapters and to
> > review some of the other content that is going into the book. And yes,
> > you read that right...I donated my time. We don't accept royalties at
> > Google. I can't comment on the amount of 2.1 content in the book, but
> > I can say definitively that the GWT team is in the process of wrapping
> > up documentation on:
>
> > - Cell-based widgets
> > - RequestFactory
> > - Activities and Places
>
> > -- Chris
>
> > On Oct 1, 1:38 pm, Tommy Lui  wrote:
>
> > > Hi,
>
> > > Please help me understand why Chris Ramsdale (Google's Developer
> > > Relations team to develop and advocate GWT best practices.) is
> > > writting a book about GWT 2.1 when he works at Google on the GWT team
> > > and there's no official documentation, except for a few waves
> > > available to the developer community.
>
> > > Is this some way for him to force developers to buy his book?
>
> > >http://www.manning.com/bambury/
>
> > > The book is due to be release in 2011, so I'm sure it's GWT 2.1 not
> > > GWT 2.0 content.
>
> > > I'm hoping that I'm not the only person really pissed off about this.
>
> > > I'd really like other peoples opinions on this topic

-- 
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-tool...@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: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Just to clarify, I donated my time to submit a few chapters and to
review some of the other content that is going into the book. And yes,
you read that right...I donated my time. We don't accept royalties at
Google. I can't comment on the amount of 2.1 content in the book, but
I can say definitively that the GWT team is in the process of wrapping
up documentation on:

- Cell-based widgets
- RequestFactory
- Activities and Places

-- Chris

On Oct 1, 1:38 pm, Tommy Lui  wrote:
> Hi,
>
> Please help me understand why Chris Ramsdale (Google's Developer
> Relations team to develop and advocate GWT best practices.) is
> writting a book about GWT 2.1 when he works at Google on the GWT team
> and there's no official documentation, except for a few waves
> available to the developer community.
>
> Is this some way for him to force developers to buy his book?
>
> http://www.manning.com/bambury/
>
> The book is due to be release in 2011, so I'm sure it's GWT 2.1 not
> GWT 2.0 content.
>
> I'm hoping that I'm not the only person really pissed off about this.
>
> I'd really like other peoples opinions on this topic

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



Nested Layout Issues

2010-10-05 Thread Chris Boldon
I'm creating an application with a view based upon the
DockLayoutPanel.

I initialize a DockLayoutPanel and add SimplePanels to the north,
south, west, and center docks so I can pass them to the Presenters.

The presenter then adds a custom widget to the to the SimplePanel. The
custom widget contains a StackLayoutPanel (think left stackpanel
navigation like gmail). The issue is the stack isn't displaying
correctly, I'm only seeing the first stack in the panel.

If I add the custom widget directly to the DockLayoutPanel without
first adding a SimplePanel, it works fine. But this would mess up my
MVP coupling.

Any help is 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-tool...@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: Cannot create new web applications.

2010-10-05 Thread Chris Conroy
Justin, we'd all love to not have to deal with the hassle of moderation, but
sadly there are a lot of spammers out there. Only new members are
automatically moderated, and once a member makes some legitimate posts, we
flip the bit that allows them to post without being stuck in the moderation
queue.

Aptana doesn't support GWT directly AFAIK.

The Eclipse UI for the new project dialog is a bit confusing. You'll
probably need to select File->New Project->Google->Web Application Project.
The plugin should also add a few buttons to your toolbar including one for
just this action.

On Mon, Oct 4, 2010 at 9:45 PM, Justin Lilly  wrote:

> This was sent 3 days ago. I've since gone with Aptana which worked
> successfully. The 32 and 64 bit versions of Eclipse didn't work. Also,
> this moderation is lame for a group based around user support :-/
>
>  -justin
>
> On Mon, Oct 4, 2010 at 9:19 PM, Y2i  wrote:
> > Strange, I didn't have such problem in Win 7 and Ubuntu 10.04 64-bit.
> > Can you verify that the GWT plugin is installed?
> > Help->Install New Software, then click "What is already isntalled?"
> > link
> >
> > On Oct 1, 10:03 pm, Justin Lilly  wrote:
> >> I just downloaded eclipse v3.6 (Helios), Java EE version. I then added
> >> the google repository athttp://dl.google.com/eclipse/plugin/3.6to my
> >> possible installation places, selected all downloads (which included
> >> the google plugin for eclipse as well as the appengine and gwt sdk).
> >>
> >> I'm attempting to follow through with the tutorial, but there is no
> >> "Create new web application" selection available in my new project
> >> dialog box. Yes, I already looked in the "other" section too.
> >>
> >> I'm on 64 bit windows 7, with 64 bit eclipse. Any help would be
> >> greatly appreciated.
> >>
> >>  -justin
> >
> > --
> > 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-tool...@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-tool...@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 Complier OutOfMemory issue

2010-10-05 Thread Chris Conroy
This doesn't address code-splitting per-se, but r8921 and r8850 reduce both
DevMode and compiler memory footprint.

On Sat, Sep 18, 2010 at 11:34 PM, lin.liang  wrote:

> Chris, I didn't see the OOME before using code splitting. In order to
> reduce the application's startup time, I adopt code splitting in the
> DynaClassGenerator.java (the implementation of GWT generator on data
> deferred binding in our project)
>
> 1) Before using code splitting, the code is:
>if
>
> ("com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr".equals(className))
> {
>   
>   com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr
> instance = new
>
> com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr();
>   
>}
>
> 2) After using code splitting:
>  if
>
> ("com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr".equals(className))
> {
>   
>  GWT.runAsync(new RunAsyncCallbackAdapter() {
> public void onSuccess() {
>com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr
> instance = new
> com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr();
>callback.onSuccess((T)instance);
> }
>  });
>   
>}
>
> In the former one, the complier work fine. However, in the second one,
> the complie process was interrupted by the OOME.
> P.S. It about 1,000 instances created by this way (e.g.
> com.nantian.iwap3.frameworkdev.client.dataitem.DataItemMgr above).
>
>
> On 9月17日, 下午11时00分, Chris Conroy  wrote:
> > That should be more than enough memory to run your compile. Do you have a
> > stack trace for the OOME?
> >
> > FWIW, I have a pending change that should decrease the amount of memory
> > needed to run a compile or DevMode.
> >
> >
> >
> > On Fri, Sep 17, 2010 at 7:19 AM, lin.liang 
> wrote:
> > > The OutOfMemory exception always happen when the gwt project was
> > > complied. The gwt project has 7 modules, and about 5,700 java files.
> >
> > > I have a look at gwt docs. It said that when the project became
> > > bigger, the complier using the memory more too. However, I have set
> > > the memory to 1.7G, it still report the OutOfMemory exception. Is this
> > > the bug of gwt complier? How can I do to solve this issue?
> >
> > > I have no clue about this so far. Look forward your response. 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-tool...@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-tool...@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: Monitor GWT 2.x application traffic using packet analyzer

2010-10-04 Thread Chris Conroy
you can pass -bindAddress to bind to a different interface (0.0.0.0 to bind
to *). Also, Wireshark is perfectly capable of capturing traffic on on
127.0.0.1. You just need to set the interface to lo (loopback) rather than
your actual NIC.

On Mon, Oct 4, 2010 at 4:44 PM, Micky  wrote:

> Hi there,
>
> I am trying to monitor my GWT 2.x application traffic within my
> development environment. I have installed Wireshark and it seems to be
> running correctly however I do not see any traffic showing up in it
> when using my app. It seems that Wireshark will not monitor traffic on
> the loopback ip 127.0.0.1 (which is what the GWT development
> environment uses). So I tried just changing the development
> environment URL from...
>
> http://127.0.0.1:/TestApp.html?gwt.codesvr=127.0.0.1:9997
>
> ...to...
>
> http://:/TestApp.html?gwt.codesvr=:
> 9997
>
> ...but this did not work - the application did not even load.
>
> Does anyone have a workaround for this?
>
> Thanks,
>
> Micky
>
> --
> 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-tool...@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-tool...@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: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-28 Thread Chris Conroy
For reference, bug is filed here:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5320

On Tue, Sep 28, 2010 at 2:29 PM, Chris Conroy  wrote:

> Andrew,
>
> Sorry for my originally hasty reply. Turns out that the docs aren't clear
> about this at all, but this is a current limitation of 
>
> You will have to use something like this, at least for now:
> 
> 
>   @sprite .x {
> gwt-image: 'someImage';
>   }
> 
>
> We'll be updating the docs on this and looking to enable this use case at
> some point in the future.
>
>
> On Mon, Sep 27, 2010 at 11:54 PM, Andrew Hughes wrote:
>
>> Thanks Chris, unfortunately that's what I am doing. but here's an
>> example of what is NOT working to clear things up
>>
>> EXAMPLE
>>
>> > type="com.acme.project.client.resource.AcmeClientBundle"/>
>> 
>>  @sprite .x {
>> gwt-image: 'res.someImage'; /** <- THIS DOES NOT WORK! *?
>> }
>> 
>>
>>
>> Cheers for replying tho :)
>>
>>
>>
>> On Tue, Sep 28, 2010 at 8:24 AM, Chris Conroy  wrote:
>>
>>> Sounds like you need to use 
>>>
>>>
>>> http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource
>>>
>>> On Mon, Sep 27, 2010 at 2:17 AM, Andrew Hughes wrote:
>>>
>>>> Howdy,
>>>>
>>>> Our ui.xml template styles would like to access some ImageResources
>>>> defined in a ClientBundle.
>>>>
>>>> >>> type="com.acme.project.client.resource.AcmeClientBundle"/>
>>>>
>>>>
>>>> But the @sprite's can't ever seem to use
>>>> the ClientBundle's ImageResources from the ui.xml's ... for
>>>> example...
>>>>
>>>> 
>>>> @sprite .header {
>>>> gwt-image: "res.companyLogo"; /** DOES NOT WORK*/
>>>> }
>>>> 
>>>>
>>>>
>>>> Programatically (i.e. in Java src), I can use AcmeClientBundle's
>>>> ImageResource(s), but they just don't work in the ui.xml :'(
>>>>
>>>> Does anyone have a working example they could please share?
>>>>
>>>> Also, I have ever tried (unsucessfully) to create the image resource
>>>> (again) in the template, but it also does not work and shouldn't be
>>>> necessary anyway.
>>>>
>>>> 
>>>> 
>>>> 
>>>> 
>>>>
>>>>
>>>> CHEERS :)
>>>>
>>>>  --
>>>> 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-tool...@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-tool...@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-tool...@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: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-28 Thread Chris Conroy
Andrew,

Sorry for my originally hasty reply. Turns out that the docs aren't clear
about this at all, but this is a current limitation of 

You will have to use something like this, at least for now:


  @sprite .x {
gwt-image: 'someImage';
  }


We'll be updating the docs on this and looking to enable this use case at
some point in the future.


On Mon, Sep 27, 2010 at 11:54 PM, Andrew Hughes  wrote:

> Thanks Chris, unfortunately that's what I am doing. but here's an
> example of what is NOT working to clear things up
>
> EXAMPLE
>
>  type="com.acme.project.client.resource.AcmeClientBundle"/>
> 
>  @sprite .x {
> gwt-image: 'res.someImage'; /** <- THIS DOES NOT WORK! *?
> }
> 
>
>
> Cheers for replying tho :)
>
>
>
> On Tue, Sep 28, 2010 at 8:24 AM, Chris Conroy  wrote:
>
>> Sounds like you need to use 
>>
>>
>> http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource
>>
>> On Mon, Sep 27, 2010 at 2:17 AM, Andrew Hughes wrote:
>>
>>> Howdy,
>>>
>>> Our ui.xml template styles would like to access some ImageResources
>>> defined in a ClientBundle.
>>>
>>> >> type="com.acme.project.client.resource.AcmeClientBundle"/>
>>>
>>>
>>> But the @sprite's can't ever seem to use
>>> the ClientBundle's ImageResources from the ui.xml's ... for
>>> example...
>>>
>>> 
>>> @sprite .header {
>>> gwt-image: "res.companyLogo"; /** DOES NOT WORK*/
>>> }
>>> 
>>>
>>>
>>> Programatically (i.e. in Java src), I can use AcmeClientBundle's
>>> ImageResource(s), but they just don't work in the ui.xml :'(
>>>
>>> Does anyone have a working example they could please share?
>>>
>>> Also, I have ever tried (unsucessfully) to create the image resource
>>> (again) in the template, but it also does not work and shouldn't be
>>> necessary anyway.
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> CHEERS :)
>>>
>>>  --
>>> 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-tool...@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-tool...@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-tool...@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: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-27 Thread Chris Conroy
Sounds like you need to use 

http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource

On Mon, Sep 27, 2010 at 2:17 AM, Andrew Hughes  wrote:

> Howdy,
>
> Our ui.xml template styles would like to access some ImageResources defined
> in a ClientBundle.
>
>  type="com.acme.project.client.resource.AcmeClientBundle"/>
>
>
> But the @sprite's can't ever seem to use the ClientBundle's ImageResources
> from the ui.xml's ... for example...
>
> 
> @sprite .header {
> gwt-image: "res.companyLogo"; /** DOES NOT WORK*/
> }
> 
>
>
> Programatically (i.e. in Java src), I can use AcmeClientBundle's
> ImageResource(s), but they just don't work in the ui.xml :'(
>
> Does anyone have a working example they could please share?
>
> Also, I have ever tried (unsucessfully) to create the image resource
> (again) in the template, but it also does not work and shouldn't be
> necessary anyway.
>
> 
> 
> 
> 
>
>
> CHEERS :)
>
>  --
> 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-tool...@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-tool...@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: Development Mode not connecting

2010-09-27 Thread Chris Conroy
Sounds like perhaps you have an existing DevMode session active, and perhaps
you launched it with "Run as..." rather than "Debug as...". It's easy to
accidentally keep an old DevMode session around in Eclipse because the UI
for it is a bit non-obvious. Though, if you are using the same run
configuration then it should complain in the console about not being able to
bind to the code server port since another session is active.

On Mon, Sep 27, 2010 at 6:04 AM, Johnnie  wrote:

> Hi all,
>
> I've been using GWT for about a year and really found it a fantastic
> platform.  I've just got one bug that keeps periodically returning
> that is driving me mad! :)
>
> Most of the time I can debug a GWT app just fine.  But sometimes when
> I try to run an application in development mode, the debugger simply
> won't connect to the application, i.e. no breakpoints in my code are
> hit.
>
> One give-away that this is happening, is that application is loading
> way too fast.
> Normally is I point my browser to:
>  http://localhost:post/myapp.html/?gwt.codesvr=127.0.0.1:9997,
> my browser takes a few seconds to load the page (as it is connecting
> to the GWT development server).
>
> But when my bugs is rearing it's ugly head, the page loads almost
> instantly, exactly the same as if I'd just tried to load:
>  http://localhost:post/myapp.html
>
> This is particularly frustrating as no matter what I do, from that
> point on I cannot debug the project (I've tried recompiling it,
> clearing my browser cache, restarting my computer...). The only
> solution to start the project again from scratch and copy and paste in
> my existing code.
>
> I'm not even sure what is causing the bug to happen.  Most of the
> time, I can write a whole application start to finish without any
> problems, other sometimes, it crops up continuously. Here's my best
> guess so far of conditions that might be contributing to the bug (but
> they don't consistently create it):
>
>   1) I have a project that is debugging fine, but if run 'GWT Compile
> Project', then debug, I get the bug.
>   2) If the project is linked to a few other projects (e.g. libraries
> of code that I want to reuse).
>
>
> Has anyone had similar problems?  Would really love to find a
> workaround/fix as this is bringing some of my projects almost to a
> standstill.
>
> I'm using
> Window 7
> GWT v2.0.4 (though I've had this bug on previously versions)
> Eclipse 3.5.2
> GWT Plugin for Eclipse 3.5 1.3.3
>
>
> Thanks in advance for any help!
>
> --
> 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-tool...@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-tool...@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 Developer Plugin not working in Namoroka (Firefox) Linux x86_64

2010-09-27 Thread Chris Conroy
See this thread for troubleshooting info on the plugin:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/9daf57fd972c5fe4?lnk=gst&q=LD_DEBUG#9daf57fd972c5fe4

On Fri, Sep 24, 2010 at 4:41 PM, sheamus  wrote:

> I can confirm it's working in Namoroka on 32 bit linux, ubuntu 10.4.
> Have been using it for the last few months with the plugin. What
> happens with plain old firefox on 64 bit?
>
> On Sep 24, 9:53 am, Juan Miguel Cejuela  wrote:
> > I can't get the GWT Developer Plugin working in Namoroka Mozilla/5.0
> > (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100724 Firefox/3.6.8
> >
> > I install successfully the plugin, or at least I see it in my list of
> > add-ons, but the browser keeps me again to install it again and again.
> >
> > Somebody got the plugin work in Namoroka?
>
> --
> 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-tool...@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-tool...@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 Widget List/Documentation

2010-09-27 Thread Chris Conroy
DynaTable is not a library widget. Rather, it's an example of a widget you
might make in an app yourself.

http://code.google.com/p/google-web-toolkit/source/browse/#svn/trunk/samples/dynatable/src/com/google/gwt/sample/dynatable

On Fri, Sep 24, 2010 at 5:29 PM, Al  wrote:

> I am starting to learn GWT, and I am having trouble finding a list of
> widgets and how they work. I am looking for a comprehensive list of
> widgets, preferably including an overview of how they work.
>
> I see that there are widgets listed at
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiWidgets.html,
> but even that set seems only be a handful of examples. The examples
> seem to contain additional widgets that I cannot find a good listing
> of. For instance, the DynaTable example uses the DynaTableWidget and
> the DynaTableDataProvider, but searching for 'DynaTableWidget' or
> similar terms retrieves the example code or the source code from
> docjar.com, but not a more general overview.
>
> Can someone give me a pointer to appropriate documentation?
>
> Thanks,
> Al
>
> --
> 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-tool...@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-tool...@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: incubator compile error

2010-09-24 Thread Chris Conroy
Looks related to a change I recently put in. Make sure your gwt-trunk is up
to date.

On Fri, Sep 24, 2010 at 5:42 PM, aras...@gmail.com wrote:

> Hi all,
> I apologies in advance if this forum is not intended for questions
> related to incubator, but I could not find anywhere better.
> I followed the instruction on
>
> http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=MakingIncubatorBetter
> and I get this error:
> --(1736:Fri,24 Sep 10:$)-- ant -Dget.home=/Users/arash/Documents/
> gwt-2.0.4/ test
> Buildfile: build.xml
>
> clean.test.results:
> [echo] cleaning all test results
>
> checksetup:
> [echo] gwt.home = /Users/arash/Documents/gwt-2.0.4/
> [echo] gwt.tools = /Users/arash/Documents/workspace/gwt-tools/
> [echo] gwt.platform = mac
>
> compile:
>[mkdir] Created dir: /Users/arash/Documents/workspace/google-
> incubator/trunk-read-only/build/bin
> [echo] Compiling source...
> [gwt.javac] Compiling 560 source files to /Users/arash/Documents/
> workspace/google-incubator/trunk-read-only/build/bin
> [gwt.javac] /Users/arash/Documents/workspace/google-incubator/trunk-
> read-only/src/com/google/gwt/libideas/resources/tools/MakeBundle.java:
> 262: refresh(com.google.gwt.core.ext.TreeLogger) in
> com.google.gwt.dev.resource.impl.ResourceOracleImpl cannot be applied
> to
>
> (com.google.gwt.core.ext.TreeLogger,com.google.gwt.dev.resource.impl.ResourceOracleImpl)
> [gwt.javac] ResourceOracleImpl.refresh(logger, oracle);
> [gwt.javac]   ^
> [gwt.javac] Note: Some input files use or override a deprecated API.
> [gwt.javac] Note: Recompile with -Xlint:deprecation for details.
> [gwt.javac] Note: Some input files use unchecked or unsafe operations.
> [gwt.javac] Note: Recompile with -Xlint:unchecked for details.
> [gwt.javac] 1 error
>
> BUILD FAILED
> /Users/arash/Documents/workspace/google-incubator/trunk-read-only/
> build.xml:282: Compile failed; see the compiler error output for
> details.
>
> Total time: 7 seconds
>
> could you please guide me.
> 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-tool...@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-tool...@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: Singleton Class in Development Mode

2010-09-22 Thread Chris Conroy
Assuming this is on the client side, each refresh gets its own ClassLoader.
So, you won't be able to persist state on the client across a refresh this
way. The VM is not spun up again, but the effect is similar for this use
case.

On Wed, Sep 22, 2010 at 12:34 PM, Moshe Solomon  wrote:

> I'm not sure if this is because of the GWT plugin, but maybe you guys
> know...
>
> I have a Singleton class which I use to store the user authentication.
> But When I reload my page (with F5) the singleton is reloaded, as if
> the VM is restarted.
>
> public class AuthenticationManager {
>
>private static final AuthenticationManager m_instance = new
> AuthenticationManager();
>
>private boolean m_authenticated = false;
>
>private AuthenticationManager() {
>System.out.println("AuthenticationManager Constructor");
>}
>
>public static AuthenticationManager getInstance() {
>return m_instance;
>}
>
>public boolean isAuthenticated() {
>return m_authenticated;
>}
>
>public boolean authenticate(String uid, String pwd) {
>if (uid != null && uid.trim().length() > 0) {
>if (pwd != null && pwd.trim().length() > 0) {
>return (m_authenticated = true);
>}
>}
>return false;
>}
> }
>
> --
> 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-tool...@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-tool...@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: Development Mode performance with Chrome

2010-09-17 Thread Chris Conroy
FF4 is not yet supported, but it will be soon.

On Fri, Sep 17, 2010 at 12:33 PM, Michael Kelley  wrote:

> Speaking of other browsers, has anyone successfully gotten a GWT
> plugin for Firefox 4.0 to work?
>
> On Sep 16, 10:13 am, PhilBeaudoin  wrote:
> > I echo these thoughts. Chrome is easily my favorite browser for
> > everything but testing my GWT apps in dev mode.
> >
> > On Sep 16, 6:04 am, Sean  wrote:
> >
> >
> >
> > > I'm not sure if this deserves it's own post either, but I can't stand
> > > using Chrome in dev mode because when Debugging Chrome constantly
> > > informs me that the plugin has stopped responding and do I want to
> > > kill it. Is there anyway to say Don't Tell Me Again for the rest of
> > > this page's session? Or for this address? Something?
> >
> > > On Sep 15, 8:33 pm, Michael Kelley
> >
> > >  wrote:
> > > > I have a WebGL application as well that is very slow in development
> > > > mode.  Serialization takes minutes in development mode while it takes
> > > > seconds in compiled mode.
> >
> > > > On Sep 15, 9:13 am, "e...@2010"  wrote:
> >
> > > > > I would like to echo the sentiment of this request and in a similar
> > > > > vein (and maybe this deserves a separate post) there is also an
> issue
> > > > > with the performance of Chrome in compiled mode in the following
> > > > > scenario:
> >
> > > > > I am using WebGL and when creating very large Float32Arrays (of
> maybe
> > > > > 90,000 elements) it takes an exceptionally long time. I am creating
> > > > > only a few of these large arrays and it is instantaneous in Firefox
> > > > > (less than two seconds as I would expect) but takes 8 minutes(!) in
> > > > > the latest version of Chrome (and all previous versions). One thing
> > > > > that I observe during these 8 minutes is that the page fault rate
> > > > > (Windows XP) is about 160,000 page faults per second (for the
> entire 8
> > > > > minutes) for the Chrome process and the VMSize is going up and down
> > > > > all the time (varying from say 40MB to 50MB) instead of growing
> > > > > monotonically. It certainly seems to be some kind of O(n*n) problem
> > > > > and maybe even the garbage collector could be running as each
> element
> > > > > of the array is allocated? I don't know.
> >
> > > > > Any ideas?
> >
> > > > > Thanks, Ed
> >
> > > > > On Sep 15, 6:34 am, Brian  wrote:
> >
> > > > > > Can Chrome be made faster in development mode?
> >
> > > > > > I use Chrome as my default browser as I really like the
> development
> > > > > > tools, but it's slow with gwt development mode.  On a table cell,
> > > > > > there's a click handler.  The click handler displays a popup
> built
> > > > > > with UIBinder.  In development mode with Chrome (v 7.0.517.5), it
> > > > > > takes approx 3 seconds from click to seeing the popup.  With
> Firefox
> > > > > > (3.5.11) it's 'almost' instant -- fast enough anyway that it's
> not a
> > > > > > performance issue.
> >
> > > > > > In Web Mode with everything compiled, Chrome is super fast again,
> no
> > > > > > issues at all.  The perf loss is only in Dev mode.
> >
> > > > > > Any ideas?  Should I switch over to the production branch of
> chrome
> > > > > > (and thus lose speed tracer)?
> >
> > > > > > -Brian
>
> --
> 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-tool...@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-tool...@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 Complier OutOfMemory issue

2010-09-17 Thread Chris Conroy
That should be more than enough memory to run your compile. Do you have a
stack trace for the OOME?

FWIW, I have a pending change that should decrease the amount of memory
needed to run a compile or DevMode.

On Fri, Sep 17, 2010 at 7:19 AM, lin.liang  wrote:

> The OutOfMemory exception always happen when the gwt project was
> complied. The gwt project has 7 modules, and about 5,700 java files.
>
> I have a look at gwt docs. It said that when the project became
> bigger, the complier using the memory more too. However, I have set
> the memory to 1.7G, it still report the OutOfMemory exception. Is this
> the bug of gwt complier? How can I do to solve this issue?
>
> I have no clue about this so far. Look forward your response. 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-tool...@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-tool...@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 Hosted Mode Slow

2010-09-15 Thread Chris Conroy
We're working on making it faster.

If you'd like to find out where it's spending its time (and perhaps provide
us another useful data point): update to trunk and add
-Dgwt.speedtracerlog="/path/to/myproject-speedtracer.html" to your JVM
arguments. Launch your app, maybe do a refresh or two. Install the Speed
Tracer Chrome 
Extension
(and give it access to local file URIs in chrome://extensions). Open the
resulting trace file in chrome, click "Open Monitor" and check out the
visualization. You'll want to expand the initial timeline view. The most
interesting data is going to be the summary pie chart you get from clicking
on the Module Init row. Feel free to share screenshots of those summary pie
charts in this thread.


On Wed, Sep 15, 2010 at 5:26 PM, Niels  wrote:

> I have a bit of a problem with GWT Hosted mode taking an awful long
> time to launch my app - even just reloading the page (with the server
> running and no code changes) takes forever.
>
> The CPU is at 100% for a couple of minutes and as far as I can tell
> none of my code executes (it's deep in the belly of some GWT code).
> The few times I've managed to hit pause in the debugger, the offending
> thread shows the stack trace below (the finer details may vary, but
> it's always in getRootPanel):
>
> My HTML is dead simple - a single table with two cells, so it's not
> like there is a million IDs to look up, and I only call getRootPanel
> once at the very beginning. I have never had this issue with other GWT
> projects I've worked on, and can't for the life of me figure out
> what's different this time (in fact I have another entry point in the
> same project that works just fine).
>
> Anyone have any ideas?
>
> String.substring(int, int) line: not available
> String.subSequence(int, int) line: not available
> Pattern.split(CharSequence, int) line: not available
> String.split(String, int) line: not available
> String.split(String) line: not available
> PathPrefixSet.includesResource(String) line: 237
> ZipFileClassPathEntry.computeApplicableResources(TreeLogger,
> PathPrefixSet) line: 146
> ZipFileClassPathEntry.findApplicableResources(TreeLogger,
> PathPrefixSet) line: 95
> ResourceOracleImpl.refresh(TreeLogger) line: 351
> ModuleDef.getResourcesOracle() line: 324
> StandardGeneratorContext.getResourcesOracle() line: 386
> CachedGeneratorContext.getResourcesOracle() line: 66
> AbstractLocalizableImplCreator.generateConstantOrMessageClass(TreeLogger,
> GeneratorContext, GwtLocale, JClassType) line: 97
> LocalizableGenerator.generate(TreeLogger, GeneratorContext, String,
> String) line: 121
> LocaleInfoGenerator.generateOneLocale(TreeLogger, GeneratorContext,
> LocalizableGenerator, String, Map>, GwtLocale)
> line: 309
> LocaleInfoGenerator.generateConstantsLookup(TreeLogger,
> GeneratorContext, SourceWriter, LocalizableGenerator, Set,
> GwtLocale, String) line: 259
> LocaleInfoGenerator.generate(TreeLogger, GeneratorContext, String)
> line: 226
> StandardGeneratorContext.runGenerator(TreeLogger, Class,
> String) line: 418
> RuleGenerateWith.realize(TreeLogger, StandardGeneratorContext, String)
> line: 38
> StandardRebindOracle$Rebinder.tryRebind(TreeLogger, String) line: 108
> StandardRebindOracle$Rebinder.rebind(TreeLogger, String,
> ArtifactAcceptor) line: 54
> StandardRebindOracle.rebind(TreeLogger, String, ArtifactAcceptor)
> line: 154
> ShellModuleSpaceHost.rebind(TreeLogger, String) line: 119
> ModuleSpaceOOPHM(ModuleSpace).rebind(String) line: 531
> ModuleSpaceOOPHM(ModuleSpace).rebindAndCreate(String) line: 414
> GWTBridgeImpl.create(Class) line: 39
> GWT.create(Class) line: 98
> LocaleInfo.() line: 36
> RootPanel.get(String) line: 195
>
> --
> 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-tool...@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-tool...@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 plugin for google chrome in ubuntu

2010-09-15 Thread Chris Conroy
Short answer: You can use Chrome to run compiled applications, but currently
there is no DevMode support.

see http://code.google.com/p/google-web-toolkit/issues/detail?id=4325 for
all the gory details

On Wed, Sep 15, 2010 at 12:53 AM, Ivermac  wrote:

> when are expecting the GWT developer plugin for google chrome?or is
> there a way i can use google chrome to run my GWT applications?
>
> --
> 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-tool...@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-tool...@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: display slanting X-axis in gwt visualization column chart using gwt-visualization-1.1.0.zip

2010-09-14 Thread Chris Conroy
You should direct questions about the Google API Libraries for GWT to the
forum dedicated to that purpose:
http://groups.google.com/group/GWT-Google-Apis

I'll take a stab at your
question: you don't list calling the draw method. Make sure you call
.draw(yourData, yourOptions) on the visualization for the options to take.

On Tue, Sep 14, 2010 at 4:16 AM, Gopalsamy Ponnuraj <
gopalsamyponnu...@gmail.com> wrote:

>
> I am trying to draw column chart using GWT visualization api.I am
> using the following GWT visualization jar in :
>
>
> http://code.google.com/p/gwt-google-apis/downloads/list/gwt-visualization-1.1.0.zip
>
> I am trying to set the hAxis in slantedText as in GWT's java script
> visualization api.But there is no options to set the hAxis in slanted
> mode in using gwt-visualization-1.1.0.zip.
> Hence I try to set the property option as follows,
>
>
> my code is :
>
>Options options = Options.create();
>options.set("hAxis.slantedText", true);
>options.set("hAxis.title", "Leave");
>
>
> Still I did not get the slanted text in my column chart.
>
> Is there any other way to set the hAxis.slanted text option ?
>
> --
> 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-tool...@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-tool...@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: java.lang.NullPointerException at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:94)

2010-09-10 Thread Chris Conroy
> $CachedChain.doFilter(ServletHandler.java:1097)
>at
>
> full trace here :
> http://forum.springsource.org/attachment.php?attachmentid=3167&d=1284071613
>
> I'm using sts 2.5.0 M3 + gwt 2.1.0 M3
>
> any suggestions?
>
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Any news on when super dev mode will be released?

2010-09-09 Thread Chris Conroy
Yes, the profiling will be in the next release.

On Thu, Sep 9, 2010 at 12:06 PM, Paul Stockley  wrote:

> Thanks, If I have time to build trunk I will give it a go. Will the
> profiling option be in the
> next milestone release of 2.1?
>
> On Sep 8, 6:21 pm, Chris Conroy  wrote:
> > P.S. that flag needs to get passed in the JVM arguments. Also note you'll
> > need to enable local file access for SpeedTracer in the
> chrome://extensions
> > page.
> >
> >
> >
> >
> >
> > On Wed, Sep 8, 2010 at 6:20 PM, Chris Conroy  wrote:
> > > Paul,
> >
> > > We're actively working on it. Note that 'super dev mode' isn't quite in
> > > existence yet, it's more of a goal than a concrete thing at the moment.
> > > Though there was a short lived branch with that name--most of those
> > > particular changes have already gone in.
> >
> > > If you like, you can profile DevMode by running GWT from trunk and
> passing
> > > -Dgwt.speedtracerlog="/path/to/myproject-st.html" which will cause
> DevMode
> > > to output a SpeedTracer log to that file. You can then use the Chrome
> > > Extension SpeedTracer to inspect the generated log to see where DevMode
> is
> > > spending time for your app. If you'd like to share, you can feel free
> to
> > > post screenshots of the SpeedTracer detail view for your Module Init.
> >
> > > On Tue, Sep 7, 2010 at 5:26 PM, Paul Stockley  >wrote:
> >
> > >> Speeding up reloads would very much 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-tool...@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-web-toolkit+unsubscr...@googlegroups.com cr...@googlegroups.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > > --
> > > Chris Conroy
> > > Software Engineer
> > > Google, Atlanta
> >
> > --
> > Chris Conroy
> > Software Engineer
> > Google, Atlanta
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Any news on when super dev mode will be released?

2010-09-08 Thread Chris Conroy
P.S. that flag needs to get passed in the JVM arguments. Also note you'll
need to enable local file access for SpeedTracer in the chrome://extensions
page.

On Wed, Sep 8, 2010 at 6:20 PM, Chris Conroy  wrote:

> Paul,
>
> We're actively working on it. Note that 'super dev mode' isn't quite in
> existence yet, it's more of a goal than a concrete thing at the moment.
> Though there was a short lived branch with that name--most of those
> particular changes have already gone in.
>
> If you like, you can profile DevMode by running GWT from trunk and passing
> -Dgwt.speedtracerlog="/path/to/myproject-st.html" which will cause DevMode
> to output a SpeedTracer log to that file. You can then use the Chrome
> Extension SpeedTracer to inspect the generated log to see where DevMode is
> spending time for your app. If you'd like to share, you can feel free to
> post screenshots of the SpeedTracer detail view for your Module Init.
>
>
> On Tue, Sep 7, 2010 at 5:26 PM, Paul Stockley wrote:
>
>> Speeding up reloads would very much 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-tool...@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.
>>
>>
>
>
> --
> Chris Conroy
> Software Engineer
> Google, Atlanta
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Any news on when super dev mode will be released?

2010-09-08 Thread Chris Conroy
Paul,

We're actively working on it. Note that 'super dev mode' isn't quite in
existence yet, it's more of a goal than a concrete thing at the moment.
Though there was a short lived branch with that name--most of those
particular changes have already gone in.

If you like, you can profile DevMode by running GWT from trunk and passing
-Dgwt.speedtracerlog="/path/to/myproject-st.html" which will cause DevMode
to output a SpeedTracer log to that file. You can then use the Chrome
Extension SpeedTracer to inspect the generated log to see where DevMode is
spending time for your app. If you'd like to share, you can feel free to
post screenshots of the SpeedTracer detail view for your Module Init.


On Tue, Sep 7, 2010 at 5:26 PM, Paul Stockley  wrote:

> Speeding up reloads would very much 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: declaring both a GWT and a javascript event handler on a html element

2010-09-07 Thread Chris Conroy
You could have your GWT handler call your javascript handler using JSNI.

On Mon, Sep 6, 2010 at 12:42 PM, GWT noob  wrote:

> When I declare a event handler on a html element both at the GWT
> level(using ClickHandler's onclick)  and at the external Javascript
> levele(by using the onlclick attribute of the html element), the GWT
> event handler is overriding the event handler in the external
> javascript. Is there a way to have both these event handlers run on a
> successful event.
>
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Memory Leak IE7 & GWT 2.0.4

2010-09-07 Thread Chris Conroy
No. This particular issue is isolated to the DevMode JVM.

On Tue, Sep 7, 2010 at 8:18 AM, chrisr wrote:

> Does the issue that you're working on now give you any reason to
> believe it could be an issue in the browser as well, under some
> similar circumstances?
>
> On Sep 3, 2:18 pm, Chris Conroy  wrote:
> > Okay, well if it's *in* hosted mode (read: the JVM), then it's a known
> issue
> > that I'm working on at the moment.
> >
> > On Fri, Sep 3, 2010 at 3:00 PM, chrisr  >wrote:
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Memory Leak IE7 & GWT 2.0.4

2010-09-03 Thread Chris Conroy
Okay, well if it's *in* hosted mode (read: the JVM), then it's a known issue
that I'm working on at the moment.

On Fri, Sep 3, 2010 at 3:00 PM, chrisr wrote:

> The sample code I provided only produces the memory leak in hosted
> mode.
> I am however experiencing a memory leak in my real world app, I just
> haven't written any sample code the demonstrates it in IE (the only
> browser we currently build for.)
>
> On Sep 3, 10:52 am, Chris Conroy  wrote:
> > @chrisr:
> >
> > Are you seeing a leak in the Development Mode JVM, or are you observing
> it
> > in the browser?
> >
> >
> >
> > On Fri, Sep 3, 2010 at 8:12 AM, Joel Webber  wrote:
> > > Sorry I didn't follow up earlier (this should have showed up in my
> > > inbox, but didn't for some reason...).
> >
> > > @chrisr:
> > > It is at least remotely possible that this could have leaked in 1.5.4,
> > > but I'm not aware of any memory-leak fixes as recently as that. The
> > > architecture that guards against leaks is sound, and hasn't changed
> > > significantly since 1.0. There were a couple of bug fixes for little
> > > pieces of Javascript that were triggering leaks (notably in the
> > > RequestBuilder code, which this doesn't exercise), but that was some
> > > time ago. As for the dev mode leak, I've asked one of my team members
> > > who's working on optimizing dev mode to take a look at that.
> >
> > > @Marcos:
> > > I wish I could do more to help with memory leaks in SmartGWT, but
> > > that's way beyond the knowledge of anyone on our team. SmartGWT's a
> > > wrapper around a huge Javascript library that, from your earlier post,
> > > appears to require destroy() calls on widgets as part of its memory-
> > > leak strategy (IIUC). That strategy's rife with problems and very hard
> > > for users to get right in practice (I've tried it in other frameworks,
> > > and always found myself squashing leaks ad infinitum). Do the SmartGWT
> > > tools not provide some mechanism for tracing and finding leaks?
> >
> > > On Aug 30, 9:10 am, chrisr  wrote:
> > > > This may be a valid solution, however its not an ideal one, as this
> > > > application is already significantly large, and its not going to be
> > > > easy to refactor all of the existing code to work this way.  It will
> > > > be easy to keep this in mind while going forward, however.
> >
> > > > As I said above, I was trying to reproduce the way a lot of the code
> > > > I'm working with has been written.  Also, while I thought this was
> > > > reproducing the situation we are seeing in our live app (using GWT
> > > > 1.5.4) it turns out this only produces the memory leak in development
> > > > mode using the most recent GWT.  I will have to see if this produces
> a
> > > > leak when compiled using 1.5.4.  If not then I'll probably need to
> > > > find a new simple case that reproduces the leak we're seeing.
> >
> > > > On Aug 28, 11:48 am, Michael W  wrote:
> >
> > > > > I doubt following code causing the memory leak.
> > > > > In reloadRight method, you create and assign new
> DecoratedTabPanel()
> > > > > to tabPanel every time.
> >
> > > > > protected void reloadRight(){
> > > > > ++rightPanelCount;
> > > > > rPanel.clear();
> >
> > > > > tabPanel = new DecoratedTabPanel();
> >
> > > > > You may reuse existing tabPanel instead of create new one.
> >
> > > > > On Aug 27, 4:21 pm, chrisr  wrote:
> >
> > > > > > Hi Joel, i appreciate your help.
> >
> > > > > > I was running in development mode and it appears that this memory
> > > > > > bloat goes away when not using development mode.
> > > > > > We have been developing our application using older GWT (1.5.4 I
> > > > > > belive) so I'm used to using the old hosted mode.  I didn't
> realize
> > > > > > the in browser development mode might have this side effect.
> >
> > > > > > The goal of this was to reproduce a memory leak that we have in
> our
> > > > > > application (when compiled, of course) using as simple a case as
> > > > > > possible, in the newest version of GWT, if possible

Re: Creating a GWT runtime configuration in Eclipse

2010-09-03 Thread Chris Conroy
You need to set the "GWT Nature" on the project. Right Click -> Google ->
Web Toolkit settings -> Use Google Web Toolkit (and select the SDK you want
to use)

On Fri, Sep 3, 2010 at 1:23 PM, Julius  wrote:

> Hi,
>
> I am using Eclipse for my GWT project, but it's just a regular Java
> project. I'd like to turn it into a GWT project so that I can use the
> Eclipse debugger. I am trying to create a GWT run configuration to
> accomplish this, but without success. The "Main" tab in Eclipse's Run
> Configurations menu has a red cross in it. This probably happens
> because I selected the wrong class in the 'Main class' field. I
> selected the EntryPoint class here (in our case
> our.company.client.Application). At least I think that's what's wrong.
> Could you help out? What class should I enter in this field?
>
> Regards, Julius
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Memory Leak IE7 & GWT 2.0.4

2010-09-03 Thread Chris Conroy
gt; > > > > > > reloadButton.setVisible(true);
> > > > > > > lPanel.add( reloadButton,
> "reloadButton" );
> > > > > > > hsp.setLeftWidget(lPanel);
> > > > > > > hsp.setRightWidget(rPanel);
> > > > > > > this.add( hsp );
> > > > > > > reloadRight();
> > > > > > > }
> >
> > > > > > > char[] chars = new char[] {' ',' ',' ', ' ', '
> ',
> > > > > > > 'a','b','c','d','e','f','g','h','i','j','k','l','m',
> > > > > > >
>  'n','o','p','q','r','s','t','u','v','w','x','y','z' };
> >
> > > > > > > private String getSomeText(int length){
> > > > > > > StringBuffer sb = new
> StringBuffer(length);
> > > > > > > for ( int i=0; i >
> > > > > > > sb.append( chars[
> (int)Math.round(Math.random()*(chars.length-1)) ]);
> > > > > > > if ( i>0 && i % 60 == 0 )
> > > > > > > sb.append("");
> > > > > > > }
> > > > > > > return sb.toString();
> > > > > > > }
> >
> > > > > > > protected void reloadRight(){
> > > > > > > ++rightPanelCount;
> > > > > > > rPanel.clear();
> >
> > > > > > > tabPanel = new DecoratedTabPanel();
> > > > > > > tabPanel.setWidth("400px");
> > > > > > > tabPanel.setAnimationEnabled(true);
> >
> > > > > > > String text = "Load count =
> "+rightPanelCount;
> >
> > > > > > > tabPanel.add( new
> HTML(text+""+getSomeText((int)
> > > > > > > (Math.random()*500)+50)), "Tab One");
> > > > > > > tabPanel.add( new
> HTML(text+""+getSomeText((int)
> > > > > > > (Math.random()*500)+50)), "Tab Two");
> > > > > > > tabPanel.add( new
> HTML(text+""+getSomeText((int)
> > > > > > > (Math.random()*500)+50)), "Tab Three");
> > > > > > > tabPanel.add( new
> HTML(text+""+getSomeText((int)
> > > > > > > (Math.random()*500)+50)), "Tab Four");
> > > > > > > tabPanel.add( new
> HTML(text+""+getSomeText((int)
> > > > > > > (Math.random()*500)+50)), "Tab Five");
> > > > > > > tabPanel.selectTab(0);
> >
> > > > > > > rPanel.add( tabPanel,
> "right-panel-contents" );
> > > > > > > }
> >
> > > > > > > private class ReloadButton extends Button{
> >
> > > > > > > private MainPanel mainPanel;
> >
> > > > > > > public ReloadButton(MainPanel p){
> > > > > > > super("Reload Right Panel");
> > > > > > > this.mainPanel = p;
> > > > > > >
> this.addClickHandler(getClickHandler());
> > > > > > >
> >
> > ...
> >
> > read more »
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

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



server side code not rebuilding

2010-09-03 Thread Chris Broglie
I'm developing using the eclipse plugin, and a lot of the time when I
make changes local to the server code, the changes aren't visible when
I reload the page. Client side changes are always reflected (as
expected). Is there something I need to do to force the server code to
be rebuilt by eclipse?

-- 
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-tool...@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 can I develop GWT apps with GAE Python?

2010-09-02 Thread Chris Conroy
Sounds like you want to use the -noserver option for DevMode:

http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT's

On Thu, Sep 2, 2010 at 11:42 AM, Shedokan  wrote:

> Hello, I am developing an app which is mainly based on ajax and has a
> backend of GAE Python.
> Currently I'm just compiling the App and copying it to the GAE
> directory, but it's just too much hassle waiting 20seconds to compile
> it each time instead of the live development mode.
>
> Is there any way of using the Live development mode with ajax sending
> to an GAE python backend?
>
> PS: don't offer me to move to GAE java please
>
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 run my DETAILED/PRETTY compiled GWT application locally / on app engine?

2010-09-02 Thread Chris Conroy
When you run from eclipse, you are running in DevMode which does not cause a
recompile.

If you compile your app as you like (with DETAILED or PRETTY), run from
Eclipse, and then strip the ?gwt.codesvr fragment from your URL, you'll be
served up the DETAILED or PRETTY compiled version that you just created. For
the vast majority of your issues though, debugging via DevMode (read: in
Java) is going to be what you want.

On Thu, Sep 2, 2010 at 6:08 AM, Ingo Jaeckel wrote:

> hello everyone,
>
> i want to profile the client side code of my gwt application honeycrm.
> a lot of times i read i just have to compile my application with
> pretty or detailed output style. then i should run and profile it e.g.
> with firebug.
>
> compiling my app with another output style is easy i.e. integrated
> into the eclipse gwt plugin. but evertime i run my application from
> eclipse it is recompiled with obfuscated output style. when i compile
> it using "detailed" and then deploy it to app engine, the gwt plugin
> in eclipse compiles it again and deploys the obfuscated js code.
>
> how can i avoid the recompilation to obfuscated code and instead run
> the js code compiled with detailed output style locally / when
> deployed to app engine? i found no documentation/tutorials about this
> yet.. thanks everyone in advance!
>
> kind regards,
> ingo
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 not download gwt developer plugin

2010-09-02 Thread Chris Ramsdale
There was an update on our side yesterday and the Developer Plugin page has
been restored. Please let us know if you still experience problems.

-- Chris

On Fri, Aug 27, 2010 at 5:47 PM, Chris Ramsdale wrote:

> You can also use this link in the interim:
>
>  http://gwt.google.com/samples/MissingPlugin
>
>
> On Fri, Aug 27, 2010 at 10:45 AM, David Chandler (Google) <
> drfibona...@google.com> wrote:
>
>> Oops, there is a broken URL mapping. This will be fixed shortly.
>>
>> /dmc
>> David Chandler
>> Developer Programs Engineer, Google Web Toolkit
>>
>> On Aug 26, 9:39 am, Guillaume Lasnier 
>> wrote:
>> > Hi,
>> > I have the same problem not being able to install the GWT
>> developerpluginon any browser because the link is broken. Google please
>> help,
>> > this is critical!!!
>> >
>> > Please find below the install url for eachpluginI got using the
>> > cached page on Google:
>> >
>> > "firefox-old" :
>> >   {
>> > "caption" : "Sorry, the GWT DeveloperPluginonly supports
>> > Firefox 3.0 and 3.5 at present",
>> > "url" : "http://www.getfirefox.com";,
>> > "supported" : false
>> >   },
>> >
>> >   "opera" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor Opera",
>> > // TODO(you): If you are reading this, maybe you would be
>> > interested in contributing an Opera version?
>> > "url" : "http://code.google.com/webtoolkit/
>> > makinggwtbetter.html#contributingcode",
>> > "supported" : false
>> >   },
>> >
>> >   "safari-iphone" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor mobile Safari",
>> > "url" : troubleshootingUrl,
>> > "supported" : false
>> >   },
>> >
>> >   "webkit-android" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor mobile WebKit",
>> > "url" : troubleshootingUrl,
>> > "supported" : false
>> >   },
>> >
>> >   "chrome-lin" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor Chrome on Linux",
>> > "url" : troubleshootingUrl,
>> > "supported" : false
>> >   },
>> >
>> >   "chrome-mac" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor Chrome on OS X",
>> > "url" : troubleshootingUrl,
>> > "supported" : false
>> >   },
>> >
>> >   "chrome-win" :
>> >   {
>> > "caption" : "The GWT DeveloperPluginrequires Chrome 4 or
>> > later,so click here to learn about switching to the Chrome
>> > DevChannel to get early access",
>> > "url" : "http://dev.chromium.org/getting-involved/dev-
>> > channel",
>> > "supported" : false
>> >   },
>> >
>> >   "safari-win" :
>> >   {
>> > "caption" : "Sorry, there is currently no GWT
>> DeveloperPluginfor Safari on Windows",
>> > "url" : troubleshootingUrl,
>> > "supported" : false
>> >   },
>> >
>> >   "firefox" :
>> >   {
>> > "caption" : "Download the GWT DeveloperPluginFor
>> > Firefox",
>> > "url" : "https://dl-ssl.google.com/gwt/plugins/firefox/gwt-
>> > dev-plugin.xpi",
>> > "platforms" : "Win x86, Linux x86/x86_64, Mac x86/PPC",
>> > "supported" : true
>> >   },
>> >
>> >   "ie" :
>&

Re: GWT Designer not available ...

2010-09-01 Thread Chris Conroy
dev-tools-sales

(at) google

On Wed, Sep 1, 2010 at 8:02 AM, dleins  wrote:

> The email address "dev-tools-sa...@google.com" is not valid.
> What is the actual email address to use?
> Regards...
>
> On Aug 31, 6:19 pm, Eric Clayberg  wrote:
> > GWT Designer, along with the other Instantiations products, is
> > currently being Googlized (legal, branding, etc.) and will be
> > available again in the future. We will make an announcement on the
> > Google Web Toolkit Blog when we have more information to provide.
> >
> > All paid, registered users were sent an email last week containing
> > information on how to contact Google's GWT Designer support and how to
> > get access to the GWT Designer product itself. If you missed that
> > email or it was grabbed by your spam filter, you can send a request to
> > dev-tools-sa...@google.com (make sure to include your GWT Designer
> > serial number). The product is not currently available for eval or
> > purchase, but we are working hard to make it available again in the
> > future.
> >
> > -Eric
> >
> > On Aug 31, 10:05 am, Kasper Hansen  wrote:
> >
> >
> >
> > > I third that ;-) I also bought the awesome GWT Designer, and where did
> it
> > > go... ?
> >
> > > On Tue, Aug 31, 2010 at 3:37 PM, dleins  wrote:
> > > > I have the same problem.  Can the old version at least be made
> > > > available?
> >
> > > > On Aug 31, 6:14 am, norandom  wrote:
> > > > > Hi,
> > > > > I bought a license gwt designer a few months ago and now I need to
> > > > > install it again. But I can not download it from the site of
> > > > > instantiations since the purchase by google :-(.
> > > > > Hallo google !?!?
> > > > > How can I do?
> > > > > Do you plan to put it again online ?
> > > > > regards
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 roadmap

2010-08-31 Thread Chris Conroy
See this thread:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/75f9493bc8f2ef76/caeb01d070406c3d

On Wed, Sep 1, 2010 at 12:10 AM, har_shan  wrote:

> Can anyone share the roadmap for GWT designer tool acquired from
> Instantiations. i know it must be in discussion internally bur please
> share a minimal info atleast if possible, or if its already answered
> please point me to it.
> Thanks much.
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: PasswordTextBox Security

2010-08-31 Thread Chris Conroy
The PasswordTextBox results in an  element on the
page which is handled by the browser in the same way all other such password
boxes.

And, to be a bit pedantic..If you assume an attacker has access to the
address space of your program, then what would stop him from reading said
characters at the time of password entry? The security issues you should be
worried about are things like cross-site scripting attacks.

On Tue, Aug 31, 2010 at 4:24 PM, drtman  wrote:

> According to at least one source, passwords should not be stored as
> strings in Java since they are immutable and could be readable from
> memory later even if the reference is nulled.  So I was wondering how
> PasswordTextBox maintains its value under the hood?  I know that
> getText() returns a string but is it coming from an instance variable
> maintained on the class?  If so I was thinking of writing my own class
> that uses a keypress event handler to maintain a char array which is
> more secure since it can be nulled out.
>
> Just curious what anyone else's thoughts are on this.
>
> --
> 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-tool...@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.
>
>
-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: /missing-plugin/ eroor

2010-08-30 Thread Chris Conroy
While the fix for the main link propagates, we have a temporary download
link here: http://gwt.google.com/samples/MissingPlugin

On Mon, Aug 30, 2010 at 10:11 AM, Rok Arnus  wrote:

> I have the exact same problem. Have you figured it out?
>
> On 29 avg., 14:32, miki haiat  wrote:
> > im newby  to gwt  ...
> > i download the eclipse  plugin and im tiring to run the google exemple
> > code
> > and thats what`s im receiving   in the browser
> > The requested URL /missing-plugin/ was not found on this server.
> >
> > and in the eclipse console
> >
> > 29/08/2010 15:26:25
> > com.google.appengine.tools.development.LocalResourceFileServlet doGet
> > WARNING: No file found for: /favicon.ico
> >
> > thanks
> > miki
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: app engine with hosted mode

2010-08-30 Thread Chris Conroy
Make sure you see a ?gwt.codesvr fragment in the URL you are using. It
sounds like you might just be hitting the embedded server--not DevMode. You
need that fragment to tell the plugin in your browser to use DevMode.

On Sun, Aug 29, 2010 at 8:42 PM, alexh  wrote:

> Hi,
>
> I posted a while back about having trouble running App Engine under
> hosted mode using the gwt-maven-plugin.
>
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/2432606db3635f3d/fbd6a8749c977b0d?lnk=gst&q=app+engine+hosted#fbd6a8749c977b0d
>
> I've been able to find the correct configuration with the plugin to
> launch the GAE runtime but I am now finding that "hot deploy" of
> changes doesn't work. If I change a GWT compiled class in Eclipse, the
> change isn't available when I refresh the browser. I have to perform
> essentially a gwt:compile to have the change appear. Anyone have ideas
> on what might be the problem?
>
> Here's my plugin configuration in my pom.xml.
>
>
>org.codehaus.mojo
>gwt-maven-plugin
>1.3.1.google
>
>
>
>compile
>
>  generateAsync
>test
>
>
>
>
> 
>/index
>
>  ${project.build.directory}/$
> {project.build.finalName}
>true
>
> com.google.appengine.tools.development.gwt.AppEngineLauncher server>
>-Xmx512m
> -Dappengine.sdk.root=${gae.home} -
> javaagent:${gae.home}/lib/agent/appengine-agent.jar
>${gwt.version}
>false
>
>
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 not download gwt developer plugin

2010-08-27 Thread Chris Ramsdale
You can also use this link in the interim:

 http://gwt.google.com/samples/MissingPlugin

On Fri, Aug 27, 2010 at 10:45 AM, David Chandler (Google) <
drfibona...@google.com> wrote:

> Oops, there is a broken URL mapping. This will be fixed shortly.
>
> /dmc
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
>
> On Aug 26, 9:39 am, Guillaume Lasnier 
> wrote:
> > Hi,
> > I have the same problem not being able to install the GWT
> developerpluginon any browser because the link is broken. Google please
> help,
> > this is critical!!!
> >
> > Please find below the install url for eachpluginI got using the
> > cached page on Google:
> >
> > "firefox-old" :
> >   {
> > "caption" : "Sorry, the GWT DeveloperPluginonly supports
> > Firefox 3.0 and 3.5 at present",
> > "url" : "http://www.getfirefox.com";,
> > "supported" : false
> >   },
> >
> >   "opera" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor Opera",
> > // TODO(you): If you are reading this, maybe you would be
> > interested in contributing an Opera version?
> > "url" : "http://code.google.com/webtoolkit/
> > makinggwtbetter.html#contributingcode",
> > "supported" : false
> >   },
> >
> >   "safari-iphone" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor mobile Safari",
> > "url" : troubleshootingUrl,
> > "supported" : false
> >   },
> >
> >   "webkit-android" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor mobile WebKit",
> > "url" : troubleshootingUrl,
> > "supported" : false
> >   },
> >
> >   "chrome-lin" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor Chrome on Linux",
> > "url" : troubleshootingUrl,
> > "supported" : false
> >   },
> >
> >   "chrome-mac" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor Chrome on OS X",
> > "url" : troubleshootingUrl,
> > "supported" : false
> >   },
> >
> >   "chrome-win" :
> >   {
> > "caption" : "The GWT DeveloperPluginrequires Chrome 4 or
> > later,so click here to learn about switching to the Chrome
> > DevChannel to get early access",
> > "url" : "http://dev.chromium.org/getting-involved/dev-
> > channel",
> > "supported" : false
> >   },
> >
> >   "safari-win" :
> >   {
> > "caption" : "Sorry, there is currently no GWT
> DeveloperPluginfor Safari on Windows",
> > "url" : troubleshootingUrl,
> > "supported" : false
> >   },
> >
> >   "firefox" :
> >   {
> > "caption" : "Download the GWT DeveloperPluginFor
> > Firefox",
> > "url" : "https://dl-ssl.google.com/gwt/plugins/firefox/gwt-
> > dev-plugin.xpi",
> > "platforms" : "Win x86, Linux x86/x86_64, Mac x86/PPC",
> > "supported" : true
> >   },
> >
> >   "ie" :
> >   {
> > "caption" : "Download the GWT DeveloperPluginFor
> > Internet Explorer",
> > "url" : "https://dl-ssl.google.com/tag/s/appguid%3D
> > %7B9a5e649a-ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT
> > %2520Developer%2520Plugin%2520for%2520IE%26needsadmin%3Dfalse/gwt/
> > plugins/ie/GwtDevPluginSetup.exe",
> > "platforms" : "Win x86",
> > "supported" : true
> >   },
> >
> >   "chrome4-win" :
> >   {
> > "caption" : "Download the GWT DeveloperPluginFor
> > Chrome",
> > "url" : "https://dl-ssl.google.com/gwt/plugins/chrome/gwt-
> > dev-plugin.crx",
> > "platforms" : "Win x86",
> > "supported" : true
> >   },
> >
> >   "safari-mac" :
> >   {
> > "caption" : "Download the GWT DeveloperPluginFor
> > Safari",
> > "url" : "https://dl-ssl.google.com/gwt/plugins/safari/gwt-
> > dev-plugin.dmg",
> > "platforms" : "Mac x86/x86_64/PPC",
> > "supported" : 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-tool...@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-tool...@googlegroups.com.
To unsubscribe from this group, sen

Re: Difficulty with GWT Developer Plugin Chrome & Firefox

2010-08-27 Thread Chris Ramsdale
Here's a temporary link while we wait for update to propagate. Let me know
if it still doesn't work.

 http://gwt.google.com/samples/MissingPlugin

-- Chris

On Wed, Aug 25, 2010 at 2:25 PM, Chris Rowland <
chris.robert.rowl...@gmail.com> wrote:

> I'm doing some work with the most recent version of GWT (have been
> working using the old hosted mode for quite a while) and I'm having
> issues getting the developer addin installed in Chrome and Firefox.
> When pasting the URL provided by the eclipse plugin, IE prompted to
> install the addin and it worked ok.
>
> However, when doing the same thing in Chrome and Firefox, it failed.
>
> In Chrome, it simply said the addin was missing.  With Firefox it said
> it was missing, but couldn't find it.
>
> I wasn't able to find anywhere to download the installer manually,
> either.
>
> Any advice?
>
> --
> 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-tool...@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-tool...@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 eat your own dogfood ? Future of GWT ?

2010-08-27 Thread Chris Ramsdale
This is true, you shouldn't be moderated on each post. Is this not the case?

-- Chris

On Fri, Aug 27, 2010 at 3:39 AM, Shawn Brown wrote:

> >> Unfortunately, we have to manually approve posts from new members to
> >>. We typically review postings from new members several
> >> times a day. After that, your posts should appear immediately.
> >>
>
> > Please, consider removing this manual "control spam". It is slowing
> > down the community. We have to wait for official Google presence in
> > the groups for us to keep talking about how to solve our problems. I
> > do not post most of the times because I know it will take around a day
> > to see my post here and get reply for anyone.
>
> The only way I see it taking Google moderation every time is if you
> are using a new member name for each message.  As I am sure you are
> not, it seems you don't understand the manual "control spam" system
> they have.  I don't see a problem here.
>
> Shawn
>
> --
> 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-tool...@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-tool...@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: Runtime.exec on sever side

2010-08-27 Thread Chris Conroy
You can certainly run development mode without using GAE. (read: it is not
the case)

On Fri, Aug 27, 2010 at 12:37 PM, Andrew McCann wrote:

> > I should have added --  Disable GAE, and delete all GAE related jar files
> > from you classpath.
> > Disabling GAE doesn't automatically remove the jars, and they kind of
> > interfere with the inbuilt server.
> Is it not the case that if I disable the GAE I cannot run
> Eclipes->Debug As->Web application?
>
> Cheers
>
> Andrew
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

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



Difficulty with GWT Developer Plugin Chrome & Firefox

2010-08-26 Thread Chris Rowland
I'm doing some work with the most recent version of GWT (have been
working using the old hosted mode for quite a while) and I'm having
issues getting the developer addin installed in Chrome and Firefox.
When pasting the URL provided by the eclipse plugin, IE prompted to
install the addin and it worked ok.

However, when doing the same thing in Chrome and Firefox, it failed.

In Chrome, it simply said the addin was missing.  With Firefox it said
it was missing, but couldn't find it.

I wasn't able to find anywhere to download the installer manually,
either.

Any advice?

-- 
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-tool...@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 2.1 M3 is now available

2010-08-25 Thread Chris Ramsdale
That's a great point, and we'll be there with M4. There's a Google snapshot
repository that we'll be using for the next milestone and subsequent RCs.
It's a single repo where we'll upload 2.1-BUILD-SNAPSHOT jars. Once we get
to GA, we'll be in Maven central.

-- Chris

On Wed, Aug 25, 2010 at 8:21 AM, jie...@gmail.com  wrote:

> > > Will milestone releases be put into the maven repo? This wasn't
> > > discussed AFAIK so far. I, for one, would really like to see it.
> >
> > You meanhttp://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven/
> > ? ;-)
>
> That maven layout doesn't actually include the 2.1.0M3 artifacts.
> Also, It's generally less useful to have a separate maven repository
> for every tag.. It would be nicer to users to provide one Maven
> repository format and put all artifacts into it - that way I wouldn't
> have to add a new repository every release of GWT.
>
> -Jesse
>
> --
> 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-tool...@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-tool...@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 2.1 M3 is now available

2010-08-24 Thread Chris Ramsdale
Back in May, at Google IO, we announced an integration between
VMware’s popular Spring framework for server-side development and GWT
for the client-side. Since then we have been excited by the feedback
and comments from customers building real world apps with this
technology. In response to their feedback, and pushing towards
delivering on our our promises form IO, we are very happy to announce
release M3. Looking forward we expect our production quality, GA
(general availability), drop to land in a few months.

Some key features included in this release are built-in history
support in Activities and Places, relationship management within
RequestFactory, and the ability to call instance methods on entities
themselves. The overarching goal was to nail down the API and deliver
on features and functionality that are vital to creating industry-
grade business apps.

For the Spring Roo community, we're continuing to build-out the
integrated stacks that we announced back at Google I/O. GWT 2.1 M3
includes a parallel Roo 1.1 M3 that will allow you to take advantage
of all the features mentioned above. Also, in the spirit of co-
operative and transparent development, you can find a full list of
features and functionality over at Roo's issue tracker.

https://jira.springsource.org/secure/IssueNavigator.jspa?mode=hide&requestId=12001

GWT 2.1 M3 is available on our Google Code download site. We’d love to
hear your feedback and thoughts on the release, and this forum would
be the best place to post this information.

http://google-web-toolkit.googlecode.com/files/gwt-2.1.0.m3.zip

-- 
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-tool...@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: same code -> different compile plattforms -> different results???

2010-08-23 Thread Chris Conroy
Well, until http://code.google.com/p/google-web-toolkit/source/detail?r=8605
the
compiler could use different line endings which would result in a different
hash for your .cache.html files.

Though, this would not change the appearance of your code. Most likely, you
have your caching mis-configured and in one browser you are seeing a stale
version.

On Mon, Aug 23, 2010 at 9:40 AM, Magnus wrote:

> Hello,
>
> could someone please ponit me into the right direction?
>
> What can I do that my code leads to the same results on different
> compilation platforms?
>
> Thank you
> Magnus
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: plans for ARIA in GWT

2010-08-18 Thread chris
Have you considered asking for your money back?

Have you considered adding the changes yourself?

If I was on the GWT dev team...I'd be disappointed with your tone.


On Aug 18, 7:15 am, Thad  wrote:
> I'm disappointed with what I see, or rather DON'T see, in GWT 2.1.0M2
> regarding ARIA support.  Granted the ARIA specification is moving very
> fast, but there are many simple things that seem like no-brainers:
> Why doesn't UIObject.setVisible() set the aria-hidden state? Why
> doesn't FocusWidget.setEnabled() set the aria-disabled state?  Why
> doesn't CheckBox.setValue() set the aria-checked state?  Are these
> settings honestly not needed by common assistive technologies?
>
> What's being done?

-- 
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-tool...@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: Dev plugin for firefox 3.7

2010-08-11 Thread Chris Conroy
The short answer is that after preliminary support went in, the supporting
libraries changed upstream. Also, when the prelim support went in Windows
dev libraries weren't even available. I think John has a change in the works
to get this updated but is blocked on something.

I suggest for the time being that you just use production mode for anything
you specifically have to test on 3.7. If that won't work, consider using a
slightly older version of 3.7 (from Jun 16 or so) to build the plugin.

On Wed, Aug 11, 2010 at 11:30 AM, a...@mechnicality.com <
a...@mechnicality.com> wrote:

> Hi Chris,
>
> I've found that FF 4 beta on Linux x86_64 (Ubuntu 10.04) doesn't seem to
> work with the BROWSER=ff40 version of the plugin. I've updated to 8516 and
> tried to repeat the steps in your last email but I can't seem to get the
> make to work. It worked fine with 3.7 but I urgently need to move to 4 beta.
> There's also a thread on the gwt-dev list on this, where John gave me help
> to get the plugin going on 3.7.
>
> I'm getting the following errors:
>
> gwt-source/trunk/plugins/xpcom$ make
> (cd ../common && make)
> make[1]: Entering directory `/home/ajc/gwt-source/trunk/plugins/common'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/ajc/gwt-source/trunk/plugins/common'
> Makefile:148: Using firefox libraries at
> ../../../plugin-sdks/gecko-sdks/gecko-1.9.3/Linux_x86_64-gcc3/lib
> [ ! -x
> ../../../plugin-sdks/gecko-sdks/gecko-1.9.3/Linux_x86_64-gcc3/bin/xpidl -o
> \( -e prebuilt/ff40/include/IOOPHM.h -a ! -w prebuilt/ff40/include/IOOPHM.h
> \) ] ||
> ../../../plugin-sdks/gecko-sdks/gecko-1.9.3/Linux_x86_64-gcc3/bin/xpidl
> -I../../../plugin-sdks/gecko-sdks/gecko-1.9.3/idl -m header -e
> prebuilt/ff40/include/IOOPHM.h IOOPHM.idl
> g++ -g -O2 -fPIC
> -I../../../plugin-sdks/gecko-sdks/gecko-1.9.3/Linux_x86_64-gcc3/include
> -I../../../plugin-sdks/gecko-sdks/gecko-1.9.3/include
> -Iprebuilt/ff40/include/ -rdynamic -m64 -DBROWSER=ff40 -DGECKO_19
> -fshort-wchar -c -o build/Linux_x86_64-gcc3-ff40/ExternalWrapper.o -I.
> -I../common ExternalWrapper.cpp
> In file included from ExternalWrapper.h:21,
> from ExternalWrapper.cpp:17:
> mozincludes.h:11:26: error: xpcom-config.h: No such file or directory
> mozincludes.h:12:28: error: mozilla-config.h: No such file or directory
> In file included from ExternalWrapper.h:23,
> from ExternalWrapper.cpp:17:
> prebuilt/ff40/include/IOOPHM.h:10:25: error: nsISupports.h: No such file or
> directory
> In file included from ExternalWrapper.h:25,
> from ExternalWrapper.cpp:17:
> Preferences.h:23:22: error: nsCOMPtr.h: No such file or directory
> Preferences.h:25:25: error: nsIObserver.h: No such file or directory
> Preferences.h:26:28: error: nsIPrefBranch2.h: No such file or directory
> In file included from FFSessionHandler.h:23,
> from ExternalWrapper.h:26,
> from ExternalWrapper.cpp:17:
> SessionData.h:23:19: error: jsapi.h: No such file or directory
> In file included from ExternalWrapper.cpp:17:
> ExternalWrapper.h:31:41: error: nsISecurityCheckedComponent.h: No such file
> or directory
> ExternalWrapper.h:32:25: error: nsStringAPI.h: No such file or directory
> ExternalWrapper.h:33:30: error: nsIWindowWatcher.h: No such file or
> directory
> ExternalWrapper.h:34:26: error: nsIDOMWindow.h: No such file or directory
> ExternalWrapper.cpp:19:36: error: nsIHttpProtocolHandler.h: No such file or
> directory
> ExternalWrapper.cpp:21:22: error: nsNetCID.h: No such file or directory
> ExternalWrapper.cpp:23:22: error: nsMemory.h: No such file or directory
> ExternalWrapper.cpp:24:35: error: nsServiceManagerUtils.h: No such file or
> directory
> ExternalWrapper.cpp:25:30: error: nsIPromptService.h: No such file or
> directory
> ExternalWrapper.cpp:27:34: error: nsIDOMWindowInternal.h: No such file or
> directory
> ExternalWrapper.cpp:28:28: error: nsIDOMLocation.h: No such file or
> directory
> ExternalWrapper.cpp:29:28: error: nsXPCOMStrings.h: No such file or
> directory
> ExternalWrapper.cpp:30:32: error: nsICategoryManager.h: No such file or
> directory
> ExternalWrapper.cpp:31:31: error: nsIJSContextStack.h: No such file or
> directory
> ExternalWrapper.cpp:32:30: error: nsIScriptContext.h: No such file or
> directory
> ExternalWrapper.cpp:33:35: error: nsIScriptGlobalObject.h: No such file or
> directory
> ExternalWrapper.cpp:34:27: error: nsPIDOMWindow.h: No such file or
> directory
> ExternalWrapper.cpp:37:42: error: nsIClassInfoImpl.h: No such file or
> directory
> In file included from ExternalWrapper.h:23,
> from ExternalWrapper.cpp:17:
> prebuilt/ff40/include/IOOPHM.h:27: error: expected initializer before ‘:’
> token
> make:

Re: Bug with UI Handler when using Selection Event

2010-08-10 Thread Chris Conroy
Repeatedly bumping threads like this is rude and is considered spam. Please
do not do it again.

Everyone, please take note that this is not acceptable behavior. If you find
that someone is bumping threads repeatedly, please notify the group
moderators.


On Tue, Aug 10, 2010 at 5:40 PM, Shyam Visamsetty
wrote:

> Any update on this?
>
> Thanks,
> Shyam.
>
> On Aug 9, 11:10 pm, Shyam Visamsetty  wrote:
> > I get this error when handling selection event for TabLayoutPanel. But
> > Selection Event is a subclass of GWTEvent. Can someone help? I have
> > seen multiple posts of the same error unanswered. Your help will be
> > appreciated.
> >
> > Parameter 'SelectionEvent' is not an event (subclass of GwtEvent).
> >
> > @UiHandler("tabPanel")
> > public void onTabPanelSelection(SelectionEvent event) {
> > if(presenter != null)
> > {
> > if (event.getSelectedItem() == 0){
> > presenter.onHomeTabClicked();
> > }
> > }
> > }
> >
> > PS: If this is a bug, I can file it in the Issue Tracker.  I havent
> > found any related bug.
> >
> > Thanks,
> > Shyam.
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 Developer Plugin problem: Mandriva 64-bit, Firefox

2010-08-09 Thread Chris Conroy
Which version of Firefox are you using?

On Sat, Aug 7, 2010 at 2:55 PM, Paul Gestwicki wrote:

> I followed the discussion at
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/6be4f19213378cf6
> ,
> but making symlinks to libnspr4.so did not work for me on Mandriva 64-
> bit, with Firefox.
>
> One difference on Mandriva is that libnspr4.so was in /lib64, not /usr/
> lib64. I tried making links to it as libnspr4.so and libnspr4.so.0d
> in /lib, /lib64, /usr/lib, and /usr/lib64, but nothing changed the
> observed behavior: firefox keeps claiming that it needs the plugin
> each time I try to visit
> http://127.0.0.1:/MyApp.html?gwt.codesvr=127.0.0.1:9997.
>
> Anyone have any luck getting a Mandriva set-up working? I'm using
> 2010.1, in case that is significant. I have tried Firefox both from
> rpm and downloaded directly from Mozilla, with no observable
> difference.
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Making GWT look good...

2010-08-09 Thread Chris Ramsdale
Thanks for all of the great feedback (and please, keep it coming). With
these suggestions and some internal guidance, we're going to move on to
fleshing out mocks. Once I have something tangible, I'll share it here.

-- Chris

On Fri, Aug 6, 2010 at 8:01 PM, martino  wrote:

> While I appreciate the richness of widgets and behaviours offered by
> framework like SmartGWT or GXT, I don't particularly like their
> "windowish" look and feel, also I don't think it's a particularly good
> idea promoting GWT powerfulness or web application in general by
> mimicking desktop application widgets aspect (how many useless "web
> desktops" simulating a windows desktop inside your browser have you
> seen?).
>
> I think GWT/Roo should support at least two basic skin: a light theme
> with few/no images/resources (http://gwt-bikeshed.appspot.com/
> Scaffold.html  isn't a bad start to me!) and maybe an heavier more
> appealing one but I think some effort should be done to distinguish
> GWT/web applications from desktop app. I would use more/nicer effects
> (slide, fade ecc.) to have smoother transitions and/or communicate to
> the user that something is happening/has happened (think of mobile
> apps also...).
>
> Just my 2 cents
>
> Martino Piccinato
>
>
>
> On Aug 6, 2:44 pm, Chris Ramsdale  wrote:
> > Hey GWT(ers),
> >
> > I've heard from many of you that GWT apps simply don't look that good out
> of
> > the box, and styling the default app would go a long way. We couldn't
> agree
> > more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will
> > generate a full-fledged scaffolding app that users can then go customize,
> > and build on top of. The current incarnation looks like this:
> >
> > http://gwt-bikeshed.appspot.com/Scaffold.html
> >
> > And while it's a start, it's long from being...well...good looking. I'm
> > working with some UI/UX people back at Google, but in the spirit of
> openness
> > I wanted to get feedback from the real users -- you. Specifically we're
> > looking for "business" apps that are a good example of UI and/or UX. Apps
> > that allow you to track tasks, expenses, travel, projects, etc.
> >
> > If you have ideas, simply post a link in a follow-up to this thread.
> >
> > Cheers,
> > -- Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@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-tool...@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: Problem in Large scale application development and MVP

2010-08-09 Thread Chris Ramsdale
Thanks, Will. I'll update the tutorial and sample code.

On Aug 6, 3:07 pm, WillSpecht  wrote:
> Can the moderators pass this on to Chris Ramsdale so he can update the
> tutorial?
>
> On Aug 6, 2:59 pm, WillSpecht  wrote:
>
>
>
> > When a new contact is added it's id is never set. Because the id field
> > is a string it is stored as "". That is how the first contact is
> > added. Now every time you create a new contact you overwrite the
> > contact with key "". To fix this you need to set the value of the id.
> > I did this by changing the doSave method in EditContactsPresenter.
>
> > private void doSave() {
> > contact.setFirstName(display.getFirstName().getValue());
> > contact.setLastName(display.getLastName().getValue());
> > contact.setEmailAddress(display.getEmailAddress().getValue());
> > if(History.getToken.equals("add")
> >     rpcService.updateContact(contact, new AsyncCallback()
> > {
> >         public void onSuccess(Contact result) {
> >             eventBus.fireEvent(new
> > ContactUpdatedEvent(result));
> >         }
> >         public void onFailure(Throwable caught) {
> >             Window.alert("Error updating contact");
> >         }
> >     });
> > else
> >     rpcService.updateContact(contact, new AsyncCallback()
> > {
> >         public void onSuccess(Contact result) {
> >             eventBus.fireEvent(new
> > ContactUpdatedEvent(result));
> >         }
> >         public void onFailure(Throwable caught) {
> >             Window.alert("Error updating contact");
> >         }
> >     });
>
> > }
>
> > On Aug 3, 1:38 pm, WillSpecht  wrote:
>
> > > I recently tried to follow the Large scale application development and
> > > MVP tutorial.  The tutorial was great but I am having a hard time with
> > > a few things.
>
> > > If you try and add a contact to the list, the contact is created.  If
> > > you try and add another contact, you are taken to the edit screen of
> > > the last contact you created.  No more contacts can be added once you
> > > add your first contact.  What needs to be changed so you can add more
> > > than one contact.

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



Making GWT look good...

2010-08-06 Thread Chris Ramsdale
Hey GWT(ers),

I've heard from many of you that GWT apps simply don't look that good out of
the box, and styling the default app would go a long way. We couldn't agree
more. As some of you know, GWT 2.1 (with the help of Spring Roo 1.1) will
generate a full-fledged scaffolding app that users can then go customize,
and build on top of. The current incarnation looks like this:

http://gwt-bikeshed.appspot.com/Scaffold.html

And while it's a start, it's long from being...well...good looking. I'm
working with some UI/UX people back at Google, but in the spirit of openness
I wanted to get feedback from the real users -- you. Specifically we're
looking for "business" apps that are a good example of UI and/or UX. Apps
that allow you to track tasks, expenses, travel, projects, etc.

If you have ideas, simply post a link in a follow-up to this thread.

Cheers,
-- Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@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: Wave Demise.........sad day for GWT

2010-08-05 Thread Chris Ramsdale
Thanks for all of the responses, even the criticism is highly
beneficial. In regard to the Wave announcement, we're certainly sad,
but do realize that many features (Code Splitting, SOYC, another spin
on MVP+GWT) were born out of the experiment. Where possible, we're
definitely interested in pulling in some of the Wave functionality
into GWT (widgets obviously being top of mind).

Re: Instantiations, we're extremely excited to have the team joining.
Right now, we're heads down integrating the team and the products, but
we'll keep the GWT community posted when we have more information.

-- Chris

On Aug 5, 12:04 am, Steve Wart  wrote:
> Holy smokes, first SpringSource acquires GemStone, now this.
>
> Did someone in Silicon Valley suddenly figure out that Smalltalk is cool? :)
>
> FWIW, I've had far more success getting JSON to work with Smalltalk
> and GWT than we ever had with 13 years of Java and XML. Coincidence?
>
>
>
> On Wed, Aug 4, 2010 at 6:21 PM, Shawn Brown  
> wrote:
> >> I just worry about GWT itself.  Google may kill GWT some day. Our
> >> project heavy uses it:(.
>
> > Not anytime soon I imagine.
>
> > Look Google just acquired instantiations which makes the gwtdesigner.
>
> >http://www.instantiations.com/
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-tool...@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: Server support for speed traces in GWT 2.1

2010-08-04 Thread Chris Conroy
Steve,

SpeedTracer and GWT continue to be fully open. For those that use
SpringSource TC, this feature is useful.

Some enterprising folks have started porting this work to other servers:

http://github.com/igrigorik/rack-speedtracer

<http://github.com/igrigorik/rack-speedtracer>
http://code.google.com/p/spring4speedtracer/


On Wed, Aug 4, 2010 at 1:21 PM, swart  wrote:

> I just joined the group and quickly scanned the archives, but didn't
> see an answer to my question.
>
> I'm very pleased with GWT and was hoping to have a look at the speed
> traces feature in 2.1 M2, but noticed that it seems to require a
> commercial version of Tomcat from SpringSource.
>
> Is there additional server support required for speed traces for open-
> source or other Java servers? I'm not particulary keen to dive into
> Spring, haven't looked at Roo at all, and it's unlikely that we would
> be moving to SpringSource TC anytime soon.
>
> Is the Spring XML framework needed for performance analysis or are
> there other server-side features that this product provides?
>
> In general I'm quite puzzled at this dependency in an open toolkit.
>
> Thanks,
> Steve
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Arrow and Plus/Minus images in compiled code

2010-08-04 Thread Chris Conroy
I believe those are from the default GWT theme.

On Tue, Aug 3, 2010 at 5:13 PM, Vladimir  wrote:

> Hi there.
> I am using GWT 2.1M2 plugin for Eclipse and using Eclipse Helios IDE.
> I have just compiled my code and i noticed that there are some weird
> images that I have not put into the project myself. How did they get
> there?
> I have googled a lot on this, and did not find any reasonable
> explanation.
>
> Screenshot:
> http://yfrog.com/mkarrowsg
>
> Cheers,
> Vladimir
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Filter and Sorting in new Data presentation widget

2010-08-04 Thread Chris Conroy
Please do not bump threads like this. It's rude, adds noise to the list, and
it won't get your question answered any faster.

On Wed, Aug 4, 2010 at 2:35 PM, Deepak Singh wrote:

> Any help pls ?
>
>
> On Wed, Aug 4, 2010 at 5:46 PM, Deepak Singh wrote:
>
>> Hi All,
>>
>> I am using new data presentaion widget for creating table. I need to
>> filter the table and sort the table based on some data. How can i do it ?
>> I didn't find any example for this. Pls help.
>>
>> Regards
>> Deepak
>>
>>
>
>  --
> 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-tool...@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.
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Possible problem with GWT URL mechanism and cache

2010-08-02 Thread Chris Conroy
Ittai,

The server bundled with the Eclipse plugin is Jetty, and it should
work correctly out of the box (read: no extra configuration on your
part). Re-reading your original post, it looks like you might think
you are using development mode ("stop the debug") but your URL
indicates you are actually using production mode. Make sure you launch
your development mode session with the ?gwt.codesvr fragment. If you
want to refresh your code without using development mode, you want to
make sure you run a full GWT compile.

On Sun, Aug 1, 2010 at 5:28 AM, Ittai  wrote:
> Hi Chris,
> I'm sorry but as I first stated I'm not sure what underlying server
> I'm using as the problem arises when using the "built-in" server in
> the GWT Eclipse plug-in
> Is this apache? Do you know?
> If so, do you know where I should look for its htaccess file?
>
> Thanks
>
> On 30 יולי, 18:56, Chris Conroy  wrote:
>> If you use Apache, the following .htaccess should work:
>>
>> 
>>   ExpiresDefault "access"
>> 
>>
>> 
>>         ExpiresDefault "now plus 1 year"
>> 
>>
>> See the Compiling and Debugging section of the dev 
>> guide:http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...
>>
>>
>>
>>
>>
>> On Fri, Jul 30, 2010 at 2:35 AM, Ittai  wrote:
>>
>> > Hi Chris,
>> > Thanks for your reply.
>> > I did not configure my web-server what so ever.
>> > Just used the GWT debug console from inside eclipse (with GWT plug-
>> > in).
>> > Can you maybe point me to where I can still check these
>> > configurations?
>>
>> > Thanks,
>> > Ittai
>> > On Jul 29, 8:38 pm, Chris Conroy  wrote:
>> > > This sounds like you misconfigured your webserver to serve up the
>> > > .nocache files as cached.
>>
>> > > On Thu, Jul 29, 2010 at 2:51 AM, Ittai  wrote:
>> > > > Hi,
>> > > > I'm encountering a problem, currently on IE8 and Win XP, where I can
>> > > > start up the debug mode on eclipse and enter the URL of my application
>> > > > on IE8:
>> > > >http://localhost:8080/myModule/myModule.html?params
>> > > > and everything will work properly.
>> > > > If I stop the debug, change the code and build the application again,
>> > > > of course new ADE43343.html file are created and when I enter the URL
>> > > > again in IE8 I see in the debug console in eclipse that a 404 message
>> > > > has been sent as the browser requested an incorrect URL.
>> > > > Which on the one hand remained the same(myModule.html), but on the
>> > > > other hand changed (generated html file).
>> > > > Another point to notice is that if I clear the cache of the browser
>> > > > all is well.
>> > > > Now, the issue is that I need this change from version to version
>> > > > (generated file to generated file) to be seemless.
>> > > > I tried adding the following tag to the myModule.html file:
>> > > > 
>> > > > but it did not seem to do the trick.
>> > > > Has anyone encountered this?
>> > > > Can you maybe point me to the right direction?
>> > > > Thanks a lot in advance
>> > > > ittai
>>
>> > > > --
>> > > > 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-tool...@googlegroups.com.
>> > > > To unsubscribe from this group, send email to 
>> > > > google-web-toolkit+unsubscr...@googlegroups.com.
>> > > > For more options, visit this group 
>> > > > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> > > --
>> > > Chris Conroy
>> > > Software Engineer
>> > > Google, Atlanta- 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-tool...@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-web-toolkit+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> Chris Conroy
>> Software Engineer
>> Google, Atlanta-הסתר טקסט מצוטט-
>>
>> -הראה טקסט מצוטט-
>
> --
> 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-tool...@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.
>
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Possible problem with GWT URL mechanism and cache

2010-07-30 Thread Chris Conroy
If you use Apache, the following .htaccess should work:


  ExpiresDefault "access"



        ExpiresDefault "now plus 1 year"


See the Compiling and Debugging section of the dev guide:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html

On Fri, Jul 30, 2010 at 2:35 AM, Ittai  wrote:
>
> Hi Chris,
> Thanks for your reply.
> I did not configure my web-server what so ever.
> Just used the GWT debug console from inside eclipse (with GWT plug-
> in).
> Can you maybe point me to where I can still check these
> configurations?
>
> Thanks,
> Ittai
> On Jul 29, 8:38 pm, Chris Conroy  wrote:
> > This sounds like you misconfigured your webserver to serve up the
> > .nocache files as cached.
> >
> >
> >
> >
> >
> > On Thu, Jul 29, 2010 at 2:51 AM, Ittai  wrote:
> > > Hi,
> > > I'm encountering a problem, currently on IE8 and Win XP, where I can
> > > start up the debug mode on eclipse and enter the URL of my application
> > > on IE8:
> > >http://localhost:8080/myModule/myModule.html?params
> > > and everything will work properly.
> > > If I stop the debug, change the code and build the application again,
> > > of course new ADE43343.html file are created and when I enter the URL
> > > again in IE8 I see in the debug console in eclipse that a 404 message
> > > has been sent as the browser requested an incorrect URL.
> > > Which on the one hand remained the same(myModule.html), but on the
> > > other hand changed (generated html file).
> > > Another point to notice is that if I clear the cache of the browser
> > > all is well.
> > > Now, the issue is that I need this change from version to version
> > > (generated file to generated file) to be seemless.
> > > I tried adding the following tag to the myModule.html file:
> > > 
> > > but it did not seem to do the trick.
> > > Has anyone encountered this?
> > > Can you maybe point me to the right direction?
> > > Thanks a lot in advance
> > > ittai
> >
> > > --
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > Chris Conroy
> > Software Engineer
> > Google, Atlanta- 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-tool...@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.
>



--
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Dev plugin 1.0.7511 doesn't work with Firefox 3.6.8

2010-07-30 Thread Chris Conroy
Please see this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/6be4f19213378cf6

On Fri, Jul 30, 2010 at 7:24 AM, Utgarda  wrote:

> I installed the plugin, but every time I launch GWT devmode and then
> the browser, the page
> http://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997
> keeps telling me I need the plugin to be installed. I remember it
> working for me before, don't know what happened.
>
> Really, I could use a hint :)  Thanks!
>
> GWT 2.0.4
> GWT dev plugin 1.0.7511
> Firefox 3.6.8
> Sun java 1.6.0_21
> OpenSuse 11.3 x64
>
> --
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Possible problem with GWT URL mechanism and cache

2010-07-29 Thread Chris Conroy
This sounds like you misconfigured your webserver to serve up the
.nocache files as cached.

On Thu, Jul 29, 2010 at 2:51 AM, Ittai  wrote:
> Hi,
> I'm encountering a problem, currently on IE8 and Win XP, where I can
> start up the debug mode on eclipse and enter the URL of my application
> on IE8:
> http://localhost:8080/myModule/myModule.html?params
> and everything will work properly.
> If I stop the debug, change the code and build the application again,
> of course new ADE43343.html file are created and when I enter the URL
> again in IE8 I see in the debug console in eclipse that a 404 message
> has been sent as the browser requested an incorrect URL.
> Which on the one hand remained the same(myModule.html), but on the
> other hand changed (generated html file).
> Another point to notice is that if I clear the cache of the browser
> all is well.
> Now, the issue is that I need this change from version to version
> (generated file to generated file) to be seemless.
> I tried adding the following tag to the myModule.html file:
> 
> but it did not seem to do the trick.
> Has anyone encountered this?
> Can you maybe point me to the right direction?
> Thanks a lot in advance
> ittai
>
> --
> 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-tool...@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.
>
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Reusability of GWT UI

2010-07-20 Thread Chris Conroy
Please do not bump threads like this. It's disrespectful, adds unnecessary
noise to the list, and it won't get your question answered faster.

On Tue, Jul 20, 2010 at 9:47 AM, Vik  wrote:

> any one on this plz...
>
> Thankx and Regards
>
> Vik
> Founder
> www.sakshum.com
> www.sakshum.blogspot.com
>
>
> On Tue, Jul 13, 2010 at 7:32 PM, Vik  wrote:
>
>> hie
>>
>> Thanks but i have following doubt:
>>
>> Since i need two different handlers for two search panels then where will
>> be the deciding logic ?
>> and how exactly i will call this addClickHandler method?
>>
>>
>> 1. How will i call it
>>
>> Thankx and Regards
>>
>> Vik
>> Founder
>> www.sakshum.com
>> www.sakshum.blogspot.com
>>
>>
>> On Mon, Jul 12, 2010 at 10:28 PM, Gal Dolber wrote:
>>
>>> class YourSearchPanel extends Composite *implements HasClickHandlers {*
>>> *
>>> *
>>> *...*
>>> *public HandlerRegistration addClickHandler(ClickHandler handler) {*
>>> *yourSearchButton.addClickHandler(handler);*
>>> *}*
>>> *
>>> *
>>> *}*
>>> *
>>> *
>>> *And move the rpc logic out of your widget
>>> *
>>> 2010/7/12 Vik 
>>>
>>>>  Hie
>>>>
>>>> I have a UI which shows a search panel having 3 list boxes to select
>>>> from and a search button.
>>>>
>>>> I have two different pages where this UI has to be exactly same except
>>>> the search button needs to call  different rpc services.
>>>>
>>>> How should I write the code once and resue it both the places? Please
>>>> advise...
>>>>
>>>> Thankx and Regards
>>>>
>>>> Vik
>>>> Founder
>>>> www.sakshum.com
>>>> www.sakshum.blogspot.com
>>>>
>>>> --
>>>> 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-tool...@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.
>>>>
>>>
>>>
>>>
>>> --
>>> http://gwtupdates.blogspot.com/
>>>
>>> --
>>> 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-tool...@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.
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: JAXB & GWT How I can use JAXB generated classes on client side

2010-07-16 Thread chris
I would love to use gwt-rpc for this application but the server side
is an embedded device with only apache and gsoap. I have done this
once for another embedded system using rocket-gwt json serialization
and wrote a backend cgi exec that would unmarshall using json-c to c
structs. But this has a soap service with over 150 separate soap
calls. I guess I am looking for a way to do xml serialization client
side and that is not going to be possible without writing my own
library. It would probably be possible though with some custom
annotations and deferred binding simlilar to what rocket-gwt does but
I have not found such a library. Maybe I will take a stab at it when I
get some time.

Thanks for the advice,
Chris

On Jul 15, 1:10 pm, David Vree  wrote:
> I don't want to hijack your thread, but I am new to this and am
> wondering why you don't use GWT-RPC to do the client/server
> communication?
>
> On Jul 15, 12:40 pm, lineman78  wrote:
>
> > It is not possible to convert POJO to XML without using some sort of
> > library, but Jersey does have the ability to do JSON.  I use JAXB to
> > generate my server side classes and JAX-RS to marshal to XML and JSON
> > depending on the Accepts header.  This is fairly easy to do using a
> > services context resolver annotated with provider and consumes/
> > produces application/json.  I then have written a generator(no I can't
> > provide it, but it is possible) so that I can write an interface for a
> > POJO and it will generate the overlay type for me, but if you are
> > working on a smaller project manually writing the overlay types is the
> > best solution.
>
> > On Jul 15, 8:27 am, chris  wrote:
>
> > > Thank you for the advice and it appears that this would work for
> > > server but not for client marshalling. I have been investigating a way
> > > to use JAXB to marshall soap requests on the client side but have not
> > > found a way as of yet. I would love to get rid of soap all together
> > > but unfortunately that will not be possible. Has anyone found a way to
> > > marshall the POJO to XML on the client?
>
> > > Thanks,
> > > Chris Hinshaw
>
> > > On Jul 15, 1:27 am, Frederic Conrotte 
> > > wrote:
>
> > > > There is no problem in using JAXB along with GWT.
>
> > > > See this thread for 
> > > > explanations:http://code.google.com/p/google-web-toolkit/issues/detail?id=4020&q=J...
>
> > > > On Jul 15, 2:57 am, Shyam Visamsetty  wrote:
>
> > > > > I think you cannot use JAXB with GWT. JAXB uses a lot of classes which
> > > > > GWT cant compile. So, you may not be able to use it. You can use the
> > > > > standard xml packages that come with GWT.
>
> > > > > Thanks,
> > > > > Shyam Visamsetty.
>
> > > > > On Jul 14, 8:29 am, Alberto Rugnone 
> > > > > wrote:
>
> > > > > > Hi all,
> > > > > > I have to use classes with jaxb annotation on client side, but GWT
> > > > > > compiler refuse to work throwing following exception
>
> > > > > > No source code is available for type javax.xml.namespace.QName
> > > > > >  No source code is available for type javax.xml.bind.JAXBElement
>
> > > > > > etc...
>
> > > > > > someone can help me
>
> > > > > > Thank you very much in advanced
>
>

-- 
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-tool...@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: Mixed content warning on Chrome (skull and bones)

2010-07-15 Thread Chris Conroy
On Thu, Jul 15, 2010 at 12:17 PM, Danny Goovaerts  wrote:

>  Speedtracer shows "From cache :false" but I
> do find the components in the cache.
> I don't know how the mobile browser handle it, but the js files are
> probably too big anyway to be cached.
>
> Danny


There have been some known issues recently with webkit properly reporting
items as coming from cache which in turn affects SpeedTracer. Note that just
because the file is in the cache doesn't mean the browser used the cached
copy. (Cache invalidation != Cache eviction)

If you happen to observe SpeedTracer reporting cache status badly, please
provide your Chrome version and, if possible, a way to reproduce at
http://code.google.com/p/speedtracer/issues/detail?id=19


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: JAXB & GWT How I can use JAXB generated classes on client side

2010-07-15 Thread chris
Thank you for the advice and it appears that this would work for
server but not for client marshalling. I have been investigating a way
to use JAXB to marshall soap requests on the client side but have not
found a way as of yet. I would love to get rid of soap all together
but unfortunately that will not be possible. Has anyone found a way to
marshall the POJO to XML on the client?

Thanks,
Chris Hinshaw

On Jul 15, 1:27 am, Frederic Conrotte 
wrote:
> There is no problem in using JAXB along with GWT.
>
> See this thread for 
> explanations:http://code.google.com/p/google-web-toolkit/issues/detail?id=4020&q=J...
>
> On Jul 15, 2:57 am, Shyam Visamsetty  wrote:
>
> > I think you cannot use JAXB with GWT. JAXB uses a lot of classes which
> > GWT cant compile. So, you may not be able to use it. You can use the
> > standard xml packages that come with GWT.
>
> > Thanks,
> > Shyam Visamsetty.
>
> > On Jul 14, 8:29 am, Alberto Rugnone 
> > wrote:
>
> > > Hi all,
> > > I have to use classes with jaxb annotation on client side, but GWT
> > > compiler refuse to work throwing following exception
>
> > > No source code is available for type javax.xml.namespace.QName
> > >  No source code is available for type javax.xml.bind.JAXBElement
>
> > > etc...
>
> > > someone can help me
>
> > > Thank you very much in advanced
>
>

-- 
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-tool...@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: JAXB & GWT How I can use JAXB generated classes on client side

2010-07-15 Thread chris
Thank you for the advice and it appears that this would work for
server but not for client marshalling. I have been investigating a way
to use JAXB to marshall soap requests on the client side but have not
found a way as of yet. I would love to get rid of soap all together
but unfortunately that will not be possible. Has anyone found a way to
marshall the POJO to XML on the client?

Thanks,
Chris Hinshaw

On Jul 15, 1:27 am, Frederic Conrotte 
wrote:
> There is no problem in using JAXB along with GWT.
>
> See this thread for 
> explanations:http://code.google.com/p/google-web-toolkit/issues/detail?id=4020&q=J...
>
> On Jul 15, 2:57 am, Shyam Visamsetty  wrote:
>
> > I think you cannot use JAXB with GWT. JAXB uses a lot of classes which
> > GWT cant compile. So, you may not be able to use it. You can use the
> > standard xml packages that come with GWT.
>
> > Thanks,
> > Shyam Visamsetty.
>
> > On Jul 14, 8:29 am, Alberto Rugnone 
> > wrote:
>
> > > Hi all,
> > > I have to use classes with jaxb annotation on client side, but GWT
> > > compiler refuse to work throwing following exception
>
> > > No source code is available for type javax.xml.namespace.QName
> > >  No source code is available for type javax.xml.bind.JAXBElement
>
> > > etc...
>
> > > someone can help me
>
> > > Thank you very much in advanced
>
>

-- 
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-tool...@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: Difference between port and codeServerPort

2010-07-13 Thread Chris Conroy
On Tue, Jul 13, 2010 at 5:43 AM, lam  wrote:

> Hi,
> Can someone please explain what the difference is between the port and
> codeServerPort is in DevMode. I cannot find any clear documentation.
> What is a code sever? How is it different from the embedded web
> server? Why do each of them need a specific TCP port?
> Thank you


The regular embedded web server in DevMode is Jetty, and it serves up your
resources (html, css, images, etc..) and handles servlet requests. The code
server is what the dev mode plugin talks to in order to run your GWT code in
the Java VM.

This diagram might help:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideDevMode


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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: Timeline for support of Firefox (Minefield) 4.0b2pre?

2010-07-07 Thread Chris Conroy
just 3 hours ago I answered the same question (and the answer was a redirect
to another thread)

see this thread for the answer:
https://groups.google.com/group/google-web-toolkit/browse_thread/thread/6cd0bfee74691aa3/05e091ae577948af

More generally, please run a search on your question before asking it. If
you have follow-up questions, please add them to the existing thread. It
doesn't do anyone much good to have 8 threads answering the same question
over and over.

On Wed, Jul 7, 2010 at 12:58 PM, e...@2010  wrote:

> Currently the GWT developer plugin only supports Firefox versions 3.0
> and 3.5. Do we know what the timeline is for supporting 4.0b2pre? I
> need to use version 4.0 for its support of WebGL.
>
> 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-tool...@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.
>
>


-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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-tool...@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 plugin for firefox 4 beta 1

2010-07-07 Thread Chris Conroy
https://groups.google.com/group/google-web-toolkit/browse_thread/thread/6cd0bfee74691aa3/05e091ae577948af

On Wed, Jul 7, 2010 at 1:20 AM, Vik  wrote:

> Hie
>
> I am unable to run gwt stuff on firefox 4 beta 1 due to missing google gwt
> plugin. How to get it?
>
> Thankx and Regards
>
> Vik
> Founder
> www.sakshum.com
> www.sakshum.blogspot.com
>
> --
> 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-tool...@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.
>



-- 
Chris Conroy
Software Engineer
Google, Atlanta

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



Celltable Footer

2010-07-04 Thread chris
Using the Celltable in the 2.1M release, what would be an approach to
creating a total/summary row.

The footer values can be set on column creation. I'm not sure what I
should do to reflect changes in the data payload.

-- 
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-tool...@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   10   >