Unable to compile code

2009-12-11 Thread Rick
Hi all

I have just shifted my application to GWT 2.0  from GWT 1.7 as
discussed in http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html.
But In new development mode window there is no option for compile/
browse to check my code in compile mode. Also I have applied a
Window.alert in onModuleLoad to check whether it is reflecting or not.
By clicking on 'Launch Default Browser' my application get run in
Mozilla but Window.alert is not coming. It is showing previous
compiled version(The version I compilled with GWT 1.7 jars)

Thanks and regards

Rick

--

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




Unable to compile code

2009-12-11 Thread Rick
Hi all

I have just shifted my application to GWT 2.0  from GWT 1.7 as
discussed in http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html.
But In new development mode window there is no option for compile/
browse to check my code in compile mode. Also I have applied a
Window.alert in onModuleLoad to check whether it is reflecting or not.
By clicking on 'Launch Default Browser' my application get run in
Mozilla but Window.alert is not coming. It is showing previous
compiled version(The version I compilled with GWT 1.7 jars)

Thanks and regards

Rick

--

You received 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: Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Geoffrey Wiseman
On Dec 11, 2:14 pm, Rajeev Dayal  wrote:
> We did not opt for this approach for simplicity's sake. Since we were
> planning on maintaining backwards compatibility with previous SDK versions,
> there was no good reason to provide older versions of the plugin for
> installation.

That makes sense for the plugin; could you not have the update site
list the current plugin and current-and-previous SDKs, allowing people
the option of installing GPE 1.2 with SDK 1.7.1 after a few checkbox
clicks?

  - Geoffrey

--

You received 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: unable to specify war directory when running web app

2009-12-11 Thread haole
Thanks, Miguel.

On Dec 11, 10:26 am, Miguel Méndez  wrote:
> Could you file a bug for this in the GWT public issue
> tracker?

Done.
http://code.google.com/p/google-web-toolkit/issues/detail?id=4340

>  In the meantime could you try adding  -war war/foo in the Web App Launch
> configuration's program args?

adding "-war war/foo" to the program args produces the following
exception when starting up the server:

[ERROR] Unable to start AppEngine server
com.google.apphosting.utils.config.AppEngineConfigException: Supplied
application has to contain WEB-INF directory.
at
com.google.appengine.tools.development.JettyContainerService.determineAppRoot
(JettyContainerService.java:322)
at
com.google.appengine.tools.development.JettyContainerService.initContext
(JettyContainerService.java:148)
at
com.google.appengine.tools.development.AbstractContainerService.startup
(AbstractContainerService.java:115)
at com.google.appengine.tools.development.DevAppServerImpl.start
(DevAppServerImpl.java:217)
at com.google.appengine.tools.development.gwt.AppEngineLauncher.start
(AppEngineLauncher.java:86)
at com.google.gwt.dev.HostedMode.doStartUpServer(HostedMode.java:365)
at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:589)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

--

You received 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 + Spring Security

2009-12-11 Thread jonathan.hollo...@gmail.com
Awesome, I'll take a look at it...

On Dec 11, 12:41 am, olivier nouguier 
wrote:
> Hi jonathan,
>  Are you using maven ?
>  If the answer is 
> yes:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> 
>
> On Thu, Dec 10, 2009 at 8:40 PM, jonathan.hollo...@gmail.com <
>
>
>
> jonathan.hollo...@gmail.com> wrote:
> > I'm having issues with the Spring Security and GWT.  Defining  the
> > following in my Spring config file:
>
> > http://www.springframework.org/schema/beans";
> >        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >    xmlns:security="http://www.springframework.org/schema/security";
> >        xsi:schemaLocation="http://www.springframework.org/schema/beans
> >http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> >                        http://www.springframework.org/schema/security
> >http://www.springframework.org/schema/security/spring-security-2.0.4.xsd";>
>
> > and referencing spring security elements as follows:
>
> > 
> >         > access="IS_AUTHENTICATED_FULLY"/>
> >        
> >        
> >        
> >    
>
> > results in:
>
> > org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> > Configuration problem: Unable to locate Spring NamespaceHandler for
> > XML schema namespace [http://www.springframework.org/schema/security]
> > Offending resource: class path resource [server-config.xml]
>
> >        at
> > org.springframework.beans.factory.parsing.FailFastProblemReporter.error
> > (FailFastProblemReporter.java:68)
> >        at org.springframework.beans.factory.parsing.ReaderContext.error
> > (ReaderContext.java:85)
> >        at org.springframework.beans.factory.parsing.ReaderContext.error
> > (ReaderContext.java:80)
> >        at
> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error
> > (BeanDefinitionParserDelegate.java:281)
> >        at
>
> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement
> > (BeanDefinitionParserDelegate.java:1294)
>
> > Has anybody come across/solved this issue at all?  It's definitely a
> > GWT issue as I'm able to load the config up normally in a standard
> > Java application.  Many 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.
>
> --
> A coward is incapable of exhibiting love; it is the prerogative of the
> brave.
> --
> Mohandas Gandhi

--

You received 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: TabLayoutPanel css

2009-12-11 Thread Benju
I had the exact same problem!

On Nov 25, 2:39 pm, "P.G.Taboada"  wrote:
> Hi,
>
> I am test drivingTabLayoutPanel, but I can't find any css in the
> themes delivered by gwt rc1 | rc2 for this component.
>
> Am I missing something?
>
> brgds
>
> Papick

--

You received 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.0 Using External Resources

2009-12-11 Thread fmk11
Thanks everybody, I got it.

If someone encounters the same issue, this is what I did:

1) I'm using @Source as Thomas suggested.

2) Your css file should be in the classpath (I was trying to reference
a css in my normal dir structure for that: /public/stylesheets, that
does not work).


On Dec 10, 2:00 pm, Thomas Broyer  wrote:
> On Dec 10, 3:48 am, fmk11  wrote:
>
> > Hi,
>
> > I'm following the new Dev Guide for UiBinder, but I'm encountering a
> > problem with the @Resource annotation. Specifically, I'm getting
> > compile errors on "@Resource" .. anyone knows what needs to be
> > imported? It does not seems to be defined in ClientBundle.
>
> The UiBinder wiki page seems outdated, the annotation to use with
> ClientBundle is @Source
> Seehttp://code.google.com/p/google-web-toolkit/wiki/ClientBundle#Examples

--

You received 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.0 + apache + rpc pls help

2009-12-11 Thread ben fenster
i am trying to run a project that include gwt as client side and rpc +
php as server side
the only webserver iknow capable of running all of those together is
apache but every time i try to call rpc i get an error of page not
found



DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

404 Not Found

Not Found
The requested URL /vzooo/ChatServerlet was not found on this
server.
Additionally, a 406 Not Acceptable
error was encountered while trying to use an ErrorDocument to handle
the request.

Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k
mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 Server at
localhost Port 80



pls  help someone

--

You received 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.0 - Eclipse - Need to Recompile after every change

2009-12-11 Thread ziggystardust
Nice suggestion. Thanks.

On Dec 11, 3:58 pm, Chris Ramsdale  wrote:
> We'll definitely update the sample project and doc, thanks for the good
> find.
>
> The workaround will in fact work, but I might add a check for the existence
> of the gwt.codesvr query param and, if present, add it's value to the
> redirect URL.
>
> For example:
>
>         String gwtCodeSvrParam = Location.getParameter("gwt.codesvr");
>
>         if (!"".equals(gwtCodeSvrParam)) {
>           signInLink.setHref(loginInfo.getLoginUrl() + "?gwt.codesvr=" +
> gwtCdeSvrParam);
>         }
>
>
>
> On Fri, Dec 11, 2009 at 1:50 PM, ziggystardust  wrote:
> > Luis' suggestion offered a clue to what is going on here and I have
> > managed to figure out what the problem is. The StockWatcher
> > application is expanded in the example to include a Google Accounts
> > login (i.e. LoginService). What this does is that when the module is
> > loaded it checks to see if the users has already logged in. If not it
> > refers them to the Google Accounts login and in development mode this
> > is simulated. When you pass the page for the URL which the accounts
> > login page should return to and it doesn't include the gwt_codesvr=...
> > reference you loose the ability to debug the application and make
> > changes on the fly after login. This is why I would have to constantly
> > recompile the app. When it returned from the login page without the
> > gwt_codesvr reference it was picking up the app form the war directory
> > which would have been stale.
>
> > I suspect Google needs to update the documentation for the
> > StockWatcher example. What I had to do is append
> > "gwt.codesvr=localhost:9997" to the login and logout URLs. See below
>
> >        private void loadLogin() {
> >                // Assemble login panel.
> >                signInLink.setHref(loginInfo.getLoginUrl() +
> > "?gwt.codesvr=localhost:
> > 9997");
> >                loginPanel.add(loginLabel);
> >                loginPanel.add(signInLink);
> >                RootPanel.get().add(loginPanel);
> >        }
>
> > and
>
> >        signOutLink.setHref(loginInfo.getLogoutUrl()  + "?
> > gwt.codesvr=localhost:9997");
>
> > One needs to be careful hard coding these values though as they may
> > change if the browser is running on a machine tht is different than
> > where the development server is running or if using a different port
> > number.
>
> > Not sure if this is the best way to address this and if others have a
> > better suggestion I would appreciate it. I would consider this a
> > workaround at this point. Thanks Luis.
>
> > On Dec 11, 9:19 am, Luis Fernando Planella Gonzalez
> >  wrote:
> > > Make sure you have ?gwt.codesvr=127.0.1.1:9997 at the end of the URL
> > > in the browser.
> > > That's what makes it use development mode.
> > > Otherwise, it will just be the plain old web mode (now called
> > > production mode).
>
> > > On 11 dez, 10:46, ziggystardust  wrote:
>
> > > > Been using GWT / App Engine and the Eclipse plugin for some time now
> > > > and just recently upgraded to 2.0. I reinstalled Eclipse (3.5),
> > > > installed the plugin and the sdks. Setup the example StockWatcher app
> > > > and everything runs fine. In dev mode however I have torecompile
> > > > whenever i make a change in order for it to be effective. Tried reload
> > > > and restarting the browser (IE and Chrome), tried restarting the
> > > > server but no joy. Any ideas appreciated. 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 > cr...@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: Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Javier
Rajeev, thanks for your reply.

> You can use the Google Plugin for Eclipse 1.2 with GWT 1.7 - they are
> compatible.

If this is the case, I don't care at all about which GPE version is
exposed via the update site, so long as it works with GWT 1.7.1.  So
GPE 1.2 will work for me.

> So, you can install the latest plugin from the update side BUT
> exclude the installation of the SDK.

This is my problem.  I want to be able to install the GWT 1.7.1 SDK
via the update site on a brand new Eclipse installation, which doesn't
have any GWT SDKs.  Currently there is no mechanism for selecting the
GWT SDK to be installed: the update site currently forces you to pick
GWT 2.0.0.

Downloading the whole GWT distro just to tell Eclipse to use that
particular SDK sounds pretty silly, specially when I was able to do it
seamlessly via the update site two months ago.

If I understand correctly, there is no real reason for disabling the
GWT 1.7.x SDK in the update site (as it could be used with the latest
GPE, so this combination wouldn't produce an invalid environment).
Could please confirm if this is correct?

Thanks again.

--

You received 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 isn't updating

2009-12-11 Thread Bonor
First I couldn't see the refresh and breakpoint changes either in the
browser. I also never got the Extension prompt either (like it says in
http://code.google.com/intl/nl/webtoolkit/usingeclipse.html).

Try recompiling the project with GWT recompile. Then refresh the
browser and the prompt for the extendion will show. From there on it's
happy hour!!!

Thank you google!

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-11 Thread Dop Sun
While I upgraded my project settings to 2.0 (via Google Eclipse
Plugin), and have a runtime error while running in development mode:

com.google.gwt.user.client.rpc.SerializationException: Type 'xxx' was
not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and
did not have a custom field serializer. For security purposes, this
type will not be deserialized.

I believe this is resolved while GWT since 1.5, but it comes back 2.0
again?

--

You received 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.0 Upgrade Problem

2009-12-11 Thread Chris
> What does the war dir structure look like under your project root?
> Does CA786633770B20A7881AAE6CBEB6.cache.html
> exist anywhere?

That file doesn't exist. The structure looks like the following:

/MyApp/war/MyApp
/MyApp/war/MyApp/gwt
/MyApp/war/MyApp/14A43CD7E24B0A0136C2B8B20D6DF3C0.cache.png
/MyApp/war/MyApp/548CDF11D6FE9011F3447CA200D7FB7F.cache.png
/MyApp/war/MyApp/6F02E4D1CC4E715CEC0109830ED7B11F.cache.html
/MyApp/war/MyApp/9A5835AB2A7C1435D8A10A61458849CC.cache.html
/MyApp/war/MyApp/9DA92932034707C17CFF15F95086D53F.cache.png
/MyApp/war/MyApp/A7CD51F9E5A7DED5F85AD1D82BA67A8A.cache.png
/MyApp/war/MyApp/B388430974F442BEFB0B1FA19B496931.cache.html
/MyApp/war/MyApp/B8517E9C2E38AA39AB7C0051564224D3.cache.png
/MyApp/war/MyApp/clear.cache.gif
/MyApp/war/MyApp/EA60B1BB1D14E9E4AB586FF01FF63FE5.cache.html
/MyApp/war/MyApp/EE757F57A252492548FF9A859F768C5B.cache.html
/MyApp/war/MyApp/hosted.html
/MyApp/war/MyApp/MyApp.nocache.js

--

You received 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 isn't updating

2009-12-11 Thread Łukasz Bachman
Check out a basic project created by webAppCreator, launch it and look
for parameter "gwt.codesvr" in the URL. If Your app doesn't provide
this URL (for instance - it was lost during redirect) the development
mode will not work properly.

Cheers.

2009/12/10 Rajeev Dayal :
> To be clear, when you make a change to your JSP, you end up seeing the
> difference, but when you make a change to your GWT code, you don't see those
> changes?
> When you hit "save" in your IDE, nothing special (from GWT's point of view)
> happens. The magic happens when you refresh your browser. That causes GWT's
> development mode to re-process your GWT source.
> What happens if you leave your JSP alone, and just change your GWT source,
> and refresh the browser?
> On Wed, Dec 9, 2009 at 5:35 PM, mcrady  wrote:
>>
>> My development mode is working but changes I make aren't being
>> reflected to my gwt client app.
>>
>> I can see changes to JSPs reflected in the browser so I must be
>> hitting the right server.  It appears as if the js isn't being
>> recompiled.  It's supposed to magically happen when I hit save?  No
>> more manual compiles?  I see a datanucleus process run when I save but
>> that's for jdo, not for gwt, right?
>>
>> I thought maybe the browser was caching the old js but forcing a
>> refresh doesn't seem to do it.
>>
>> Any thoughts?
>>
>> --
>>
>> You received 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: gwt 2.0 pls help

2009-12-11 Thread ben fenster
i figured it out thanks alot :)

On 11 דצמבר, 23:36, ben fenster  wrote:
> the name is  modulen ame + .html
>
> On 11 דצמבר, 21:15, Rajeev Dayal  wrote:
>
> > What is the name of your host HTML page (which loads up the GWT Module)?
> > Where is it located?
>
> > On Fri, Dec 11, 2009 at 2:13 PM, ben fenster  wrote:
> > > no each one in a diffrent folder inside the war  the forlder is names
> > > acording to the full package name of its module for instance module x
> > > sits in war/bcom.bla.x
>
> > > On 11 דצמבר, 18:50, Rajeev Dayal  wrote:
> > > > What files do you have in your war directory?
> > > > Are both modules listed as startup modules under Project Properties ->
> > > > Google -> Web Toolkit?
>
> > > > On Fri, Dec 11, 2009 at 6:49 AM, ben fenster 
> > > wrote:
> > > > > m sorry 2 modules :)
>
> > > > > On 11 דצמבר, 13:14, ben fenster  wrote:
> > > > > > i have a project with to modules it compiles with no errors
> > > > > > when i try to run it after setting the module to run in run
> > > > > > configuration the development shows everything is ok but dont give 
> > > > > > me
> > > > > > any link that i can use for the browser
>
> > > > > --
>
> > > > > You received 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: gwt 2.0 pls help

2009-12-11 Thread ben fenster
i figured it out thanks alot :)

On 11 דצמבר, 21:15, Rajeev Dayal  wrote:
> What is the name of your host HTML page (which loads up the GWT Module)?
> Where is it located?
>
> On Fri, Dec 11, 2009 at 2:13 PM, ben fenster  wrote:
> > no each one in a diffrent folder inside the war  the forlder is names
> > acording to the full package name of its module for instance module x
> > sits in war/bcom.bla.x
>
> > On 11 דצמבר, 18:50, Rajeev Dayal  wrote:
> > > What files do you have in your war directory?
> > > Are both modules listed as startup modules under Project Properties ->
> > > Google -> Web Toolkit?
>
> > > On Fri, Dec 11, 2009 at 6:49 AM, ben fenster 
> > wrote:
> > > > m sorry 2 modules :)
>
> > > > On 11 דצמבר, 13:14, ben fenster  wrote:
> > > > > i have a project with to modules it compiles with no errors
> > > > > when i try to run it after setting the module to run in run
> > > > > configuration the development shows everything is ok but dont give me
> > > > > any link that i can use for the browser
>
> > > > --
>
> > > > You received 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: StackLayoutPanel stacks not opening on click

2009-12-11 Thread Andrew Winter
FYI. This was only a problem for me with RC2. The problem's gone away
with the final 2.0 release.

On Dec 10, 10:22 am, Andrew Winter  wrote:
> Hi all,
>
> I have a StackLayoutPanel inside a DockLayoutPanel (much like the Mail
> sample). For some reason, stacks only open in response to a click
> followed by a mouse move. Not just a click, as they should. Has anyone
> else experienced this?
>
> I'm using UIBinder and don't have "ui:field=" for the StackLayoutPanel
> so I'm not setting any properties or event handlers outside of
> the .xml. The CSS for the stack header is also really simple.
>
> I see the problem in Development Mode (is that what it's called now?)
> in Firefox on a Mac. The Showcase and Mail samples work fine.
>
> I'm stumped! Any ideas?
>
> 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.




Re: gwt 2.0 pls help

2009-12-11 Thread ben fenster
the name is  modulen ame + .html

On 11 דצמבר, 21:15, Rajeev Dayal  wrote:
> What is the name of your host HTML page (which loads up the GWT Module)?
> Where is it located?
>
> On Fri, Dec 11, 2009 at 2:13 PM, ben fenster  wrote:
> > no each one in a diffrent folder inside the war  the forlder is names
> > acording to the full package name of its module for instance module x
> > sits in war/bcom.bla.x
>
> > On 11 דצמבר, 18:50, Rajeev Dayal  wrote:
> > > What files do you have in your war directory?
> > > Are both modules listed as startup modules under Project Properties ->
> > > Google -> Web Toolkit?
>
> > > On Fri, Dec 11, 2009 at 6:49 AM, ben fenster 
> > wrote:
> > > > m sorry 2 modules :)
>
> > > > On 11 דצמבר, 13:14, ben fenster  wrote:
> > > > > i have a project with to modules it compiles with no errors
> > > > > when i try to run it after setting the module to run in run
> > > > > configuration the development shows everything is ok but dont give me
> > > > > any link that i can use for the browser
>
> > > > --
>
> > > > You received 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: Download GWT Development Mode plugin for Firefox

2009-12-11 Thread Rajeev Dayal
Here are the URLs for the plugins:

IE
http://dl.google.com/dl/gwt/plugins/ie/1.0.7263.2009120800/gwt-dev-plugin.msi

Firefox
https://dl.google.com/dl/gwt/plugins/firefox/gwt-dev-plugin.xpi

Safari
https://dl.google.com/dl/gwt/plugins/safari/gwt-dev-plugin.dmg

Chrome
https://dl.google.com/dl/gwt/plugins/chrome/gwt-dev-plugin.crx


(thanks to cramsdale)

On Fri, Dec 11, 2009 at 1:12 PM, Eric  wrote:

>
>
> On Dec 11, 11:43 am, Rajeev Dayal  wrote:
> > I'd recommend that you initially have your system connected to the
> Internet,
> > and when you first access your GWT Application in development mode via
> the
> > browser, you'll be prompted to install the GWT Development Mode plugin.
> > After that point, you can debug your GWT Apps without having to be
> connected
> > to the Internet (for that browser).
> >
>
> What if your network can never be connected to the Internet?  Is there
> anything I could download and burn onto a CD for transfer?
>
> Respectfully,
> Eric Jablow
>
> --
>
> You received 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.0 unittest problem

2009-12-11 Thread Tóth Imre
I have few unittests, and some tests would not run, the message is the
following.

Remote test failed at 127.0.1.1 / Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

java.lang.RuntimeException: Remote test failed at 127.0.1.1 / Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208
Firefox/3.0.1
at com.google.gwt.junit.JUnitShell.processTestResult(JUnitShell.java:1083)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1203)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1104)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:523)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:406)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282)
at com.google.gwt.user.client.ui.UIObject.setHeight(UIObject.java:607)
at com.google.gwt.user.client.ui.UIObject.setSize(UIObject.java:636)
at
com.formallin.components.easyform.input.panel.rte.PanelInputRichText.rte(PanelInputRichText.java:43)
at
com.formallin.components.easyform.input.panel.rte.PanelInputRichText.(PanelInputRichText.java:24)
at
com.formallin.components.easyform.input.InputFactory.getInput(InputFactory.java:64)
at
com.formallin.components.easyform.wrapper.FormWrapper.loadLimForm(FormWrapper.java:49)
at
com.formallin.components.easyform.wrapper.panel.FormWrapperPanel.loadLimForm(FormWrapperPanel.java:292)
at
com.formallin.components.easyform.wrapper.panel.FormWrapperPanelMap.loadLimForm(FormWrapperPanelMap.java:35)
at
com.formallin.components.easyform.wrapper.table.FormWrapperTablePanel.loadLimForm(FormWrapperTablePanel.java:48)
at
com.formallin.components.easyform.wrapper.table.FormWrapperTable.prepareForm(FormWrapperTable.java:181)
at
com.formallin.components.easyform.wrapper.table.FormWrapperTable.addForm(FormWrapperTable.java:58)
at
com.formallin.components.easyform.wrapper.table.FormWrapperTable.show(FormWrapperTable.java:328)
at
com.formallin.components.easyform.wrapper.table.FormWrapperTableTest.testInsertForm(FormWrapperTableTest.java:221)
at
com.formallin.components.easyform.wrapper.table.__FormWrapperTableTest_unitTestImpl.doRunTest(__FormWrapperTableTest_unitTestImpl.java:13)
at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:206)
at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:137)
at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:366)
at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:295)
at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:289)
at
com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:105)
at
com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:1)
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:216)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:393)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:195)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)
*
*
It was perfect with the 1.7.1
Any ideas?


Best Regards
Tóth Imre

Save a tree...Think before you print


Sent from Debrecen, HB, Hungary

--

You received 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.0 Upgrade Problem

2009-12-11 Thread Chris Ramsdale
What does the war dir structure look like under your project root?
Does CA786633770B20A7881AAE6CBEB6.cache.html
exist anywhere?

On Fri, Dec 11, 2009 at 3:58 PM, Chris wrote:

> Hi
>
> > Are you using the Google Plugin for Eclipse? If you are, then it's not
> > necessary to make any changes to the main class - this is done for you
> > automatically by the plugin.
>
> Yes, I am. OK, that clears up some of the confusion.
>
> > What is the URL that you're hitting your application with when you're
> trying
> > to debug it? It almost sounds like you're running in Web Mode instead of
> > Development Mode.
>
> I'm not totally sure what you're asking. The URL that I'm given in
> Eclipse's Development Mode pane looks like (http://localhost:/
> MyApp.html?gwt.codesvr=10.0.1.8:9997); I've included at the end of
> this email the console warnings (which include the names of the files
> that the browser is requesting and being returned a 404 for).
>
> > Do you know if your browser has the GWT Developer Plugin installed?
>
> Yes, I installed that.
>
> Your help is much appreciated.
>
> —Chris
>
> 2009-12-11 20:51:51.355 java[6836:a07] [Java CocoaComponent
> compatibility mode]: Enabled
> 2009-12-11 20:51:51.357 java[6836:a07] [Java CocoaComponent
> compatibility mode]: Setting timeout for SWT to 0.10
> [WARN] 404 - GET /MyApp/CA786633770B20A7881AAE6CBEB6.cache.html
> (0:0:0:0:0:0:0:1%0) 1438 bytes
>   Request headers
>  Host: localhost:
>  Accept: application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>  User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-
> us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/
> 531.21.10
>  Referer: http://localhost:/MyApp.html?gwt.codesvr=10.0.1.8:9997
>  Accept-Language: en-us
>  Accept-Encoding: gzip, deflate
>  Connection: keep-alive
>   Response headers
>  Content-Type: text/html; charset=iso-8859-1
>  Content-Length: 1438
> [WARN] 404 - GET /MyApp/CA786633770B20A7881AAE6CBEB6.cache.html
> (0:0:0:0:0:0:0:1%0) 1438 bytes
>   Request headers
>  Host: localhost:
>  User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-
> us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/
> 531.21.10
>  Accept: application/xml,application/xhtml+xml,text/
> html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>  Accept-Language: en-us
>  Accept-Encoding: gzip, deflate
>  Connection: keep-alive
>  Referer: http://localhost:/MyApp.html?gwt.codesvr=10.0.1.8:9997
>   Response headers
>  Content-Type: text/html; charset=iso-8859-1
>  Content-Length: 1438
>
> --
>
> You received 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: Download GWT Development Mode plugin for Firefox

2009-12-11 Thread webMustard
I used firebug on firefox to find where it was trying to download
from. Here is the link:
http://gwt.google.com/missing-plugin/MissingPlugin.html

I using a browser that is not the one that you will be using the
plugin for, as it might automatically install it.

On Dec 11, 10:12 am, Eric  wrote:
> On Dec 11, 11:43 am, Rajeev Dayal  wrote:
>
> > I'd recommend that you initially have your system connected to the Internet,
> > and when you first access yourGWTApplication indevelopmentmodevia the
> > browser, you'll be prompted to install theGWTDevelopmentModeplugin.
> > After that point, you can debug yourGWTApps without having to be connected
> > to the Internet (for that browser).
>
> What if your network can never be connected to the Internet?  Is there
> anything I coulddownloadand burn onto a CD for transfer?
>
> Respectfully,
> Eric Jablow

--

You received 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.0 Upgrade Problem

2009-12-11 Thread Chris
Hi

> Are you using the Google Plugin for Eclipse? If you are, then it's not
> necessary to make any changes to the main class - this is done for you
> automatically by the plugin.

Yes, I am. OK, that clears up some of the confusion.

> What is the URL that you're hitting your application with when you're trying
> to debug it? It almost sounds like you're running in Web Mode instead of
> Development Mode.

I'm not totally sure what you're asking. The URL that I'm given in
Eclipse's Development Mode pane looks like (http://localhost:/
MyApp.html?gwt.codesvr=10.0.1.8:9997); I've included at the end of
this email the console warnings (which include the names of the files
that the browser is requesting and being returned a 404 for).

> Do you know if your browser has the GWT Developer Plugin installed?

Yes, I installed that.

Your help is much appreciated.

—Chris

2009-12-11 20:51:51.355 java[6836:a07] [Java CocoaComponent
compatibility mode]: Enabled
2009-12-11 20:51:51.357 java[6836:a07] [Java CocoaComponent
compatibility mode]: Setting timeout for SWT to 0.10
[WARN] 404 - GET /MyApp/CA786633770B20A7881AAE6CBEB6.cache.html
(0:0:0:0:0:0:0:1%0) 1438 bytes
   Request headers
  Host: localhost:
  Accept: application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-
us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/
531.21.10
  Referer: http://localhost:/MyApp.html?gwt.codesvr=10.0.1.8:9997
  Accept-Language: en-us
  Accept-Encoding: gzip, deflate
  Connection: keep-alive
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1438
[WARN] 404 - GET /MyApp/CA786633770B20A7881AAE6CBEB6.cache.html
(0:0:0:0:0:0:0:1%0) 1438 bytes
   Request headers
  Host: localhost:
  User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-
us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/
531.21.10
  Accept: application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  Accept-Language: en-us
  Accept-Encoding: gzip, deflate
  Connection: keep-alive
  Referer: http://localhost:/MyApp.html?gwt.codesvr=10.0.1.8:9997
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1438

--

You received 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: WebWorkers in GWT

2009-12-11 Thread Brendan Kenny
though it's somewhat barebones, I've been playing around with the
Worker implementation released with the speed tracer code:

http://code.google.com/p/speedtracer/source/browse/trunk/src/client/ui/src/com/google/gwt/webworker/



On Dec 10, 7:07 pm, Kango_V  wrote:
> Does anyone know when GWT will be able to generate code that leverages
> Js WebWorkers.
> For example we could have an Interface and an anonymous inner class
> based on it that would be run in a web worker.
>
> This would speed up GWT drastically.

--

You received 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 module 'XYZ' may need to be (re)compiled

2009-12-11 Thread Chris Ramsdale
I would definitely suggest deleting your war dir, doing "clean" on all
components, build, and then try deploying again.

On Fri, Dec 11, 2009 at 12:55 PM, graffle...@gmail.com  wrote:

> I have upgraded to GWT 2.0 - all works fine in DevMode
>
> When I build a .war file and deploy it to my tomcat6 server, the
> browser displays an alert "GWT module 'XYZ' may need to be (re)
> compiled" when I bang the url.
>
> Is it possible that one of my sub-modules needs to be recompiled under
> V2.0?  I'm using GXT and Gilead (aka hibernate4gwt).
>
> Many thanks on any input.
>
>  - 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: Inconsistency (or a bug?) in application creation for GWT 2.0

2009-12-11 Thread Chris Ramsdale
In regards to the different artifacts that are produced by the webAppCreator
utility and the Eclipse plugin; at its core the webAppCreator simply creates
a skeleton web app that is not tied to a particular IDE. We do offer build
targets that will allow you to more easily import your project into Eclipse
(ant eclipse.generate), but even then we generate the associated .project
file in such a way as to let the developer choose how he/she wants to launch
the app (Java launch config vs. Web App launch config).

On the flip side, when you create a project with the Eclipse plugin, we *are
* able to make a few assumptions as to which IDE and launch config you would
prefer based on the environment from which you created the project.

- Chris

On Fri, Dec 11, 2009 at 2:41 PM, jbdhl  wrote:

> Thanks. I guess the answers to c) and d) are
>
>  c) by making the project use "Google Web Toolkit" as explained
> above.
>
>  d) I guess I don't: If I make one initial compile using ant, the
> jar's will already be placed in WEB-INF/lib and a conventional GWT-
> button-compile will (probably) suffice.
>
> I still don't understand the inconsistency of the generated contents
> by the two methods described in question a).
>
> --
>
> You received 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: What is "main class"?

2009-12-11 Thread Jaroslav Záruba
great :)
thank you!

On Dec 11, 8:06 pm, Rajeev Dayal  wrote:
> It applies only when developing without the Google Plugin for Eclipse.
>
> 2009/12/11 Jaroslav Záruba 
>
> > I apologize if I confused you, I'm only reading through the GWT 2.0
> > stuff. I haven't faced this error myself as I'm yet to upgrade to 2.0.
> > (I have two days to a minor deadline, so I don't want to mess with my
> > dev.env.)
> > My understanding is that setting the main class is fundamental part of
> > the upgrade process, but I can't find it anywhere.
> > Or does it apply only when compiling without the Eclipse plug-in?
>
> > On Dec 11, 6:30 pm, Rajeev Dayal  wrote:
> > > That is definitely odd - the correct entry point should be selected for
> > you
> > > automatically. Do you mind posting the contents of your .project and your
> > > .classpath files?
>
> > > 2009/12/11 Jaroslav Záruba 
>
> >http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading
> > > > --
> > > > After upgrading to the GWT 2.0 jars, you will see the following
> > > > message when running development mode using HostedMode:
>
> > > >    [WARN] The class com.google.gwt.dev.HostedMode is deprecated and
> > > > will be removed --
> > > >    use com.google.gwt.dev.DevMode instead.
>
> > > > In order to eliminate this warning, change your main class from
> > > > com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
> > > > --
>
> > > > This is the first time I hear/read about that class. (I can't find
> > > > anything like "main class" anywhere in the Eclipse or project
> > > > settings.)
> > > > Is it something that is available for change only after upgrading to
> > > > GWT 2.0?
>
> > > > --
>
> > > > You received 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: Properties Support for Configuration Data in GWT 1.7

2009-12-11 Thread keyboard_samurai
No i do not want it on server side ... Have certain values which would
be used in client side. Need it configurable and also its same across
different locales. Any thoughts on this ?



On Dec 11, 7:17 pm, philippe  wrote:
> If it doesn't draw user text on screen, if it's just to configured
> your server you can use ResourceBundle in server side.
>
> On 11 déc, 13:58, keyboard_samurai  wrote:
>
>
>
> > Hi,
>
> > I need to maintain some configurable data (in properties) and lookup
> > for it in the code. I do understand GWT has support for constants and
> > messages (i18n).  I would not like to get this information like
> > constant or message as these are kept specific to locale and the
> > configuration data which i intend to keep is the same across different
> > locales.
>
> > Is there any other way i can handle this ? I am fine the approach
> > depends on static binding approach as well.
>
> > Thanks in advance!!

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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.0 - Eclipse - Need to Recompile after every change

2009-12-11 Thread Chris Ramsdale
We'll definitely update the sample project and doc, thanks for the good
find.

The workaround will in fact work, but I might add a check for the existence
of the gwt.codesvr query param and, if present, add it's value to the
redirect URL.

For example:

String gwtCodeSvrParam = Location.getParameter("gwt.codesvr");

if (!"".equals(gwtCodeSvrParam)) {
  signInLink.setHref(loginInfo.getLoginUrl() + "?gwt.codesvr=" +
gwtCdeSvrParam);
}



On Fri, Dec 11, 2009 at 1:50 PM, ziggystardust  wrote:

> Luis' suggestion offered a clue to what is going on here and I have
> managed to figure out what the problem is. The StockWatcher
> application is expanded in the example to include a Google Accounts
> login (i.e. LoginService). What this does is that when the module is
> loaded it checks to see if the users has already logged in. If not it
> refers them to the Google Accounts login and in development mode this
> is simulated. When you pass the page for the URL which the accounts
> login page should return to and it doesn't include the gwt_codesvr=...
> reference you loose the ability to debug the application and make
> changes on the fly after login. This is why I would have to constantly
> recompile the app. When it returned from the login page without the
> gwt_codesvr reference it was picking up the app form the war directory
> which would have been stale.
>
> I suspect Google needs to update the documentation for the
> StockWatcher example. What I had to do is append
> "gwt.codesvr=localhost:9997" to the login and logout URLs. See below
>
>private void loadLogin() {
>// Assemble login panel.
>signInLink.setHref(loginInfo.getLoginUrl() +
> "?gwt.codesvr=localhost:
> 9997");
>loginPanel.add(loginLabel);
>loginPanel.add(signInLink);
>RootPanel.get().add(loginPanel);
>}
>
>
> and
>
>
>signOutLink.setHref(loginInfo.getLogoutUrl()  + "?
> gwt.codesvr=localhost:9997");
>
> One needs to be careful hard coding these values though as they may
> change if the browser is running on a machine tht is different than
> where the development server is running or if using a different port
> number.
>
> Not sure if this is the best way to address this and if others have a
> better suggestion I would appreciate it. I would consider this a
> workaround at this point. Thanks Luis.
>
>
> On Dec 11, 9:19 am, Luis Fernando Planella Gonzalez
>  wrote:
> > Make sure you have ?gwt.codesvr=127.0.1.1:9997 at the end of the URL
> > in the browser.
> > That's what makes it use development mode.
> > Otherwise, it will just be the plain old web mode (now called
> > production mode).
> >
> > On 11 dez, 10:46, ziggystardust  wrote:
> >
> >
> >
> > > Been using GWT / App Engine and the Eclipse plugin for some time now
> > > and just recently upgraded to 2.0. I reinstalled Eclipse (3.5),
> > > installed the plugin and the sdks. Setup the example StockWatcher app
> > > and everything runs fine. In dev mode however I have torecompile
> > > whenever i make a change in order for it to be effective. Tried reload
> > > and restarting the browser (IE and Chrome), tried restarting the
> > > server but no joy. Any ideas appreciated. 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: Window on top

2009-12-11 Thread Mike
Thanks for your reply Jesper.

However, i'd like the *old* window to be raised when the content is
refreshed. Can that be done?

Bye, Mike

On Dec 11, 4:19 pm, Jesper  wrote:
> The "newWindow" parameter is that browser window identifier as seen
> from JavaScript.
>
> To get more browser windows, you have to change that token each time
> you call Window.open()
>
> Jesper
>
> On Dec 11, 3:36 pm, Mike  wrote:
>
> > Hi all,
>
> > My application frequently needs to open a new browser window to
> > display some information to the user that cannot be displayed within
> > the main application window.
>
> > The first time I open that window (using Window.open(newWindowURL,
> > "newWindow", ""); ) the new window is raised to top. However, on
> > subsequent openings, the contents of the new window is just replaced
> > (which is exactly what I want) without the new window being raised to
> > top. How can I get the window raised in such cases?
>
> > Thanks, Mike

--

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




Where to put server-configuration property files?

2009-12-11 Thread jbdhl
I have a bunch of settings that are installation specific (e.g.
database connection properties) that I store in a property file. But
where should I put a file like this? I would like it to stay unchanged
between two deployments, so I guess the file should not be part of the
war-file (because it's installation specific and should somehow just
be considered as a static ). The war-file should, at most, contain
some kind of template for the property file. But if it's not part of
the war dir, how do I then refer to it? I need to know where to find
it.
So in general: Where do you put installation specific server-side
config files (property files)?

--

You received 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: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2009-12-11 Thread Luis Fernando Planella Gonzalez
In fact, there is a very easy way to reproduce it:
Just create a RPC method which returns List>. You'll see
references for those deprecated collections.

On 11 dez, 17:39, Luis Fernando Planella Gonzalez 
wrote:
> Just found the answer, and luckily in my case it was simple to
> solve
> I have a subtype of List called PageImpl, which had another
> List containing the page items, plus the total count.
> Then (and I think is a problem in GWT compiler), the compiler resolves
> FocusListenerCollection, which extends ArrayList to be
> a subclass of List.
> As a result, ALL occurrences of Collection of anything in any RPC
> method, by having PageImpl as a subclass of collection, had added
> those ListenerCollections as possible result types, generated code to
> handle them (50k in my case) and issued the warnings.
> The solution (in better words: hack) was to change PageImpl to not
> have a List of page items, but a LinkedList (it then converts the
> receiving list into a LinkedList, which is even a penalty in my case).
> As no ListenerCollection extends LinkedList, the problem is gone.
>
> Ah, I also had an RPC which result type was List>. The
> same problem. As it was just for testing, I changed it to List
> >.
>
> But I'd really want to hear from a GWT dev if this is not a bug in the
> compiler...
>
> On 11 dez, 13:04, Ashar Lohmar  wrote:
>
> > Hi I'm having the same kind of problem.
> > in my app i use some libraries/object written in Java 1.4 style
> > the objects implement Serializable but contain Lists or Maps which are
> > declare without parameters
> >  i mean List instead of List, as the Java 1.4 requires
> > and some RPC classes return this kind of objects but on Gwt-compiling
> > I endup with a lot of code referencing all kinds of Listeners and
> > stuffs that are unrelated to the RPC service.
>
> > Basically the messages appear because the Listeners are deprecated,but
> > what are they doing there in the first place ?
>
> > hope someone will clear this up
>
> > On Dec 8, 7:24 pm, Luis Fernando Planella Gonzalez
>
> >  wrote:
> > > Hi.
> > > We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
> > > evaluate GWT.runAsync().
>
> > > However, now as I compile the app, I get warning for deprecations in
> > > all RPC methods which return collections. I guess it's because the
> > > result is declared as java.util.Collection, and the deprecated
> > > com.google.gwt.user.client.ui.*ListenerCollection classes extends
> > > ArrayList, making even the alternative to change the result of RPC
> > > methods to ArrayList instead of Collection don't work.
>
> > > The log is something like this, multiple times:
> > >             [WARN] Warnings in 'generated://
> > > 8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
> > > images/UserImageRemoteService_TypeSerializer.java'
> > >                [WARN] Line 50: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.ChangeListenerCollection'
> > >                [WARN] Line 55: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.ClickListenerCollection'
> > >                [WARN] Line 60: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.FocusListenerCollection'
> > >                [WARN] Line 65: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.FormHandlerCollection'
> > >                [WARN] Line 70: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
> > >                [WARN] Line 75: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.LoadListenerCollection'
> > >                [WARN] Line 80: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.MouseListenerCollection'
> > >                [WARN] Line 85: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
> > >                [WARN] Line 90: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.PopupListenerCollection'
> > >                [WARN] Line 95: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.ScrollListenerCollection'
> > >                [WARN] Line 100: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.TabListenerCollection'
> > >                [WARN] Line 105: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.TableListenerCollection'
> > >                [WARN] Line 110: Referencing deprecated class
> > > 'com.google.gwt.user.client.ui.TreeListenerCollection'
> > >                See snapshot: /tmp/
> > > UserImageRemoteService_TypeSerializer2951604978153994580.java
>
> > > Is there a way to remove those classes from being handled in RPC?

--

You received 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

Re: Inconsistency (or a bug?) in application creation for GWT 2.0

2009-12-11 Thread jbdhl
Thanks. I guess the answers to c) and d) are

  c) by making the project use "Google Web Toolkit" as explained
above.

  d) I guess I don't: If I make one initial compile using ant, the
jar's will already be placed in WEB-INF/lib and a conventional GWT-
button-compile will (probably) suffice.

I still don't understand the inconsistency of the generated contents
by the two methods described in question a).

--

You received 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: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2009-12-11 Thread Luis Fernando Planella Gonzalez
Just found the answer, and luckily in my case it was simple to
solve
I have a subtype of List called PageImpl, which had another
List containing the page items, plus the total count.
Then (and I think is a problem in GWT compiler), the compiler resolves
FocusListenerCollection, which extends ArrayList to be
a subclass of List.
As a result, ALL occurrences of Collection of anything in any RPC
method, by having PageImpl as a subclass of collection, had added
those ListenerCollections as possible result types, generated code to
handle them (50k in my case) and issued the warnings.
The solution (in better words: hack) was to change PageImpl to not
have a List of page items, but a LinkedList (it then converts the
receiving list into a LinkedList, which is even a penalty in my case).
As no ListenerCollection extends LinkedList, the problem is gone.

Ah, I also had an RPC which result type was List>. The
same problem. As it was just for testing, I changed it to List.

But I'd really want to hear from a GWT dev if this is not a bug in the
compiler...

On 11 dez, 13:04, Ashar Lohmar  wrote:
> Hi I'm having the same kind of problem.
> in my app i use some libraries/object written in Java 1.4 style
> the objects implement Serializable but contain Lists or Maps which are
> declare without parameters
>  i mean List instead of List, as the Java 1.4 requires
> and some RPC classes return this kind of objects but on Gwt-compiling
> I endup with a lot of code referencing all kinds of Listeners and
> stuffs that are unrelated to the RPC service.
>
> Basically the messages appear because the Listeners are deprecated,but
> what are they doing there in the first place ?
>
> hope someone will clear this up
>
> On Dec 8, 7:24 pm, Luis Fernando Planella Gonzalez
>
>  wrote:
> > Hi.
> > We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
> > evaluate GWT.runAsync().
>
> > However, now as I compile the app, I get warning for deprecations in
> > all RPC methods which return collections. I guess it's because the
> > result is declared as java.util.Collection, and the deprecated
> > com.google.gwt.user.client.ui.*ListenerCollection classes extends
> > ArrayList, making even the alternative to change the result of RPC
> > methods to ArrayList instead of Collection don't work.
>
> > The log is something like this, multiple times:
> >             [WARN] Warnings in 'generated://
> > 8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
> > images/UserImageRemoteService_TypeSerializer.java'
> >                [WARN] Line 50: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.ChangeListenerCollection'
> >                [WARN] Line 55: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.ClickListenerCollection'
> >                [WARN] Line 60: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.FocusListenerCollection'
> >                [WARN] Line 65: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.FormHandlerCollection'
> >                [WARN] Line 70: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
> >                [WARN] Line 75: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.LoadListenerCollection'
> >                [WARN] Line 80: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.MouseListenerCollection'
> >                [WARN] Line 85: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
> >                [WARN] Line 90: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.PopupListenerCollection'
> >                [WARN] Line 95: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.ScrollListenerCollection'
> >                [WARN] Line 100: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.TabListenerCollection'
> >                [WARN] Line 105: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.TableListenerCollection'
> >                [WARN] Line 110: Referencing deprecated class
> > 'com.google.gwt.user.client.ui.TreeListenerCollection'
> >                See snapshot: /tmp/
> > UserImageRemoteService_TypeSerializer2951604978153994580.java
>
> > Is there a way to remove those classes from being handled in RPC?

--

You received 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 module 'XYZ' may need to be (re)compiled

2009-12-11 Thread graffle...@gmail.com
I have an additional "clue"

When I run in DevMode and I use the url:
   http://localhost:/XYZ.html
instead of:
   http://localhost:/XYZ.html?codesvr=127.0.1.1:9997

I get the exact same javascript alert:   GWT module 'XYZ' may need to
be (re) compiled"

...not sure what this means...but at least it rules out the webserver

  - Bob


On Dec 11, 12:55 pm, "graffle...@gmail.com" 
wrote:
> I have upgraded to GWT 2.0 - all works fine in DevMode
>
> When I build a .war file and deploy it to my tomcat6 server, the
> browser displays an alert "GWT module 'XYZ' may need to be (re)
> compiled" when I bang the url.
>
> Is it possible that one of my sub-modules needs to be recompiled under
> V2.0?  I'm using GXT and Gilead (aka hibernate4gwt).
>
> Many thanks on any input.
>
>   - 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.




Re: gwt 2.0 pls help

2009-12-11 Thread Rajeev Dayal
What is the name of your host HTML page (which loads up the GWT Module)?
Where is it located?

On Fri, Dec 11, 2009 at 2:13 PM, ben fenster  wrote:

> no each one in a diffrent folder inside the war  the forlder is names
> acording to the full package name of its module for instance module x
> sits in war/bcom.bla.x
>
> On 11 דצמבר, 18:50, Rajeev Dayal  wrote:
> > What files do you have in your war directory?
> > Are both modules listed as startup modules under Project Properties ->
> > Google -> Web Toolkit?
> >
> > On Fri, Dec 11, 2009 at 6:49 AM, ben fenster 
> wrote:
> > > m sorry 2 modules :)
> >
> > > On 11 דצמבר, 13:14, ben fenster  wrote:
> > > > i have a project with to modules it compiles with no errors
> > > > when i try to run it after setting the module to run in run
> > > > configuration the development shows everything is ok but dont give me
> > > > any link that i can use for the browser
> >
> > > --
> >
> > > You received 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: Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Rajeev Dayal
We did not opt for this approach for simplicity's sake. Since we were
planning on maintaining backwards compatibility with previous SDK versions,
there was no good reason to provide older versions of the plugin for
installation.

If it is ever the case that we release a version of the plugin that breaks
compatibility with an existing SDK, we'll probably make both versions
available for download. Up till now, we have not made such a change.

On Fri, Dec 11, 2009 at 2:05 PM, Geoffrey Wiseman <
geoffrey.wise...@gmail.com> wrote:

> On Dec 11, 1:24 pm, Javier  wrote:
> > Are previous versions of the GWT plugin being archived anywhere?
> >
> > Ideally I don't want to have to download a separate GWT bundle
> > distribution on the side and then have to tweak Eclipse to point to it
> > (given that I was able to seamlessly install it in the past via the
> > site update).
>
> I know the Eclipse update system is capable of holding past versions
> (and hiding them by default) although it doesn't seem like that's
> what's being done in this case.  There may be good reasons for that
> that i'm not aware of (e.g. the cross-compatibility of different
> versions of the GWT SDK and the Google Plugin that could make the user
> experience more painful if you chose to go that route), but ideally
> I'd like to be able to get the plugin (new or old) with at least the
> latest 1.X and 2.X SDKs for quite a while yet -- not everyone's going
> to want to upgrade right away.
>
> Is there something preventing this kind of approach?
>
>  - Geoffrey
>
> --
>
> You received 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: Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Rajeev Dayal
You can use the Google Plugin for Eclipse 1.2 with GWT 1.7 - they are
compatible. So, you can install the latest plugin from the update side BUT
exclude the installation of the SDK. Even if you did install the SDK, it
does not automatically change your project over to use the new one, so you
would not be in a "forced upgrade" situation anyway.

As an FYI, whenever we release a new version of the plugin, we maintain
backwards compatibility with previous versions of the GWT and App Engine
SDKs. So, GPE 1.2 works with App Engine 1.2.0 - 1.2.8 and GWT 1.4 - 2.0. If
we ever decide to drop support for a particular SDK, we'll clearly call that
out in the release notes.

On Fri, Dec 11, 2009 at 1:24 PM, Javier  wrote:

> Hello there:
>
> our current project uses GWT 1.7.1 and, for a variety of reasons, we
> don't want to upgrade to 2.0.0 yet.
>
> I'd like to setup our current development environment on a new
> machine; I'm at the point where I need to install the GWT eclipse
> plugin, but when I go to the update site (http://dl.google.com/eclipse/
> plugin/3.5) the GWT SDK has been magically upgraded from 1.7.1 to
> 2.0.0.
>
> How can I install the previous GWT plugin for Eclipse (I believe
> version 1.1.0) that uses the 1.7.1 GWT SDK?
>
> Are previous versions of the GWT plugin being archived anywhere?
>
> Ideally I don't want to have to download a separate GWT bundle
> distribution on the side and then have to tweak Eclipse to point to it
> (given that I was able to seamlessly install it in the past via the
> site update).
>
> If it's helpful in anyway, I'm using Galileo 3.5.1.
>
> Thanks in advanced 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 2.0 pls help

2009-12-11 Thread ben fenster
no each one in a diffrent folder inside the war  the forlder is names
acording to the full package name of its module for instance module x
sits in war/bcom.bla.x

On 11 דצמבר, 18:50, Rajeev Dayal  wrote:
> What files do you have in your war directory?
> Are both modules listed as startup modules under Project Properties ->
> Google -> Web Toolkit?
>
> On Fri, Dec 11, 2009 at 6:49 AM, ben fenster  wrote:
> > m sorry 2 modules :)
>
> > On 11 דצמבר, 13:14, ben fenster  wrote:
> > > i have a project with to modules it compiles with no errors
> > > when i try to run it after setting the module to run in run
> > > configuration the development shows everything is ok but dont give me
> > > any link that i can use for the browser
>
> > --
>
> > You received 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 and .Net

2009-12-11 Thread Adligo
Hi,

   I used .net with C# successfully for zoomshare.com's domain
wizard.   C# has a nice Json api that saves some time, but then you
need to write your own Json readers for the GWT client.  I used the
regular GWT Java compiler for the client code, as I would expect
porting the GWT compiler would take MUCH MORE than a person year.

Cheers,
Scott

On Dec 11, 9:34 am, Olivier Gérardin  wrote:
> Do you still have a reference to the posts that linked .Net with GWT?
> I have serious doubts that this was ever considered.
> Besides, if all you want to do is be able to code in C#, I think Java
> is close enough that it won't be a huge gap... In addition to porting
> the GWT compiler, fully supporting C# would mean porting some
> core .Net libraries so that they can translate to JavaScript (just
> like GWT's JRE emulation lib), rewriting widget libraries and all
> translatable GWT code, and also porting the development mode shell.
> Not likely.
>
> You can of course run GWT with a .Net backend, but you'll have to take
> care of serialization/deserialization, because only the native RPC
> mechanism does so transparently. You may use JSON or XML or any other
> format, but you'll have to do the parsing yourself (there might be
> tools around to make that easier ..)
>
> Olivier
>
> On Dec 11, 10:41 am, AndrewG  wrote:
>
> > I have used GWT quite successfully with a number of Java-based
> > projects now - and was now wonder whether it will be possible to use
> > it together with .Net.
>
> > A quick search found a few posts from 2007 claiming that Google had
> > announced that they would include C# in the languages supported by GWT
> > - but I havent found anything since. Was this wrong, did Google change
> > their mind, is it somewhere in the pipeline - or has it happened ?
>
> > My pref would be for full support for .Net/C# - but failing that, is
> > there an easy way to run gwt-generated web UIs with .Net back-end - ie
> > something that handles the serialization issues etc ?
>
> > Thx
>
> > 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.




Re: GWT 2.0 Upgrade Problem

2009-12-11 Thread Rajeev Dayal
Are you using the Google Plugin for Eclipse? If you are, then it's not
necessary to make any changes to the main class - this is done for you
automatically by the plugin.

What is the URL that you're hitting your application with when you're trying
to debug it? It almost sounds like you're running in Web Mode instead of
Development Mode.

Do you know if your browser has the GWT Developer Plugin installed?

On Fri, Dec 11, 2009 at 12:51 PM, Chris wrote:

> Hi
>
> I've set up a brand new Mac with GWT 2.0 running under Eclipse
> according to the instructions at (http://code.google.com/webtoolkit/
> usingeclipse.html), and the template app runs fine. However, when I
> checked my own GWT project that ran fine under GWT 1.7, and followed
> the steps in (http://code.google.com/webtoolkit/doc/latest/
> ReleaseNotes.html#Upgrading), the GWT portion of the app doesn't
> display at all (the static HTML is displayed, just not the GWT part).
> (Note: I have replaced the old style div-based method of including the
> GWT app with the new script-based method; neither works, though.)
>
> I'm noticing a couple of 404 warnings on the console (indicating that
> "/myprojname/CA786633770B20A7881AAE6CBEB6.cache.html", for
> example, can't be found—and indeed it doesn't exist). I guess this
> might have something to do with the problem, but I'm not sure what to
> do about it.
>
> (One part of the upgrade instructions (link above) that I didn't
> understand was about changing from com.google.gwt.dev.HostedMode to
> com.google.gwt.dev.DevMode. It's not clear where this should be done
> and I'm not seeing the warning about the former being deprecated,
> anyway.)
>
> Lastly, I'm using GWTCanvas (I'm using the 1.7 jar), if this makes any
> difference, although no part of my app gets displayed (except for the
> static HTML surrounding the app).
>
> I'd be really grateful if someone could suggest a way forward.
>
> Thanks in advance
>
> —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: Keyboard bindings

2009-12-11 Thread Thad
Wow.  Excellent site.  Thanks.

I need to do more to make my application amenable to assistive
technologies.  I'm reading up on ARIA (http://www.w3.org/WAI/intro/
aria.php), but there's gonna be a lot of work to keyboard enable
things.  This page looks like a good starting point.

Any thing else you can pass on would be most appreciated.

On Dec 10, 7:37 pm, Jim Douglas  wrote:
> Jeff,
>
> This sample shows the basic concept:
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
>
> It gets more complicated when you need to handle ctrl keys and special
> keys across multiple browsers and on multiple platforms (I'm in the
> middle of it right now, and I want to kill the Opera developer who
> decided to reverse the meanings of ctrlKey and metaKey on the Mac).
>
> This page is a major lifeline for me:
>
> http://unixpapa.com/js/testkey.html
>
> Load that page in every operating system / browser combination you
> have, press the keys you care about, note the set of information
> returned by the keydown and keypress events, then reconcile the
> information for all platform combinations.
>
> Here are some GWT methods that you might find helpful if you have to
> dig into the underlying native events:
>
>     protected native char getWhich(NativeEvent e)/*-{
>       return e.which;
>     }-*/;
>
>     protected native char getCharCode(NativeEvent e)/*-{
>       return e.charCode;
>     }-*/;
>
>     protected native char getKeyCode(NativeEvent e)/*-{
>       return e.keyCode;
>     }-*/;
>
> Those methods will make more sense as you play 
> withhttp://unixpapa.com/js/testkey.html
> and review the accompanying article onhttp://unixpapa.com/js/key.html.
>
> To use the methods, do something like this:
>
>     char which = getWhich(event.getNativeEvent());
>
> Jim.
>
> On Dec 10, 2:44 pm, Jeff Larsen  wrote:
>
> > Hi, I have a requirement to implement keyboard bindings like Ctrl+N,
> > F11 etc. I was wondering how I can go about grabbing these events
> > before the browser grabs them.

--

You received 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: What is "main class"?

2009-12-11 Thread Rajeev Dayal
It applies only when developing without the Google Plugin for Eclipse.

2009/12/11 Jaroslav Záruba 

> I apologize if I confused you, I'm only reading through the GWT 2.0
> stuff. I haven't faced this error myself as I'm yet to upgrade to 2.0.
> (I have two days to a minor deadline, so I don't want to mess with my
> dev.env.)
> My understanding is that setting the main class is fundamental part of
> the upgrade process, but I can't find it anywhere.
> Or does it apply only when compiling without the Eclipse plug-in?
>
> On Dec 11, 6:30 pm, Rajeev Dayal  wrote:
> > That is definitely odd - the correct entry point should be selected for
> you
> > automatically. Do you mind posting the contents of your .project and your
> > .classpath files?
> >
> > 2009/12/11 Jaroslav Záruba 
> >
> > >
> http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading
> > > --
> > > After upgrading to the GWT 2.0 jars, you will see the following
> > > message when running development mode using HostedMode:
> >
> > >[WARN] The class com.google.gwt.dev.HostedMode is deprecated and
> > > will be removed --
> > >use com.google.gwt.dev.DevMode instead.
> >
> > > In order to eliminate this warning, change your main class from
> > > com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
> > > --
> >
> > > This is the first time I hear/read about that class. (I can't find
> > > anything like "main class" anywhere in the Eclipse or project
> > > settings.)
> > > Is it something that is available for change only after upgrading to
> > > GWT 2.0?
> >
> > > --
> >
> > > You received 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: UI Binder, really a good approach?

2009-12-11 Thread David Durham
On Fri, Dec 11, 2009 at 6:23 AM, Stefan Bachert  wrote:
>
> The advantage of declarative programming could be reached in Java in a
> much better way.
> Look at the following code, it is pure Java and much more declarative
> then UiBinder.
> It has very less code and is in the end much more flexible since code
> could add any rule you like.
>
> new DialogCreator()
>        .add(localization.account(), account, 100, DialogCreator.lines
> (1)).newLine()
>        .add(localization.password(), password, 100, DialogCreator.lines
> (1)).newLine()
>        .add(localization.session(), session, 100, DialogCreator.lines
> (1)).newLine()
>        .button(ok)
>        .button(cancel)
>
> If you don't like parameters per position, ok, change it to:
>
> new DialogCreator()
>        .add(new DialogItem()
>                .label(localization.account())
>                .item(account)
>                .width(100)
>                .height(DialogCreator.lines(1))
>        )
> .newLine().
>
> What could be done in UiBuilder better/more readable than in java?
> What are your thoughts?
>
> Stefan Bachert
>
> PS: It is like Spring. IoC could be done in Java itself. Why to deal
> with this human unreadable XMLs?
>  a java compiler is much more flexible and exact as a validation of a
> xml (try the check a mispelling of an java class!)

Another approach is annotations.  You can see an approach like this in
my little forms project, http://gxtforms.appspot.com/,
http://gxtforms.googlecode.com/.  Be sure to check out the source tabs
at the bottom.   I could see something like:

@Style(width=100, height ...)
class MyDialog() {
}

or

class MyPanel() {

  @Style(width=100, height ...)
  Dialog myDialog = new Dialog()

Just kind of thinking out loud here.

-Dave

--

You received 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: Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Geoffrey Wiseman
On Dec 11, 1:24 pm, Javier  wrote:
> Are previous versions of the GWT plugin being archived anywhere?
>
> Ideally I don't want to have to download a separate GWT bundle
> distribution on the side and then have to tweak Eclipse to point to it
> (given that I was able to seamlessly install it in the past via the
> site update).

I know the Eclipse update system is capable of holding past versions
(and hiding them by default) although it doesn't seem like that's
what's being done in this case.  There may be good reasons for that
that i'm not aware of (e.g. the cross-compatibility of different
versions of the GWT SDK and the Google Plugin that could make the user
experience more painful if you chose to go that route), but ideally
I'd like to be able to get the plugin (new or old) with at least the
latest 1.X and 2.X SDKs for quite a while yet -- not everyone's going
to want to upgrade right away.

Is there something preventing this kind of approach?

  - Geoffrey

--

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




JavaScriptInjector like StyleInjector

2009-12-11 Thread Diego Lovison
GWT team have plans to developer a JavaScriptInjector like
StyleInjector?

--

You received 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.0 - Eclipse - Need to Recompile after every change

2009-12-11 Thread ziggystardust
Luis' suggestion offered a clue to what is going on here and I have
managed to figure out what the problem is. The StockWatcher
application is expanded in the example to include a Google Accounts
login (i.e. LoginService). What this does is that when the module is
loaded it checks to see if the users has already logged in. If not it
refers them to the Google Accounts login and in development mode this
is simulated. When you pass the page for the URL which the accounts
login page should return to and it doesn't include the gwt_codesvr=...
reference you loose the ability to debug the application and make
changes on the fly after login. This is why I would have to constantly
recompile the app. When it returned from the login page without the
gwt_codesvr reference it was picking up the app form the war directory
which would have been stale.

I suspect Google needs to update the documentation for the
StockWatcher example. What I had to do is append
"gwt.codesvr=localhost:9997" to the login and logout URLs. See below

private void loadLogin() {
// Assemble login panel.
signInLink.setHref(loginInfo.getLoginUrl() + 
"?gwt.codesvr=localhost:
9997");
loginPanel.add(loginLabel);
loginPanel.add(signInLink);
RootPanel.get().add(loginPanel);
}


and


signOutLink.setHref(loginInfo.getLogoutUrl()  + "?
gwt.codesvr=localhost:9997");

One needs to be careful hard coding these values though as they may
change if the browser is running on a machine tht is different than
where the development server is running or if using a different port
number.

Not sure if this is the best way to address this and if others have a
better suggestion I would appreciate it. I would consider this a
workaround at this point. Thanks Luis.


On Dec 11, 9:19 am, Luis Fernando Planella Gonzalez
 wrote:
> Make sure you have ?gwt.codesvr=127.0.1.1:9997 at the end of the URL
> in the browser.
> That's what makes it use development mode.
> Otherwise, it will just be the plain old web mode (now called
> production mode).
>
> On 11 dez, 10:46, ziggystardust  wrote:
>
>
>
> > Been using GWT / App Engine and the Eclipse plugin for some time now
> > and just recently upgraded to 2.0. I reinstalled Eclipse (3.5),
> > installed the plugin and the sdks. Setup the example StockWatcher app
> > and everything runs fine. In dev mode however I have torecompile
> > whenever i make a change in order for it to be effective. Tried reload
> > and restarting the browser (IE and Chrome), tried restarting the
> > server but no joy. Any ideas appreciated. 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.




Re: Row editor plugin usage in grid

2009-12-11 Thread nacho
You must call in the listener to rpc methods and in the server side
use hibernate

On Dec 11, 6:00 am, Ramesh  wrote:
> Hi ,
>
> I am using hibernate to connect to database. I want to use row editor
> to edit my grid records.
>
> How to add listeners for "Save " and " Cancel" buttons. Any idea

--

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




Installing GWT Eclipse plugin, version 1.1.0

2009-12-11 Thread Javier
Hello there:

our current project uses GWT 1.7.1 and, for a variety of reasons, we
don't want to upgrade to 2.0.0 yet.

I'd like to setup our current development environment on a new
machine; I'm at the point where I need to install the GWT eclipse
plugin, but when I go to the update site (http://dl.google.com/eclipse/
plugin/3.5) the GWT SDK has been magically upgraded from 1.7.1 to
2.0.0.

How can I install the previous GWT plugin for Eclipse (I believe
version 1.1.0) that uses the 1.7.1 GWT SDK?

Are previous versions of the GWT plugin being archived anywhere?

Ideally I don't want to have to download a separate GWT bundle
distribution on the side and then have to tweak Eclipse to point to it
(given that I was able to seamlessly install it in the past via the
site update).

If it's helpful in anyway, I'm using Galileo 3.5.1.

Thanks in advanced 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.




Re: HTTP request - Code "0" and status is "OK"

2009-12-11 Thread Ian Bambury
If you change the domain you are making the HTTP request to, from localhost
to mydomain.com, how is it the same domain?

Ian

http://examples.roughian.com


2009/12/11 jax 

> But I was accessing the files from the same domain.
>
>

--

You received 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: What is "main class"?

2009-12-11 Thread Jaroslav Záruba
I apologize if I confused you, I'm only reading through the GWT 2.0
stuff. I haven't faced this error myself as I'm yet to upgrade to 2.0.
(I have two days to a minor deadline, so I don't want to mess with my
dev.env.)
My understanding is that setting the main class is fundamental part of
the upgrade process, but I can't find it anywhere.
Or does it apply only when compiling without the Eclipse plug-in?

On Dec 11, 6:30 pm, Rajeev Dayal  wrote:
> That is definitely odd - the correct entry point should be selected for you
> automatically. Do you mind posting the contents of your .project and your
> .classpath files?
>
> 2009/12/11 Jaroslav Záruba 
>
> >http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading
> > --
> > After upgrading to the GWT 2.0 jars, you will see the following
> > message when running development mode using HostedMode:
>
> >    [WARN] The class com.google.gwt.dev.HostedMode is deprecated and
> > will be removed --
> >    use com.google.gwt.dev.DevMode instead.
>
> > In order to eliminate this warning, change your main class from
> > com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
> > --
>
> > This is the first time I hear/read about that class. (I can't find
> > anything like "main class" anywhere in the Eclipse or project
> > settings.)
> > Is it something that is available for change only after upgrading to
> > GWT 2.0?
>
> > --
>
> > You received 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: UI Binder, really a good approach?

2009-12-11 Thread Yozons Support on Gmail
A GUI builder would be a huge advance over UiBinder alone, by my vote!  But
then again, a GUI builder would be best if there were a big widget library
so there would be more to use and layout.

SmartGWT has some nice widgets, but their GUI builder doesn't do GWT, just
JS.

--

You received 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: Download GWT Development Mode plugin for Firefox

2009-12-11 Thread Eric


On Dec 11, 11:43 am, Rajeev Dayal  wrote:
> I'd recommend that you initially have your system connected to the Internet,
> and when you first access your GWT Application in development mode via the
> browser, you'll be prompted to install the GWT Development Mode plugin.
> After that point, you can debug your GWT Apps without having to be connected
> to the Internet (for that browser).
>

What if your network can never be connected to the Internet?  Is there
anything I could download and burn onto a CD for transfer?

Respectfully,
Eric Jablow

--

You received 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: HTTP request - Code "0" and status is "OK"

2009-12-11 Thread jax
But I was accessing the files from the same domain.


On Dec 11, 11:14 pm, Ian Bambury  wrote:
> I would imagine you are having a cross-domain problem.
>
> Ian
>
> http://examples.roughian.com
>
> 2009/12/11 jax 
>
> > After about 3 days of research and anguish I have finally solved this
> > problemkind of.
>
> > I originally had the GWT app in a sub-directory inside a Joomla!
> > install.  I had an idea to move it to another sub domain and it
> > worked.  I am still not sure why this worked except that maybe an
> > apache .htaccess file was interfering or something.
>
> > Does anyone know what might be the problem in the Joomla directory and
> > any sub-directories created?
>
> > --
>
> > You received 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 module 'XYZ' may need to be (re)compiled

2009-12-11 Thread graffle...@gmail.com
I have upgraded to GWT 2.0 - all works fine in DevMode

When I build a .war file and deploy it to my tomcat6 server, the
browser displays an alert "GWT module 'XYZ' may need to be (re)
compiled" when I bang the url.

Is it possible that one of my sub-modules needs to be recompiled under
V2.0?  I'm using GXT and Gilead (aka hibernate4gwt).

Many thanks on any input.

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




Re: UI Binder, really a good approach?

2009-12-11 Thread Jonas Huckestein
Its interesting that you mentioned how multiple "personalitites"
having to deal with css, html, java etc are harmful to the development
process. I think that while it does make sense to develop all program
logic in one language (particularly server and client code), neither
the GWT 1.7 style UI Java nor declarative java are really suited for
web development. In our team we have a designer who builds mockups in
Dreamweaver and to us it was a huge relief to finally be able to
simply copy and paste from his templates into our program. :D

And as has already been mentioned building an actual GUI editor on
UiBinder is not a huge problem (perhaps we can even integrate it in
Dreamweaver, dear Google?). It is much more dificult to do that on top
of declarative Java :)

Cheers, Jonas

On Dec 11, 1:23 pm, Stefan Bachert  wrote:
> Classical web development urges me to have a multiple personalities.
> That is an disease
> I have to deals with
> - HTML
> - CSS
> - JavaScript
> - Server-Side calls via AjAx
> - Server side implementation in Java or other language
> - and references from one to the other
>
> Thatfor GWT was good to reduce the number of languages.
> Everything is Java, CSS could be considered as a designer job making
> an other scheme.
> No application (=behaviour,functionality) developer should need to
> create a CSS
>
> Now UiBinder comes up with a further XML, and mixing up CSS, HTML and
> GWT code.
> Somehow I feel be back at the beginning of webdevelopment, and I feel
> ill ;-).
>
> The advantage of declarative programming could be reached in Java in a
> much better way.
> Look at the following code, it is pure Java and much more declarative
> then UiBinder.
> It has very less code and is in the end much more flexible since code
> could add any rule you like.
>
> new DialogCreator()
>         .add(localization.account(), account, 100, DialogCreator.lines
> (1)).newLine()
>         .add(localization.password(), password, 100, DialogCreator.lines
> (1)).newLine()
>         .add(localization.session(), session, 100, DialogCreator.lines
> (1)).newLine()
>         .button(ok)
>         .button(cancel)
>
> If you don't like parameters per position, ok, change it to:
>
> new DialogCreator()
>         .add(new DialogItem()
>                 .label(localization.account())
>                 .item(account)
>                 .width(100)
>                 .height(DialogCreator.lines(1))
>         )
> .newLine().
>
> What could be done in UiBuilder better/more readable than in java?
> What are your thoughts?
>
> Stefan Bachert
>
> PS: It is like Spring. IoC could be done in Java itself. Why to deal
> with this human unreadable XMLs?
>   a java compiler is much more flexible and exact as a validation of a
> xml (try the check a mispelling of an java class!)
>
> PS2: Just to avoid the impression I am just negative. GWT is a great
> thing, but surely improvable

--

You received 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.0 Upgrade Problem

2009-12-11 Thread Chris
Hi

I've set up a brand new Mac with GWT 2.0 running under Eclipse
according to the instructions at (http://code.google.com/webtoolkit/
usingeclipse.html), and the template app runs fine. However, when I
checked my own GWT project that ran fine under GWT 1.7, and followed
the steps in (http://code.google.com/webtoolkit/doc/latest/
ReleaseNotes.html#Upgrading), the GWT portion of the app doesn't
display at all (the static HTML is displayed, just not the GWT part).
(Note: I have replaced the old style div-based method of including the
GWT app with the new script-based method; neither works, though.)

I'm noticing a couple of 404 warnings on the console (indicating that
"/myprojname/CA786633770B20A7881AAE6CBEB6.cache.html", for
example, can't be found—and indeed it doesn't exist). I guess this
might have something to do with the problem, but I'm not sure what to
do about it.

(One part of the upgrade instructions (link above) that I didn't
understand was about changing from com.google.gwt.dev.HostedMode to
com.google.gwt.dev.DevMode. It's not clear where this should be done
and I'm not seeing the warning about the former being deprecated,
anyway.)

Lastly, I'm using GWTCanvas (I'm using the 1.7 jar), if this makes any
difference, although no part of my app gets displayed (except for the
static HTML surrounding the app).

I'd be really grateful if someone could suggest a way forward.

Thanks in advance

—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: Eclipse Plugin for GWT 2.0 release

2009-12-11 Thread Rajeev Dayal
Thanks for the feedback. Please feel free file any suggestions for
improvement in the issue
tracker -
we'd appreciate it!

2009/12/11 István Szoboszlai 

> Hello Rajeev,
>
> Actually I think it is good, but I liked it when it was a separate
> window. Of course you can drag the development mode tab to be a
> separate window.
>
> I liked the tabbing in the normal oophm window better, and there was a
> way to restart jetty (perhaps I just did not find it yet in Eclipse
> plugin.


As pointed out by Jonas, there is a way to restart the server from the
Development Mode View. When you mention that you prefer the tabbing, do you
mean the organization of the tabs? Or do you just prefer the navigation
style of using tabs as opposed to the breadcrumb layout? Keep in mind that
you can switch the layout of the Development Mode View by clicking on the
arrow in the upper-right hand corner of the view.




> I also liked, that the debug info and the http request log was in a
> separate window.
>

That is the case in the Development Mode View as well - the Server messages
are logged to stdout. However, we only log HTTP requests that result in an
error. If you want to see the HTTP log messages in the Development Mode
View, turn the log level up to TRACE in your launch configuration.

>
> Actually I really like gwt 2.0 and also the eclipse plugin rocks! The
> UiBinder support is awesome!
>

Glad to hear it.


>
> Best - István
>
> On Thu, Dec 10, 2009 at 5:43 PM, Rajeev Dayal  wrote:
> > If you want to use the Development Mode UI provided by GWT, define the
> > USE_REMOTE_UI environment variable for the launch configuration, and set
> its
> > value to false. You can do this via the Environment tab for the launch
> > configuration.
> > If you don't mind, can you tell us why you're not a fan of the
> Development
> > Mode View in Eclipse?
> > 2009/12/10 István Szoboszlai 
> >>
> >> Hello!
> >> I have tried the new GWT 2.0 release, and it looks very god!
> >> My only problem is with the eclipse plugin.
> >> Do you know how to debug the project using the normal devmode window
> >> instead of the "Development Mode" tab in eclipse? I don't really like
> the
> >> new tab:)
> >> Is there a command line argument to use the nomral devmode window?
> >> Any answer is really appreciated:)
> >> Thanks in advance
> >> - István Szoboszlai | inepex.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.
> >
> > --
> >
> > You received 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: Eclipse Plugin for GWT 2.0 release

2009-12-11 Thread Rajeev Dayal
Actually, there is no way to go back to the GWT 1.7-style Hosted Browser.
The workaround I gave disables the use of the Development View in Eclipse,
but it will still bring up GWT's own Development Mode UI, which requires the
GWT Developer Plugin to be installed in your browser.

For the ssue that you're experiencing, it might be best to start a new
thread about it.

On Fri, Dec 11, 2009 at 12:06 AM, zinkronz network wrote:

> i also hope can view normal window instead of "development view". my
> firefox and safari crased after i install gwt developer plugin tosafari and
> firefox..
> iam using mac osx 10.4 ... please help me in this matter
>
> On Fri, Dec 11, 2009 at 12:10 AM, Paul wrote:
>
>> Hi all,
>>
>> Yesterday I was concerned that I couldn't get the Development mode
>> working at all.  Turns out I guess I am a bit "too bleeding edge" and
>> was using the newly released Chrome beta for linux (Fedora) and it
>> doesn't have the GWT developer plugin.  At first I had missed the
>> message in the browser because I also had a problem in that my
>> application tries to "trap" query strings to use for a single-signon
>> redirect.  I had to disable that feature in my application for now
>> since this development mode uses it's own redirect (you might want to
>> look at that guys, for those of use that also redirects).
>>
>> Anyway, got things working using Firefox instead of Chrome, and so far
>> my one big complaint is...SLOW!!   Now I do a lot of logging
>> at the UI side (and server, but that's not where the hit is) so that
>> is the likely cause, but still, compared to the old hosted mode, this
>> can be painful.  Overall, though, I'm starting to like it.  My two
>> cents
>>
>> cheers,
>> Paul
>>
>> On Dec 10, 8:43 am, Rajeev Dayal  wrote:
>> > If you want to use the Development Mode UI provided by GWT, define the
>> > USE_REMOTE_UI environment variable for the launch configuration, and set
>> its
>> > value to false. You can do this via the Environment tab for the launch
>> > configuration.
>> >
>> > If you don't mind, can you tell us why you're not a fan of the
>> Development
>> > Mode View in Eclipse?
>> >
>> > 2009/12/10 István Szoboszlai 
>> >
>> >
>> >
>> > > Hello!
>> >
>> > > I have tried the new GWT 2.0 release, and it looks very god!
>> >
>> > > My only problem is with the eclipse plugin.
>> >
>> > > Do you know how to debug the project using the normal devmode window
>> > > instead of the "Development Mode" tab in eclipse? I don't really like
>> the
>> > > new tab:)
>> >
>> > > Is there a command line argument to use the nomral devmode window?
>> >
>> > > Any answer is really appreciated:)
>> >
>> > > Thanks in advance
>> > > - István Szoboszlai | inepex.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> cr...@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: GWT 2.0 - Eclipse - Need to Recompile after every change

2009-12-11 Thread Jaroslav Záruba
>From time to time [eclipse.exe -clean] does the trick for me.

On Dec 11, 4:34 pm, Chris Ramsdale  wrote:
> Are you able to hit breakpoints in Eclipse when debugging?
>
> On Fri, Dec 11, 2009 at 8:36 AM, ziggystardust  wrote:
> > The gwt.codesvr extention is on the URL. I simply copy the suggested
> > given by the dev server and paste that into the browser. Problem
> > continues.
>
> > On Dec 11, 9:19 am, Luis Fernando Planella Gonzalez
> >  wrote:
> > > Make sure you have ?gwt.codesvr=127.0.1.1:9997 at the end of the URL
> > > in the browser.
> > > That's what makes it use development mode.
> > > Otherwise, it will just be the plain old web mode (now called
> > > production mode).
>
> > > On 11 dez, 10:46, ziggystardust  wrote:
>
> > > > Been using GWT / App Engine and the Eclipse plugin for some time now
> > > > and just recently upgraded to 2.0. I reinstalled Eclipse (3.5),
> > > > installed the plugin and the sdks. Setup the example StockWatcher app
> > > > and everything runs fine. In dev mode however I have to recompile
> > > > whenever i make a change in order for it to be effective. Tried reload
> > > > and restarting the browser (IE and Chrome), tried restarting the
> > > > server but no joy. Any ideas appreciated. 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: What is "main class"?

2009-12-11 Thread Rajeev Dayal
That is definitely odd - the correct entry point should be selected for you
automatically. Do you mind posting the contents of your .project and your
.classpath files?

2009/12/11 Jaroslav Záruba 

> http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading
> --
> After upgrading to the GWT 2.0 jars, you will see the following
> message when running development mode using HostedMode:
>
>[WARN] The class com.google.gwt.dev.HostedMode is deprecated and
> will be removed --
>use com.google.gwt.dev.DevMode instead.
>
> In order to eliminate this warning, change your main class from
> com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
> --
>
> This is the first time I hear/read about that class. (I can't find
> anything like "main class" anywhere in the Eclipse or project
> settings.)
> Is it something that is available for change only after upgrading to
> GWT 2.0?
>
> --
>
> You received 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 2/Eclipse Project References

2009-12-11 Thread Rajeev Dayal
This is a general problem with having your GWT or App Engine project depend
on another project that ultimately contributes artifacts to the
war/WEB-INF/lib folder. We're going to address this in a future version of
the plugin.

Even though this appears to work in GWT, you'll still have to revert to the
clunky technique (exporting the files from the parent project and copying
them into the war/WEB-INF/lib folder of the child project) when you perform
a deployment; the Google Plugin for Eclipse will not automatically do this
for you.

On Fri, Dec 11, 2009 at 7:09 AM, Graham  wrote:

> This seems to be related to the AppEngine, which I don't need. Problem
> solved!
>
> On Dec 11, 11:51 am, Graham  wrote:
> > Sorry, just to clarify - I am referring specifically to development
> > mode.
> >
> > On Dec 11, 11:49 am, Graham  wrote:
> >
> > > I've successfully upgraded to GWT 2.0 using the GWT Eclipse Plugin.
> > > All seems well, with one exception. I write all of my servlets in a
> > > seperate project, which worked under well under 1.* by simply adding
> > > the project to the build path.
> >
> > > Unfortunately after moving to GWT 2.0 the project is being ignored at
> > > run time, and the servlets are not found (although the project appears
> > > in the "Classpath" tab in my run configuration). Is there anyway to
> > > specify other projects to be included in the classpath?
> >
> > > If I export my servlets to a JAR file and drop them into the WEB-INF/
> > > lib directory it works, but it is a bit clunky, especially as the
> > > servlets are modified frequently!
> >
> >
>
> --
>
> You received 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.




Reading the *.rpc.log and understanding why classes are included in the serialization policy file.

2009-12-11 Thread Alex
I'm looking at the *.rpc.log for one of my RPC calls and don't
understand why some classes are included in the policy file. As an
example consider the PopupListenerCollection. The line below appears
in the x.gwt.rpc file.

com.google.gwt.user.client.ui.PopupListenerCollection, true, true,
false, false, com.google.gwt.user.client.ui.PopupListenerCollection/
3060919138, 3060919138

In the *.rpc.log I see this

com.google.gwt.user.client.ui.PopupListenerCollection
   Serialization status
  Instantiable
   Path
  'com.google.gwt.user.client.ui.PopupListenerCollection' is
reachable as a subtype of type 'interface java.util.List'
  'java.util.List' is reachable from field 'values' of type
'com.lombardi.online.model.client.ClientPropertyValueList'
 
'com.lombardi.online.model.client.ClientPropertyValueList'
is reachable as a supertype of type 'class
com.lombardi.online.model.client.ClientLiteralValueList'
  'com.lombardi.online.model.client.ClientLiteralValueList' is
reachable as a supertype of type 'class
com.lombardi.online.model.client.ClientConcatenatedLiteralValueList'
  ...

The piece I don't understand is

'java.util.List' is reachable from field 'values' of type
'com.lombardi.online.model.client.ClientPropertyValueList'

The definition of ClientPropertyValueList starts with

public abstract class ClientPropertyValueList
implements IsSerializable, Serializable, PropertyValueList {
/**
 * The list of property values in this list.
 */
private List values = new ArrayList();

So the type of P must be a subclass of PropertyValue and I don't
understand why the serialization code thinks a PopupListenerCollection
could be assigned to values.

Someone please tell me what I'm doing wrong here.

--

You received 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 resize a DockLayoutPanel pane using gwt 2.0 and uibinder

2009-12-11 Thread morte...@gmail.com
I just tried this (in 2.0GA), and I get errors in the generated code:

ui.xml looks something like this:





...

it complains about a type mismatch, when looking at the generated code
it is obvious why but not how to fix it:

 public Widget createAndBindUi(final Trinity owner) {

bam.trinity.client.Trinity_BinderImpl_GenBundle
clientBundleFieldNameUnlikelyToCollideWithUserSpecifiedFieldOkay =
(bam.trinity.client.Trinity_BinderImpl_GenBundle) GWT.create
(bam.trinity.client.Trinity_BinderImpl_GenBundle.class);
bam.trinity.client.Trinity_BinderImpl_GenCss_style style =
clientBundleFieldNameUnlikelyToCollideWithUserSpecifiedFieldOkay.style
();
bam.trinity.client.ui.ContentPanel bottomPanel =
(bam.trinity.client.ui.ContentPanel) GWT.create
(bam.trinity.client.ui.ContentPanel.class);
com.google.gwt.user.client.ui.HTML left =
(com.google.gwt.user.client.ui.HTML) GWT.create
(com.google.gwt.user.client.ui.HTML.class);
com.google.gwt.user.client.ui.HTML right =
(com.google.gwt.user.client.ui.HTML) GWT.create
(com.google.gwt.user.client.ui.HTML.class);
com.google.gwt.dom.client.SpanElement headerspan = null;
java.lang.String domId0 = com.google.gwt.dom.client.Document.get
().createUniqueId();
com.google.gwt.user.client.ui.HTML f_HTML1 =
(com.google.gwt.user.client.ui.HTML) GWT.create
(com.google.gwt.user.client.ui.HTML.class);
bam.trinity.client.ui.ContentPanel content =
(bam.trinity.client.ui.ContentPanel) GWT.create
(bam.trinity.client.ui.ContentPanel.class);
bam.trinity.client.ui.ResizableDockLayoutPanel rootPanel = new
com.google.gwt.user.client.ui.DockLayoutPanel
(com.google.gwt.dom.client.Style.Unit.PX);


On the last line here, the ResizableDockLayoutPanel is for some reason
set to "new DockLayoutPanel" and not ResizableDockLayoutPanel..

Maybe I did something dumb, but I can't really find it :)



On Nov 7, 3:08 am, jd  wrote:
> Here is a subclass I made to expose some functionality that might help
> you
>
>         class ResizableDockLayoutPanel extendsDockLayoutPanel
>         {
>                 public ResizableDockLayoutPanel(Unit unit)
>                 {
>                         super(unit);
>                 }
>
>                 public double getWidgetSize(Widget widget)
>                 {
>                     return ((LayoutData) widget.getLayoutData()).size;
>                 }
>
>                 public void setWidgetSize(Widget widget, double size)
>                 {
>                         ((LayoutData) widget.getLayoutData()).size = size;
>                 }
>
>                 @Override
>                 public void insert(Widget widget, Direction direction, double 
> size,
> Widget before)
>                 {
>                         super.insert(widget, direction, size, before);
>                 }
>         }
>
> On Nov 6, 8:00 pm, gkb  wrote:
>
> > Hello all.
>
> > I have a question concerning how to access/modify the size of a
> >DockLayoutPanel'swidget outside of the *.ui.xml file in the java
> > code.
>
> > For instance, say I have aDockLayoutPanelwith a West widget and a
> > Center widget as follows:
> > {{{
> > 
> >     
> >        
> >     
> >     
> >       
> >     
> >   }}}
>
> > Is it possible to dynamically change the width of the westWidget
> > somewhere in the associated java code, or can it only by modified in
> > the *.ui.xml file.
>
> > The problem is, I would like to be able to hide/show the westWidget
> > and have the centerWidget fill the remaining space dynamically when
> > the app is running,
> > but changing the width of westWidget in the java code has no effect on
> > the width of the West Pane of theDockLayoutPanelthat was hard-coded
> > in, there is a disconnect between them.
>
> > Any help would be greatly appreciated.
>
> > Sincerely,
>
> > George.
>
>

--

You received 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: UI Binder, really a good approach?

2009-12-11 Thread Sekhar
UiBinder is actually quite similar to the approach Flex takes
(splitting into MXML and ActionScript). It seems like overkill
initially, but really pays off for larger projects (separating the
design/logic and adding flexibility).

On Dec 11, 7:43 am, Nicanor Cristian  wrote:
> UI Binder is the step before that. On top of UI Binder it's easier to
> write a WYSIWYG GUI editor, than on top of plain java. Also it's very
> easy to mantain the MVC structure.
>
>
>
> John Ivens wrote:
> > How about a Matisse-like interface that allows you to create the XML
> > by dragging graphics around, and linking them to code in the .java
> > file?  That's what I want.

--

You received 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 Firefox 64bit Linux Issue

2009-12-11 Thread eggsy84
Hi all,

I found that if (using Firefox) I went directly to the link rather
than clicking the 'Install' options on the page the 'Add on' installed
correctly.

Specifically I right clicked the link and checked what href it
contained then went directly there and the plugin installed ok.

I'm sorry I didn't make note of the link.

Let us know how you get on

On Dec 11, 3:03 pm, Chris Ramsdale  wrote:
> What errors, if any, are you seeing in the FF error console (Tools->Error
> Console)? While you're there, check the OS/ABI by evaluating the following
> expressions:
>
> Components.classes["@mozilla.org/xre/app-info;1
> "].getService(Components.interfaces.nsIXULRuntime).OS
> Components.classes["@mozilla.org/xre/app-info;1
> "].getService(Components.interfaces.nsIXULRuntime).XPCOMABI
>
> - Chris
>
> On Fri, Dec 11, 2009 at 9:55 AM, Chris Ramsdale wrote:
>
> > @alexmat, @andreit, does the plugin show up in the list of Add-ons? If so,
> > what version do you have installed?
>
> > On Wed, Nov 25, 2009 at 10:16 AM, alexmat  wrote:
>
> >> Dev mode starts up fine. Point firefox at the url, download and
> >> install plugin. Restart... and it asks me to install the plugin again.
> >> It is already installed though. Anyone else seeing this?
>
> >> 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 2.0 pls help

2009-12-11 Thread Rajeev Dayal
What files do you have in your war directory?
Are both modules listed as startup modules under Project Properties ->
Google -> Web Toolkit?

On Fri, Dec 11, 2009 at 6:49 AM, ben fenster  wrote:

> m sorry 2 modules :)
>
> On 11 דצמבר, 13:14, ben fenster  wrote:
> > i have a project with to modules it compiles with no errors
> > when i try to run it after setting the module to run in run
> > configuration the development shows everything is ok but dont give me
> > any link that i can use for the browser
>
> --
>
> You received 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.




Chrome loading indicator

2009-12-11 Thread Andrey
Hello!

I am using comet (server push) in my application. When user logs in a
secondary connection being created. It is an ordinary GWT RPC call
with 50 sec timeout and retry.

Everything is OK except that Chrome and the Chrome only shows loading
indicator as if the page is loading.
How can I get rid of it?

Thanks in advance!

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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: Download GWT Development Mode plugin for Firefox

2009-12-11 Thread Rajeev Dayal
I'd recommend that you initially have your system connected to the Internet,
and when you first access your GWT Application in development mode via the
browser, you'll be prompted to install the GWT Development Mode plugin.
After that point, you can debug your GWT Apps without having to be connected
to the Internet (for that browser).


On Fri, Dec 11, 2009 at 3:26 AM, rjcarr  wrote:

> Agreed, same question here.  No matter what I do I can't get the
> browser to even trigger the download.  I assume it is because I need
> to run as "no server", but shouldn't I still be able to get it?  Is
> "no server" even an option for gwt 2?  I'm really confused about the
> new gwt 2 updates and how closely integrated it is into eclipse.
>

Running in "no server" mode has nothing to do with being connected to the
Internet - you only need to use that option if you don't want to make use of
GWT's embedded web server (i.e. you have a back-end with a specific
configuration set up already that you'd like to use).

If the browser is not triggering the download, you may be getting bit by the
issue of having a stale hosted.html file after switching SDK versions. This
is a bug that we definitely need to fix.

Delete the generated directory in your war folder, and then try hitting your
GWT App again. If the download is not triggered, hold down the SHIFT key and
hit Reload in your browser. That should force your browser to request the
new version of hosted.html, ignoring any files in its cache.

If you have any other questions about GWT 2.0's integration with Eclipse,
please do ask. We definitely do not want people to be confused about it :).




>
> On Dec 9, 2:56 pm, webMustard  wrote:
> > I am developing on a browser that is not connected to the internet. Is
> > there a download page where I can download the plugin instead of the
> > browser trying to do it automatically?
> >
> > Thank you for time.
>
> --
>
> You received 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: Cannot install GWT Eclipse plug-in

2009-12-11 Thread Rajeev Dayal
That is really odd. The update site that SHOULD have been part of the
default list of update sites is:

Galileo - http://download.eclipse.org/releases/galileo


On Fri, Dec 11, 2009 at 1:44 AM, robert_hancock wrote:

> I solved it by installing Eclipse on my Windows machine, exporting the
> bookmarks, and importing them into my Ubuntu 64-bi instance.  Now the
> plugin installs.
>
> On Dec 11, 12:20 am, robert_hancock  wrote:
> > I have the same issue with 3.5.1.  "Contact
> > Other Update Sites for Needed Software" is checked.
> >
> > This is the error message I receive:
> >
> > Cannot complete the install because one or more required items could
> > not be found.
> >   Software being installed: Google Plugin for Eclipse 3.5
> > 1.2.0.v200912062003
> > (com.google.gdt.eclipse.suite.e35.feature.feature.group
> > 1.2.0.v200912062003)
> >   Missing requirement: Google Plugin for Eclipse 3.5
> > 1.2.0.v200912062003
> > (com.google.gdt.eclipse.suite.e35.feature.feature.group
> > 1.2.0.v200912062003) requires 'org.eclipse.wst.css.core 0.0.0' but it
> > could not be found
> >
> > Does someone have the Eclipse site that we can add to the list?
> >
> > On Dec 10, 11:09 am, Rajeev Dayal  wrote:
> >
> >
> >
> > > There have been reports of the 64-bit versions of Eclipse not having
> the
> > > default update sites (such as the Galileo Update Site) included. Since
> the
> > > Google Plugin for Eclipse depends on WST, Eclipse needs to hit the
> Galileo
> > > update site during installation.
> >
> > > Try Eclipse 3.5.1 and see if you run into the same issue. Ensure that
> when
> > > you're installing the Google Plugin for Eclipse, the option to "Contact
> > > Other Update Sites for Needed Software" is checked.
> >
> > > On Thu, Dec 10, 2009 at 7:00 AM, Nixarn  wrote:
> > > > Happens to me too :(
> >
> > > > I'm on Windows 7 64bit, got a 32bit version of Eclipse 2.5 for Java
> > > > (Not EE). Fresh eclipse install and havn't had in any older version
> of
> > > > GWT.
> >
> > > > On Oct 29, 3:01 am, "Gamer_Z."  wrote:
> > > > > I cannot install the GWT plug-in on Eclipse (3.5/Galileo).  I have
> re-
> > > > > installed Eclipse several times.  I have also copied Eclipse on a
> > > > > flash drive to a friend's computer and the plug-in installed fine
> > > > > there, so it is not a problem with Eclipse.  When I get to step
> four
> > > > > ofhttp://code.google.com/eclipse/docs/install-eclipse-3.5.html, I
> get
> > > > > the message "The operation cannot be completed.  See the details."
> > > > > The "Details" are below:
> >
> > > > > Cannot complete the install because one or more required items
> could
> > > > > not be found.
> > > > >   Software being installed: Google Web Toolkit SDK 1.7.1
> > > > > 1.7.1.v200909221731
> > > > > (com.google.gwt.eclipse.sdkbundle.e35.feature.feature.group
> > > > > 1.7.1.v200909221731)
> > > > >   Missing requirement: Google Web Toolkit Plugin
> 1.1.2.v200910130758
> > > > > (com.google.gwt.eclipse.core 1.1.2.v200910130758) requires 'bundle
> > > > > org.eclipse.wst.sse.core 0.0.0' but it could not be found
> > > > >   Missing requirement: Google Web Toolkit Plugin
> 1.1.2.v200910131704
> > > > > (com.google.gwt.eclipse.core 1.1.2.v200910131704) requires 'bundle
> > > > > org.eclipse.wst.sse.core 0.0.0' but it could not be found
> > > > >   Cannot satisfy dependency:
> > > > > From: Google Web Toolkit SDK 1.7.1 1.7.1.v200909221731
> > > > > (com.google.gwt.eclipse.sdkbundle.e35.feature.feature.group
> > > > > 1.7.1.v200909221731)
> > > > > To: com.google.gwt.eclipse.sdkbundle.win32
> [1.7.1.v200909221731]
> > > > >   Cannot satisfy dependency:
> > > > > From: Google Web Toolkit SDK for Win32 1.7.1.v200909221731
> > > > > (com.google.gwt.eclipse.sdkbundle.win32 1.7.1.v200909221731)
> > > > > To: bundle com.google.gwt.eclipse.core 0.0.0
> >
> > > > --
> >
> > > > You received 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.
>
> --
>
> You received 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

Re: HTTP request - Code "0" and status is "OK"

2009-12-11 Thread Ian Bambury
I would imagine you are having a cross-domain problem.

Ian

http://examples.roughian.com


2009/12/11 jax 

> After about 3 days of research and anguish I have finally solved this
> problemkind of.
>
> I originally had the GWT app in a sub-directory inside a Joomla!
> install.  I had an idea to move it to another sub domain and it
> worked.  I am still not sure why this worked except that maybe an
> apache .htaccess file was interfering or something.
>
> Does anyone know what might be the problem in the Joomla directory and
> any sub-directories created?
>
> --
>
> You received 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: HTTP request - Code "0" and status is "OK"

2009-12-11 Thread jax
After about 3 days of research and anguish I have finally solved this
problemkind of.

I originally had the GWT app in a sub-directory inside a Joomla!
install.  I had an idea to move it to another sub domain and it
worked.  I am still not sure why this worked except that maybe an
apache .htaccess file was interfering or something.

Does anyone know what might be the problem in the Joomla directory and
any sub-directories created?

--

You received 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.0 - Problem with Eclipse plugin and UiBinder "Field xxx has no corresponding field in template file yyy.ui.xml"

2009-12-11 Thread Jason Parekh
Hey,

Thanks for reporting this, definitely seems like a bug in the plugin.

First, could you try forcing a clean build of your project?  (Project
> Clean)  This will force a re-indexing of the UiBinder indices.

Also, could you check your Eclipse log for any errors?  The log file
lives at your workspace/.metadata/.log .

A few more questions:
- Which package does your Pjat class live in?
- What version of Eclipse are you using?
- What operating system are you running?

Thanks!
jason

On Thu, Dec 10, 2009 at 2:56 PM, hoxbro  wrote:
> Whenever I try to explore to possibilities with the new UiBinder,
> Eclipse tells me that e.g.:
> "Field button has no corresponding field in template file
> Mail.ui.xml".
>
> Even when I use the Eclipse Wizard "New UiBinder" the web app wont
> build or run in dev-mode.
>
> I have tried to import the Mail sample into Eclipse - no problem. But
> when I try to add a new UiField, I get the error again.
>
> It's probably a very fundamental error - and I apologize for any
> inconvenience this post may cause - but I give it a try anyway.
>
> Here's the wizard generated file Pjat
>
> public class Pjat extends Composite {
>        private static PjatUiBinder uiBinder = GWT.create
> (PjatUiBinder.class);
>        interface PjatUiBinder extends UiBinder {}
>       �...@uifield Button button;   // <-- This line gets a red underline
>        public Pjat(String firstName) {
>                initWidget(uiBinder.createAndBindUi(this));
>                button.setText(firstName);
>        }
>       �...@uihandler("button")     // <-- This line gets a red underline
>        void onClick(ClickEvent e) {
>                Window.alert("Hello!");
>        }
> }
>
> http://dl.google.com/gwt/DTD/xhtml.ent";>
>         xmlns:g="urn:import:com.google.gwt.user.client.ui">
>        
>                .important {font-weight: bold;}
>        
>        
>                Hello,
>                
>        
> 
>
> --
>
> You received 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: UI Binder, really a good approach?

2009-12-11 Thread Nicanor Cristian
UI Binder is the step before that. On top of UI Binder it's easier to
write a WYSIWYG GUI editor, than on top of plain java. Also it's very
easy to mantain the MVC structure.

John Ivens wrote:
> How about a Matisse-like interface that allows you to create the XML
> by dragging graphics around, and linking them to code in the .java
> file?  That's what I want.
>


--

You received 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.0 - Eclipse - Need to Recompile after every change

2009-12-11 Thread Chris Ramsdale
Are you able to hit breakpoints in Eclipse when debugging?

On Fri, Dec 11, 2009 at 8:36 AM, ziggystardust  wrote:

> The gwt.codesvr extention is on the URL. I simply copy the suggested
> given by the dev server and paste that into the browser. Problem
> continues.
>
> On Dec 11, 9:19 am, Luis Fernando Planella Gonzalez
>  wrote:
> > Make sure you have ?gwt.codesvr=127.0.1.1:9997 at the end of the URL
> > in the browser.
> > That's what makes it use development mode.
> > Otherwise, it will just be the plain old web mode (now called
> > production mode).
> >
> > On 11 dez, 10:46, ziggystardust  wrote:
> >
> >
> >
> > > Been using GWT / App Engine and the Eclipse plugin for some time now
> > > and just recently upgraded to 2.0. I reinstalled Eclipse (3.5),
> > > installed the plugin and the sdks. Setup the example StockWatcher app
> > > and everything runs fine. In dev mode however I have to recompile
> > > whenever i make a change in order for it to be effective. Tried reload
> > > and restarting the browser (IE and Chrome), tried restarting the
> > > server but no joy. Any ideas appreciated. 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 and .Net

2009-12-11 Thread Olivier Gérardin
Do you still have a reference to the posts that linked .Net with GWT?
I have serious doubts that this was ever considered.
Besides, if all you want to do is be able to code in C#, I think Java
is close enough that it won't be a huge gap... In addition to porting
the GWT compiler, fully supporting C# would mean porting some
core .Net libraries so that they can translate to JavaScript (just
like GWT's JRE emulation lib), rewriting widget libraries and all
translatable GWT code, and also porting the development mode shell.
Not likely.

You can of course run GWT with a .Net backend, but you'll have to take
care of serialization/deserialization, because only the native RPC
mechanism does so transparently. You may use JSON or XML or any other
format, but you'll have to do the parsing yourself (there might be
tools around to make that easier ..)

Olivier

On Dec 11, 10:41 am, AndrewG  wrote:
> I have used GWT quite successfully with a number of Java-based
> projects now - and was now wonder whether it will be possible to use
> it together with .Net.
>
> A quick search found a few posts from 2007 claiming that Google had
> announced that they would include C# in the languages supported by GWT
> - but I havent found anything since. Was this wrong, did Google change
> their mind, is it somewhere in the pipeline - or has it happened ?
>
> My pref would be for full support for .Net/C# - but failing that, is
> there an easy way to run gwt-generated web UIs with .Net back-end - ie
> something that handles the serialization issues etc ?
>
> Thx
>
> 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.




Re: Eclipse Plugin for GWT 2.0 release

2009-12-11 Thread Miguel Méndez
Could you file an issue in the issue
trackerwith a
suggestion as to how we might improve it?

Thanks,

On Fri, Dec 11, 2009 at 8:38 AM, Jonas Huckestein
wrote:

> Hi there,
>
> just quick note: The restart server button is located at the right of
> the toolbar in the development mode tab. It might be somewhat
> misleading because it looks just like an ordinary refresh icon.
>
> It took me a day to find that one, too. Until then I was stopping and
> starting the server from its console tab ;)
>
> Cheers, Jonas
>
> On 11 Dez., 10:55, István Szoboszlai  wrote:
> > Hello Rajeev,
> >
> > Actually I think it is good, but I liked it when it was a separate
> > window. Of course you can drag the development mode tab to be a
> > separate window.
> >
> > I liked the tabbing in the normal oophm window better, and there was a
> > way to restart jetty (perhaps I just did not find it yet in Eclipse
> > plugin.
> >
> > I also liked, that the debug info and the http request log was in a
> > separate window.
> >
> > Actually I really like gwt 2.0 and also the eclipse plugin rocks! The
> > UiBinder support is awesome!
> >
> > Best - István
> >
> >
> >
> > On Thu, Dec 10, 2009 at 5:43 PM, Rajeev Dayal  wrote:
> > > If you want to use the Development Mode UI provided by GWT, define the
> > > USE_REMOTE_UI environment variable for the launch configuration, and
> set its
> > > value to false. You can do this via the Environment tab for the launch
> > > configuration.
> > > If you don't mind, can you tell us why you're not a fan of the
> Development
> > > Mode View in Eclipse?
> > > 2009/12/10 István Szoboszlai 
> >
> > >> Hello!
> > >> I have tried the new GWT 2.0 release, and it looks very god!
> > >> My only problem is with the eclipse plugin.
> > >> Do you know how to debug the project using the normal devmode window
> > >> instead of the "Development Mode" tab in eclipse? I don't really like
> the
> > >> new tab:)
> > >> Is there a command line argument to use the nomral devmode window?
> > >> Any answer is really appreciated:)
> > >> Thanks in advance
> > >> - István Szoboszlai | inepex.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.
> >
> > > --
> >
> > > You received 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.- Zitierten
> Text ausblenden -
> >
> > - Zitierten Text anzeigen -
>
> --
>
> You received 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.
>
>
>


-- 
Miguel

--

You received 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 install dev mode browser plugin

2009-12-11 Thread Robert Schultz
Try this:
http://gwt.google.com/missing-plugin/MissingPlugin.html

On Dec 10, 6:02 pm, yakbuttercandle 
wrote:
> Getting dl-ssl.google.com not found. Has the location of the plugins
> changed?

--

You received 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: Keyboard bindings

2009-12-11 Thread Jim Douglas
Hmm, it'll be a challenge.  I'd probably start here to see if it's
even possible to prevent the default action of the specific keys you
care about:

http://www.quirksmode.org/dom/events/tests/keys.html

Here's PPK's JavaScript for that page:

http://www.quirksmode.org/js/events/eventtests.js

On Dec 11, 6:10 am, Jeff Larsen  wrote:
> Thanks for the information. It is a huge help. After re-reading my
> message I realize I wasn't entirely clear on my meaning.
>
> I need to be able to stop the browser window from doing a refresh when
> F5 is hit. Not maximize when F11 is hit etc, no new window when Ctrl+N
> is hit.
>
> On Dec 10, 6:37 pm, Jim Douglas  wrote:
>
>
>
> > Jeff,
>
> > This sample shows the basic concept:
>
> >http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
>
> > It gets more complicated when you need to handle ctrl keys and special
> > keys across multiple browsers and on multiple platforms (I'm in the
> > middle of it right now, and I want to kill the Opera developer who
> > decided to reverse the meanings of ctrlKey and metaKey on the Mac).
>
> > This page is a major lifeline for me:
>
> >http://unixpapa.com/js/testkey.html
>
> > Load that page in every operating system / browser combination you
> > have, press the keys you care about, note the set of information
> > returned by the keydown and keypress events, then reconcile the
> > information for all platform combinations.
>
> > Here are some GWT methods that you might find helpful if you have to
> > dig into the underlying native events:
>
> >     protected native char getWhich(NativeEvent e)/*-{
> >       return e.which;
> >     }-*/;
>
> >     protected native char getCharCode(NativeEvent e)/*-{
> >       return e.charCode;
> >     }-*/;
>
> >     protected native char getKeyCode(NativeEvent e)/*-{
> >       return e.keyCode;
> >     }-*/;
>
> > Those methods will make more sense as you play 
> > withhttp://unixpapa.com/js/testkey.html
> > and review the accompanying article onhttp://unixpapa.com/js/key.html.
>
> > To use the methods, do something like this:
>
> >     char which = getWhich(event.getNativeEvent());
>
> > Jim.
>
> > On Dec 10, 2:44 pm, Jeff Larsen  wrote:
>
> > > Hi, I have a requirement to implement keyboard bindings like Ctrl+N,
> > > F11 etc. I was wondering how I can go about grabbing these events
> > > before the browser grabs them.

--

You received 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: unable to specify war directory when running web app

2009-12-11 Thread Miguel Méndez
Could you file a bug for this in the GWT public issue
tracker?
 In the meantime could you try adding  -war war/foo in the Web App Launch
configuration's program args?

On Thu, Dec 10, 2009 at 10:43 AM, haole  wrote:
> i'm using google plugin for eclipse 3.5 (galileo) with GWT 2.0.0 (and
> app engine 1.2.8).
>
> when i compile my GWT modules, i set the additional compiler arguments
> to "-war war/foo." the behavior is as expected: the compiler creates
> directories for each module under "war/foo." i get the following
> directories when i compile only:
>
> war/foo/mymodule1
> war/foo/mymodule2
> and so on...
>
> when i run a web application, the compiler goes back to using the
> default directory ("war") to create directories for each module. under
> Run Configurations, there is no option to add additional compiler
> arguments under the GWT tab. i get the following directories when i
> run:
>
> /war/mymodule1
> /war/mymodule2
> and so on...
>
> clicking the refresh button in the hosted browser window seems to have
> the same effect as running the web app: it uses directories in the
> default location. even though the actual web page points to to the
> "war/foo" location, the app reflects the new changes immediately. the
> web page includes the following script:
>
> 
>
> i checked the actual output files to see which ones were modified and,
> sure enough, war/foo/mymodule1/mymodule1.nocache.js was NOT touched.
> war/mymodule1/mymodule1.nocache.js was modified. again: the web app
> seems to reflect the changes, even though the script src points to the
> non-default directory. i'm assuming that the client-side code is just
> running in the same VM as the server in hosted browser mode.
>
> i'm hoping that the option to specify additional GWT compiler
> arguments can be added to the GWT tab under Run Configurations, just
> as it is available under the GWT compile dialog.
>
> --
>
> You received 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.
>
>
>



-- 
Miguel

--

You received 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: UI Binder, really a good approach?

2009-12-11 Thread John Ivens
How about a Matisse-like interface that allows you to create the XML by
dragging graphics around, and linking them to code in the .java file?
That's what I want.

On Fri, Dec 11, 2009 at 8:22 AM, Arthur Kalmenson wrote:

> I think you just have to try it and see. We're doing that here to
> determine if UiBinder is a better way of building user interfaces, or
> if we prefer building UI in a Swing like fashion. There are arguments
> both ways, but it comes down to taste and preference. UiBinder allows
> for web designers to be more involved in the creation of GWT
> applications and in many organizations that's a huge benefit. Another
> benefit of UiBinder, is that you can use standard HTML elements inside
> an HTMLPanel to get higher performance as per Kelly Norton's Google
> I/O talk. Now you can do it in a syntax highlighted, code completion
> way instead of a Java strings.
>
> --
> Arthur Kalmenson
>
>
>
> On Fri, Dec 11, 2009 at 7:23 AM, Stefan Bachert 
> wrote:
> > Classical web development urges me to have a multiple personalities.
> > That is an disease
> > I have to deals with
> > - HTML
> > - CSS
> > - JavaScript
> > - Server-Side calls via AjAx
> > - Server side implementation in Java or other language
> > - and references from one to the other
> >
> > Thatfor GWT was good to reduce the number of languages.
> > Everything is Java, CSS could be considered as a designer job making
> > an other scheme.
> > No application (=behaviour,functionality) developer should need to
> > create a CSS
> >
> > Now UiBinder comes up with a further XML, and mixing up CSS, HTML and
> > GWT code.
> > Somehow I feel be back at the beginning of webdevelopment, and I feel
> > ill ;-).
> >
> > The advantage of declarative programming could be reached in Java in a
> > much better way.
> > Look at the following code, it is pure Java and much more declarative
> > then UiBinder.
> > It has very less code and is in the end much more flexible since code
> > could add any rule you like.
> >
> > new DialogCreator()
> >.add(localization.account(), account, 100, DialogCreator.lines
> > (1)).newLine()
> >.add(localization.password(), password, 100, DialogCreator.lines
> > (1)).newLine()
> >.add(localization.session(), session, 100, DialogCreator.lines
> > (1)).newLine()
> >.button(ok)
> >.button(cancel)
> >
> > If you don't like parameters per position, ok, change it to:
> >
> > new DialogCreator()
> >.add(new DialogItem()
> >.label(localization.account())
> >.item(account)
> >.width(100)
> >.height(DialogCreator.lines(1))
> >)
> > .newLine().
> >
> > What could be done in UiBuilder better/more readable than in java?
> > What are your thoughts?
> >
> > Stefan Bachert
> >
> > PS: It is like Spring. IoC could be done in Java itself. Why to deal
> > with this human unreadable XMLs?
> >  a java compiler is much more flexible and exact as a validation of a
> > xml (try the check a mispelling of an java class!)
> >
> >
> > PS2: Just to avoid the impression I am just negative. GWT is a great
> > thing, but surely improvable
> >
> > --
> >
> > You received 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 2 DevMode not working against an external server

2009-12-11 Thread Chris Ramsdale
Robert,

The following thread may be of some assistance:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c3da5f8b67102696/00c493b1720b1ba1

- Chris

On Thu, Dec 10, 2009 at 2:53 PM, Robert Schultz  wrote:

> I'm having trouble getting DevMode working in GWT 2.0 with an external
> server
>
> I've upgraded from GWT 1.7 to GWT 2.0
>
> It compiles my GWT module correctly when I run
> com.google.gwt.dev.Compiler with arguments:
> -war /path/to/web/gwt com.my.path.mymodule.mymodule
>
> I have my own tomcat server and web.xml configuration.
>
> I serve up HTML code myself in which I include in the :
> 
>
> I can then visit my server http://localhost:7100/myapp/MyPage
> This loads up the web based GWT code and everything works great.
>
>
> DevMode however is not working.
>
>
> I am launching com.google.gwt.dev.DevMode as a Debug Configuration
> with arguments:
> -noserver -startupUrl http://localhost:7100/myapp/MyPage
> com.my.path.mymodule.mymodule
>
> I also have on the 'Classpath' my /src directories for my projects
> that contain GWT code.
>
> It correctly opens the "GWT Development Mode" window.
>
> I hit 'Launch Default Browser' button and it opens in Firefox:
> http://localhost:7100/myapp/MyPage?gwt.codesvr=127.0.0.1:9997
>
> I correctly see under netstat that it's listening on 9997.
>
> I never hit any of my GWT breakpoints.
> The page still works, clearly still using the web compiled JavaScript
> instead of establishing a dev connection.
>
>
> As a test I used the Google Eclipse plugin to create a test GWT
> project.
> I was able to launch a debug configuration for the test 'Web
> Application' and hit breakpoints, step through code, etc.
> So all my jars and browser plugins appear to be installed correctly.
>
> Any ideas as to where I went wrong?
>
> --
>
> You received 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: UI Binder, really a good approach?

2009-12-11 Thread Arthur Kalmenson
I think you just have to try it and see. We're doing that here to
determine if UiBinder is a better way of building user interfaces, or
if we prefer building UI in a Swing like fashion. There are arguments
both ways, but it comes down to taste and preference. UiBinder allows
for web designers to be more involved in the creation of GWT
applications and in many organizations that's a huge benefit. Another
benefit of UiBinder, is that you can use standard HTML elements inside
an HTMLPanel to get higher performance as per Kelly Norton's Google
I/O talk. Now you can do it in a syntax highlighted, code completion
way instead of a Java strings.

--
Arthur Kalmenson



On Fri, Dec 11, 2009 at 7:23 AM, Stefan Bachert  wrote:
> Classical web development urges me to have a multiple personalities.
> That is an disease
> I have to deals with
> - HTML
> - CSS
> - JavaScript
> - Server-Side calls via AjAx
> - Server side implementation in Java or other language
> - and references from one to the other
>
> Thatfor GWT was good to reduce the number of languages.
> Everything is Java, CSS could be considered as a designer job making
> an other scheme.
> No application (=behaviour,functionality) developer should need to
> create a CSS
>
> Now UiBinder comes up with a further XML, and mixing up CSS, HTML and
> GWT code.
> Somehow I feel be back at the beginning of webdevelopment, and I feel
> ill ;-).
>
> The advantage of declarative programming could be reached in Java in a
> much better way.
> Look at the following code, it is pure Java and much more declarative
> then UiBinder.
> It has very less code and is in the end much more flexible since code
> could add any rule you like.
>
> new DialogCreator()
>        .add(localization.account(), account, 100, DialogCreator.lines
> (1)).newLine()
>        .add(localization.password(), password, 100, DialogCreator.lines
> (1)).newLine()
>        .add(localization.session(), session, 100, DialogCreator.lines
> (1)).newLine()
>        .button(ok)
>        .button(cancel)
>
> If you don't like parameters per position, ok, change it to:
>
> new DialogCreator()
>        .add(new DialogItem()
>                .label(localization.account())
>                .item(account)
>                .width(100)
>                .height(DialogCreator.lines(1))
>        )
> .newLine().
>
> What could be done in UiBuilder better/more readable than in java?
> What are your thoughts?
>
> Stefan Bachert
>
> PS: It is like Spring. IoC could be done in Java itself. Why to deal
> with this human unreadable XMLs?
>  a java compiler is much more flexible and exact as a validation of a
> xml (try the check a mispelling of an java class!)
>
>
> PS2: Just to avoid the impression I am just negative. GWT is a great
> thing, but surely improvable
>
> --
>
> You received 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: Window on top

2009-12-11 Thread Jesper
The "newWindow" parameter is that browser window identifier as seen
from JavaScript.

To get more browser windows, you have to change that token each time
you call Window.open()

Jesper

On Dec 11, 3:36 pm, Mike  wrote:
> Hi all,
>
> My application frequently needs to open a new browser window to
> display some information to the user that cannot be displayed within
> the main application window.
>
> The first time I open that window (using Window.open(newWindowURL,
> "newWindow", ""); ) the new window is raised to top. However, on
> subsequent openings, the contents of the new window is just replaced
> (which is exactly what I want) without the new window being raised to
> top. How can I get the window raised in such cases?
>
> Thanks, Mike

--

You received 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: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2009-12-11 Thread Ashar Lohmar
Hi I'm having the same kind of problem.
in my app i use some libraries/object written in Java 1.4 style
the objects implement Serializable but contain Lists or Maps which are
declare without parameters
 i mean List instead of List, as the Java 1.4 requires
and some RPC classes return this kind of objects but on Gwt-compiling
I endup with a lot of code referencing all kinds of Listeners and
stuffs that are unrelated to the RPC service.

Basically the messages appear because the Listeners are deprecated,but
what are they doing there in the first place ?

hope someone will clear this up

On Dec 8, 7:24 pm, Luis Fernando Planella Gonzalez
 wrote:
> Hi.
> We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
> evaluate GWT.runAsync().
>
> However, now as I compile the app, I get warning for deprecations in
> all RPC methods which return collections. I guess it's because the
> result is declared as java.util.Collection, and the deprecated
> com.google.gwt.user.client.ui.*ListenerCollection classes extends
> ArrayList, making even the alternative to change the result of RPC
> methods to ArrayList instead of Collection don't work.
>
> The log is something like this, multiple times:
>             [WARN] Warnings in 'generated://
> 8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
> images/UserImageRemoteService_TypeSerializer.java'
>                [WARN] Line 50: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ChangeListenerCollection'
>                [WARN] Line 55: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ClickListenerCollection'
>                [WARN] Line 60: Referencing deprecated class
> 'com.google.gwt.user.client.ui.FocusListenerCollection'
>                [WARN] Line 65: Referencing deprecated class
> 'com.google.gwt.user.client.ui.FormHandlerCollection'
>                [WARN] Line 70: Referencing deprecated class
> 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
>                [WARN] Line 75: Referencing deprecated class
> 'com.google.gwt.user.client.ui.LoadListenerCollection'
>                [WARN] Line 80: Referencing deprecated class
> 'com.google.gwt.user.client.ui.MouseListenerCollection'
>                [WARN] Line 85: Referencing deprecated class
> 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
>                [WARN] Line 90: Referencing deprecated class
> 'com.google.gwt.user.client.ui.PopupListenerCollection'
>                [WARN] Line 95: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ScrollListenerCollection'
>                [WARN] Line 100: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TabListenerCollection'
>                [WARN] Line 105: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TableListenerCollection'
>                [WARN] Line 110: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TreeListenerCollection'
>                See snapshot: /tmp/
> UserImageRemoteService_TypeSerializer2951604978153994580.java
>
> Is there a way to remove those classes from being handled in RPC?

--

You received 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 Firefox 64bit Linux Issue

2009-12-11 Thread Chris Ramsdale
What errors, if any, are you seeing in the FF error console (Tools->Error
Console)? While you're there, check the OS/ABI by evaluating the following
expressions:

Components.classes["@mozilla.org/xre/app-info;1
"].getService(Components.interfaces.nsIXULRuntime).OS
Components.classes["@mozilla.org/xre/app-info;1
"].getService(Components.interfaces.nsIXULRuntime).XPCOMABI


- Chris

On Fri, Dec 11, 2009 at 9:55 AM, Chris Ramsdale wrote:

> @alexmat, @andreit, does the plugin show up in the list of Add-ons? If so,
> what version do you have installed?
>
>
> On Wed, Nov 25, 2009 at 10:16 AM, alexmat  wrote:
>
>> Dev mode starts up fine. Point firefox at the url, download and
>> install plugin. Restart... and it asks me to install the plugin again.
>> It is already installed though. Anyone else seeing this?
>>
>> 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.




What is "main class"?

2009-12-11 Thread Jaroslav Záruba
http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading
--
After upgrading to the GWT 2.0 jars, you will see the following
message when running development mode using HostedMode:

[WARN] The class com.google.gwt.dev.HostedMode is deprecated and
will be removed --
use com.google.gwt.dev.DevMode instead.

In order to eliminate this warning, change your main class from
com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode.
--

This is the first time I hear/read about that class. (I can't find
anything like "main class" anywhere in the Eclipse or project
settings.)
Is it something that is available for change only after upgrading to
GWT 2.0?

--

You received 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 Firefox 64bit Linux Issue

2009-12-11 Thread Chris Ramsdale
@alexmat, @andreit, does the plugin show up in the list of Add-ons? If so,
what version do you have installed?


On Wed, Nov 25, 2009 at 10:16 AM, alexmat  wrote:

> Dev mode starts up fine. Point firefox at the url, download and
> install plugin. Restart... and it asks me to install the plugin again.
> It is already installed though. Anyone else seeing this?
>
> 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: do I need eclipse/plug-in for gwt and appengine?

2009-12-11 Thread mariyan nenchev
No, but the GEP will make things *VERY* *easy* and *fast*. So everyone will
tell you to use it.
I guess you ask that because you do not want to use eclipse?, but believe me
it is worthed.
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.




Window on top

2009-12-11 Thread Mike
Hi all,

My application frequently needs to open a new browser window to
display some information to the user that cannot be displayed within
the main application window.

The first time I open that window (using Window.open(newWindowURL,
"newWindow", ""); ) the new window is raised to top. However, on
subsequent openings, the contents of the new window is just replaced
(which is exactly what I want) without the new window being raised to
top. How can I get the window raised in such cases?

Thanks, Mike

--

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




External Javascript method call

2009-12-11 Thread JavaDoc
Hello,

Ive associated a certain FooBar.js to my module.
The javascript has a method Foo(), which I need to invoke.

I am trying to do this through JSNI, however, its failing. Heres my
code:


public native void doSomething() /*-{
var bar = new Foo();
//some other stuff
}-*/;

This method is being called through an onClick event of a GWT button.

I am however, getting this exception in my console:


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): 'Foo' is
undefined
 number: -2146823279

Please help me out :(

--

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




API Translate

2009-12-11 Thread Dominik Franek - CZE
Hello,
I have a little problem, I wanted to create a GWT application using
Translating API: http://code.google.com/p/google-api-translate-java/
and when I click Run as Web Application (Eclipse with GWT) I get these
error:
[TRACE] Loading inherited module 'com.google'
[ERROR] Unable to find 'com/google/api/translate/Language.gwt.xml' on
your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?
[ERROR] Line 15: Unexpected exception while processing element
'inherits'
[ERROR] Failure while parsing XML

I added to APTranslator.gwt.xml this line:

it looks like this:

http://google-web-toolkit.googlecode.com/svn/tags/1.7.1/distro-
source/core/src/gwt-module.dtd">

  
  

  
  
  
  
  
  

  
  
  
  


I clicked right-mouse on Project, selected Properties - Java Build
Path - Libraries
and there I added JAR: google-api-translate-java-0.91.jar which is in
lib/ folder in project folder.

Do you have any idea, where can be a problem? I tried to add the JAR
many times in different ways, but nothing helped 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.




Unicode

2009-12-11 Thread kais
Dears,

I want to implement a module able to open an Unicode Arabic file and
display it the client side with Arabic menu, etc. I couldn't find any
implementation.
I think this is very easy for expert GWT designers.

Thanks.

--
kais

--

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




JsValueGlue exceptions

2009-12-11 Thread Stephen Haberman
Using gwt2, I've started getting intermittent stack traces in
JsValueGlue. E.g.:

00:02:18.702 [ERROR] Uncaught exception escaped
java.lang.IllegalArgumentException: Something other than a Java object
was returned from JSNI method
'@com.google.gwt.dom.client.DOMImplMozilla::getInnerText(Lcom/google/
gwt/dom/client/Element;)': JS value of type boolean, expected
java.lang.Object
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
(ModuleSpace.java:266)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
(JavaScriptHost.java:91)
at com.google.gwt.dom.client.DOMImplMozilla.getInnerText
(DOMImplMozilla.java)
at com.google.gwt.dom.client.Element$.getInnerText$(Element.java:
252)

00:07:56.117 [ERROR] Uncaught exception escaped
com.google.gwt.dev.shell.HostedModeException: Something other than a
boolean was returned from JSNI method
'@com.google.gwt.core.client.impl.SchedulerImpl$Task::isRepeating()':
JS value of type undefined, expected boolean
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:100)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean
(ModuleSpace.java:181)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean
(JavaScriptHost.java:35)
at com.google.gwt.core.client.impl.SchedulerImpl$Task$.isRepeating$
(SchedulerImpl.java)
at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks
(SchedulerImpl.java:163)
at com.google.gwt.core.client.impl.SchedulerImpl.flushFinallyCommands
(SchedulerImpl.java:268)
at com.google.gwt.core.client.impl.Impl.exit(Impl.java:207)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke
(OophmSessionHandler.java:157)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
(BrowserChannel.java:1668)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:401)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)

I'm running gwt-2.0.0 on ubuntu with ff 3.5.5. I've reinstalled the ff
plugin several times (I had been using an older trunk one) but now I
have 1.0.7263 installed.

I really have no idea how to proceed here.

I set a debug point for HostedModeException--in SchedulerImpl:163, for
t.isRepeating() (in the 2nd stack trace), t was actually showing up as
null in the debugger. Which I'm guessing is just an artifact of it
being a js object because it wasn't NPEing but instead doing this
invokeNativeBoolean call.

Does this look like a ff plugin problem? A gwt problem? Any hints of
what I should look at/try next?

Thanks,
Stephen

--

You received 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 DevMode not working against an external server

2009-12-11 Thread Robert Schultz
I'm having trouble getting DevMode working in GWT 2.0 with an external
server

I've upgraded from GWT 1.7 to GWT 2.0

It compiles my GWT module correctly when I run
com.google.gwt.dev.Compiler with arguments:
-war /path/to/web/gwt com.my.path.mymodule.mymodule

I have my own tomcat server and web.xml configuration.

I serve up HTML code myself in which I include in the :


I can then visit my server http://localhost:7100/myapp/MyPage
This loads up the web based GWT code and everything works great.


DevMode however is not working.


I am launching com.google.gwt.dev.DevMode as a Debug Configuration
with arguments:
-noserver -startupUrl http://localhost:7100/myapp/MyPage
com.my.path.mymodule.mymodule

I also have on the 'Classpath' my /src directories for my projects
that contain GWT code.

It correctly opens the "GWT Development Mode" window.

I hit 'Launch Default Browser' button and it opens in Firefox:
http://localhost:7100/myapp/MyPage?gwt.codesvr=127.0.0.1:9997

I correctly see under netstat that it's listening on 9997.

I never hit any of my GWT breakpoints.
The page still works, clearly still using the web compiled JavaScript
instead of establishing a dev connection.


As a test I used the Google Eclipse plugin to create a test GWT
project.
I was able to launch a debug configuration for the test 'Web
Application' and hit breakpoints, step through code, etc.
So all my jars and browser plugins appear to be installed correctly.

Any ideas as to where I went wrong?

--

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




Add GWT to server side generated pages

2009-12-11 Thread Borje Johnsson
Hello all,

I have used GWT to build a couple of small apps from scratch and it
works great. But now I am trying to use GWT in some part of a bigger
application with mostly generated pages. Just a small part of the
application (outer head and body tags) uses a static html file.
Is there a way to add GWT support to part of the application (some
buttons will call on GWT functions and others will user ordinary form
submit)?

--

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




unable to specify war directory when running web app

2009-12-11 Thread haole
i'm using google plugin for eclipse 3.5 (galileo) with GWT 2.0.0 (and
app engine 1.2.8).

when i compile my GWT modules, i set the additional compiler arguments
to "-war war/foo." the behavior is as expected: the compiler creates
directories for each module under "war/foo." i get the following
directories when i compile only:

war/foo/mymodule1
war/foo/mymodule2
and so on...

when i run a web application, the compiler goes back to using the
default directory ("war") to create directories for each module. under
Run Configurations, there is no option to add additional compiler
arguments under the GWT tab. i get the following directories when i
run:

/war/mymodule1
/war/mymodule2
and so on...

clicking the refresh button in the hosted browser window seems to have
the same effect as running the web app: it uses directories in the
default location. even though the actual web page points to to the
"war/foo" location, the app reflects the new changes immediately. the
web page includes the following script:



i checked the actual output files to see which ones were modified and,
sure enough, war/foo/mymodule1/mymodule1.nocache.js was NOT touched.
war/mymodule1/mymodule1.nocache.js was modified. again: the web app
seems to reflect the changes, even though the script src points to the
non-default directory. i'm assuming that the client-side code is just
running in the same VM as the server in hosted browser mode.

i'm hoping that the option to specify additional GWT compiler
arguments can be added to the GWT tab under Run Configurations, just
as it is available under the GWT compile dialog.

--

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




Cannot install dev mode browser plugin

2009-12-11 Thread yakbuttercandle
Getting dl-ssl.google.com not found. Has the location of the plugins
changed?

--

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




do I need eclipse/plug-in for gwt and appengine?

2009-12-11 Thread paulmo
I want to use GWT features like tabbed panels but as a beginner do not
want to get involved in an IDE like Eclipse. What if any features of
GWT are integrated in AppEngine? 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.




GWT 2.0 - Problem with Eclipse plugin and UiBinder "Field xxx has no corresponding field in template file yyy.ui.xml"

2009-12-11 Thread hoxbro
Whenever I try to explore to possibilities with the new UiBinder,
Eclipse tells me that e.g.:
"Field button has no corresponding field in template file
Mail.ui.xml".

Even when I use the Eclipse Wizard "New UiBinder" the web app wont
build or run in dev-mode.

I have tried to import the Mail sample into Eclipse - no problem. But
when I try to add a new UiField, I get the error again.

It's probably a very fundamental error - and I apologize for any
inconvenience this post may cause - but I give it a try anyway.

Here's the wizard generated file Pjat

public class Pjat extends Composite {
private static PjatUiBinder uiBinder = GWT.create
(PjatUiBinder.class);
interface PjatUiBinder extends UiBinder {}
@UiField Button button;   // <-- This line gets a red underline
public Pjat(String firstName) {
initWidget(uiBinder.createAndBindUi(this));
button.setText(firstName);
}
@UiHandler("button") // <-- This line gets a red underline
void onClick(ClickEvent e) {
Window.alert("Hello!");
}
}

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


.important {font-weight: bold;}


Hello,




--

You received 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   >