RE: Question regarding presenter in MVP pattern

2010-02-02 Thread Feldman, Nir
My susggestion would be to create a RecipeLinePresenter + a Display of a 
RecipeLine.
The Receipe display should have a method:
addRecipeLineDisplay(recipeLineDisplay RecipeLinePresenter.Display);
which will add the recipeLineDisplay.asWidget() to some container inside the 
display.

Hope this helps

-Original Message-
From: google-web-toolkit@googlegroups.com 
[mailto:google-web-tool...@googlegroups.com] On Behalf Of Eric
Sent: Tuesday, February 02, 2010 2:56 AM
To: Google Web Toolkit
Subject: Re: Question regarding presenter in MVP pattern

This is in no way an authoritative answer, but I've decided for my app
that defining a Model class and setting and getting a list of that
model is the right way to go:

So I would add
 void setRecipeItems( ListRecipeItem items) ;
 ListRecipeItem getRecipeItem() ;

to your Display interface.  I'm not totally happy with it, but I think
it beats the parallel arrays solution hands down, especially when you
realize that you need a unit of measure.

Good luck,
Eric

On Jan 31, 4:47 pm, gugguson gudbjargar...@gmail.com wrote:
 Hello.

 I'm creating an gwt app which will enable the user to enter recipes.
 I have a presenter with all the basic information like description,
 directions etc. which is defined like this:

   public interface Display {
     HasClickHandlers getSaveButton();
     HasClickHandlers getCancelButton();
     HasValueString getRecipeTitle();
     HasValueString getDescription();
     HasValueString getDirections();
     HasValueString getServings();
     HasValueString getTime();
     HasValueString getCourse();
     Widget asWidget();
   }

 What I'm going to add to this is the recipe lines which are basically
 pair of the ingradient and the amount.  What is the preferred way of
 adding lines to this interface when there can be x many lines?

 One method would be to do similar to the gwt samples and add two
 lines, one with the ingradients (list of strings) and other with the
 amount (list of double).  The other method would be to create a class
 which would contain the recipe lines with all information.  If I go
 that route should I have the class in the presenter package?

 Regards,
 Johann

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: UiHandlers in Extended Abstract Class

2010-02-02 Thread damians
Matttai could you post also your .ui.xml for example that you posted?

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: UiHandlers in Extended Abstract Class

2010-02-02 Thread damians
Analysing your code i also found that you got:

...
@UiField private TextBox firstname;
...

When am trying to mark UiField as private i got a compiller error:

Field 'firstname' marked as UiField cannot be declared as private.

Are you using GWT2.0 or maybe you got some night builds ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: UiHandlers in Extended Abstract Class

2010-02-02 Thread matttai
I don't have access to the xml at the moment but let me know what you
are wanting to see from it and i'll do my best to answer off the top
of my head.

I am using GWT 2.0 and it is the first time I have been using UIBinder
so I have no experience with it in any other revision.

On Feb 2, 7:39 pm, damians dsu...@o2.pl wrote:
 Analysing your code i also found that you got:

 ...
 @UiField private TextBox firstname;
 ...

 When am trying to mark UiField as private i got a compiller error:

 Field 'firstname' marked as UiField cannot be declared as private.

 Are you using GWT2.0 or maybe you got some night builds ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: UiHandlers in Extended Abstract Class

2010-02-02 Thread damians
I am looking for declaration in .ui.xml. First of all the code that
you posted is not compiling becouse of private UiFields declaretions.
I need too look in yours .ui.xml files becouse i think you declared in
extended ui also the same buttons as in base class .ui.xml and thats
why ist working for you. I dont know if what we are trying to do is
posiible. Please GWT Users if anyone know how to solve the problem,
share your experience.

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



old eclipse plugin

2010-02-02 Thread Pieter Breed
Hi,

Does somebody know where I can find the old eclipse google plugin that
was used with GWT1.7 and earlier?

P

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 java mail api

2010-02-02 Thread loucat
I removed it from the classpath but I couldn't use java mail api (it
didn't find the library), now I'm ever more confused :(
I've tried to use again the Google App Engine but now it says it's
impossible

On 31 Gen, 12:34, jocke eriksson jock...@gmail.com wrote:
 Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use it.

 2010/1/31 loucat lou...@gmail.com

  Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I
  don't want to use it...
  So I don't know if this is the right place to ask help but my mail
  method works outside GWT and doesn't work inside a GWT project...
  I don't know maybe the thing I'm trying to do can't be done in GWT
  hosted mode...

  On 30 Gen, 21:48, Cristian Nicanor Babula nicanor.bab...@gmail.com
  wrote:
   You want your application to run on appengine? If not, please make sure
   to disable appengine integration for your project.

   On 1/30/2010 8:16 PM, Jeff Schnitzer wrote:

You should try the AppEngine mailing list.  Your problem is unrelated
  to GWT.

Jeff

On Sat, Jan 30, 2010 at 8:14 AM, loucatlou...@gmail.com  wrote:

Hi everybody!

I'm trying to send a mail through an RPC call.
The server method uses Java mail api.
I used tha same method in different project and I'm able to send the
email both using Junit or Tomcat... but when I use it in my GWT
project, even if the RPC call gives the result onSuccess, I have
this exception:

--
Loading META-INF/javamail.providers from jar:file:/C:/documenti/
workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0-
sdk-1.2.6.jar!/META-INF/javamail.providers
DEBUG: loading new provider protocol=gm,
className=com.google.appengine.api.mail.stdimpl.GMTransport,
vendor=null, version=null
javax.mail.NoSuchProviderException: Unable to locate provider for
protocol: smtp

  -

I'm using GWT 1.7.1 without the AppEngine...

do I have to include something or fix something?
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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
For more options, visit this group athttp://
  groups.google.com/group/google-web-toolkit?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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 Password Transfer

2010-02-02 Thread Ahmad Bdair
Hello,

I am doing some login pages using GWT, and I want to send the
Username/ Password to server using RPC, I've been looking to secure
way to transfer it but I am not sure I found a specific answer, for
example

http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ

 String password = /*(get password from incoming JSON or GWT-RPC
request)*/;

Also I checked GWT security page,
http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications

but no luck.

Also I checked a couple of Login implementations, all of them sending
the password as plain text, and doing the hashing on the server side,
am I missing something here? How come the client sends the password to
server as txtPassword.getText().

Please Help.


Thanks,
Ahmad.

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



How to specify the url in Eclipse run config when using -noserver option

2010-02-02 Thread Asem
In the explanations of using own server in hosted mode, which can be
found here:
http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s
, there is one step which says: Change the URL at the end of the
argument list to match the URL you recorded in step #1.

Although not of high importance, I appreciate if someone clarifies how
to set the URL from the hosted mode Eclipse run configuration to point
to the actual webapp/webpage.html url.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Lothar Kimmeringer
Ahmad Bdair schrieb:

 I am doing some login pages using GWT, and I want to send the
 Username/ Password to server using RPC, I've been looking to secure
 way to transfer it but I am not sure I found a specific answer

You can send the password in plain text using SSL. Another way would
be to implement some challenge response system. The server sends a
challenge (some random data) and the client encrypts this data
using a cryptography key generated from the username/password-
combination.

I haven't tried it out but the latter in Javascript doesn't sound
very performant. Especially if SSL is another way secure enough
and supported by all browsers where a web-application might run on,
motivation to implement such a thing is quite low.


Regards, Lothar

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Alexander
+1, just use SSL

On 2 February 2010 15:51, Lothar Kimmeringer j...@kimmeringer.de wrote:

 Ahmad Bdair schrieb:

  I am doing some login pages using GWT, and I want to send the
  Username/ Password to server using RPC, I've been looking to secure
  way to transfer it but I am not sure I found a specific answer

 You can send the password in plain text using SSL. Another way would
 be to implement some challenge response system. The server sends a
 challenge (some random data) and the client encrypts this data
 using a cryptography key generated from the username/password-
 combination.

 I haven't tried it out but the latter in Javascript doesn't sound
 very performant. Especially if SSL is another way secure enough
 and supported by all browsers where a web-application might run on,
 motivation to implement such a thing is quite low.


 Regards, Lothar

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




-- 
Regards,
Alexander

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Ahmad Bdair
Thanks,

I did some quick research, it seems SSL is not just an easy way to
use, especially if you have one Tomcat hosting multiple site (this is
the case here).

Ahmad

On Feb 2, 12:07 pm, Alexander the.malk...@gmail.com wrote:
 +1, just use SSL

 On 2 February 2010 15:51, Lothar Kimmeringer j...@kimmeringer.de wrote:





  Ahmad Bdair schrieb:

   I am doing some login pages using GWT, and I want to send the
   Username/ Password to server using RPC, I've been looking to secure
   way to transfer it but I am not sure I found a specific answer

  You can send the password in plain text using SSL. Another way would
  be to implement some challenge response system. The server sends a
  challenge (some random data) and the client encrypts this data
  using a cryptography key generated from the username/password-
  combination.

  I haven't tried it out but the latter in Javascript doesn't sound
  very performant. Especially if SSL is another way secure enough
  and supported by all browsers where a web-application might run on,
  motivation to implement such a thing is quite low.

  Regards, Lothar

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

 --
 Regards,
 Alexander

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Abdullah Shaikh
What about SOP, I mean if you use https on the login page then how to
proceed to the other pages after login ? I mean after login all the other
pages would have to be on https right ?

or am I missing something ?

- Abdullah

On Tue, Feb 2, 2010 at 3:21 PM, Lothar Kimmeringer j...@kimmeringer.dewrote:

 Ahmad Bdair schrieb:

  I am doing some login pages using GWT, and I want to send the
  Username/ Password to server using RPC, I've been looking to secure
  way to transfer it but I am not sure I found a specific answer

 You can send the password in plain text using SSL. Another way would
 be to implement some challenge response system. The server sends a
 challenge (some random data) and the client encrypts this data
 using a cryptography key generated from the username/password-
 combination.

 I haven't tried it out but the latter in Javascript doesn't sound
 very performant. Especially if SSL is another way secure enough
 and supported by all browsers where a web-application might run on,
 motivation to implement such a thing is quite low.


 Regards, Lothar

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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 Password Transfer

2010-02-02 Thread Lothar Kimmeringer
Abdullah Shaikh schrieb:
 What about SOP, I mean if you use https on the login page then how to
 proceed to the other pages after login ?

Pass a session-token as answer to the login and use that when
accessing the server again.

 I mean after login all the
 other pages would have to be on https right ?

Not necessarily but not a wrong thing in dependence of the
application in question anyway.


Regards, Lothar

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 + Maven + JBOSS Issue

2010-02-02 Thread Kees
Could you share your maven-war-plugin configuration? I can't seem to
solve this same issue...

On 28 jan, 09:42, cupakob sira...@gmail.com wrote:
 To solve the problem, we have to cange the config for themaven-war-
 plugin and now works fine.

 On 18 Jan., 10:52, olivier nouguier olivier.nougu...@gmail.com
 wrote:

  How to you run your server ? WTP Launch ?

  On Mon, Jan 18, 2010 at 10:45 AM, Alexander the.malk...@gmail.com wrote:
   I meant there is no need to use them in production (e.g. in real server)

   2010/1/18 cupakob sira...@gmail.com

   i think, the parameter is needed for both - Host and Dev Mode.

   On 15 Jan., 17:03, Alexander the.malk...@gmail.com wrote:
This parameter is only need when you run DevMode, right?

2010/1/15 cupakob sira...@gmail.com

 hi all,

 i have a project, which useGWTfor the frontend. I can compile and
 run the module withmaven(mvn compile war:explodedgwt:run) and it
 works fine. After that i package (mvn war:exploded package) the app 
 as
 war and deploy it intojboss. When i call

    http://localhost:8080/module-frontend/index.html

 i get follwoing message

    GWTmodule 'XYZ' may need to be (re)compiled

 I found, that the ?gwt.codesvr parameter is missing. I've tried again
 with:

http://localhost:8080/module-frontend/index.html?gwt.codesvr=172.16.0.
   ..

 but now i get this error message:

    Plugin failed to connect to hosted mode server at 172.16.0.43:9997

 Any suggestions, how to solve the problem?

 --
 You received this message because you are subscribed to the Google
   Groups
 Google Web Toolkit group.
 To post to this group, send email to
   google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

--
Regards,
Alexander

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   .

   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

   --
   Regards,
   Alexander

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: UiBinder and non standard CSS properties.

2010-02-02 Thread Thomas Broyer


On Feb 2, 3:04 am, Carlos Aguayo carlos.agu...@gmail.com wrote:
 Hi,
 UiBinder can't seem to take non standard CSS properties.

 I have the following:

 ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
              xmlns:g='urn:import:com.google.gwt.user.client.ui'

   ui:style
   .test {
     -moz-border-radius: 4px;
   }
   /ui:style

   g:HTMLPanel
     input type=text class={style.test} /
   /g:HTMLPanel
 /ui:UiBinder

 And it shows the following warning when trying to display the page:
 21:01:53.994 [WARN] [gwtsandbox] Line 3 column 20: encountered -.
 Was expecting one of: } ; IDENT

 Is this as designed that you can't use non standard CSS properties?

See http://code.google.com/p/google-web-toolkit/issues/detail?id=3946
for workarounds, and this will be fixed in the upcoming GWT 2.0.1
release.

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



Re: UiBinder + HTML + Widgets

2010-02-02 Thread Thomas Broyer


On Feb 2, 2:33 am, Eric edimickeast...@gmail.com wrote:
 Hello all,

 I hope this is obvious and I'm just missing it, but I can't figure out
 how to add a Widget to a DivElement or TableCellElement that I get
 back from my uiBinder template.  Here is what I have:

 ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder 
         div class=wrapper

 [lots of eye candy that came from a graphic designer]

 a ui:field=logoutLinkLogout/a
 [more html]

    div ui:field=contentArea /

 [lots more stuff]

 /div
 /ui:UiBinder

 then in Java:
   @UiField
   LinkElement logoutLink;
   @UiField
   DivElement contentArea;

   public HasClickHandlers getLogoutLink() {
     // This was easy
     return Anchor.wrap(logoutLink);
   }

Won't work (or at least shouldn't, and might cause issues later on).
Why don't you use a g:Anchor ui:field='logoutLink'Logout/g:Anchor
in your ui.xml?

   public HasWidgets getContentArea() {
     // I can't figure out what to put here.  Help! Please!
     return null;
   }

 How do I turn an Element into some kind of Panel?  Or add a Widget to
 a container Element?

Either use a true container, such as g:FlowPanel
ui:field='contentArea' /, or go the hard way and manage the onAttach/
onDetach of the added/removed child widgets yourself (which means
implementing HasWidgets yourself too).

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: A Sexy/Slick GWT Application?

2010-02-02 Thread Thomas Broyer

On Feb 2, 2:13 am, Andy antonvonpil...@gmail.com wrote:
 I've been looking at a lot of the demos for the 3rd party GWT plugins;
 for example, SmartGWT, and read the various postings on this forum
 about who's actually using GWT, but I was wondering if anyone knows of
 a really sexy/slick GWT application that not only has a great design,
 but uses animation in a meaningful way (rather than for the sake of
 it), and even has custom widgets that are more than a collection of
 assets arranged in a nice way.

 I'm thinking of something along the lines of the Roambi iPhone app
 (http://www.roambi.com) or theCappuccino-based Almost.as app (http//
 almost.at) (in particular the timeline widget at the bottom of the
 screen).

Google Wave or Chrome's Speed Tracer extension are both GWT apps.

And Speed Tracer is open source: http://code.google.com/p/speedtracer/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Abdullah Shaikh
OK, what I meant was,

You have your gwt app at http://somehost/gwtapp

Now when you want to logged in the user using ssl, you will have to XHR to
some https url right, https://somehost:443/gwtapp

and this won't be possible as per SOP

now if you load your application using https://somehost:443/gwtapp, then it
will work, but I will have to forcibly use https for all the further
communication, because I cant do XHR to http because of SOP.


Regards,
Abdullah

On Tue, Feb 2, 2010 at 4:18 PM, Lothar Kimmeringer j...@kimmeringer.dewrote:

 Abdullah Shaikh schrieb:
  What about SOP, I mean if you use https on the login page then how to
  proceed to the other pages after login ?

 Pass a session-token as answer to the login and use that when
 accessing the server again.

  I mean after login all the
  other pages would have to be on https right ?

 Not necessarily but not a wrong thing in dependence of the
 application in question anyway.


 Regards, Lothar

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



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



Re: UiBinder + HTML + Widgets

2010-02-02 Thread Eric
Using g:Anchor and g:FlowPanel is what I tried first, but I got
the following error:

19:15:00.173 [ERROR] [gwtui] Found widget g:FlowPanel
ui:field='contentArea' in an HTML context

I guess that you are telling me the UiBinder just doesn't do what I
thought it did which is to allow look-and-feel of the UI for GWT apps
to be developed by people (and tools) who know HTML/CSS but not GWT.
So where I use UiBinder, either I need to start at the top of my
ui.xml file and replace all tables and divs with g:XxxxPanels or
I need to give up on using Widgets and make calls to
myElement.setInnerHtml()?  That's disappointing.

RootPanel.get(someId) works, right? And I call this multiple times,
so I could put most of my HTML into the base Project.html file.  That
sounds kludgy, but might be my best option at this point.

I'm not doubting you, but what about Anchor.wrap(logoutLink) won't
work? If this is not the right way to use that method, what is?

Eric

On Feb 2, 6:04 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Feb 2, 2:33 am, Eric edimickeast...@gmail.com wrote:





  Hello all,

  I hope this is obvious and I'm just missing it, but I can't figure out
  how to add a Widget to a DivElement or TableCellElement that I get
  back from my uiBinder template.  Here is what I have:

  ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder 
          div class=wrapper

  [lots of eye candy that came from a graphic designer]

  a ui:field=logoutLinkLogout/a
  [more html]

     div ui:field=contentArea /

  [lots more stuff]

  /div
  /ui:UiBinder

  then in Java:
    @UiField
    LinkElement logoutLink;
    @UiField
    DivElement contentArea;

    public HasClickHandlers getLogoutLink() {
      // This was easy
      return Anchor.wrap(logoutLink);
    }

 Won't work (or at least shouldn't, and might cause issues later on).
 Why don't you use a g:Anchor ui:field='logoutLink'Logout/g:Anchor
 in your ui.xml?

    public HasWidgets getContentArea() {
      // I can't figure out what to put here.  Help! Please!
      return null;
    }

  How do I turn an Element into some kind of Panel?  Or add a Widget to
  a container Element?

 Either use a true container, such as g:FlowPanel
 ui:field='contentArea' /, or go the hard way and manage the onAttach/
 onDetach of the added/removed child widgets yourself (which means
 implementing HasWidgets yourself too).

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



Get uploading file name immediately

2010-02-02 Thread Florentine3D
http://gwt.google.com/samples/Showcase/Showcase.html#CwFileUpload

In this example, after I chose the file, in right side appear his
name. The name appears without pressing any buttons.
How do I do that without clicking Submit, I could bring the file name,
size and other data? Which event occurs?

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



Re: UiBinder + HTML + Widgets

2010-02-02 Thread Christian Goudreau
You can include GWT widget inside HTML if and only if those are in an
HTMLPanel Widget !

It's really simple once you do that.

Ex :

http://pastie.org/805830

Christian

On Tue, Feb 2, 2010 at 7:13 AM, Eric edimickeast...@gmail.com wrote:

 Using g:Anchor and g:FlowPanel is what I tried first, but I got
 the following error:

 19:15:00.173 [ERROR] [gwtui] Found widget g:FlowPanel
 ui:field='contentArea' in an HTML context

 I guess that you are telling me the UiBinder just doesn't do what I
 thought it did which is to allow look-and-feel of the UI for GWT apps
 to be developed by people (and tools) who know HTML/CSS but not GWT.
 So where I use UiBinder, either I need to start at the top of my
 ui.xml file and replace all tables and divs with g:XxxxPanels or
 I need to give up on using Widgets and make calls to
 myElement.setInnerHtml()?  That's disappointing.

 RootPanel.get(someId) works, right? And I call this multiple times,
 so I could put most of my HTML into the base Project.html file.  That
 sounds kludgy, but might be my best option at this point.

 I'm not doubting you, but what about Anchor.wrap(logoutLink) won't
 work? If this is not the right way to use that method, what is?

 Eric

 On Feb 2, 6:04 am, Thomas Broyer t.bro...@gmail.com wrote:
  On Feb 2, 2:33 am, Eric edimickeast...@gmail.com wrote:
 
 
 
 
 
   Hello all,
 
   I hope this is obvious and I'm just missing it, but I can't figure out
   how to add a Widget to a DivElement or TableCellElement that I get
   back from my uiBinder template.  Here is what I have:
 
   ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder 
   div class=wrapper
 
   [lots of eye candy that came from a graphic designer]
 
   a ui:field=logoutLinkLogout/a
   [more html]
 
  div ui:field=contentArea /
 
   [lots more stuff]
 
   /div
   /ui:UiBinder
 
   then in Java:
 @UiField
 LinkElement logoutLink;
 @UiField
 DivElement contentArea;
 
 public HasClickHandlers getLogoutLink() {
   // This was easy
   return Anchor.wrap(logoutLink);
 }
 
  Won't work (or at least shouldn't, and might cause issues later on).
  Why don't you use a g:Anchor ui:field='logoutLink'Logout/g:Anchor
  in your ui.xml?
 
 public HasWidgets getContentArea() {
   // I can't figure out what to put here.  Help! Please!
   return null;
 }
 
   How do I turn an Element into some kind of Panel?  Or add a Widget to
   a container Element?
 
  Either use a true container, such as g:FlowPanel
  ui:field='contentArea' /, or go the hard way and manage the onAttach/
  onDetach of the added/removed child widgets yourself (which means
  implementing HasWidgets yourself too).

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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 compile button in eclipse

2010-02-02 Thread jonbbbb
Hi,

I have upgraded to Gwt 2.0 from 1.6.

Previously in 1.6 I could compile the project into javascript by
hitting the compile button in the window that came up when I ran the
project.

If I now in Gwt 2.0 hit the red suitcase button in eclipse, I get a
Gwt compile dialog up. But it has an red x, and says ...is not a
Gwt project. And the compile button is disabled so it is not possible
to compile it.

Any ideas why it thinks it is not a Gwt project? And how can I compile
it?


Regards, Jon Berg.

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



Use Annotation to generate client side code

2010-02-02 Thread Miss Marie Ruana
Hi all,

I would like to know if it's possible to generate code with an
annotation in client side before the GWT compilation ?

For example, if i have a POJO like this :

@MyAnnotation
public class MyPojo {
private String dummyAttribute;
}

I would like that MyAnnotation Annotation generate code before the
GWT compilation process.
Is this possible and which mechanism i need to use to do that ?

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.



DevMode!!! how make it works.

2010-02-02 Thread sith
Hi All!

I have big problem with new and very cool GWT feature - DevMode. It
doesnt work for me. When I working with DevMode, my server receiving
StatusCodeException. Under that lies trouble with serialization
policy. When browser work with dev mode he ask server  not existing
gwt.rpc file. Why?
 Why?

WHY??

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Validating ClientBundles ?

2010-02-02 Thread rossjudson
I'm not sure if it's related, but I noticed that in my eclipse setup a
prior version of GWT was still present, and checked as the default.
That version is no longer present (I removed it from the
installation). Perhaps the validator is crashing when it is trying to
validate something that isn't there any more?

RJ

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Building GWT from source

2010-02-02 Thread Peter Wong
Karan,

I ran into the same problems you mentioned above when using Ant 1.8.0
RC1.
Try Ant 1.7.1 (http://archive.apache.org/dist/ant/binaries/)
Switching to Ant 1.7.1 cleared up my build problems.

On Jan 31, 8:11 pm, Karan Bhatnagar karan.bhatna...@gmail.com wrote:
 Hi,
  I am an ant newbie. I am trying to build GWT from source following steps as
 mentioned athttp://code.google.com/webtoolkit/makinggwtbetter.html
  I am facing problem doing that and could not get solution in ant forums.
 http://code.google.com/webtoolkit/makinggwtbetter.html
  Now when I invoke ant from trunk directory, it first says that a file is
 duplicate.
 BUILD FAILED
 /home/karan/work/gwt/trunk/build.xml:91: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/build.xml:27: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/build.xml:54: The following error occurred while
 executing this line:
 /home/karan/work/gwt/trunk/dev/build.xml:107: The following error occurred
 while executing this line:
 /home/karanb/work/gwt/trunk/common.ant.xml:148: Duplicate file
 org/apache/COPYING was found and the duplicate attribute is 'fail'.

 When I re invoke ant without ant clean, it fails to find classes in tools
 directory, for example it says:
 compile:
 [gwt.javac] /home/karan/work/gwt/trunk/dev/build.xml:199: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds
 [gwt.javac] Compiling 138 source files to
 /home/karan/work/gwt/trunk/build/out/dev/bin
 [gwt.javac]
 /home/karanb/work/gwt/trunk/dev/core/src/com/google/gwt/dev/ServletValidato 
 r.java:21:
 package org.mortbay.jetty.servlet does not exist
 [gwt.javac] import org.mortbay.jetty.servlet.ServletHandler;
  {Many such errors}

 I reinvoke ant, specifying -lib /home/karan/work/gwt/tools/lib/jetty, then
 jetty package issue is resolved, but rest packages continue giving errors.
 [gwt.javac] /home/karan/work/gwt/trunk/dev/build.xml:199: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds
 [gwt.javac] Compiling 138 source files to
 /home/karan/work/gwt/trunk/build/out/dev/bin
 [gwt.javac]
 /home/karan/work/gwt/trunk/dev/core/src/com/google/gwt/dev/shell/CompilingC 
 lassLoader.java:47:
 package org.apache.commons.collections.map does not exist
 [gwt.javac] import org.apache.commons.collections.map.AbstractReferenceMap;

 Why do I have to manually give lib path, why can't ant get it by itself as
 the guide makinggwtbetter says. I am also mentioning system info below for
 any hints:
  Ant is in home/karan/Downloads/
 ka...@karanb:~/Downloads/apache-ant-1.8.0RC1$ ls
 INSTALL  KEYS  LICENSE  NOTICE  README  WHATSNEW  bin  docs  etc  fetch.xml
  get-m2.xml  lib

  ant is installed properly as I see:
  ka...@karan:~/work/gwt/trunk$ ant -version
  Apache Ant version 1.8.0RC1 compiled on January 5 2010

 The environment variables are set as :
  GWT_TOOLS=/home/karan/work/gwt/tools
  ANT_HOME=/home/karan/Downloads/apache-ant-1.8.0RC1

  The directory /home/karan/work/gwt contains tools and trunk subdirectories.

  ka...@karan:~/work/gwt/tools$ ls
  antlib  lib  redist  sdk

  ka...@karan:~/work/gwt/trunk$ ls
  build-tools  build.xml  common.ant.xml  dev  dev-ext  distro-source  doc
  eclipse  jni  platforms.ant.xml  plugins  reference  samples  servlet
  tools  user

 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.



CSS does not reload

2010-02-02 Thread crojay78
Hi,

I have the problem that my changes on the CSS of my project will not
be used in the development mode. It does not take the actual css which
lies in the war folder. Does anybody know where the problem might be?

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: UiBinder + extending FlexTable

2010-02-02 Thread Rocky
Where color() method gets called.
Can you provide TwoAxisFlexTable.ui.xml source?

On Dec 15 2009, 1:28 pm, mma marco.m.al...@gmail.com wrote:
 Hi!

 I'm currently trying to create a widget that extends FlexTable in way
 the style of the row and column header cells (row=0 and col=0,
 respectively) is different from the other (regular) cells.

 In order to do this, i'm following the approach:
 - Created TwoAxisFlexTable.java and TwoAxisFlexTable.ui.xml using the
 eclipse plugin provided by google (code below)
 - Changed the java file in order to extend FlexTable instead of
 extending Composite (and erased the initwidget() part)
 - Included a new xmlns in the ui.xml file in order to recognize the
 TwoAxisFlexTable class from the java file
 - Added a Style type in the ui.xml file and the respective interface
 in java file

 All is working fine, but the is code is breaking (null exception) when
 I try to set the style.

 I'm not an experienced programmer, so I imagine that the problem i'm
 facing has a trivial solution...

 Thanks,
 M.

 --- ui.xml ---

 !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
 ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
         xmlns:g=urn:import:com.google.gwt.user.client.ui
         xmlns:t=urn:import:com.mobeo.experiments.client.ui

         ui:style
 type='com.mobeo.experiments.client.ui.TwoAxisFlexTable.Style'
                 .axisrow {border-bottom: solid thin grey; text-align: center;}
                 .axiscol {border-right: solid thin grey; text-align: center;}
                 .regular {text-align: center;}
         /ui:style
         g:HTMLPanel
                 t:TwoAxisFlexTable/t:TwoAxisFlexTable
         /g:HTMLPanel
 /ui:UiBinder

 -- java ---

 package com.mobeo.experiments.client.ui;

 import com.google.gwt.core.client.GWT;
 import com.google.gwt.resources.client.CssResource;
 import com.google.gwt.uibinder.client.UiBinder;
 import com.google.gwt.uibinder.client.UiField;
 import com.google.gwt.user.client.ui.FlexTable;
 import com.google.gwt.user.client.ui.Widget;

 public class TwoAxisFlexTable extends FlexTable {

         private static TwoAxisFlexTableUiBinder uiBinder = GWT.create
 (TwoAxisFlexTableUiBinder.class);

         interface TwoAxisFlexTableUiBinder extends
                         UiBinderWidget, TwoAxisFlexTable {
         }

         interface Style extends CssResource {
                 String axisrow();
                 String axiscol();
             String regular();
           }

         @UiField Style style;

         public TwoAxisFlexTable() {
                 super();
         }

         void color () {
                 int rowsize = super.getRowCount();
                 if (rowsize == 0) return;
                 for (int row = 0; row  rowsize; row ++) {
                         int colsize = super.getCellCount(row);
                         System.out.println(Recoloring... row:  + row +  # 
 col:  +
 colsize);
                         if (colsize != 0) {
                                 for (int col = 0; col  colsize; col ++) {
                                         System.out.println(Recoloring... 
 row:  + row +  col:  + col);

                                   // CODE BREAKS IN THE STATEMENT
 BELOW
                                         if (row == 0) 
 getCellFormatter().setStyleName(row, col,
 style.axisrow());
                                         else if (col == 0) 
 getCellFormatter().setStyleName(row, col,
 style.axiscol());
                                         else 
 getCellFormatter().setStyleName(row, col, style.regular());
                                 }
                         }
                 }

         }

 }

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



RequestBuilder error handling

2010-02-02 Thread Fotos Georgiadis
Hi,

I have a question about the proper use of error handling code with
RequestBuilder. I can't figure out what's gonna happen, when something
goes wrong, and the proper way to handle such situations.

I've already searched this group's archives and googled it a bit but
couldn't find anything relevant (or even remotely associated). The
documentation (javadoc) is not clarifying enough (IMHO).

Some (pretty much standard) example code:

// Create new request builder
RequestBuilder builder = new RequestBuilder
(RequestBuilder.POST, configuration.LOGIN_URL());

// set other headers, params, etc.

// Send the request
   try {
request = builder.sendRequest(data, new RequestCallback()
{

public void onError(Request request, Throwable exception)
{
// Handle errors: dispatch a message on the event bus to show an
error message
}

public void onResponseReceived(Request request, Response
response) {
   // Parse response according to HTTP status code...
});
   } catch (RequestTimeoutException e) {
  // Do we have to handle the error again? Or just ignore it
since we handled it in onError?
   } catch (RequestException e) {
  // Ditto...
   }

The question is ... if, for example, a RequestTimeoutException happens
what's the sequence of things?

Case 1:
onError() gets called AND then a RequestTimeoutException is thrown and
handled by the external try / catch block?

Case 2:
Only the exception is being thrown without calling onError() method of
the callback class?

Case 3:
The onError() method is called and no exception is being thrown?

Or which case happens depends on external factors (browser, OS, other
things)?

We tried to delve in the code and figure out what's going on but
couldn't really wrap our heads around it. A clarification from the
Google guys who know the code well enough would be awesome!

Thanks in advance for any responses,
-fotos

PS. GWT is great ... but you already know that. :)

www.rento.gr

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



run gwt in developer mode with my own web server

2010-02-02 Thread jonbbbb
Hi,

I just upgraded from GWT 1.6 to 2.0.

Previously I could run the app from the my web server by just typing
in the hostname instead of localhost in the hosted mode browser.

The files I had to copy over to the web server did not seemed to
change when I recompiled it with 2.0, so I did not upload any new
files to the web server.

I have downloaded the plugin for Firefox. The app runs fine in Firefox
when I start it and it runs with the default localhost.

I tried to change the domain name in the url of the browser to the web
server, but then I just got a blank page, which is the index.htm, so
no javascript stuff is loaded it seems.

By the way what is the gwt.codesvr= parameter for? That should point
to the machine I am deverloping on / running Eclipse on, right?

I am doing this because the application needs to make http requests to
the web server to get data.

So I am a bit stuck. I am wondering how I can get this to work in Gwt
2.0?


Regards, Jon Berg.

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



Is it possible to use GWT on ADSL boxes relying on SpierMonkey (Mozilla's implementation)?

2010-02-02 Thread Julien Gouesse
Hi!

In France, an ISP called Free allows developers to create games for
its ADSL modem boxes called Freebox:
http://elixir.freebox.fr/?section=accueil

The Elixir SDK allows to make games for this kind of machine, it
relies on Mozilla's C implementation of JavaScript called
SpiderMonkey and on the window manager / set of GUI library called
Enlightment:
http://www.enlightenment.org/

This kind of box has a support of OpenGL ES 2.0 which is interesting
for 3D games :)

Would it be possible to customize GWT in order to target this kind of
box at least to ease the port of games using Java/JOGL 2 or Android
Dalvik Machine/Android OpenGL ES?

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



Free memory allocated to GWT widgets

2010-02-02 Thread SmartKiller
I am facing this problem in my GWT application. Memory is kept getting
allocated but is never free up memory. Now following question arieses:

1. Does is good idea to rely on browser's garbage collection.
2. Is it possible to force apply GC? if yes how.
3. I am using tab panel in my application. If that any way i can free
memory upon tab switching?

Thanks in advance for all your suggestions.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: CSS does not reload

2010-02-02 Thread Sean
Did you use FireBug to verify which CSS is being loaded? Make sure
there are no errors in your CSS, that will stop your CSS after the
error from being loaded.

See if it's a caching problem by hitting CTRL+F5 to force a full re-
load of all the website's data.

On Feb 2, 8:32 am, crojay78 croja...@googlemail.com wrote:
 Hi,

 I have the problem that my changes on the CSS of my project will not
 be used in the development mode. It does not take the actual css which
 lies in the war folder. Does anybody know where the problem might be?

 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: GWT and java mail api

2010-02-02 Thread Martin D'Aloia
I think this is not GWT related topic (wrong group), but to try to help you
if doesn't find the library is because you don't have them in classpath...
check these items:

- Remove all Google AppEngine related jars

- If you use Java SE 6 then you only have to download
http://java.sun.com/products/javamail/downloads/index.html and include the
necessary jars (see the README)  (if you use Maven:
http://download.java.net/maven/2/javax/mail/mail/ )

- If you don't use Java SE 6 you also need
http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html



On Tue, Feb 2, 2010 at 6:04 AM, loucat lou...@gmail.com wrote:

 I removed it from the classpath but I couldn't use java mail api (it
 didn't find the library), now I'm ever more confused :(
 I've tried to use again the Google App Engine but now it says it's
 impossible

 On 31 Gen, 12:34, jocke eriksson jock...@gmail.com wrote:
  Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use
 it.
 
  2010/1/31 loucat lou...@gmail.com
 
   Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I
   don't want to use it...
   So I don't know if this is the right place to ask help but my mail
   method works outside GWT and doesn't work inside a GWT project...
   I don't know maybe the thing I'm trying to do can't be done in GWT
   hosted mode...
 
   On 30 Gen, 21:48, Cristian Nicanor Babula nicanor.bab...@gmail.com
   wrote:
You want your application to run on appengine? If not, please make
 sure
to disable appengine integration for your project.
 
On 1/30/2010 8:16 PM, Jeff Schnitzer wrote:
 
 You should try the AppEngine mailing list.  Your problem is
 unrelated
   to GWT.
 
 Jeff
 
 On Sat, Jan 30, 2010 at 8:14 AM, loucatlou...@gmail.com  wrote:
 
 Hi everybody!
 
 I'm trying to send a mail through an RPC call.
 The server method uses Java mail api.
 I used tha same method in different project and I'm able to send
 the
 email both using Junit or Tomcat... but when I use it in my GWT
 project, even if the RPC call gives the result onSuccess, I have
 this exception:
 
 --
 Loading META-INF/javamail.providers from jar:file:/C:/documenti/
 workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0-
 sdk-1.2.6.jar!/META-INF/javamail.providers
 DEBUG: loading new provider protocol=gm,
 className=com.google.appengine.api.mail.stdimpl.GMTransport,
 vendor=null, version=null
 javax.mail.NoSuchProviderException: Unable to locate provider for
 protocol: smtp
 
  
 -
 
 I'm using GWT 1.7.1 without the AppEngine...
 
 do I have to include something or fix something?
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
 For more options, visit this group athttp://
   groups.google.com/group/google-web-toolkit?hl=en.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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.comgoogle-web-toolkit%2bunsubscr...@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 compile button in eclipse

2010-02-02 Thread Sean
I can't remember when the structure changed, but did 1.6 have the WAR
compile setting? Instead of it compiling to the WWW folder? If it
didn't have the WAR it may be easier to create a new GWT project and
import all your .java files and place all the pics and such in the
WAR.

Have you tried creating a brand new 2.0 project making sure you can
run and compile that, just to verify all plugins are installed
correctly?

If you can create a new project, but still have problems importing the
old one, I'd create a fresh Workspace, create a Fresh GWT project with
the same name as your old one and then just import your .java's and
put all the other files you need (.css, .xml  .png's) and such in the
correct spots as well.



On Feb 1, 11:39 am, jon jon.b...@gmail.com wrote:
 Hi,

 I have upgraded to Gwt 2.0 from 1.6.

 Previously in 1.6 I could compile the project into javascript by
 hitting the compile button in the window that came up when I ran the
 project.

 If I now in Gwt 2.0 hit the red suitcase button in eclipse, I get a
 Gwt compile dialog up. But it has an red x, and says ...is not a
 Gwt project. And the compile button is disabled so it is not possible
 to compile it.

 Any ideas why it thinks it is not a Gwt project? And how can I compile
 it?

 Regards, Jon Berg.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: CSS does not reload

2010-02-02 Thread crojay78
Hi,

thanks for your response. Firebug does not show any errror on the CSS.
But my problem is, that the file wich is lying in the war folder will
not be used in the development mode I do not know why? I restarted
eclipse, refreshed the project, rebuilded the project  but the css
which is lying in the war folder will be ignored, and instead a older
version of my css will be used


On 2 Feb., 14:40, Sean slough...@gmail.com wrote:
 Did you use FireBug to verify which CSS is being loaded? Make sure
 there are no errors in your CSS, that will stop your CSS after the
 error from being loaded.

 See if it's a caching problem by hitting CTRL+F5 to force a full re-
 load of all the website's data.

 On Feb 2, 8:32 am, crojay78 croja...@googlemail.com wrote:



  Hi,

  I have the problem that my changes on the CSS of my project will not
  be used in the development mode. It does not take the actual css which
  lies in the war folder. Does anybody know where the problem might be?

  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.



Combining Google Checkout

2010-02-02 Thread maks
Is there any examples on how to include Google Checkout in GWT?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Password Transfer

2010-02-02 Thread Ahmad Bdair
I think this
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ec7dbd34640643e2

supports what Abdullah Shaikh said, anyone with Tutorial on how to use
secure communication channel using GWT?

Ahmad.

On Feb 2, 1:09 pm, Abdullah Shaikh abdullah.shaik...@gmail.com
wrote:
 OK, what I meant was,

 You have your gwt app athttp://somehost/gwtapp

 Now when you want to logged in the user using ssl, you will have to XHR to
 some https url right,https://somehost:443/gwtapp

 and this won't be possible as per SOP

 now if you load your application usinghttps://somehost:443/gwtapp, then it
 will work, but I will have to forcibly use https for all the further
 communication, because I cant do XHR to http because of SOP.

 Regards,
 Abdullah

 On Tue, Feb 2, 2010 at 4:18 PM, Lothar Kimmeringer j...@kimmeringer.dewrote:



  Abdullah Shaikh schrieb:
   What about SOP, I mean if you use https on the login page then how to
   proceed to the other pages after login ?

  Pass a session-token as answer to the login and use that when
  accessing the server again.

   I mean after login all the
   other pages would have to be on https right ?

  Not necessarily but not a wrong thing in dependence of the
  application in question anyway.

  Regards, Lothar

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  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: Get uploading file name immediately

2010-02-02 Thread Artem Borodin
Sorry for my question. View file name this is features Chrome browser :)

2010/2/2 Florentine3D artem.boro...@gmail.com

 http://gwt.google.com/samples/Showcase/Showcase.html#CwFileUpload

 In this example, after I chose the file, in right side appear his
 name. The name appears without pressing any buttons.
 How do I do that without clicking Submit, I could bring the file name,
 size and other data? Which event occurs?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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.



How to write test cases (in GWTTestCase) to test UI components of GWT?

2010-02-02 Thread inder sharma
Hi All !!

I want to test a UI code developed in GWT.The form I have developed
consists of various GWT components like buttons,text area,text field
etc. There are also listeners added on buttons and fields.

Now I want to write test cases for the 'UI' of this form using
GWTTestCase.How can I write test cases for this so that data can be
auto filled in form during test case running and listeners added on
components in this form can also be tested?

Can I achieve this through GWTTestCase or any other tool in GWT to
test UI interactions like listeners etc.?






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



How to write test cases (in GWTTestCase) to test UI components of GWT?

2010-02-02 Thread inder sharma
Hi All!!

I want to test a UI code developed in GWT.The form I have developed
consists of various GWT components like buttons,text area,text field
etc. There are also listeners added on buttons and fields.

Now I want to write test cases for the 'UI' of this form using
GWTTestCase.How can I write test cases for this so that data can be
auto filled in form during test case running and listeners added on
components in this form can also be tested?

Can I achieve this through GWTTestCase or any other tool in GWT to
test UI interactions like listeners etc.?

How to write test cases (in GWTTestCase) to test UI components of GWT?




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: run gwt in developer mode with my own web server

2010-02-02 Thread jonbbbb
After the initial panic settled,
I was able to get this to work as before.
So no need to look into this.

On Feb 1, 3:46 pm, jon jon.b...@gmail.com wrote:
 Hi,

 I just upgraded from GWT 1.6 to 2.0.

 Previously I could run the app from the my web server by just typing
 in the hostname instead of localhost in the hosted mode browser.

 The files I had to copy over to the web server did not seemed to
 change when I recompiled it with 2.0, so I did not upload any new
 files to the web server.

 I have downloaded the plugin for Firefox. The app runs fine in Firefox
 when I start it and it runs with the default localhost.

 I tried to change the domain name in the url of the browser to the web
 server, but then I just got a blank page, which is the index.htm, so
 no javascript stuff is loaded it seems.

 By the way what is the gwt.codesvr= parameter for? That should point
 to the machine I am deverloping on / running Eclipse on, right?

 I am doing this because the application needs to make http requests to
 the web server to get data.

 So I am a bit stuck. I am wondering how I can get this to work in Gwt
 2.0?

 Regards, Jon Berg.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 compile button in eclipse

2010-02-02 Thread jonbbbb
Hi,

I also got this to work. Basically I created a new GWT project in
Eclipse that was
possible to compile. Then put all the old source files into that new
project.
I suppose that is what you propose.
Thanks for your help.

On Feb 2, 2:54 pm, Sean slough...@gmail.com wrote:
 I can't remember when the structure changed, but did 1.6 have the WAR
 compile setting? Instead of it compiling to the WWW folder? If it
 didn't have the WAR it may be easier to create a new GWT project and
 import all your .java files and place all the pics and such in the
 WAR.

 Have you tried creating a brand new 2.0 project making sure you can
 run and compile that, just to verify all plugins are installed
 correctly?

 If you can create a new project, but still have problems importing the
 old one, I'd create a fresh Workspace, create a Fresh GWT project with
 the same name as your old one and then just import your .java's and
 put all the other files you need (.css, .xml  .png's) and such in the
 correct spots as well.

 On Feb 1, 11:39 am, jon jon.b...@gmail.com wrote:

  Hi,

  I have upgraded to Gwt 2.0 from 1.6.

  Previously in 1.6 I could compile the project into javascript by
  hitting the compile button in the window that came up when I ran the
  project.

  If I now in Gwt 2.0 hit the red suitcase button in eclipse, I get a
  Gwt compile dialog up. But it has an red x, and says ...is not a
  Gwt project. And the compile button is disabled so it is not possible
  to compile it.

  Any ideas why it thinks it is not a Gwt project? And how can I compile
  it?

  Regards, Jon Berg.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: DevMode 64-bit Linux InteliiJ IDEA

2010-02-02 Thread Hamlet D'Arcy
I did not find it possible to make 64bit Ubuntu 9.10, GWT 2.0, and 32
bit Java work together. The only solution for me was to upgrade to
Java 6. Then it worked fine.



On Jan 15, 2:16 pm, Hamlet D'Arcy hamlet...@gmail.com wrote:
 GWT Development Mode is not running for me using 64-bit Linux and
 IntellJ IDEA. I see there are some other threads and bug reports
 already for this issue, however they are either marked stale or
 predate the 2.0 release. The directions attached all include
 instructions that are no longer relevant with the 2.0 release.

 Does anyone have directions on how to get 64-bit Linux and GWT
 Development Mode running, preferably in IntelliJ 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.



development mode and JAXB

2010-02-02 Thread this_dan
Hi. I am trying to upgrade to 2.0 and am having some issues when
trying to run in development mode. On the server side I seem to
require JAXB2.1 however it seems jetty is using a jre1.5 flavor and
only has jaxb2.0. I cannot figure out how to modify or setup jetty to
use my jaxb lib directory.

I am using gwt2.0
I use eclipse but do NOT have the eclipse plugin for gwt
I run DevMode from an ant script from eclipse


Ive been trying to find a way to set the endorseddirs variable or
java.endorsed.dir but haven't had any luck and keep getting the error
in development mode saying I need to add jaxb2.1 to the endorsed dirs.
Somehow I had this working before using gwt1.6.4 but lost my computer
to a crash and have no idea how I had it working.

Thanks 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: UiBinder and attributes

2010-02-02 Thread Jason Parekh
Hi Christian,

If you don't mind, could you open a feature request on the GWT issue tracker
at http://code.google.com/p/google-web-toolkit/issues/list ?  An issue's
star rating allows us to gauge the popularity of a feature among our users
which leads to better priority ranking .

Thanks,
jason

On Sun, Jan 31, 2010 at 1:52 PM, Christian Goudreau 
goudreau.christ...@gmail.com wrote:

 I was wondering when we'll be able with the eclipse plugin to have
 auto-completion on our widget when it comes to add attributes like
 horizontalAlignment, size, etc.

 It would be a real time saver and pain saving complement.

 Btw, great works, I really love to use UiBinder !

 Christian

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: Co-existing 1.7.1 projects and 2.0 projects

2010-02-02 Thread Jason Parekh
Hi Pieter,

The actual Eclipse plugin supports all versions of GWT (so no downgrading
required there).

What you'll need to do is:

- Make sure GWT 1.7.1 SDK is installed.  In Eclipse, go to Window 
Preferences  Google  Web Toolkit.  If you see 1.7.1 and 2.0.0 there,
great!  If not, you can download GWT 1.7.1 SDK from
http://code.google.com/webtoolkit/versions.html , extract it somewhere, and
click the Add button in the dialog.

- Make sure the GWT 1.7.1-based project is using the GWT 1.7.1 SDK.  Right
click on the project, go to Properties  Google  Web Toolkit, and you can
Use specific SDK.

After these changes are made, you can launch your app again, and it should
work as it did before.  (If it does not, try clearing your browser cache
and/or a clean build of the project.)

Hope this helps,
jason

On Mon, Feb 1, 2010 at 10:56 AM, Pieter Breed pieter.br...@gmail.comwrote:

 Hi,

 Our team have several version of our software going at the same time.
 The current version runs on GWT 1.7.1; our next version will maybe
 ship with GWT 2.0 so we are trying to do the upgrade. We have
 installed the new google eclipse plugin, but now we can't get our
 1.7.1 apps to work anymore in hosted mode. It keeps on trying to load
 the browser plugin system of GWT2, which obviously wont work.

 I can't find the old plugin which I will happily use, can somebody
 here maybe point me to a mirror of it? Is there something else that I
 am missing? I've tried to remove the hosted.html file; it has no
 effect.

 Regards,
 P

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



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



Re: How to specify the url in Eclipse run config when using -noserver option

2010-02-02 Thread Jason Parekh
Hi Asem,

I believe the instructions are referring to the -startupUrl parameter. You
can open the launch configuration and add this to the Program arguments
section.

jason

On Tue, Feb 2, 2010 at 4:45 AM, Asem assem.ka...@gmail.com wrote:

 In the explanations of using own server in hosted mode, which can be
 found here:

 http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s
 , there is one step which says: Change the URL at the end of the
 argument list to match the URL you recorded in step #1.

 Although not of high importance, I appreciate if someone clarifies how
 to set the URL from the hosted mode Eclipse run configuration to point
 to the actual webapp/webpage.html url.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: old eclipse plugin

2010-02-02 Thread Jason Parekh
(I replied to Pieter's other thread with instructions.)

On Tue, Feb 2, 2010 at 4:03 AM, Pieter Breed pieter.br...@gmail.com wrote:

 Hi,

 Does somebody know where I can find the old eclipse google plugin that
 was used with GWT1.7 and earlier?

 P

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: Unable to Use GWT Developer Plugin with Firefox 3.6

2010-02-02 Thread Thad
Yes.  This has been observed and commented on.  I've been using
Firefox 3.5.7 (on Linux) because of this.

This morning I was alerted to an update to the GWT plugin, and
installed it (v.1.0.7511).  However it still does not work with
Firefox 3.6.  When I try using it, Firefox 3.6 just asks for,
downloads, and installs the plugin over and over again.

On Jan 30, 2:39 am, akhil shastri.ak...@gmail.com wrote:
 Dear Team,

 i m using GWT 2.0 with MyEclips6.0, i created an sample project with
 GWT but when i compile and goto browse (FireFox3.6) that it is asking
 that a plugin is required , as per give link i download the plugin
 also, but it's showing error that it is not compatible withFireFox3.6

 wating for Help

 regards
 Akhil

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



RichText, bug with createLink?

2010-02-02 Thread Bonor
The createLink() doens't seems to work. Not only in my app but also in
the Google Showcase:
http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText

Is it a bug?

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



HttpServlet and Tomcat

2010-02-02 Thread Florentine3D
I want to use HttpServlet for File Uploading. When my application is
done it will be possible deploy on a standard server without Tomcat?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: A Sexy/Slick GWT Application?

2010-02-02 Thread Andy
I knew that Wave was, but didn't realize that Speed Tracer was too.

...and Speed Tracer is exactly the kind of example that I was thinking
of.

Thanks!

On Feb 2, 3:07 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Feb 2, 2:13 am, Andy antonvonpil...@gmail.com wrote:

  I've been looking at a lot of the demos for the 3rd party GWT plugins;
  for example, SmartGWT, and read the various postings on this forum
  about who's actually using GWT, but I was wondering if anyone knows of
  a really sexy/slick GWT application that not only has a great design,
  but uses animation in a meaningful way (rather than for the sake of
  it), and even has custom widgets that are more than a collection of
  assets arranged in a nice way.

  I'm thinking of something along the lines of the Roambi iPhone app
  (http://www.roambi.com) or theCappuccino-based Almost.as app (http//
  almost.at) (in particular the timeline widget at the bottom of the
  screen).

 Google Wave or Chrome's Speed Tracer extension are both GWT apps.

 And Speed Tracer is open source:http://code.google.com/p/speedtracer/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread mariyan nenchev
Hi,

i had the opportunity to write medium sized app with smart gwt, and for me
it was the most painful framework for me ever. I do not know what are the
changes in 2.0, i used 1.2, but i am not will never try it again. Also i
don't like the resource management like images, css, modules so on... If you
simply go arround the showcase you will notice that the interactions with
the ui are not very pleasent. May be smart gwt pro/ee are very good for dev,
but smart gwt is not, that is why it's free. So you who has money to spend i
suggest you buy the paid edition don't kill yourself with smart gwt.

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



RootPanel.get() problems

2010-02-02 Thread Juan M.M.M.
hi!

I'm becoming exasperated because this class sometimes works fine and
sometimes it going crazy. Let's supose this HTML like mine

...
body
   div id=frame1
  div id=frame1.1
  /div
   /div
   div id=frame2
   /div
/body

In method OnModuleLoad() u can refeer with this sentence RootPanel.get
(div_name) to the DIV layer without problems. Then if u do the same
but in another public method, for example u could be refeer to the
frame1 and frame2 layer BUT if u refeer to frame1.1, u will get this
error:


java.lang.AssertionError: A widget that has an existing parent widget
may not be added to the detach list
at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
(RootPanel.java:136)
at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
at com.my.irn.client.IRn.Paginar(IRn.java:450)

...

Why is hapenning with this class? Can I try another way to setWidgets,
setVisibility, etc to the DIVs layer.


The full error message, below:

java.lang.AssertionError: A widget that has an existing parent widget
may not be added to the detach list
at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
(RootPanel.java:136)
at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
at com.my.irn.client.IRn.Paginar(IRn.java:450)
at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.java:267)
at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.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:396)
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.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:188)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
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)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: RootPanel.get() problems

2010-02-02 Thread this_dan
I had the same issue in firefox but trying internet explorer i didn't.
For some reason I then removed the part of URL, in the web browser,
that had the ip address in there starting with the ?
gwt.codeserver=  and it worked fine in firefox.

On Feb 2, 12:00 pm, Juan M.M.M. knn0n@gmail.com wrote:
 hi!

 I'm becoming exasperated because this class sometimes works fine and
 sometimes it going crazy. Let's supose this HTML like mine

 ...
 body
    div id=frame1
       div id=frame1.1
       /div
    /div
    div id=frame2
    /div
 /body

 In method OnModuleLoad() u can refeer with this sentence RootPanel.get
 (div_name) to the DIV layer without problems. Then if u do the same
 but in another public method, for example u could be refeer to the
 frame1 and frame2 layer BUT if u refeer to frame1.1, u will get this
 error:

 java.lang.AssertionError: A widget that has an existing parent widget
 may not be added to the detach list
     at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
 (RootPanel.java:136)
     at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
     at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
     at com.my.irn.client.IRn.Paginar(IRn.java:450)

 ...

 Why is hapenning with this class? Can I try another way to setWidgets,
 setVisibility, etc to the DIVs layer.

 The full error message, below:

 java.lang.AssertionError: A widget that has an existing parent widget
 may not be added to the detach list
     at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
 (RootPanel.java:136)
     at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
     at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
     at com.my.irn.client.IRn.Paginar(IRn.java:450)
     at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.java:267)
     at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.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:396)
     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.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:188)
     at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
     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)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread David Durham
On Thu, Jan 28, 2010 at 6:16 PM, ahhughes ahhug...@gmail.com wrote:
 For future reference

 At the time of writing the following are available:
 GWT v2.0
 and.
 SmartGWT v2.0 (http://code.google.com/p/smartgwt/ under Apache
 License)
 Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/ under weird LGPL
 License)

 I don't want to discuss Ext GWT's weird license. It's weird, there's
 no updates... e.t.c. e.t.c. The question is, if why would you purchase
 it over SmartGWT? I am looking for technical reasons such as features,
 performance, jsni wrap vs pure compiled gwt, or especially full GWT
 2.0 compatibility e.t.c.

 Help would be great as there are so many re-packed versions of these
 things floating around as well as the fact a lot of information is out
 of date (and so will this thread be in the not so distant future).


I like a GXT and wrote a form generation library for it that you might
consider.

  http://gxtforms.googlecode.com/

There's an appengine demo linked to from the project pages.

The basic is idea to annotate Model classes and get forms with
data-binding fairly easily.  For the next release, I'm working to make
the field types and rendering more easily extensible.  If anyone is
interested in contributing to this project, please let me know.

-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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread mariyan nenchev
Thanks i look at it, but i prefer to use pure gwtincubator. Advanced
components also seems good.
On Tue, Feb 2, 2010 at 7:19 PM, David Durham david.durham...@gmail.comwrote:

 On Thu, Jan 28, 2010 at 6:16 PM, ahhughes ahhug...@gmail.com wrote:
  For future reference
 
  At the time of writing the following are available:
  GWT v2.0
  and.
  SmartGWT v2.0 (http://code.google.com/p/smartgwt/ under Apache
  License)
  Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/ under weird LGPL
  License)
 
  I don't want to discuss Ext GWT's weird license. It's weird, there's
  no updates... e.t.c. e.t.c. The question is, if why would you purchase
  it over SmartGWT? I am looking for technical reasons such as features,
  performance, jsni wrap vs pure compiled gwt, or especially full GWT
  2.0 compatibility e.t.c.
 
  Help would be great as there are so many re-packed versions of these
  things floating around as well as the fact a lot of information is out
  of date (and so will this thread be in the not so distant future).


 I like a GXT and wrote a form generation library for it that you might
 consider.

  http://gxtforms.googlecode.com/

 There's an appengine demo linked to from the project pages.

 The basic is idea to annotate Model classes and get forms with
 data-binding fairly easily.  For the next release, I'm working to make
 the field types and rendering more easily extensible.  If anyone is
 interested in contributing to this project, please let me know.

 -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.comgoogle-web-toolkit%2bunsubscr...@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.



How Do I Change The Welcome (html) File?

2010-02-02 Thread Russ
I created an app, and now I want to run it in a different HTML file.
I
created the new HTML file, placed it in the war directory, made sure
the new HTML file has the correct RootPanels and changed the
welcome-
file in the web.xml file to refer to the new HTML file.

But my app is still not displaying in the new page. I even tried re-
compiling. Hosted mode loads the new page, but the app doesn't show.


What other changes do I need to make in order to have my app use a
different welcome file?


Thank you,
-Russ

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



how to control that a FileUpload has been filled properly

2010-02-02 Thread K.WA
Hi

I would like to allow file upload of images. I'm using the FileUpload
object in a Form object. I'd like allow the form submit if the
FileUpload object do have a file selected, and if the file name has
appropriate extension.

I did not see how to catch the event saying that a file has been
selected in the FileUpload object. Is there any way to do that ?

thanks in advance

--
cd

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Use GWT Developer Plugin with Firefox 3.6

2010-02-02 Thread Jeff Chimene
On 02/02/2010 08:53 AM, Thad wrote:
 Yes.  This has been observed and commented on.  I've been using
 Firefox 3.5.7 (on Linux) because of this.
 
 This morning I was alerted to an update to the GWT plugin, and
 installed it (v.1.0.7511).  However it still does not work with
 Firefox 3.6.  When I try using it, Firefox 3.6 just asks for,
 downloads, and installs the plugin over and over again.

I install FF 3.6 as root, and the plugin in user-mode. Both work work
fine. How do you have FF  the plugin installed, and how do you run FF?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Kevin Q
I have used both libraries. I would say, stay away from SmartGWT. It's
a wrapper on the SmartClient javascript library, which means the API
is an almost direct transliteration from Javascript. As Joshua Bloch
will tell you, direct transliteration of APIs is bad. A lot of times,
the API methods don't do what their name say and can cause some
surprises...the deal breaker for us was it didn't integrate with
native GWT widgets well. The problem I had at the time was it
customized GWT widgets disappear from a SmartGWT container when it's
resized and so on.

I have no ties with Ext whatsoever, but we're using GXT now because
it's built on top of GWT (not a wrapper of some JS library).
Customization is much easier and whenever a problem arises, you can
always trace down to the very bottom because they're all written in
Java. The same cannot be said about SmartGWT. Having said that, GXT
has quite a few quirks as well. Seems they've been abusing generics
and the event system is terrible to work with.

If you have the time and resource, I'd say writing in pure GWT is the
way to go.

Those are my subjective opinion. I've no intention of trolling.


On Feb 2, 12:28 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
 Thanks i look at it, but i prefer to use pure gwtincubator. Advanced
 components also seems good.
 On Tue, Feb 2, 2010 at 7:19 PM, David Durham david.durham...@gmail.comwrote:



  On Thu, Jan 28, 2010 at 6:16 PM, ahhughes ahhug...@gmail.com wrote:
   For future reference

   At the time of writing the following are available:
   GWT v2.0
   and.
   SmartGWT v2.0 (http://code.google.com/p/smartgwt/under Apache
   License)
   Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/under weird LGPL
   License)

   I don't want to discuss Ext GWT's weird license. It's weird, there's
   no updates... e.t.c. e.t.c. The question is, if why would you purchase
   it over SmartGWT? I am looking for technical reasons such as features,
   performance, jsni wrap vs pure compiled gwt, or especially full GWT
   2.0 compatibility e.t.c.

   Help would be great as there are so many re-packed versions of these
   things floating around as well as the fact a lot of information is out
   of date (and so will this thread be in the not so distant future).

  I like a GXT and wrote a form generation library for it that you might
  consider.

   http://gxtforms.googlecode.com/

  There's an appengine demo linked to from the project pages.

  The basic is idea to annotate Model classes and get forms with
  data-binding fairly easily.  For the next release, I'm working to make
  the field types and rendering more easily extensible.  If anyone is
  interested in contributing to this project, please let me know.

  -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.comgoogle-web-toolkit%2bunsubs­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: how to use Comet on Gwt?

2010-02-02 Thread KeremTiryaki
yep it is just a little open sourced demo :) you can check it from
http://code.google.com/p/iflag/

On Feb 1, 11:56 am, mariyan nenchev nenchev.mari...@gmail.com wrote:
 Is this game opensourced :).

 On Sun, Jan 31, 2010 at 7:48 PM, KeremTiryaki keremtiry...@gmail.comwrote:

  check instant messeger application's source fromhttp://gwtapps.com/
  it is a book web site...
  I think it is very good. I used that book when I was developing this:
 http://tr.im/iflagame

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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.



[Unit Test] Is there a way to mock JSONObject?

2010-02-02 Thread Kevin Q
Our application consumes JSON web services. We're using JSONParser,
returning a JSONObject, and construct domain models from the result
JSONObject. I'd like to test that piece of code, but it seems I cannot
use JSONObject in JVM unit tests, as it depends on native code.

java.lang.UnsatisfiedLinkError:
com.google.gwt.core.client.JavaScriptObject.createObject()Lcom/google/
gwt/core/client/JavaScriptObject;
at com.google.gwt.core.client.JavaScriptObject.createObject(Native
Method)
at com.google.gwt.json.client.JSONObject.init(JSONObject.java:46)
[output cut...]

I'm wondering is there a way to mock JSONObject, use a hash map to
hold the key/value pairs, which enables me to run these tests in JVM?
JSONObject is an interface, so EasyMock can't help here. (correct me
if I'm wrong)

Also, I tried creating a class MockJSONObject extending JSONObject,
and replace the put/get logic with HashMap based implementation but
still no avail, because the JSONObject constructor calls native JS
code as well...

Any input is appreciated.

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



GWT and applets

2010-02-02 Thread K.WA
Hi

I'd like to write an applet that would allow to paste an image (+ a
few other thing like croping) inside a rich text area form. To be able
to paste and crop, I think I will write a small applet that will send
the image to my server (which saves it and returns its URL).

There is no predefined GWT widget for applets. how could I do that ,
ie

1/ have an applet appear in the middle of my GWT GUI
2/ have the applet notify the rich text area that an image is
available at a given URL (the one my server would have returned...)

Regards

--
cd

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Incubator update for GWT 2.0?

2010-02-02 Thread Hethcox
I was out of town for a few weeks and just had a chance to look at
this. Regarding the other post (4073), I do not have anything in the
BODY of my HTML other then the hook to GWT, so I don't think that's my
problem.

Also, I tried the Dec 09 drop of the incubator to no avail. Though it
sounds like the problem is in the implementation of AbolutePanel, not
GlassPanel. Anyone gotten past this issue?

Best,
John

On Jan 8, 10:17 am, Paul Robinson ukcue...@gmail.com wrote:
 Hethcox wrote:
  In my app GlassPanel is no longer on top of all the widgets. It's on
  top of some, but not others.

 Could be 
 this:http://code.google.com/p/google-web-toolkit/issues/detail?id=4073

 If so, read the comments because there are workarounds in there (and
 star the issue).

 Paul

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Jeff Schnitzer
My experience with GXT was horrible, and I ended up ripping it out of
my app entirely.  I wrote about it in this thread:

http://groups.google.com/group/google-web-toolkit/msg/693cacbce437d08a

GXT's layout system is alien to GWT, the documentation is nonexistant,
the appearance is highly inflexible, and the attitude of the support
team sucks (even for customers that pay for support).  Consider, for a
moment, that there is nobody at Ext commenting on the GXT-related
threads that show up in this forum.  Totally out to lunch.

Unless you specifically need an advanced grid control, you're better
off rolling your own UI in vanilla GWT.  Do not think GXT will be
just like GWT, only prettier - it is an entirely different creature
with a wholly incompatible (and irritatingly inconsistent) widget
library.

Jeff

On Tue, Feb 2, 2010 at 1:07 PM, Kevin Q kevin.jing@gmail.com wrote:
 I have used both libraries. I would say, stay away from SmartGWT. It's
 a wrapper on the SmartClient javascript library, which means the API
 is an almost direct transliteration from Javascript. As Joshua Bloch
 will tell you, direct transliteration of APIs is bad. A lot of times,
 the API methods don't do what their name say and can cause some
 surprises...the deal breaker for us was it didn't integrate with
 native GWT widgets well. The problem I had at the time was it
 customized GWT widgets disappear from a SmartGWT container when it's
 resized and so on.

 I have no ties with Ext whatsoever, but we're using GXT now because
 it's built on top of GWT (not a wrapper of some JS library).
 Customization is much easier and whenever a problem arises, you can
 always trace down to the very bottom because they're all written in
 Java. The same cannot be said about SmartGWT. Having said that, GXT
 has quite a few quirks as well. Seems they've been abusing generics
 and the event system is terrible to work with.

 If you have the time and resource, I'd say writing in pure GWT is the
 way to go.

 Those are my subjective opinion. I've no intention of trolling.


 On Feb 2, 12:28 pm, mariyan nenchev nenchev.mari...@gmail.com wrote:
 Thanks i look at it, but i prefer to use pure gwtincubator. Advanced
 components also seems good.
 On Tue, Feb 2, 2010 at 7:19 PM, David Durham 
 david.durham...@gmail.comwrote:



  On Thu, Jan 28, 2010 at 6:16 PM, ahhughes ahhug...@gmail.com wrote:
   For future reference

   At the time of writing the following are available:
   GWT v2.0
   and.
   SmartGWT v2.0 (http://code.google.com/p/smartgwt/under Apache
   License)
   Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/under weird LGPL
   License)

   I don't want to discuss Ext GWT's weird license. It's weird, there's
   no updates... e.t.c. e.t.c. The question is, if why would you purchase
   it over SmartGWT? I am looking for technical reasons such as features,
   performance, jsni wrap vs pure compiled gwt, or especially full GWT
   2.0 compatibility e.t.c.

   Help would be great as there are so many re-packed versions of these
   things floating around as well as the fact a lot of information is out
   of date (and so will this thread be in the not so distant future).

  I like a GXT and wrote a form generation library for it that you might
  consider.

   http://gxtforms.googlecode.com/

  There's an appengine demo linked to from the project pages.

  The basic is idea to annotate Model classes and get forms with
  data-binding fairly easily.  For the next release, I'm working to make
  the field types and rendering more easily extensible.  If anyone is
  interested in contributing to this project, please let me know.

  -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.comgoogle-web-toolkit%2bunsubs­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.



Re: Is there a way to mock JSONObject?

2010-02-02 Thread Carlos Aguayo
Not as good or ideal as a mockobject but you could use the
GWTTestCase.

On Feb 2, 4:19 pm, Kevin Q kevin.jing@gmail.com wrote:
 Our application consumes JSON web services. We're using JSONParser,
 returning a JSONObject, and construct domain models from the result
 JSONObject. I'd like to test that piece of code, but it seems I cannot
 use JSONObject in JVM unit tests, as it depends on native code.

 java.lang.UnsatisfiedLinkError:
 com.google.gwt.core.client.JavaScriptObject.createObject()Lcom/google/
 gwt/core/client/JavaScriptObject;
         at com.google.gwt.core.client.JavaScriptObject.createObject(Native
 Method)
         at com.google.gwt.json.client.JSONObject.init(JSONObject.java:46)
             [output cut...]

 I'm wondering is there a way to mock JSONObject, use a hash map to
 hold the key/value pairs, which enables me to run these tests in JVM?
 JSONObject is an interface, so EasyMock can't help here. (correct me
 if I'm wrong)

 Also, I tried creating a class MockJSONObject extending JSONObject,
 and replace the put/get logic with HashMap based implementation but
 still no avail, because the JSONObject constructor calls native JS
 code as well...

 Any input is appreciated.

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



Re: UiBinder + HTML + Widgets

2010-02-02 Thread Eric
Christian,

Thank you so much.  That is exactly what I was looking for.  Working
like a charm now.

Eric

On Feb 2, 8:35 am, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 You can include GWT widget inside HTML if and only if those are in an
 HTMLPanel Widget !

 It's really simple once you do that.

 Ex :

 http://pastie.org/805830

 Christian



 On Tue, Feb 2, 2010 at 7:13 AM, Eric edimickeast...@gmail.com wrote:
  Using g:Anchor and g:FlowPanel is what I tried first, but I got
  the following error:

  19:15:00.173 [ERROR] [gwtui] Found widget g:FlowPanel
  ui:field='contentArea' in an HTML context

  I guess that you are telling me the UiBinder just doesn't do what I
  thought it did which is to allow look-and-feel of the UI for GWT apps
  to be developed by people (and tools) who know HTML/CSS but not GWT.
  So where I use UiBinder, either I need to start at the top of my
  ui.xml file and replace all tables and divs with g:XxxxPanels or
  I need to give up on using Widgets and make calls to
  myElement.setInnerHtml()?  That's disappointing.

  RootPanel.get(someId) works, right? And I call this multiple times,
  so I could put most of my HTML into the base Project.html file.  That
  sounds kludgy, but might be my best option at this point.

  I'm not doubting you, but what about Anchor.wrap(logoutLink) won't
  work? If this is not the right way to use that method, what is?

  Eric

  On Feb 2, 6:04 am, Thomas Broyer t.bro...@gmail.com wrote:
   On Feb 2, 2:33 am, Eric edimickeast...@gmail.com wrote:

Hello all,

I hope this is obvious and I'm just missing it, but I can't figure out
how to add a Widget to a DivElement or TableCellElement that I get
back from my uiBinder template.  Here is what I have:

ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder 
        div class=wrapper

[lots of eye candy that came from a graphic designer]

a ui:field=logoutLinkLogout/a
[more html]

   div ui:field=contentArea /

[lots more stuff]

/div
/ui:UiBinder

then in Java:
  @UiField
  LinkElement logoutLink;
  @UiField
  DivElement contentArea;

  public HasClickHandlers getLogoutLink() {
    // This was easy
    return Anchor.wrap(logoutLink);
  }

   Won't work (or at least shouldn't, and might cause issues later on).
   Why don't you use a g:Anchor ui:field='logoutLink'Logout/g:Anchor
   in your ui.xml?

  public HasWidgets getContentArea() {
    // I can't figure out what to put here.  Help! Please!
    return null;
  }

How do I turn an Element into some kind of Panel?  Or add a Widget to
a container Element?

   Either use a true container, such as g:FlowPanel
   ui:field='contentArea' /, or go the hard way and manage the onAttach/
   onDetach of the added/removed child widgets yourself (which means
   implementing HasWidgets yourself too).

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  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.



Browser specific styles with UIBinder

2010-02-02 Thread Julia
Hi,

I have got some html/css templates that include browser specific css
in static html pages:

link rel=stylesheet type=text/css media=all href=css/
main.css /
!--[if lte IE 8]
  link rel=stylesheet type=text/css media=all href=css/
ie8.css /
![endif]--

What is the best way to include browser specific styles in the
UIBinder's .ui.xml file?

Thanks a lot for your 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Bogdan Maryniuck
On Wed, Feb 3, 2010 at 1:38 AM, mariyan nenchev
nenchev.mari...@gmail.com wrote:
 i had the opportunity to write medium sized app with smart gwt, and for me
 it was the most painful framework for me ever.

Yes, it is.

 I do not know what are the changes in 2.0, i used 1.2, but i am not will 
 never try it again.

Yes. And nobody here likes resource management. And Smart GWT is very
buggy. Yes, it is horrible, yes it is painful, but I am not really
sure what else exists that would work on older browsers, while having
same set of functionality. Maybe one day I have to play with
http://vaadin.com/ a little, but currently I stick to SmartGWT: works
for me, though I have to roll my eyes and sight deeply at least twice
per hour, while implementing things.

-- 
BM

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Browser specific styles with UIBinder

2010-02-02 Thread Nicolas ANTONIAZZI
Did you try with conditional css preprocessor ?

In my opinion, this is the best way to inserts some css code specific to a
platform. This is done at compilation time, so CSS generated for IE is not
same as the Firefox one. Only css specific to the target platform will be
transfered :

http://code.google.com/p/google-web-toolkit/wiki/CssResource#Conditional_CSS


2010/2/3 Julia julia.og...@gmail.com

 Hi,

 I have got some html/css templates that include browser specific css
 in static html pages:

 link rel=stylesheet type=text/css media=all href=css/
 main.css /
 !--[if lte IE 8]
  link rel=stylesheet type=text/css media=all href=css/
 ie8.css /
 ![endif]--

 What is the best way to include browser specific styles in the
 UIBinder's .ui.xml file?

 Thanks a lot for your 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.comgoogle-web-toolkit%2bunsubscr...@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.



Announcing GWT 2.0.1

2010-02-02 Thread Miguel Méndez
The GWT 2.0.1 point release is now available for download. It contains fixes
for bugs found in the 2.0.0 release.

Potentially breaking changes and fixes

   - Fixed a bug in how code generators collect method arguments from
   generated source, which impacted the Messages interfaces generated for
   UiBinder template files. In GWT 2.0, such argument names were incorrectly
   changed to ARGn. Most GWT applications will be unaffected, but external
   systems relying on these names may need to be updated.
   - The development mode server will, by default, only bind to localhost
   which will break cross-machine debugging. You can get the old behavior by
   specifying -bindAddress 0.0.0.0. Please see issue
(#4322http://code.google.com/p/google-web-toolkit/issues/detail?id=4322)
   for more details. For webAppCreator-generated ant files, you can pass this
   with ant -Dgwt.args=-bindAddress 0.0.0.0 devmode.
   - The CurrencyList/CurrencyData APIs are now public - if you were relying
   upon these classes in their non-public location, you should only need to
   update your imports.

Noteworthy Fixed Issues

   - UiBinder Image class with resource attribute, removes styles on that
   image 
(#4415http://code.google.com/p/google-web-toolkit/issues/detail?id=4415
   )
   - Widgets lose focus if its placed on FocusPanel (Opera, Safari)
(#1471http://code.google.com/p/google-web-toolkit/issues/detail?id=1471
   )
   - Standard.css missing new layout styles
(#4429http://code.google.com/p/google-web-toolkit/issues/detail?id=4429
   )
   - Remove method in SplitLayoutPanel is broken
(#4217http://code.google.com/p/google-web-toolkit/issues/detail?id=4217
   )
   - Splitter constructor hard codes the background color of the splitter to
   white 
(#4335http://code.google.com/p/google-web-toolkit/issues/detail?id=4335
   )
   - Image should provide method to set alternative text
(#4335http://code.google.com/p/google-web-toolkit/issues/detail?id=4335
   )
   - CssResource cannot parse unescaped '-', '_' in class selectors and
   unknown at-rules
(#3946http://code.google.com/p/google-web-toolkit/issues/detail?id=3946
   )
   - Focusable implementation breaks ScrollPanels in Safari
(#1313http://code.google.com/p/google-web-toolkit/issues/detail?id=1313
   )
   - RequestBuilder restricted to GET and POST
(#3388http://code.google.com/p/google-web-toolkit/issues/detail?id=3388
   )
   - HTMLTable.Cell.getElement() calls getCellFormatter().getElement() with
   row and column swapped RequestBuilder restricted to GET and POST
(#3757http://code.google.com/p/google-web-toolkit/issues/detail?id=3757
   )
   - MenuBar steals focus when hovered
(#3884http://code.google.com/p/google-web-toolkit/issues/detail?id=3884
   )
   - TabLayoutPanel tabs don't line up properly on IE
(#4447http://code.google.com/p/google-web-toolkit/issues/detail?id=4447
   )
   - webAppCreator produces ant build files which support the gwt.args
   property for passing additional flags to the gwtc and devmode rules, such as
   ant -Dgwt.args=-style PRETTY gwtc.

See the GWT issue tracker for the complete list of bug fixes and
enhancementshttp://code.google.com/p/google-web-toolkit/issues/list?can=1q=status:Fixed,FixedNotReleased%20milestone:2_0_1num=1000
in
this release.

--

Miguel on behalf of the GWT Team

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



Expanding the scope of GWT

2010-02-02 Thread dolcra...@gmail.com
So I've seen some questions regarding Generators and generics in the
past.  Well I've put together a patch to SVN that modifies GWT.create
to GWT.create(Class, Class...) and adds generate(..., String[]
genericTypes) to Generator.  I have tested this in devmode and
compiled mode.  The reason?  Well for serialization client side of
course? But why would you need serialization on the client-side when
GWT-RPC serializes everything for you?  Client storage! The second
link is to the eclipse project containing GWTStorage, which provides
the beginnings for a framework to store and retrieve data in client
storage solutions (currently only ie6/7/8 and FF3/3.5 are supported).
The storage stores the objects as strings into the local db and
converts them from strings to objects.

http://eve.no-ip.org/generics.patch
http://eve.no-ip.org/gwtstorage.zip

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



Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Sanjiv Jivan
On Tue, Feb 2, 2010 at 8:11 PM, Bogdan Maryniuck b.maryni...@gmail.comwrote:

 On Wed, Feb 3, 2010 at 1:38 AM, mariyan nenchev
 nenchev.mari...@gmail.com wrote:
  i had the opportunity to write medium sized app with smart gwt, and for
 me
  it was the most painful framework for me ever.

 Yes, it is.

  I do not know what are the changes in 2.0, i used 1.2, but i am not will
 never try it again.

 Yes. And nobody here likes resource management. And Smart GWT is very
 buggy. Yes, it is horrible, yes it is painful, but I am not really
 sure what else exists that would work on older browsers, while having
 same set of functionality. Maybe one day I have to play with
 http://vaadin.com/ a little, but currently I stick to SmartGWT: works
 for me, though I have to roll my eyes and sight deeply at least twice
 per hour, while implementing things.


It's quite easy to criticize a library, isn't it? Instead of making blanket
statements like these have you tried reporting the issues on the SmartGWT
forum, or file an issue in tracker. I don't recall any posts from you on the
SmartGWT forum, nor any issue in tracker. Given this, and your short history
on the GWT forum, its hard to tell if you're just inexperienced, haven't
read the extensive documentation, or have run into an issue but chose to
roll your eyes instead of reporting it.

SmartGWT is based on SmartClient, which has been around for some 8+ years
and it is very stable. No software is perfect, however if you take a step
back and have a look at the depth and breath of functionality it provides
you'll realize that how low the bug / functionality ratio is.

The SmartGWT tracker has only 34 open defects  :
http://code.google.com/p/smartgwt/issues/list

Try comparing this number with you favorite major library. If you have run
into an issue that is not yet reported, please do report it. Complaining
that a library is horrible, but still the best suited for you makes no
sense.

If you've already made up your mind that SmartGWT is not for you, thats
fine. But if you're want to be constructive, post your questions and issues
on the SmartGWT forum and you'll see that legitimate issues are resolved
promptly.

Sanjiv

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Bogdan Maryniuck
On Wed, Feb 3, 2010 at 12:31 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote:
 It's quite easy to criticize a library, isn't it?

Sanjiv, I remember all that ugly story with you and Ext stuff. And
really appreciate the thing you do. But still, what's wrong with a
constrictive criticism? I am using SmartGWT as the only lib so far in
many projects (although free version :-). So at least I have a right
to smoke my cigarette and share with others that the lib is not very
brilliant BUT usable, so no need to run elsewhere, but TRY to improve
it (that's what I said between the lines, BTW). And you also have a
right to listen my stupid feedback and make your own conclusions. :-)

Besides, as a little example among dozen of others, folks (including
myself) were sending multiple complains to the forum about calendar
dialogs that are not customizable, that they are literally fugly:
because who would need ridiculously big dialog while editing an event,
but widgets are very small and grouped at left/top corner? — all the
rest space is for banners and ads or something?.. How to nicely
replace that dialog with my own and why this is so obvious thing
simply hard-coded? etc. Or I am missing something and this is changed
already? So far I've simply either got ignored or being told we won't
change that.

Hence, if you, guys, won't change that because we said so, then I
doubt anyone would waste their time writing any feedback or bugreport
knowing it will be rejected/ignored anyway...

-- 
bm

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-02-02 Thread Open eSignForms
SmartGWT (UI part anyway) is open source, so you could modify it -- albeit
have to share it back -- but you are not stuck.  Many commercial libraries
are even harder to get a fix. Also, a feature any given person needs may not
be top priority.

Heck, I love GWT, but it needs better enterprise paging table widgets and
ready-made solutions for DTOs+RPC that work with the paging tables and the
related page editor forms since listing objects and updating them are very
common in enterprise configuration.  A nice customizable reporting feature
(perhaps via paging tables with built in search/selectors) is also needed.
But GWT isn't building these anytime soon from what I've gathered, and it
doesn't make GWT or Google bad.  They just have priorities that differ from
mine.  The incubator has some, but they are not pretty (too much work IMHO)
and appear to be under major revision, yet not here yet when I need
something now.  Shucks!

I am currently evaluating vaadin and as a java/jsp/servlet programmer, I
find their model quite appealing, though many may not.  And it's got ugly
APIs as well because it's also mature and thus was based on older naming
patterns, listeners, use of Object parameters that make it unclear what the
heck is expected, but they do have documentation and examples and
tutorials.  Naturally, they are missing a lot of key documentation to
explain the extra mile coding that all programmers really need, since
showcase examples are generally more trivial than anything in the real
world.  Heck, I spent a lot of time today just trying to figure out how to
make radio buttons whose values differ from the labels associated with the
radios since all of the examples (for select boxes too) were just where the
two were the same.  Nothing is perfect, but I do like their Table/Form
combos and the ability to do only server-side programming so there's no RPC
or DTOs to deal with.

But to each his own...  I personally found Ext GWT and SmartGWT to have
licensing warts, confusing documentation and like the comments above, a bit
abusive in their treatment of users.  Vaadin has a nice Apache 2 license,
but they also seem to have a low volume forum that shows a less robust user
base overall.  It's not clear if you can buy better forum/email support at a
reasonable price.

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



Using GWT RPC with Custom Created Class.

2010-02-02 Thread Jay
Hey guys, for the past few days I've been trying to fix my problems
with GWT and I've pretty much gone around the forest just to get it to
work even though it's not standard protocols.

Right now, I have a custom class of my own called Product, I've
already implemented Serializable and for a period of time,
IsSerializable.

The thing now is, my entry point calls an RPC service and I want that
RPC service to return an ArrayList or Array of Product to my entry
point.

I've written my code very carefully and it should work theotically.

But I keep getting this error -- [ERROR] Line 46: No source code is
available for type org.snagit.classes.Product; did you forget to
inherit a required module?

I tried to inherit it in the gwt.xml file but it doesn't work, really
lost now, can anyone enlighten? 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: Co-existing 1.7.1 projects and 2.0 projects

2010-02-02 Thread Pieter Breed
Hi Jason,

Thanks for the reply. I did eventually get a working configuration for
my 1.7.1 apps with the new plugin, but it was not quite as
straightforward is you suggest. That it is possible to run the old
apps is cool though, even if it means invoking an incantation with a
reboot somewhere in it.

Thanks!
P

On Feb 2, 5:46 pm, Jason Parekh jasonpar...@gmail.com wrote:
 Hi Pieter,

 The actual Eclipse plugin supports all versions of GWT (so no downgrading
 required there).

 What you'll need to do is:

 - Make sure GWT 1.7.1 SDK is installed.  In Eclipse, go to Window 
 Preferences  Google  Web Toolkit.  If you see 1.7.1 and 2.0.0 there,
 great!  If not, you can download GWT 1.7.1 SDK 
 fromhttp://code.google.com/webtoolkit/versions.html, extract it somewhere, and
 click the Add button in the dialog.

 - Make sure the GWT 1.7.1-based project is using the GWT 1.7.1 SDK.  Right
 click on the project, go to Properties  Google  Web Toolkit, and you can
 Use specific SDK.

 After these changes are made, you can launch your app again, and it should
 work as it did before.  (If it does not, try clearing your browser cache
 and/or a clean build of the project.)

 Hope this helps,
 jason

 On Mon, Feb 1, 2010 at 10:56 AM, Pieter Breed pieter.br...@gmail.comwrote:



  Hi,

  Our team have several version of our software going at the same time.
  The current version runs on GWT 1.7.1; our next version will maybe
  ship with GWT 2.0 so we are trying to do the upgrade. We have
  installed the new google eclipse plugin, but now we can't get our
  1.7.1 apps to work anymore in hosted mode. It keeps on trying to load
  the browser plugin system of GWT2, which obviously wont work.

  I can't find the old plugin which I will happily use, can somebody
  here maybe point me to a mirror of it? Is there something else that I
  am missing? I've tried to remove the hosted.html file; it has no
  effect.

  Regards,
  P

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  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: Preserve HTTP Sessions when restarting Jetty

2010-02-02 Thread Jaroslav Záruba
It would really make life easier to have some checkbox preserve
sessions within settings of GWT-project in Eclipse.
I have filed a request in the issue tracker.
http://code.google.com/p/google-web-toolkit/issues/detail?id=4578

On Dec 15 2009, 12:01 pm, cromoteca luci...@virgilio.it wrote:
 It seems due to Development Mode not reading war/WEB-INF/jetty-
 web.xml. Any hint?

 On 14 Dic, 12:41, cromoteca luci...@virgilio.it wrote:

  Hi,

  I was wondering if sessions could be serialized when doing a server
  restart in development mode. I always did that with Tomcat and now I
  miss that.

  Thank you,
  Luciano

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 test suite: did you forget to inherit a required module?

2010-02-02 Thread Ray Tayek
hi, working through the tutorials. got some test cases to work fine. 
made a gwt test suite. ran in dev mode. eclipse (sts) thinks all of 
the test have been run (green bar). test reports have output for just 
one test case.


console has warnings (please see below). my suite is in the same 
package as the test cases.


ant runs all of the tests if i include: include 
name=**/*TestCase.java /, but the text output for each test case 
is similar to the console errors. running the suite explicitly from 
ant gets similar results (same errors for the test suite class).


seems like i need to inherit something?

any pointers will be appreciated.

thanks

Starting HTTP on port 0
   HTTP listening on port 3689
Validating newly compiled units
   [ERROR] Errors in 
'file:/D:/home/ray/gwtapps/StockWatcher/test/com/google/gwt/sample/stockwatcher/client/MySuite.java'
  [ERROR] Line 8: No source code is available for type 
com.google.gwt.junit.tools.GWTTestSuite; did you forget to inherit a 
required module?
  [ERROR] Line 10: No source code is available for type 
junit.framework.TestSuite; did you forget to inherit a required module?
Starting 
http://192.168.1.105:3689/com.google.gwt.sample.stockwatcher.StockWatcher.JUnit/junit.html?gwt.codesvr=192.168.1.105:3688 
on browser FF3

Validating newly compiled units
   [ERROR] Errors in 
'file:/D:/home/ray/gwtapps/StockWatcher/test/com/google/gwt/sample/stockwatcher/client/MySuite.java'
  [ERROR] Line 8: No source code is available for type 
com.google.gwt.junit.tools.GWTTestSuite; did you forget to inherit a 
required module?
  [ERROR] Line 10: No source code is available for type 
junit.framework.TestSuite; did you forget to inherit a required module?

Module com.google.gwt.sample.stockwatcher.StockWatcher.JUnit has been loaded
All clients connected (Limiting future permutations to: gecko1_8)


---
co-chair http://ocjug.org/

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: DevMode!!! how make it works.

2010-02-02 Thread Ladislav Gazo
Hello,

from what you are telling it seems you are running in configuration
where your server is separated from client. That has nothing to do
with DevMode itself. No doubt you will love DevMode when your
configuration starts working...

...but back to your problem... there is an article on
http://code.google.com/p/acris/wiki/SeparateClientAndServer that might
explain and answer your why.

Happy coding!

On 2. Feb, 11:17 h., sith fedorov1...@gmail.com wrote:
 Hi All!

 I have big problem with new and very cool GWT feature - DevMode. It
 doesnt work for me. When I working with DevMode, my server receiving
 StatusCodeException. Under that lies trouble with serialization
 policy. When browser work with dev mode he ask server  not existing
 gwt.rpc file. Why?
  Why?

 WHY??

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



WebSocket

2010-02-02 Thread Jim
Hello,

Is GWT Ready for a WebSocket architecture ?
Thx

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



validation in gwt ?

2010-02-02 Thread Abdullah Shaikh
Hi All,

I need to have client side validation for my GWT app. I found
http://gwt-vl.sourceforge.net validation framework to be a good, but there
is a validation package in gwt incubator too .. but I didn't find any doc on
that.

What do you suggest should I go with gwt-vl or gwt-incubator ? any links to
docs on gwt-incubator validation.


Thanks,
Abdullah

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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-contrib] Re: Comment on DataBackedWidgetsDesign in google-web-toolkit

2010-02-02 Thread codesite-noreply

Comment by daniel.florey:

I'd like to see annotation based model description. It is less verbose.
See:
http://code.google.com/p/google-web-toolkit-incubator/wiki/TreeTable
For some compiler reason my approach is working in dev-mode but fails in  
compiled output :-(



For more information:
http://code.google.com/p/google-web-toolkit/wiki/DataBackedWidgetsDesign

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Thomas Broyer

On Feb 1, 9:33 pm, John Tamplin j...@google.com wrote:
 On Mon, Feb 1, 2010 at 3:09 PM, Thomas Broyer t.bro...@gmail.com wrote:
  Isn't translatable code generally going into /trunk/user/super, and
  the subpackage being called translatable rather than super?

 Those are JRE and infrastructure super-source -- this is more user-level
 code.

Oh, OK.

 Also, if you put them under user/super, you couldn't have a separate
 module to import to pull it in, and RegExp would essentially be part of
 Core.

I don't understand how user/src/com/google/gwt/regexp/super is any
different from user/super/com/google/gwt/regexp/translatable, it's
just a matter of including user/super in the classpath (which it
already is).

  But actually I'm concerned that this hasn't been discussed at all on
  the list, ...

 This is code that was being used internally getting migrated to GWT itself.
  Most Googlers are used to working with internal tools and lists/waves, but
 certainly we need to do a better job keeping the discussion in the open.

Understood.

 ...and particularly that RegExp isn't a JSO so you cannot use

  the more performant JS literal notation to initialize a RegExp:
    public native RegExp myRegExp() /*-{ return /foo.*bar/gi; }-*/;

 It is a JSO (see regexp/super/...) in the JS implementaiton, so you can do
 exactly that.

but it'll fail in DevMode, right?

 It is a pure Java version in the devmode and server
 implementations so you can use RegExp in shared code.

I missed the fact that it could be used on the server too.

And as far as Google Wave is concerned (and yeah it's great tool!), I
cannot find any wave shared with the group ;-)
https://wave.google.com/wave/#restored:search:group%253Agoogle-web-toolkit-contributors%2540googlegroups.com
(well, except the one I just shared (read-only though, for now))

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread David
Hi,

The subject of roadmap ... when will we see a 2.0.1 ? We currently
need to run with a patch gwt-servlet) due to a classloading issue
which is now in fixed state in the issue database.

Moving to a Wave would be great! I'm always waving alone :-S... maybe
I can then finally grasp why it is supposed to be so great.

David

On Tue, Feb 2, 2010 at 12:46 AM, Bruce Johnson br...@google.com wrote:
 On Mon, Feb 1, 2010 at 4:05 PM, Sami Jaber sami.ja...@gmail.com wrote:

 I'm agree with Thomas. RegExp integration should have been discussed in
 the list. It is landing into the trunk from nowhere for us...

 I mentioned a couple of weeks ago that we were switching to a different
 version control system -- and this is the first example of the sorts of
 hiccups we thought could happen. A Googler, a GWT user but who is not on the
 GWT team proper, has been working on this as a potential contribution, and
 submitted this patch for a code review. We accidentally approved it for
 commit rather than just giving some positive feedback on the code review.
 Thus, a work in progress got dumped on svn.
 We're still working out what sort of approval process makes sense for these
 sorts of contributions, but for a large change like this involving new API
 surface area, we definitely do want and need open, public discussion.


 Since the 2.0 release, I feel that there is less interaction with the
 contrib list (btw what have been decided for the roadmap ?) and what we are
 supposed to see in the coming releases.

 I think more than anything, you're seeing the effects of a lot of us being
 tired from the GWT 2.0 push. An updated roadmap is still forthcoming, but I
 can summarize a lot of the ad hoc design discussions starting to take place
 like this: we need to fill a lot of gaps in the libraries, especially
 widgets and app framewpork sorts of library code. GWT is powerful at
 present, but it doesn't make it especially easy to create traditional
 business apps quickly. We'd like to change that.


 We can understand that you prefer to use internal waves/lists but please
 let's not forget the openess nature of GWT that contribute to make this
 framework so popular

 It's true that Wave is fantastic for design docs, and it's hard not to want
 to use that instead of email. Maybe the right answer is to get everyone on
 this list to move to Wave :-)

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Miguel Méndez
We are in the process of smoke testing 2.0.1.  We expect for it to be
released in the next day or so.

On Tue, Feb 2, 2010 at 7:18 AM, David david.no...@gmail.com wrote:

 Hi,

 The subject of roadmap ... when will we see a 2.0.1 ? We currently
 need to run with a patch gwt-servlet) due to a classloading issue
 which is now in fixed state in the issue database.

 Moving to a Wave would be great! I'm always waving alone :-S... maybe
 I can then finally grasp why it is supposed to be so great.

 David

 On Tue, Feb 2, 2010 at 12:46 AM, Bruce Johnson br...@google.com wrote:
  On Mon, Feb 1, 2010 at 4:05 PM, Sami Jaber sami.ja...@gmail.com wrote:
 
  I'm agree with Thomas. RegExp integration should have been discussed in
  the list. It is landing into the trunk from nowhere for us...
 
  I mentioned a couple of weeks ago that we were switching to a different
  version control system -- and this is the first example of the sorts of
  hiccups we thought could happen. A Googler, a GWT user but who is not on
 the
  GWT team proper, has been working on this as a potential contribution,
 and
  submitted this patch for a code review. We accidentally approved it for
  commit rather than just giving some positive feedback on the code review.
  Thus, a work in progress got dumped on svn.
  We're still working out what sort of approval process makes sense for
 these
  sorts of contributions, but for a large change like this involving new
 API
  surface area, we definitely do want and need open, public discussion.
 
 
  Since the 2.0 release, I feel that there is less interaction with the
  contrib list (btw what have been decided for the roadmap ?) and what we
 are
  supposed to see in the coming releases.
 
  I think more than anything, you're seeing the effects of a lot of us
 being
  tired from the GWT 2.0 push. An updated roadmap is still forthcoming, but
 I
  can summarize a lot of the ad hoc design discussions starting to take
 place
  like this: we need to fill a lot of gaps in the libraries, especially
  widgets and app framewpork sorts of library code. GWT is powerful at
  present, but it doesn't make it especially easy to create traditional
  business apps quickly. We'd like to change that.
 
 
  We can understand that you prefer to use internal waves/lists but please
  let's not forget the openess nature of GWT that contribute to make
 this
  framework so popular
 
  It's true that Wave is fantastic for design docs, and it's hard not to
 want
  to use that instead of email. Maybe the right answer is to get everyone
 on
  this list to move to Wave :-)
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors




-- 
Miguel

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread John Tamplin
On Tue, Feb 2, 2010 at 5:47 AM, Thomas Broyer t.bro...@gmail.com wrote:

 I don't understand how user/src/com/google/gwt/regexp/super is any
 different from user/super/com/google/gwt/regexp/translatable, it's
 just a matter of including user/super in the classpath (which it
 already is).


One advantage is that super is illegal in any Java package name, so there
can't be collision between a super and non-super path.  Also, it is more
consistent with the super-source module tag.  Finally, it seems cleaner to
have all parts of a module under an isolated directory tree, rather than
split into user/src and user/super.


  It is a JSO (see regexp/super/...) in the JS implementaiton, so you can
 do
  exactly that.

 but it'll fail in DevMode, right?


No, it works fine in DevMode just like any other JSO, since JSNI methods get
run there.  It won't work in pure Java, so you can't use that in server or
shared code.


 And as far as Google Wave is concerned (and yeah it's great tool!), I
 cannot find any wave shared with the group ;-)

 https://wave.google.com/wave/#restored:search:group%253Agoogle-web-toolkit-contributors%2540googlegroups.com
 (well, except the one I just shared (read-only though, for now))


The problem is that right now the public wave and the internal one are two
separate instances.  Once the wave team has federated servers working, it
should be readily possible to do that.

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

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Ray Ryan
We can use the public Wave instance with alternate addresses. Inconvenient,
but it's not that big a deal.

On Feb 2, 2010 7:18 AM, John Tamplin j...@google.com wrote:

On Tue, Feb 2, 2010 at 5:47 AM, Thomas Broyer t.bro...@gmail.com wrote:

 I don't understand how...
One advantage is that super is illegal in any Java package name, so there
can't be collision between a super and non-super path.  Also, it is more
consistent with the super-source module tag.  Finally, it seems cleaner to
have all parts of a module under an isolated directory tree, rather than
split into user/src and user/super.




  It is a JSO (see regexp/super/...) in the JS implementaiton, so you can
do
  exactly that...
No, it works fine in DevMode just like any other JSO, since JSNI methods get
run there.  It won't work in pure Java, so you can't use that in server or
shared code.




 And as far as Google Wave is concerned (and yeah it's great tool!), I
 cannot find any wave ...

The problem is that right now the public wave and the internal one are two
separate instances.  Once the wave team has federated servers working, it
should be readily possible to do that.



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

-- 

http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Eclipse project Readme file outdated.

2010-02-02 Thread Marko Vuksanovic
Hi,

I have tried to set up the eclipse development environment as
described in /trunk/eclipse/readme but when I have imported projects
into the eclipse workspace I noticed that all the project have
references to gwt-user and/or gwt-dev. The problem is that those
projects do not exist - it seems that they are renamed into user and
dev, respectively.

Could somebody verify this? If I am right - should I rename the
projects into gwt-user and gwt-dev, or should I replace the references
in other projects?

Thanks in advance.

- Marko Vuksanovic.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Eclipse project Readme file outdated.

2010-02-02 Thread John Tamplin
On Tue, Feb 2, 2010 at 10:56 AM, Marko Vuksanovic markovuksano...@gmail.com
 wrote:

 I have tried to set up the eclipse development environment as
 described in /trunk/eclipse/readme but when I have imported projects
 into the eclipse workspace I noticed that all the project have
 references to gwt-user and/or gwt-dev. The problem is that those
 projects do not exist - it seems that they are renamed into user and
 dev, respectively.

 Could somebody verify this? If I am right - should I rename the
 projects into gwt-user and gwt-dev, or should I replace the references
 in other projects?


There are directories user and dev, but the Eclipse projects are gwt-dev,
gwt-user, gwt-lang, Mail, Showcase, etc.  If you follow the import
instructions in the README, you will get a list of all the Eclipse projects
which are available when you choose to import existing projects and choose
the eclipse directory as the base to search.

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

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Paul Robinson
I'd hate to see even more discussions moving away from here (because I,
and maybe quite a few others here, don't have access to Wave).

Paul

Ray Ryan wrote:

 We can use the public Wave instance with alternate addresses.
 Inconvenient, but it's not that big a deal.

 http://groups.google.com/group/Google-Web-Toolkit-Contributors 

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Ray Ryan
That's a very good point. I'm confident we could get anyone invited who
wants to participate, but there's nothing we could do yet to make such waves
visible to non-members, and that would be really bad.

On Tue, Feb 2, 2010 at 8:43 AM, Paul Robinson ukcue...@gmail.com wrote:

 I'd hate to see even more discussions moving away from here (because I,
 and maybe quite a few others here, don't have access to Wave).

 Paul

 Ray Ryan wrote:
 
  We can use the public Wave instance with alternate addresses.
  Inconvenient, but it's not that big a deal.
 
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors




-- 
I wish this were a Wave

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Ray Ryan
Well, not nothing — it'd be pretty easy for a bot to be written to publish
static views of waves. But without that…

On Tue, Feb 2, 2010 at 8:47 AM, Ray Ryan rj...@google.com wrote:

 That's a very good point. I'm confident we could get anyone invited who
 wants to participate, but there's nothing we could do yet to make such waves
 visible to non-members, and that would be really bad.


 On Tue, Feb 2, 2010 at 8:43 AM, Paul Robinson ukcue...@gmail.com wrote:

 I'd hate to see even more discussions moving away from here (because I,
 and maybe quite a few others here, don't have access to Wave).

 Paul

 Ray Ryan wrote:
 
  We can use the public Wave instance with alternate addresses.
  Inconvenient, but it's not that big a deal.
 
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors




 --
 I wish this were a Wave




-- 
I wish this were a Wave

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Record selected annotations in Java AST

2010-02-02 Thread spoon

LGTM, with a few nits.

Also, if there is no specific reason to have the annotations white list,
I think we could simplify our code and drop it for now.



http://gwt-code-reviews.appspot.com/134810/diff/1/2
File dev/core/src/com/google/gwt/dev/jjs/ast/HasAnnotations.java
(right):

http://gwt-code-reviews.appspot.com/134810/diff/1/2#newcode26
Line 26: ListJAnnotation getAnnotations();
getAnnotations(String className) would seem good to add here.  That's
the method that would almost always be used.

http://gwt-code-reviews.appspot.com/134810/diff/1/3
File dev/core/src/com/google/gwt/dev/jjs/ast/JAnnotation.java (right):

http://gwt-code-reviews.appspot.com/134810/diff/1/3#newcode32
Line 32: public class JAnnotation extends JLiteral {
Extending literal means it extends expression, which means this class
will show up whenever someone contemplates an operation across all
expressions.  However, most places that expressions can be used, an
annotation cannot.

How about instead an interface AnnotationArgument?  JLiteral and
JAnnotation would implement it.

http://gwt-code-reviews.appspot.com/134810/diff/1/3#newcode56
Line 56: assert values.size() == 1 : Expecting single-valued property,
found 
This seems like a method developers would expect to always do the check,
not only when assertions are enabled.

http://gwt-code-reviews.appspot.com/134810/diff/1/3#newcode145
Line 145: private Object reifyValue(JLiteral value) throws
ClassNotFoundException {
This is more precisely evaluation: it converts an AST to a value.

http://gwt-code-reviews.appspot.com/134810/diff/1/3#newcode186
Line 186: // Crete the annotation as a reflective Proxy instance
Create

http://gwt-code-reviews.appspot.com/134810/diff/1/13
File dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java
(right):

http://gwt-code-reviews.appspot.com/134810/diff/1/13#newcode2689
Line 2689: * @param annotations
Noise in the Javadoc.

http://gwt-code-reviews.appspot.com/134810/diff/1/13#newcode2711
Line 2711: JInterfaceType annotationType = (JInterfaceType)
typeMap.tryGet(binding);
Add TypeMap.getOrExternal?  This logic appears twice in GenerateJavaAST.

http://gwt-code-reviews.appspot.com/134810/diff/1/13#newcode3120
Line 3120: com.google.gwt.dev.jjs, test));
Do we actually need an explicit white list?  There's already an implicit
white list that the only annotations that will have any effect are those
that the compiler includes special support for.

http://gwt-code-reviews.appspot.com/134810

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: r7517 committed - Adding RegExp to public GWT (native version, pure Java version, tests)

2010-02-02 Thread Bruce Johnson
On Tue, Feb 2, 2010 at 11:43 AM, Paul Robinson ukcue...@gmail.com wrote:

 [...] I, and maybe quite a few others here, don't have access to Wave.


We can probably do something about that. I'll start another thread where
people who don't have Wave access yet can indicate interest in signing up.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Interest in Wave for design docs?

2010-02-02 Thread Bruce Johnson
Hi folks,

There has been some discussion about having design discussions in Wave, but
maybe not everybody has access yet.

Disclaimer: I can't promise the rate at which everyone will get invites, but
as GWT contributors, I'll happily argue that you should be early in the
queue.

Reply to this thread if you'd like to get an invitation.

-- Bruce

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Interest in Wave for design docs?

2010-02-02 Thread Paul Robinson
Yes please.

 Reply to this thread if you'd like to get an invitation. 


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


  1   2   >