Re: GWT Integration with Acegi or other libraries

2010-02-16 Thread olivier nouguier
Hi,
 You could take a look at:

http://code.google.com/p/orcades-gwt-spring/ for a MVP approach
or
http://code.google.com/p/net-orcades-spring/ for a more raw and deprecaded
(!) approach.

HIH




On Tue, Feb 16, 2010 at 5:06 AM, Shyam Visamsetty
shyamsunder...@gmail.comwrote:

 Hi,

 I would like to know if GWT can be integrated with Acegi. I have read
 the link below. But, looking for more detailed information.

 http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi

 Can anyone provide any better ways of providing form based login. I
 know that it can be done by sending a cookie and starting a session as
 described in
 http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
 .

 But, my question is, does GWT give us a way to protect a resource and
 provide access to it based on login?  Please provide any resources or
 ideas.

 Looking forward for the reply.

 Thanks,
 Shyam Visamsetty

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: How do you call a Java method from JavaScript?

2010-02-16 Thread Fabiano
@Thomas

Thanks for your explanation. I have got the point now.
Regards

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



Re: Questions about OnModuleLoad() and onPageLoad event

2010-02-16 Thread Fabiano


On Feb 15, 10:28 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On 15 fév, 08:45, Fabiano ftar...@gmail.com wrote:



 onModuleLoad is called somewhere between DOMContentLoad and onload,
 depending on browsers.

Thanks.
GWT docs should have these details.At the moment (I think) the
OnModuleLoad behaviour is not explained well in the docs.
Regards

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



Re: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Fabiano
I have reminds about being something in 2.0.2 changelog about bindings
(in develpement mode). Perhaps you should look to the GWT changelog
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: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
Hi,
 I've run into many problem with embeded jetty and Spring (even more under
maven ).
 Then for now I don't use jetty anymore, and with WTP GWT application run
perfertly well with tomcat.
 The next version of GEP should be more easy to use.
HIH

On Mon, Feb 15, 2010 at 7:51 PM, Paul S paulsschw...@gmail.com wrote:

 Any further thoughts on this from anyone? It seems a lot like a
 problem between Jetty (imposed by GWT) and Spring 3.0, but then how is
 it possible that I am the only one/first one to face this issue? My
 actual project code is very simple so I've managed to isolate the
 problem down to Jetty not wanting to load an applicationContext.xml
 file.

 Any idea? I can put my code up if anyone can tell me what they need to
 see?

 Thanks,
 Paul

 On Feb 15, 8:02 pm, Paul S paulsschw...@gmail.com wrote:
  I believe so, I downloaded spring 3 and the actual jar in question
  would be this one: org.springframework.web-3.0.0.RELEASE.jar
  However, in my frustration I just copied ALL the springframework
  modules and pasted them into my WEB-INF/lib folder just to be sure,
  but still the same issue.
  Normally ClassNotFoundException is easy to solve, as a last resort I
  go to findjar.com and download the nearest match. But this one is
  strange. I used to develop using a GWT + GWT-SL + Gilead + Spring +
  Hibernate + Tomcat stack and all went smoothly, but now I'm not sure
  what the offending component is.
 
  On Feb 15, 7:56 pm, Paul Grenyer paul.gren...@gmail.com wrote:
 
 
 
   Hi
 
[WARN] Could not instantiate listener
org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException:
org.springframework.web.context.ContextLoaderListener
 
   Have you got all the necessary Spring JARs in WEB-INF/lib?
 
   --
   Thanks
   Paul
 
   Paul Grenyer
   e: paul.gren...@gmail.com
   b: paulgrenyer.blogspot.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread Paul Grenyer
Hi

On Tue, Feb 16, 2010 at 8:44 AM, olivier nouguier
olivier.nougu...@gmail.com wrote:
 Hi,
  I've run into many problem with embeded jetty and Spring (even more under
 maven ).
  Then for now I don't use jetty anymore, and with WTP GWT application run
 perfertly well with tomcat.
  The next version of GEP should be more easy to use.

I'm astounded. It's worked perfectly for me every time. On Windows and
on Linux. I've even sent Paul S the steps I use.

Thanks
Paul

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

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



Re: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
Hi Paul G,
 The issue a  was making reference is:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1If
you have a working solution I would really appreciate you to share.
thx

On Tue, Feb 16, 2010 at 9:48 AM, Paul Grenyer paul.gren...@gmail.comwrote:

 Hi

 On Tue, Feb 16, 2010 at 8:44 AM, olivier nouguier
 olivier.nougu...@gmail.com wrote:
  Hi,
   I've run into many problem with embeded jetty and Spring (even more
 under
  maven ).
   Then for now I don't use jetty anymore, and with WTP GWT application run
  perfertly well with tomcat.
   The next version of GEP should be more easy to use.

 I'm astounded. It's worked perfectly for me every time. On Windows and
 on Linux. I've even sent Paul S the steps I use.

 Thanks
 Paul

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread Paul Grenyer
Hi

On Tue, Feb 16, 2010 at 9:07 AM, olivier nouguier
olivier.nougu...@gmail.com wrote:
 Hi Paul G,
  The issue a  was making reference
 is: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1
 If you have a working solution I would really appreciate you to share.

That's not the OPs issue, but I've had this issue too and fixed it by
adding a missing JAR. IIRC (and I can't check at the moment) it was
caused by a missing org.springframework.security.config JAR. It's
important that all the necessary JARs are available in WEB-INF\lib,
not just added to your Eclipse project.

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

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



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

2010-02-16 Thread mariyan nenchev
Very nice features... until they get in touch with server side code :) (not
talking about ee/pro).

On Tue, Feb 16, 2010 at 1:30 AM, ckendrick charles.kendr...@gmail.comwrote:

 Um, so, it was pointed out to me that I missed some major ones.  Even
 some I wrote personally :)

 Drag Reorder of columns

 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder

 The CubeGrid (multi-dimensional data model support)
http://www.smartclient.com/index.jsp#basicCube
http://www.smartclient.com/index.jsp#analytics

 A whole range of autoFit behaviors (not just this sample, the whole
 folder)
http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter

 Also, the fact that all of these features also apply to TreeGrids (eg
 frozen columns and full-row editing).

 Also, SmartGWT's data connector architecture and it's ability to
 support multiple caches on the same large data set, with independent
 search criteria, sort direction, etc.  This is needed for dozens of
 use cases involving large data sets, such as moving records from one
 category to another by drag and drop.  GXT's Store is extremely
 primitive by comparison and a lot of manual effort is required to
 achieve something like this:
 http://www.smartclient.com/smartgwtee/showcase/#row_drag_save

 I have probably missed another 9 major grid features, and this only
 covers feature advantages related to grids, however this and my
 previous post are probably the best answer to the original question:
 what are the technical advantages.

 On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote:
  Carl,
 
  On skins, you don't sound as though you've looked at the Showcase
  since 2.0, when we made a series of improvements which now has most
  users commenting that our skins are sharper than GXTs.
 
  On grids, this is the first time I've ever seen someone claim the GXT
  grids are better, I really don't think you took more than a cursory
  look at the samples.  Here are some of the largest features missing
  from GXT's grids (there are many many more):
 
  Adaptive Filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe...
 
  Databound Dragging
 
 http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur...
 
  Custom nested components (embed anything)
 http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca...
 
  Pluggable data models (build a master-detail component for any data
  model)
 http://www.smartclient.com/smartgwt/showcase/#featured_master_detail
 
  Frozen columns with editing, drag and drop and all other features
  still supported
 http://www.smartclient.com/smartgwt/showcase/#grid_frozen_editing
 
  Multi-level sort
 
 http://www.smartclient.com/smartgwt/showcase/#grid_multisort_new_cate...
 
  Automatic cache synchronization on update
 
 http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/dat...
 
  Multi-level filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_filter_builder
 
  Multiple rows of headers
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_header_...
 
  User-specified formula and summary columns
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_formula...
 
  Also, once again, these features work *together*.  There are many
  combinations of GXT features that don't (eg Live Grid and most major
  grid features), and if you go with some hack from the forums to enable
  one of the missing features, you'll find even less compatibility with
  other features (and no support).
 
  Just didn't want anyone to think the grids are even close to
  comparable.  The features above are all part of the free LGPL edition
  by the way.
 
  On Feb 14, 7:00 pm, Carl Pritchett bogusggem...@gmail.com wrote:
 
   We have used GXT from 1.2 to 2.1.1 on a mid-sized project.
 
   Pros
   - I think the look and feel is sharp and responsive (much nicer
 thatSmartGWTIMHO - but look at the showcases and judge for youself).
   - Grids are the best I've seen (sorrySmartGWT) but no lockable
   columns (which Smart does have) -  we had to write our own (I've
   posted them on the forums)
   - It's all java and it's trivial to debug / overrride features
   - Good community in the forums
   - Bugs get fixed if you are persistent enough
 
   Cons
   - Quirky bugs and behaviour changes in each version - need to check
   for regression when taking an upgrade.
   - Only first point release if available if you don't have a support
   contract (even if you buy the product) and there can be a long wait
   (for your business / customers) between versions.
   - Mostly trivial examples in showcase that aren't like an app you will
   build (though to be fair same can be said for most GWT frameworks)
   - Not much doco / java doc, which can make complex apps / layouts
   difficult to get right - some unexpected behaviours
 
 

 --
 You 

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
You're are definitely rigth on those 2 points.

not OPs issue:  in fact it's rather a Maven/GEP issue.
file must be copied in WEB-INF/lib: just for the dev mode.

Thanks you and I apologize for the confusion (but as an early maven user I
tend to suppose that everybody uses maven ... )


On Tue, Feb 16, 2010 at 10:36 AM, Paul Grenyer paul.gren...@gmail.comwrote:

 Hi

 On Tue, Feb 16, 2010 at 9:07 AM, olivier nouguier
 olivier.nougu...@gmail.com wrote:
  Hi Paul G,
   The issue a  was making reference
  is:
 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1
  If you have a working solution I would really appreciate you to share.

 That's not the OPs issue, but I've had this issue too and fixed it by
 adding a missing JAR. IIRC (and I can't check at the moment) it was
 caused by a missing org.springframework.security.config JAR. It's
 important that all the necessary JARs are available in WEB-INF\lib,
 not just added to your Eclipse project.

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread Paul Grenyer
Hi

On Tue, Feb 16, 2010 at 9:49 AM, olivier nouguier
olivier.nougu...@gmail.com wrote:
 You're are definitely rigth on those 2 points.
 not OPs issue:  in fact it's rather a Maven/GEP issue.
 file must be copied in WEB-INF/lib: just for the dev mode.
 Thanks you and I apologize for the confusion (but as an early maven user I
 tend to suppose that everybody uses maven ... )

Nah, real programmers see Maven for what it really is. ;-)

-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.com

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



compilation problems

2010-02-16 Thread loucat
Hi everybody!

I've developed my GWT application in hosted mode (i'm using eclipse
and gwt 1.7) and everything works fine in GWT browser, but when I
compile the project using the button compile/browse of the GWT browser
or the red button compile of eclipse, the web page turned out to be
quite different from che original one.
For example there are some style changes (background colour and
position of the panels) and most of all my main button (I use it to
submit a form) doesn't appear!!
I don't have any compilation errors, I don't know why I have so many
differences... :(

do you know what the problems could be?

thank you so much..

lou

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



Re: MVP question

2010-02-16 Thread Eric
As far as maintaining state in the display, Yaakov is right for how I
use it.  I don't store the model beans in the display.  I wonder if
other folks model classes are more involved than mine; my model
classes are basically just baskets of primitives (or other model
classes) with semantic names.  I have started with Ray's suggestion to
decouple the model.  Model classes are cached at the AppController
level and are attached to eventBus events, but there is not one
overarching model available to all presenters and I don't have
ValueChangeListeners.

Re: previous message:  By trivial I meant basically single line.
Not unimportant, but immediately, visually obvious In other words,
I wouldn't be tempted to write a unit test to see if it really does
it.

Perhaps an example would help.  I'm writing an Electronic Court Filing
Application.  I have a presenter that lists a bunch of filings, each
filing has three links 1) clicking or the ID of the filing takes you
to view/edit for that filing 2) clicking the case info takes you to
details for that case 3) clicking on the lead document name downloads
that document.  The contacts example has a similar situation, in which
the presenter captures click events for the whole table, queries the
display to find out which row was clicked, looks up in the row number
in a list of Contacts stored in the presenter, and takes action.  This
even seems a little kludgy in the simple example (again I'd be excited
to know why I'm wrong about this).  Wouldn't it be more robust and
straight forward for a CaseLinkClickedEvent(Integer caseId) to just
get fired by a link that already knows that it is styled like a
CaseLink and has the text of filing.getCaseId()?

Also there are two main types of filings: those that initiate a new
case and those that are adding to an existing case.  They are
different enough to have their own view/edit presenter class, but they
also share a lot in common.  I would like to have each of these two
mid-level presenters contain a list of subclasses of
FilingStepPresenter, but have run into a number of obstacles to doing
this in practice.

Thanks,
Eric

On Feb 15, 2:06 pm, Yaakov Chaikin yaakov.chai...@gmail.com wrote:
 On Mon, Feb 15, 2010 at 11:01 AM, Nathan Wells nwwe...@gmail.com wrote:
  The main reason (for me) for removing and dependencies on the model
  from the view is that as you add dependencies, you will also add
  state.
  You will then be managing your application state in your view,
  which is (1) something you would want to use JUnit for, and (2) a
  major reason for the presentation layer in the first place.

 Well, that's not really true or at least it certainly doesn't have to
 be. Your display.setContacts(ListContact) method doesn't have to
 *store* the list (and therefore introduce state into your view). It
 can just do the same thing that setData(ListString) does (in the MVP
 Contacts example). I.e., it can remove all entries from the table and
 iterate through the Contact list, populating the table with contact
 values, throwing the ListContact away after it's done.

 Yaakov.

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



Re: compilation problems

2010-02-16 Thread loucat
news:

I've found out that my compiled web page looks fine using IE8 (but I
should solve problems with the regular expressions of the validation:
I can't go on and see if it works...) and almost fine with Google
Chrome (the submit button appears, but in the wrong position, and I
also have regular expressions problems).

any suggestions on what to do?

thanks again

lou

On 16 Feb, 11:16, loucat lou...@gmail.com wrote:
 Hi everybody!

 I've developed my GWT application in hosted mode (i'm using eclipse
 and gwt 1.7) and everything works fine in GWT browser, but when I
 compile the project using the button compile/browse of the GWT browser
 or the red button compile of eclipse, the web page turned out to be
 quite different from che original one.
 For example there are some style changes (background colour and
 position of the panels) and most of all my main button (I use it to
 submit a form) doesn't appear!!
 I don't have any compilation errors, I don't know why I have so many
 differences... :(

 do you know what the problems could be?

 thank you so much..

 lou

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



Re: Panel.hide() and images

2010-02-16 Thread Thomas Broyer


On Feb 16, 2:24 am, Manny manster...@gmail.com wrote:
 So this is really two questions in one post.
 I want to hide all the elements contained within a panel and show
 certain others depending on which link the user
 clicks. i do not want to user clear() as that will just kill its child/
 attached widgets. thereby having them to be reinstantiated all over
 again should the user click the original link that created them
 withing the panel. how can this be accomplished. i'm out of ideas.

clear() does not kill child widgets, it only detaches them. If
they're referenced in some variables, they can be reused (just add
them back). This makes clear() an option for your use case.

Another option is to loop through the child widgets and selectively
setVisible(false) or setVisible(true).

What's your real use case?

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



Re: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Thomas
Switching to localhost didn't do the trick for, thanks for the tip
anyway.
I think I should fiddle with my hosted mode execution script or set up
my own server instead of Jetty, when I will have the time...

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



The declared package does not match the expected package client

2010-02-16 Thread eggsy84
Hi all,

I'm sorry for reposting this issue but after looking through all the
previous posts on this subject none of the suggested fixes have helped
me.

First of all a bit of background on my dev environment.

I have an existing web application (using Spring MVC) and I am trying
to introduce a small bit of GWT into the application.

I am using Eclipse as my IDE and have installed the latest GWT and GAE
plugins (GAE isn't going to be used).

For the application development I am using my own Tomcat server rather
than the GWT inbedded server and thus shall be using the -noserver
flag.

My directory structure is as follows:

Project
/Project/src/main/java *Defined as a source folder on Eclipse Build
path
/Project/src/main/resources
/Project/src/main/webapp

GWT sections
/Project/src/main/java/package1/package2/package3/gwt
/Project/src/main/java/package1/package2/package3/gwt/Module.gwt.xml
/Project/src/main/java/package1/package2/package3/gwt/client
/Project/src/main/java/package1/package2/package3/gwt/client/
EntryPointClass.java


I have then defined my Module.xml as the following:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.0.2//
EN http://google-web-toolkit.googlecode.com/svn/tags/2.0.2/distro-
source/core/src/gwt-module.dtd
module rename-to=mymodule
inherits name=com.google.gwt.user.User /
entry-point
class=package1.package2.package3.gwt.client.EntryPointClass /
/module

Currently I compile the application using the GWT plugin compile
option and add the following additional compiler flags:

-war src/main/webapp

which ensures that the I place it places the compiled JS into the
right location for my web app.

In terms of running the webapplication I can successfully run it and
the JS fires fine so I know the compile stage is working fine.

However I am now trying to debug my code using the GWT dev mode and
getting the following error:

 The declared package package1.package2.package3.gwt.client does not
match the expected package client.

So this takes me to my Eclipse run configuration for starting dev
mode.

I have a Java Application entry. On the 'Main' tab I have my project
selected and a Main class of:

com.google.gwt.dev.DevMode

On the 'arguments' tab I have the following:

-noserver -war src/main/webapp -startupUrl http://localhost:8080/MyProject/myUrl
Module

On the 'classpath' tab I have the following under 'User Entries':

- GWT SDK 2.0.2 Library
- gwt - /Project/src/main/java/package1/package2/package3/ (Folder)

Using the above definitions the Dev mode shell successfully fires up
but when I hit the URL:

http://localhost:8080/Project/testPage?gwt.codesvr=127.0.0.1:9997

I get the afore mentioned error.

If I try changing the run configuration User entries folder entry to
be simply:

/Project/src/main/java

The development mode cannot find my Module.gwt.xml upon startup.

With these kind of errors I'm aware that it is quite specific to a
particular users setup so even though I have gave the specifics of my
setup I'm quite aware it might be more useful to discuss the
particulars of the GWT dev mode classpath setup?

Would anyone like to contribute or shed any light on this?

Many thanks to all who read my essay ;)

Eggsy

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
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-16 Thread Sanjiv Jivan
What are you talking about? Care to elaborate instead of writing a one liner
with a smiley which makes no sense.

until they get in touch with server side code :) (not talking about
ee/pro)

Are you having trouble writing server side code?

Sanjiv

On Tue, Feb 16, 2010 at 4:38 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Very nice features... until they get in touch with server side code :) (not
 talking about ee/pro).


 On Tue, Feb 16, 2010 at 1:30 AM, ckendrick charles.kendr...@gmail.comwrote:

 Um, so, it was pointed out to me that I missed some major ones.  Even
 some I wrote personally :)

 Drag Reorder of columns

 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder

 The CubeGrid (multi-dimensional data model support)
http://www.smartclient.com/index.jsp#basicCube
http://www.smartclient.com/index.jsp#analytics

 A whole range of autoFit behaviors (not just this sample, the whole
 folder)
http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter

 Also, the fact that all of these features also apply to TreeGrids (eg
 frozen columns and full-row editing).

 Also, SmartGWT's data connector architecture and it's ability to
 support multiple caches on the same large data set, with independent
 search criteria, sort direction, etc.  This is needed for dozens of
 use cases involving large data sets, such as moving records from one
 category to another by drag and drop.  GXT's Store is extremely
 primitive by comparison and a lot of manual effort is required to
 achieve something like this:
 http://www.smartclient.com/smartgwtee/showcase/#row_drag_save

 I have probably missed another 9 major grid features, and this only
 covers feature advantages related to grids, however this and my
 previous post are probably the best answer to the original question:
 what are the technical advantages.

 On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote:
  Carl,
 
  On skins, you don't sound as though you've looked at the Showcase
  since 2.0, when we made a series of improvements which now has most
  users commenting that our skins are sharper than GXTs.
 
  On grids, this is the first time I've ever seen someone claim the GXT
  grids are better, I really don't think you took more than a cursory
  look at the samples.  Here are some of the largest features missing
  from GXT's grids (there are many many more):
 
  Adaptive Filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe...
 
  Databound Dragging
 
 http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur...
 
  Custom nested components (embed anything)
 http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca...
 
  Pluggable data models (build a master-detail component for any data
  model)
 http://www.smartclient.com/smartgwt/showcase/#featured_master_detail
 
  Frozen columns with editing, drag and drop and all other features
  still supported
 http://www.smartclient.com/smartgwt/showcase/#grid_frozen_editing
 
  Multi-level sort
 
 http://www.smartclient.com/smartgwt/showcase/#grid_multisort_new_cate...
 
  Automatic cache synchronization on update
 
 http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/dat...
 
  Multi-level filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_filter_builder
 
  Multiple rows of headers
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_header_...
 
  User-specified formula and summary columns
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_formula...
 
  Also, once again, these features work *together*.  There are many
  combinations of GXT features that don't (eg Live Grid and most major
  grid features), and if you go with some hack from the forums to enable
  one of the missing features, you'll find even less compatibility with
  other features (and no support).
 
  Just didn't want anyone to think the grids are even close to
  comparable.  The features above are all part of the free LGPL edition
  by the way.
 
  On Feb 14, 7:00 pm, Carl Pritchett bogusggem...@gmail.com wrote:
 
   We have used GXT from 1.2 to 2.1.1 on a mid-sized project.
 
   Pros
   - I think the look and feel is sharp and responsive (much nicer
 thatSmartGWTIMHO - but look at the showcases and judge for youself).
   - Grids are the best I've seen (sorrySmartGWT) but no lockable
   columns (which Smart does have) -  we had to write our own (I've
   posted them on the forums)
   - It's all java and it's trivial to debug / overrride features
   - Good community in the forums
   - Bugs get fixed if you are persistent enough
 
   Cons
   - Quirky bugs and behaviour changes in each version - need to check
   for regression when taking an upgrade.
   - Only first point release if available if you don't have a support
   contract (even if you buy the product) and there can be a long wait
   

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

2010-02-16 Thread mariyan nenchev
Personally - yes. It is to much code for basic stuff. Don't understand me
wrong, if i look smart gwt only as client side framework, it is very good
and rich, but most users(developers) have trouble integrating it with other
frameworks, technologies and so on...You see how many users write every day
in the smartclient's forum and all have problems with server integration.
May be they are not experienced, may be it is unnessesery complicated or may
be smart gwt is like that, because smart gwt pro/ee are better. Every thing
is just bussines, and so it should be. I am just saying my personal opinion.

Regards.

On Tue, Feb 16, 2010 at 1:47 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote:

 What are you talking about? Care to elaborate instead of writing a one
 liner with a smiley which makes no sense.

 until they get in touch with server side code :) (not talking about
 ee/pro)

 Are you having trouble writing server side code?

 Sanjiv

 On Tue, Feb 16, 2010 at 4:38 AM, mariyan nenchev 
 nenchev.mari...@gmail.com wrote:

 Very nice features... until they get in touch with server side code :)
 (not talking about ee/pro).


 On Tue, Feb 16, 2010 at 1:30 AM, ckendrick charles.kendr...@gmail.comwrote:

 Um, so, it was pointed out to me that I missed some major ones.  Even
 some I wrote personally :)

 Drag Reorder of columns

 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder

 The CubeGrid (multi-dimensional data model support)
http://www.smartclient.com/index.jsp#basicCube
http://www.smartclient.com/index.jsp#analytics

 A whole range of autoFit behaviors (not just this sample, the whole
 folder)
http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter

 Also, the fact that all of these features also apply to TreeGrids (eg
 frozen columns and full-row editing).

 Also, SmartGWT's data connector architecture and it's ability to
 support multiple caches on the same large data set, with independent
 search criteria, sort direction, etc.  This is needed for dozens of
 use cases involving large data sets, such as moving records from one
 category to another by drag and drop.  GXT's Store is extremely
 primitive by comparison and a lot of manual effort is required to
 achieve something like this:
 http://www.smartclient.com/smartgwtee/showcase/#row_drag_save

 I have probably missed another 9 major grid features, and this only
 covers feature advantages related to grids, however this and my
 previous post are probably the best answer to the original question:
 what are the technical advantages.

 On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote:
  Carl,
 
  On skins, you don't sound as though you've looked at the Showcase
  since 2.0, when we made a series of improvements which now has most
  users commenting that our skins are sharper than GXTs.
 
  On grids, this is the first time I've ever seen someone claim the GXT
  grids are better, I really don't think you took more than a cursory
  look at the samples.  Here are some of the largest features missing
  from GXT's grids (there are many many more):
 
  Adaptive Filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe...
 
  Databound Dragging
 
 http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur...
 
  Custom nested components (embed anything)
 http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca...
 
  Pluggable data models (build a master-detail component for any data
  model)
 
 http://www.smartclient.com/smartgwt/showcase/#featured_master_detail
 
  Frozen columns with editing, drag and drop and all other features
  still supported
 http://www.smartclient.com/smartgwt/showcase/#grid_frozen_editing
 
  Multi-level sort
 
 http://www.smartclient.com/smartgwt/showcase/#grid_multisort_new_cate...
 
  Automatic cache synchronization on update
 
 http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/dat...
 
  Multi-level filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_filter_builder
 
  Multiple rows of headers
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_header_...
 
  User-specified formula and summary columns
 
 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_formula...
 
  Also, once again, these features work *together*.  There are many
  combinations of GXT features that don't (eg Live Grid and most major
  grid features), and if you go with some hack from the forums to enable
  one of the missing features, you'll find even less compatibility with
  other features (and no support).
 
  Just didn't want anyone to think the grids are even close to
  comparable.  The features above are all part of the free LGPL edition
  by the way.
 
  On Feb 14, 7:00 pm, Carl Pritchett bogusggem...@gmail.com wrote:
 
   We have used GXT from 1.2 to 2.1.1 on a mid-sized project.
 
   Pros
   - I think the look 

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

2010-02-16 Thread Sanjiv Jivan
mariyan,
The SmartGWT LGPL server side code can be as little or much depending on how
the developer codes it. Pro / EE handle the server side persistence so
there's minimal code to writ. With LGPL, the SmartGWT datasource protocol
simply passes the relevant information for various operations like fetch,
update, delete and insert. Thats it! From there on, the developer needs to
act on this information to service the operation request.

A fetch operation for example will pass the startRow, endRow and the
applications server side code needs to return data as XML, JSON or GWT-RPC
beans in response to this request. Similarly an insert or update operation
passes the data of the new record to the server. There's nothing inherent to
SmartGWT that requires more server side code. Infact its a very simple
protocol that imposes no extra overhead or server side requirements whether
you're using the Restful DataSource, or the GWT-RPC Datasource.

Have a look at this sample :
http://www.smartclient.com/smartgwt/showcase/#featured_restfulds

Hopefully this clarifies things. If you need some more information, there is
plenty of information in the Javadocs and also feel free to post on the
SmartGWT forum.

Sanjiv



On Tue, Feb 16, 2010 at 7:08 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Personally - yes. It is to much code for basic stuff. Don't understand me
 wrong, if i look smart gwt only as client side framework, it is very good
 and rich, but most users(developers) have trouble integrating it with other
 frameworks, technologies and so on...You see how many users write every day
 in the smartclient's forum and all have problems with server integration.
 May be they are not experienced, may be it is unnessesery complicated or may
 be smart gwt is like that, because smart gwt pro/ee are better. Every thing
 is just bussines, and so it should be. I am just saying my personal opinion.

 Regards.

 On Tue, Feb 16, 2010 at 1:47 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote:

 What are you talking about? Care to elaborate instead of writing a one
 liner with a smiley which makes no sense.

 until they get in touch with server side code :) (not talking about
 ee/pro)

 Are you having trouble writing server side code?

 Sanjiv

 On Tue, Feb 16, 2010 at 4:38 AM, mariyan nenchev 
 nenchev.mari...@gmail.com wrote:

 Very nice features... until they get in touch with server side code :)
 (not talking about ee/pro).


 On Tue, Feb 16, 2010 at 1:30 AM, ckendrick 
 charles.kendr...@gmail.comwrote:

 Um, so, it was pointed out to me that I missed some major ones.  Even
 some I wrote personally :)

 Drag Reorder of columns

 http://www.smartclient.com/smartgwt/showcase/#grid_appearance_columnorder

 The CubeGrid (multi-dimensional data model support)
http://www.smartclient.com/index.jsp#basicCube
http://www.smartclient.com/index.jsp#analytics

 A whole range of autoFit behaviors (not just this sample, the whole
 folder)
http://www.smartclient.com/smartgwt/showcase/#grid_autofit_filter

 Also, the fact that all of these features also apply to TreeGrids (eg
 frozen columns and full-row editing).

 Also, SmartGWT's data connector architecture and it's ability to
 support multiple caches on the same large data set, with independent
 search criteria, sort direction, etc.  This is needed for dozens of
 use cases involving large data sets, such as moving records from one
 category to another by drag and drop.  GXT's Store is extremely
 primitive by comparison and a lot of manual effort is required to
 achieve something like this:
 http://www.smartclient.com/smartgwtee/showcase/#row_drag_save

 I have probably missed another 9 major grid features, and this only
 covers feature advantages related to grids, however this and my
 previous post are probably the best answer to the original question:
 what are the technical advantages.

 On Feb 15, 12:02 pm, ckendrick charles.kendr...@gmail.com wrote:
  Carl,
 
  On skins, you don't sound as though you've looked at the Showcase
  since 2.0, when we made a series of improvements which now has most
  users commenting that our skins are sharper than GXTs.
 
  On grids, this is the first time I've ever seen someone claim the GXT
  grids are better, I really don't think you took more than a cursory
  look at the samples.  Here are some of the largest features missing
  from GXT's grids (there are many many more):
 
  Adaptive Filtering
 
 http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe.
 ..
 
  Databound Dragging
 
 http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur.
 ..
 
  Custom nested components (embed anything)
 http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
 
 http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca.
 ..
 
  Pluggable data models (build a master-detail component for any data
  model)
 
 http://www.smartclient.com/smartgwt/showcase/#featured_master_detail
 
  Frozen columns with 

Re: i18n and uiBinder

2010-02-16 Thread ale
Hi,
I try to add

ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
   ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
   ui:generateLocales=default

when I compile I see some log message like cretate file for i18n ecc.
But when it finish I didn't find the file generated

Have you an example?

Thansk...
Ale

On 15 Feb, 18:56, ale aleee...@gmail.com wrote:
 ok, I had read the documentation that you linked,  but until now I had
 not understood :-)

 thanks again, I will try.

 On 15 Feb, 17:42, Christian Goudreau goudreau.christ...@gmail.com
 wrote:

  If you add :

  ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
     ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
     ui:generateLocales=default

  in your .ui.xml file, GWT compiler should create your .propertie file for
  your .ui.xml file. Then you only have to copy that file, add your local
  _fr_CA, and it should works.

 http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiBinder...

  Christian

  On Mon, Feb 15, 2010 at 11:21 AM, ale aleee...@gmail.com wrote:

    ok, so every ui.xml has a specific message resource file... (or one
   for package...)
   It's ok. and the name? is right 'messages.properties'?

   thanks again.
   Alessandro

   On 15 Feb, 16:21, Christian Goudreau goudreau.christ...@gmail.com
   wrote:
Normally, same directory as you .ui.xml file.

Christian

On Mon, Feb 15, 2010 at 10:17 AM, ale aleee...@gmail.com wrote:
 ehm, but where should I put the properties file?
 under the client folder?

 thanks..

 On 15 Feb, 13:45, Christian Goudreau goudreau.christ...@gmail.com
 wrote:
  It's supposed to be automatic. You have to specify the locale in
  your
 HTML
  and then, GWT Compiler does the tricks.

  For me it always worked fine in Dev, but once I came to publish, my
 Images
  didn't change according to my locales...

  Christian

  On Sun, Feb 14, 2010 at 7:05 PM, ale aleee...@gmail.com wrote:
   Hi, I can't understand how usei18nwith gwt 2.0
   I follow the manual and I made ma xml like this:

   g:HTMLPanel styleName='{style.panel}'
                  g:Anchor ui:field=loginLink
                          ui:msg description=loginLogin/ui:msg
                  /g:Anchor
          /g:HTMLPanel

   than i implements a listbox (like in the example 'showcase') that
  have
   an event that change the locale.
   than I wrote 2 files

   messages.properties
   messages_fr.properties

   I can't understand how to tell to the xml the name of the
  properties
   file...
   (and so the change of the locale has no effect...)

   Thanks. Regards
   Ale

   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post 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

 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

  google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@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

  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 2 using Eclipse with plugin and Spring

2010-02-16 Thread maks
Hi,

Do you have a working on example on how to use the GWT + GWT-SL +
Gilead + Spring?

On Feb 16, 5:52 pm, Paul Grenyer paul.gren...@gmail.com wrote:
 Hi

 On Tue, Feb 16, 2010 at 9:49 AM, olivier nouguier

 olivier.nougu...@gmail.com wrote:
  You're are definitely rigth on those 2 points.
  not OPs issue:  in fact it's rather a Maven/GEP issue.
  file must be copied in WEB-INF/lib: just for the dev mode.
  Thanks you and I apologize for the confusion (but as an early maven user I
  tend to suppose that everybody uses maven ... )

 Nah, real programmers see Maven for what it really is. ;-)

 --
 Thanks
 Paul

 Paul Grenyer
 e: paul.gren...@gmail.com
 b: paulgrenyer.blogspot.com

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



Re: i18n and uiBinder

2010-02-16 Thread Christian Goudreau
Unfortunately, no, I didn't try this yet lol

I'm still looking for my own answer with Client Bundle and Image Resources
:D

Christian

On Tue, Feb 16, 2010 at 8:12 AM, ale aleee...@gmail.com wrote:

 Hi,
 I try to add

 ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
   ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
   ui:generateLocales=default

 when I compile I see some log message like cretate file for i18n ecc.
 But when it finish I didn't find the file generated

 Have you an example?

 Thansk...
 Ale

 On 15 Feb, 18:56, ale aleee...@gmail.com wrote:
  ok, I had read the documentation that you linked,  but until now I had
  not understood :-)
 
  thanks again, I will try.
 
  On 15 Feb, 17:42, Christian Goudreau goudreau.christ...@gmail.com
  wrote:
 
   If you add :
 
   ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
  ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
  ui:generateLocales=default
 
   in your .ui.xml file, GWT compiler should create your .propertie file
 for
   your .ui.xml file. Then you only have to copy that file, add your local
   _fr_CA, and it should works.
 
  http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiBinder.
 ..
 
   Christian
 
   On Mon, Feb 15, 2010 at 11:21 AM, ale aleee...@gmail.com wrote:
 
 ok, so every ui.xml has a specific message resource file... (or one
for package...)
It's ok. and the name? is right 'messages.properties'?
 
thanks again.
Alessandro
 
On 15 Feb, 16:21, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Normally, same directory as you .ui.xml file.
 
 Christian
 
 On Mon, Feb 15, 2010 at 10:17 AM, ale aleee...@gmail.com wrote:
  ehm, but where should I put the properties file?
  under the client folder?
 
  thanks..
 
  On 15 Feb, 13:45, Christian Goudreau 
 goudreau.christ...@gmail.com
  wrote:
   It's supposed to be automatic. You have to specify the locale
 in
   your
  HTML
   and then, GWT Compiler does the tricks.
 
   For me it always worked fine in Dev, but once I came to
 publish, my
  Images
   didn't change according to my locales...
 
   Christian
 
   On Sun, Feb 14, 2010 at 7:05 PM, ale aleee...@gmail.com
 wrote:
Hi, I can't understand how usei18nwith gwt 2.0
I follow the manual and I made ma xml like this:
 
g:HTMLPanel styleName='{style.panel}'
   g:Anchor ui:field=loginLink
   ui:msg
 description=loginLogin/ui:msg
   /g:Anchor
   /g:HTMLPanel
 
than i implements a listbox (like in the example 'showcase')
 that
   have
an event that change the locale.
than I wrote 2 files
 
messages.properties
messages_fr.properties
 
I can't understand how to tell to the xml the name of the
   properties
file...
(and so the change of the locale has no effect...)
 
Thanks. Regards
Ale
 
--
You received this message because you are subscribed to the
 Google
  Groups
Google Web Toolkit group.
To post 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
 
 
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
 
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 
 
   google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com
 google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2525252bunsubscr...@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
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
 
   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 

Re: GWT REST and XML

2010-02-16 Thread Iqbal Yusuf Dipu
Unfortunately RequestBuilder will not solve SOP issues. My example
solution is based on Google App Engine Java platform and for cross
site request I use server side code (i.e. UrlFetch service) as proxy
for my GWT Client side code (the blog post doesn't have that example).
I also used script tag injection before on another project. It would
have been nice to have Cross site capability built into GWT client.

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



Re: MVP question

2010-02-16 Thread Supercobra Thatbytes
 My first take away was that their were a few rules:
 1) Presenters don't know about specific GWT widgets (so that you can
 test your business logic without GWTTestCase)
 2) Displays don't know about business logic
 3) Displays don't know about application logic
 4) Displays don't know about model classes

 I still consider the first 3 to be sacrosanct, but I have pretty much
 dropped rule #4.  

Dropping rule #4 maybe saving time and make the code read more clearly
but it will still tie your display class to a model - which may be OK
- if you accept the constraints. For example if you have a speedometer
display and want to display your car speed

  new SpeedoMeterView(Car car)...

then you won't be able to display a motorbike speed:

  new SpeedoMeterView(Bike bike) ...

unless you modify your SpeedoMeterView which is why you should NOT use
a model but use primitive types instead:

 new Speedometer(float mph)


Daniel

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



Re: Problems wirh the new GWT + GWTdesigner + GWText

2010-02-16 Thread Bert
I get the same errors, trying to port my application from 1.5.3 to
2.0.0.

I have no idea what this can possibly mean.

On Feb 8, 10:12 pm, jacevedo aceac...@gmail.com wrote:
 Hi,

 I have a project of GWT 1.7.1 working with GWT Designer 7.2 and GWTExt
 2.0.5 and it works very good. Know I`m migrating to GWT2.0whit GWT
 Designer 7.3 because it have the development mode. The first time I
 made in Eclipse right click on the project - Run AS - GWT
 Application, the program works fine, but when I made right click on
 the project - Run AS - Compile GWT Application and then I run
 the GWT Application, it looks fine, but when I make an GWT RPC call
 it fails.

 The Eclipse console log is:

 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:Parameter0of
  is of anunknowntype'java.lang.String/2004016611'
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
         at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
 39)
         at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
 27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
 105)
         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.user.client.rpc.IncompatibleRemoteServiceException_FieldSerializer.instantiate(IncompatibleRemoteServiceException_FieldSerializer.java)
         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:585)
         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.user.client.rpc.impl.SerializerBase$MethodMap
 $.instantiate$(SerializerBase.java)
         at
 com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:
 140)
         at
 com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:
 114)
         at
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:
 61)
         at
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
 199)
         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:585)
         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
 

DevMode Jetty classloader problem?

2010-02-16 Thread fuzebest
Hello,

My project uses GWT 2.0 and Spring DispacherServlet.
The Spring context is bootstrapped in web.xml with this declaration:

servlet
servlet-nameservice/servlet-name

servlet-classorg.springframework.web.servlet.DispatcherServlet/
servlet-class
init-param
param-namecontextConfigLocation/param-name
param-valueclasspath*:/spring/*.xml/param-value
/init-param
load-on-startup1/load-on-startup
/servlet


Please note the classpath*: resource prefix.

If I run my application in DevMode the Spring context finds no
resources.
This is was not a problem with GWT 1.6 or 1.7.
If I change the resource prefix to classpath: - everything will be
fine, all the resources from the webapp's
/spring directory will be loaded (but obviously not from the /spring
directory in all the jars).

I did some research and found the problem is likely caused by the
DevMode's Jetty classloader -
com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension

The implementation overrides the findResource(String) method, but uses
findResources(String) from the superclass.
The default implementation does not find the project resources since
it was forced to use only the system classloader.

The Spring resource loader uses Classloader.getResources() to locate
the classpath*: resources. getResources() calls findResources()
internally, so no project resources for the Spring context.
As you can see this is not a Spring-specific problem, any call to
Classloader.getResources() will not find the project resources.

What do you think? Is this is a problem with the classloader or is it
an intended behavior?

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



Multiple modules?

2010-02-16 Thread Stine
Hello there,

I am struggling in getting the structure of my GWT application right.

The application is supposed to be an interface to a couple of quite
distinct areas - let us say area A and B. At the moment I am trying to
implement it as an interface with two tabs - one taking you to area A
and one taking you to area B. I do not see how I can have a nice
separation of the code needed for the two different areas in this way
though - applying the MVP pattern I end up having area A and area B
code in for instance both the client.view and the client.presenter
package:

src -
  - main
  - java
  - client
  + event
  - presenter
  + a_stuff
  + b_stuff
  - view
  + a_stuff
  + b_stuff
 :

I have not been able to find some good examples of how to use multiple
modules - and am wondering if my case might be one where multiple
modules would make sense?

Hints would be greatly appreciated,
thanks a lot from Stine

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



Re: MVP question

2010-02-16 Thread Nathan Wells
Let me be clear: I'm not suggesting that any particular version of a
presentation layer is the right way. Different environments call for
different patterns. What I was suggesting with the app state in the
view thing was that if you allow model objects in your view it makes
the mistake of managing your state in the view much easier to make.
There is one instance where this pattern was violated in the project
I'm working on, and it has caused a lot of bugs, simply because the
view became tightly coupled with application state and lost it's
cohesive generic view manipulation idea.

If you think the best place for model-view conversion is in the view,
then by all means, put it there. I don't know the details of your
situation. I'm just pointing out some of the dangers.

On Feb 16, 6:53 am, Supercobra Thatbytes dan...@metadot.com wrote:
  My first take away was that their were a few rules:
  1) Presenters don't know about specific GWT widgets (so that you can
  test your business logic without GWTTestCase)
  2) Displays don't know about business logic
  3) Displays don't know about application logic
  4) Displays don't know about model classes

  I still consider the first 3 to be sacrosanct, but I have pretty much
  dropped rule #4.  

 Dropping rule #4 maybe saving time and make the code read more clearly
 but it will still tie your display class to a model - which may be OK
 - if you accept the constraints. For example if you have a speedometer
 display and want to display your car speed

   new SpeedoMeterView(Car car)...

 then you won't be able to display a motorbike speed:

   new SpeedoMeterView(Bike bike) ...

 unless you modify your SpeedoMeterView which is why you should NOT use
 a model but use primitive types instead:

  new Speedometer(float mph)

 Daniel

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

2010-02-16 Thread BimboJones
Hi,

I don't think i understand you correctly but you can check this:

http://code.google.com/intl/pt-PT/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html

you can have access both ways, js to java and java to js.

But if you want access to a function in an html file, why not just put
it on a external js file and import it?

On 15 Fev, 05:32, ganesh.shirsat ganesh.shir...@gmail.com wrote:
 hi friends,

 i want to call the client site function from one html file.

 like example (suppose

 class ABC
 {

       public function xyz()
       {
               $wnd.alert(calling from plan html file)
       }

 }

 i want to call 'xyz' function  abc.htm file.

 how would i achieved this?

 please give me solution?

 thanks,
 all of u

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

2010-02-16 Thread Thomas Broyer


On Feb 15, 12:09 pm, eggsy84 jimbob...@hotmail.com wrote:
 Hi all,

 It has been a while since I have done any GWT development (since 1.5
 release!!) so please let me know if I have missed anything.

 I currently have an application that exposes RESTful URLs for the
 various actions.

 In previous versions to communicate with the URL's I would have to use
 JSONP (to avoid the SOP issues) and then handle the callbacks

 (As I dicussed a while back on my blog 
 -http://eggsylife.co.uk/2008/10/10/gwt-and-cross-site-jsonp-in-j2ee-co...)

 With the latest versions of GWT would I still need to do this using
 JSONP? Or are there any other GWT modules I can now drag in to help
 with this?

There's a Jsonp module to help with JSON-P.
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/package-summary.html
inherits name='com.google.gwt.jsonp.Jsonp' /

Otherwise, GWT 2.x is pretty much the same as 1.x (except for DevMode
vs. HostedMode/GWTShell, and with the great change in 1.6 re. event
handling, but you probably already know that)

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



Re: The declared package does not match the expected package client

2010-02-16 Thread Thomas Broyer


On Feb 16, 12:32 pm, eggsy84 jimbob...@hotmail.com wrote:
 Hi all,

 I'm sorry for reposting this issue but after looking through all the
 previous posts on this subject none of the suggested fixes have helped
 me.

 First of all a bit of background on my dev environment.

 I have an existing web application (using Spring MVC) and I am trying
 to introduce a small bit of GWT into the application.

 I am using Eclipse as my IDE and have installed the latest GWT and GAE
 plugins (GAE isn't going to be used).

 For the application development I am using my own Tomcat server rather
 than the GWT inbedded server and thus shall be using the -noserver
 flag.

 My directory structure is as follows:

 Project
 /Project/src/main/java *Defined as a source folder on Eclipse Build
 path
 /Project/src/main/resources
 /Project/src/main/webapp

 GWT sections
 /Project/src/main/java/package1/package2/package3/gwt
 /Project/src/main/java/package1/package2/package3/gwt/Module.gwt.xml
 /Project/src/main/java/package1/package2/package3/gwt/client
 /Project/src/main/java/package1/package2/package3/gwt/client/
 EntryPointClass.java

 I have then defined my Module.xml as the following:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.0.2//
 EN http://google-web-toolkit.googlecode.com/svn/tags/2.0.2/distro-
 source/core/src/gwt-module.dtd
 module rename-to=mymodule
         inherits name=com.google.gwt.user.User /
         entry-point
 class=package1.package2.package3.gwt.client.EntryPointClass /
 /module

 Currently I compile the application using the GWT plugin compile
 option and add the following additional compiler flags:

 -war src/main/webapp

 which ensures that the I place it places the compiled JS into the
 right location for my web app.

 In terms of running the webapplication I can successfully run it and
 the JS fires fine so I know the compile stage is working fine.

 However I am now trying to debug my code using the GWT dev mode and
 getting the following error:

  The declared package package1.package2.package3.gwt.client does not
 match the expected package client.

 So this takes me to my Eclipse run configuration for starting dev
 mode.

 I have a Java Application entry. On the 'Main' tab I have my project
 selected and a Main class of:

 com.google.gwt.dev.DevMode

 On the 'arguments' tab I have the following:

 -noserver -war src/main/webapp 
 -startupUrlhttp://localhost:8080/MyProject/myUrl
 Module

 On the 'classpath' tab I have the following under 'User Entries':

 - GWT SDK 2.0.2 Library
 - gwt - /Project/src/main/java/package1/package2/package3/ (Folder)

 Using the above definitions the Dev mode shell successfully fires up
 but when I hit the URL:

 http://localhost:8080/Project/testPage?gwt.codesvr=127.0.0.1:9997

 I get the afore mentioned error.

 If I try changing the run configuration User entries folder entry to
 be simply:

 /Project/src/main/java

 The development mode cannot find my Module.gwt.xml upon startup.

 With these kind of errors I'm aware that it is quite specific to a
 particular users setup so even though I have gave the specifics of my
 setup I'm quite aware it might be more useful to discuss the
 particulars of the GWT dev mode classpath setup?

 Would anyone like to contribute or shed any light on this?

The user entry should *obviously* be /Project/src/main/java

But you have to pass fully-qualified name of your module(s) as the
last argument(s), i.e. package1.package2.package3.gwt.Module

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

2010-02-16 Thread Duong BaTien
Hi Iqbal:

Have you look at JsonpRequestBuilder? I have not, but will when it is in
the official release. Objectify now has @Embedded, it may be an
excellent for json transport. This community is so dynamic and diverse.

Duong BaTien
DBGROUPS and BudhNet


On Tue, 2010-02-16 at 05:43 -0800, Iqbal Yusuf Dipu wrote:
 Unfortunately RequestBuilder will not solve SOP issues. My example
 solution is based on Google App Engine Java platform and for cross
 site request I use server side code (i.e. UrlFetch service) as proxy
 for my GWT Client side code (the blog post doesn't have that example).
 I also used script tag injection before on another project. It would
 have been nice to have Cross site capability built into GWT client.
 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
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-16 Thread gengstrand
It looks like we're having a little bit of a flame war going here.

Our current KATO demo ( see http://myjsp.dynamicalsoftware.com/kato )
uses SmartGWT and, though not perfect, the default eye candy does look
nice and we will most probably stay with SmartGWT.

Those who are in Birmingham, AL might consider attending the JUG ( see
http://groups.google.com/group/birmingham-jug ) meeting on the 25th
where I will give a presentation on GWT. In that talk, I will share my
opinions on Incubator, SmartGWT, and GXT.


On Feb 15, 2:02 pm, ckendrick charles.kendr...@gmail.com wrote:
 Carl,

 On skins, you don't sound as though you've looked at the Showcase
 since 2.0, when we made a series of improvements which now has most
 users commenting that our skins are sharper than GXTs.

 On grids, this is the first time I've ever seen someone claim the GXT
 grids are better, I really don't think you took more than a cursory
 look at the samples.  Here are some of the largest features missing
 from GXT's grids (there are many many more):

 Adaptive Filtering
    http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe...

 Databound Dragging
    http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featur...

 Custom nested components (embed anything)
    http://www.smartclient.com/smartgwt/showcase/#featured_nested_grid
    http://www.smartclient.com/smartgwt/showcase/#grid_nested_form_new_ca...

 Pluggable data models (build a master-detail component for any data
 model)
    http://www.smartclient.com/smartgwt/showcase/#featured_master_detail

 Frozen columns with editing, drag and drop and all other features
 still supported
    http://www.smartclient.com/smartgwt/showcase/#grid_frozen_editing

 Multi-level sort
    http://www.smartclient.com/smartgwt/showcase/#grid_multisort_new_cate...

 Automatic cache synchronization on update
    http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/dat...

 Multi-level filtering
    http://www.smartclient.com/smartgwt/showcase/#grid_nested_filter_builder

 Multiple rows of headers
    http://www.smartclient.com/smartgwt/showcase/#grid_appearance_header_...

 User-specified formula and summary columns
    http://www.smartclient.com/smartgwt/showcase/#grid_appearance_formula...

 Also, once again, these features work *together*.  There are many
 combinations of GXT features that don't (eg Live Grid and most major
 grid features), and if you go with some hack from the forums to enable
 one of the missing features, you'll find even less compatibility with
 other features (and no support).

 Just didn't want anyone to think the grids are even close to
 comparable.  The features above are all part of the free LGPL edition
 by the way.

 On Feb 14, 7:00 pm, Carl Pritchett bogusggem...@gmail.com wrote: We have 
 used GXT from 1.2 to 2.1.1 on a mid-sized project.

  Pros
  - I think the look and feel is sharp and responsive (much nicer 
  thatSmartGWTIMHO - but look at the showcases and judge for youself).
  - Grids are the best I've seen (sorrySmartGWT) but no lockable
  columns (which Smart does have) -  we had to write our own (I've
  posted them on the forums)
  - It's all java and it's trivial to debug / overrride features
  - Good community in the forums
  - Bugs get fixed if you are persistent enough

  Cons
  - Quirky bugs and behaviour changes in each version - need to check
  for regression when taking an upgrade.
  - Only first point release if available if you don't have a support
  contract (even if you buy the product) and there can be a long wait
  (for your business / customers) between versions.
  - Mostly trivial examples in showcase that aren't like an app you will
  build (though to be fair same can be said for most GWT frameworks)
  - Not much doco / java doc, which can make complex apps / layouts
  difficult to get right - some unexpected behaviours

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

2010-02-16 Thread gengstrand
http://code.google.com/p/tocollege-net/ also demonstrates how to
integrate with acegi.

On Feb 15, 10:06 pm, Shyam Visamsetty shyamsunder...@gmail.com
wrote:
 Hi,

 I would like to know if GWT can be integrated with Acegi. I have read
 the link below. But, looking for more detailed information.

 http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi

 Can anyone provide any better ways of providing form based login. I
 know that it can be done by sending a cookie and starting a session as
 described 
 inhttp://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecur

 But, my question is, does GWT give us a way to protect a resource and
 provide access to it based on login?  Please provide any resources or
 ideas.

 Looking forward for the reply.

 Thanks,
 Shyam Visamsetty

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



Re: MVP question

2010-02-16 Thread Yaakov Chaikin
On Tue, Feb 16, 2010 at 8:53 AM, Supercobra Thatbytes
dan...@metadot.com wrote:
 My first take away was that their were a few rules:
 1) Presenters don't know about specific GWT widgets (so that you can
 test your business logic without GWTTestCase)
 2) Displays don't know about business logic
 3) Displays don't know about application logic
 4) Displays don't know about model classes

 I still consider the first 3 to be sacrosanct, but I have pretty much
 dropped rule #4.

 Dropping rule #4 maybe saving time and make the code read more clearly
 but it will still tie your display class to a model - which may be OK
 - if you accept the constraints. For example if you have a speedometer
 display and want to display your car speed

  new SpeedoMeterView(Car car)...

 then you won't be able to display a motorbike speed:

  new SpeedoMeterView(Bike bike) ...

 unless you modify your SpeedoMeterView which is why you should NOT use
 a model but use primitive types instead:

  new Speedometer(float mph)

This seems like a very valid point. Thanks for pointing that out. You
can't reuse your view code for other (similar, but not the same)
models. That's certainly an advantage.

The question in my mind (which I still have to think about): Aren't
most (if not all) views already very much tied to what the model
represents? Sure, if you are writing a view that's very generic in
nature and you want to reuse it in several places in your app, but
practically speaking are there a lot of cases like that? I.e., in
practice, are there a significant number of views that you end up
reusing with several different models in your app? Not sure that a lot
come to mind.

In general, I don't think *any* design patterns are sacrosanct. I very
often find that parts of those patterns need to be tweaked a bit to
better fit into a particular situation while still maintaining the
original idea (and most other components) of the pattern.

I think it's very helpful to try to come up with reasons pro/against a
certain component of a pattern (MVP in this case). In my particular
case, I am trying to convince myself that pure MVP is better (or worse
- whatever it comes out to be)...

So, I think so far, it looks like not having your View depend in ANY
way on the Model has the following advantages:
1) Can't (easily) reuse the view for other Models.
2) Poses a risk (if not careful yourself, have other less experienced
developers on the team, tempting to cut corners, etc.) of introducing
state into your View. (from Nathan's next posting).

Advantages of passing the Model object directly to the view
1) Since View knows its own visual components very well, it's easier
to unwrap the property values of Model and set those components to
those values. All this without having to expose every visual field to
the Presenter.

Did I miss anything we've mentioned? Can anyone come with some others
(pro or against)?

Regards,
Yaakov.

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



Re: String.matches and history token parameters

2010-02-16 Thread Yaakov Chaikin
Thanks for pointing that out. I somehow missed that part of the GWT docs.

Regards,
Yaakov.

On Mon, Feb 15, 2010 at 8:11 PM, Thomas Broyer t.bro...@gmail.com wrote:


 On 15 fév, 18:22, Yaakov Chaikin yaakov.chai...@gmail.com wrote:
 Hmm...

 I think I spoke too soon. Well, maybe not, but what I was experiencing
 is probably NOT related to the bug I mentioned...

 Here is the regex that was working 100% in development (2.0.1) and not
 at all in production:
 private static final String HISTORY_TOKEN_REGEX =
 \\p{Alpha}+[\\p{Alnum}]*=[\\p{Alnum}.\\-*_+%()]*(\\p{Alpha}+\\p{Alnum}*=[ 
 \\p{Alnum}.\\-*_+%()]*)*;

 After changing all the \p{xxx} stuff to their concrete character
 equivalent, everything seems to work in both development and
 production:
 private static final String HISTORY_TOKEN_REGEX =
 [a-zA-Z]+[a-zA-Z0-9]*=[a-zA-Z0-9.\\-*_+%()]*([a-zA-Z]+[a-zA-Z0-9]*=[a-zA- 
 Z0-9.\\-*_+%()]*)*;

 Is it documented somewhere that GWT does not allow you to use POSIX
 character classes documented in the Pattern class?
 (http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html)

 http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsCompatibility.html
 The syntax of Java regular expressions is similar, but not
 identical, to JavaScript regular expressions. For example, the
 replaceAll and split methods use regular expressions. So, you will
 probably want to be careful to only use Java regular expressions that
 have the same meaning in JavaScript.

 See http://www.ecma-international.org/publications/standards/Ecma-262.htm
 for the spec, which does not include POSIX character classes (only \d
 \D \s\S \w and \W are supported character class escapes, which are
 locale-independent, i.e. \d is strictly equivalent as [0-9], and \w is
 [a-zA-z0-9_], and \s includes all Unicode 3.0 space separator
 characters)

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

2010-02-16 Thread eggsy84
Hi Thomas,

That was exactly what it was!

Thank you for showing me the wood through all the trees!



On Feb 16, 3:55 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On Feb 16, 12:32 pm, eggsy84 jimbob...@hotmail.com wrote:





  Hi all,

  I'm sorry for reposting this issue but after looking through all the
  previous posts on this subject none of the suggested fixes have helped
  me.

  First of all a bit of background on my dev environment.

  I have an existing web application (using Spring MVC) and I am trying
  to introduce a small bit of GWT into the application.

  I am using Eclipse as my IDE and have installed the latest GWT and GAE
  plugins (GAE isn't going to be used).

  For the application development I am using my own Tomcat server rather
  than the GWT inbedded server and thus shall be using the -noserver
  flag.

  My directory structure is as follows:

  Project
  /Project/src/main/java *Defined as a source folder on Eclipse Build
  path
  /Project/src/main/resources
  /Project/src/main/webapp

  GWT sections
  /Project/src/main/java/package1/package2/package3/gwt
  /Project/src/main/java/package1/package2/package3/gwt/Module.gwt.xml
  /Project/src/main/java/package1/package2/package3/gwt/client
  /Project/src/main/java/package1/package2/package3/gwt/client/
  EntryPointClass.java

  I have then defined my Module.xml as the following:

  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.0.2//
  EN http://google-web-toolkit.googlecode.com/svn/tags/2.0.2/distro-
  source/core/src/gwt-module.dtd
  module rename-to=mymodule
          inherits name=com.google.gwt.user.User /
          entry-point
  class=package1.package2.package3.gwt.client.EntryPointClass /
  /module

  Currently I compile the application using the GWT plugin compile
  option and add the following additional compiler flags:

  -war src/main/webapp

  which ensures that the I place it places the compiled JS into the
  right location for my web app.

  In terms of running the webapplication I can successfully run it and
  the JS fires fine so I know the compile stage is working fine.

  However I am now trying to debug my code using the GWT dev mode and
  getting the following error:

   The declared package package1.package2.package3.gwt.client does not
  match the expected package client.

  So this takes me to my Eclipse run configuration for starting dev
  mode.

  I have a Java Application entry. On the 'Main' tab I have my project
  selected and a Main class of:

  com.google.gwt.dev.DevMode

  On the 'arguments' tab I have the following:

  -noserver -war src/main/webapp 
  -startupUrlhttp://localhost:8080/MyProject/myUrl
  Module

  On the 'classpath' tab I have the following under 'User Entries':

  - GWT SDK 2.0.2 Library
  - gwt - /Project/src/main/java/package1/package2/package3/ (Folder)

  Using the above definitions the Dev mode shell successfully fires up
  but when I hit the URL:

 http://localhost:8080/Project/testPage?gwt.codesvr=127.0.0.1:9997

  I get the afore mentioned error.

  If I try changing the run configuration User entries folder entry to
  be simply:

  /Project/src/main/java

  The development mode cannot find my Module.gwt.xml upon startup.

  With these kind of errors I'm aware that it is quite specific to a
  particular users setup so even though I have gave the specifics of my
  setup I'm quite aware it might be more useful to discuss the
  particulars of the GWT dev mode classpath setup?

  Would anyone like to contribute or shed any light on this?

 The user entry should *obviously* be /Project/src/main/java

 But you have to pass fully-qualified name of your module(s) as the
 last argument(s), i.e. package1.package2.package3.gwt.Module

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



changes in jdeveloper's GWT project not made (bis)

2010-02-16 Thread loveley
just a new picture to help you : 
http://www.hiboox.fr/go/images/informatique/capture,82dc77d7a9e9e7b1e9ed6c7562275c57.png.html 
,

it's the launch configuration (when I run the project).

olivier





___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.

http://fr.mail.yahoo.com

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



Using legacy code

2010-02-16 Thread mmoossen
Dear all!

i am wondering if the is a good way to re-use legacy code in GWT.

the use case is to extend a well established webapp with GWT, where
the legacy code has several beans that perfectly fit in the 'shared'
package of a GWT module, ie. that can/should be used in the server, as
well as translated into js in the client.

the problem is that those beans are part of packages with lot of other
classes that do not fit for js translation, but GWT only allows me to
'import' whole packages with the 'source' node of a *.gwt.xml module
configuration file.

on the other hand, it would be easy to rewrite the beans for exclusive
use in the GWT module, but then i will have to always translate the
legacy beans into the gwt beans and vice-versa, which could be a very
expensive and unnecessary task...

so i am just wondering if there is any way to use my legacy code
without the expensive translation process...

mmm i see it is even not THAT easy, since in one of those beans
there is for instance a constructor i know i wont use in GWT, which
uses *bad* classes...
it would be great to have some annotations to tell GWT that some
classes/methods are (or are not) to be translated into js...

i realize by myself that chances to be able to do what i need are not
big.
but i would wonder if there has not been anybody else facing this
problem...
so any help is very much appreciated...

thanks
Michael

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



tomcat and apache integration problem

2010-02-16 Thread Fran
Hello,

I need your help about GWT integration in apache and tomcat.

I have a GWT aplication that has server side. This server side is
listening in 8081 port at tomcat.
I need that the client side be in apache that is listening in port 80,
so I need call server side at port 8081 of tomcat.
How can I do?

If I run the aplication int tomcat, its works fine. But If I run the
aplication in apache, the server side dont work.

Help me please
Thanks

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



Apache2 / Tomcat 6 / GWT 2.0 / Eclipse Questions

2010-02-16 Thread Eric
I have setup Apache2 + Tomcat 6 as my test server on ubuntu server
9.10 x64.  I have installed Eclipse w/ GWT 2.0 plugins and have
created a default webapp which works great in the Eclipse test
environment.  I have no issues when i compile and run in eclipse.
When i move it to my tomcat box the problems start.

When i try to copy all the code from the war directory in my eclipse
project to my Tomcat 6 server i get a 404 file not found error
whenever i try to make a server call. My client side stuff looks fine
but my server calls return the following:

192.168.1.50 - - [15/Feb/2010:22:29:20 -0500] POST /simple/greet HTTP/
1.1 404 991

but as you can see from my web.xml file located in the WEB-INF
directory of my web app folder this should be mapping to the
simple.server.GreetingServiceImpl class.  I have verified that this
file exists in the correctly directory path:  /var/lib/tomcat6/domain1/
WEB-INF/classes/simple/server/GreetingServiceImpl.class

web.xml file
web-app
 !-- Servlets --
  servlet
servlet-namegreetServlet/servlet-name
servlet-classsimple.server.GreetingServiceImpl/servlet-class
  /servlet
  servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/simple/greet/url-pattern
  /servlet-mapping
  !-- Default page to serve --
  welcome-file-list
welcome-fileSimple.html/welcome-file
  /welcome-file-list
/web-app
**END***

Now here is the weird thing... if i uncomment the following code in
the tomcat web.xml file everything starts working:

servlet
servlet-nameinvoker/servlet-name
servlet-class
  org.apache.catalina.servlets.InvokerServlet
/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
load-on-startup2/load-on-startup
/servlet

I know know invoker is BAD BAD BAD but i dont know what else to do.

I AM NOT uncommenting the servlet mapping for invoker just the class
info.
!--
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
--

What am i doing wrong?


Here are my config files:

* web.xml for webapp - /var/lib/tomcat6/domain1/WEB-INF/
web.xml 

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 !-- Servlets --
  servlet
servlet-namegreetServlet/servlet-name
servlet-classsimple.server.GreetingServiceImpl/servlet-class
  /servlet
  servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/simple/greet/url-pattern
  /servlet-mapping
  !-- Default page to serve --
  welcome-file-list
welcome-fileSimple.html/welcome-file
  /welcome-file-list
/web-app

***Tomcat web.xml file - /etc/tomcat6/
web.xml**
?xml version=1.0 encoding=ISO-8859-1?

web-app xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
version=2.5

servlet
servlet-namedefault/servlet-name
servlet-classorg.apache.catalina.servlets.DefaultServlet/
servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
param-namelistings/param-name
param-valuefalse/param-value
/init-param
load-on-startup1/load-on-startup
/servlet

servlet
servlet-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-
class
init-param
param-namefork/param-name
param-valuefalse/param-value
/init-param
init-param
param-namexpoweredBy/param-name
param-valuefalse/param-value
/init-param
load-on-startup3/load-on-startup
/servlet


!-- The mapping for the default servlet --
servlet-mapping
servlet-namedefault/servlet-name
url-pattern//url-pattern
/servlet-mapping

!-- The mapping for the deprecated invoker servlet --
!--
servlet-mapping
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
--

!-- The mapping for the JSP servlet --
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.jsp/url-pattern
/servlet-mapping

servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.jspx/url-pattern
/servlet-mapping

session-config
session-timeout30/session-timeout
/session-config


mime-mapping
extensionabs/extension
mime-typeaudio/x-mpeg/mime-type
/mime-mapping
mime-mapping
extensionai/extension

changes in jdeveloper's GWT project not made

2010-02-16 Thread lolveley
hello,

my problem is not simple to explain.
I'm using jdeveloper and mandriva with gwtdeveloper (a plugin for
jdeveloper).

I installed jdeveloper 10.1.3.5.0, GWT 2.0.2.
I entered in a console : ./webAppCreator -out otn
otn.todo.client.TodoApp .
the project otn was created.

then, I went into jdeveloper, and the problems began!
I created a new application, and a new web project with the following
parameters:
directory name : .../otn  (the path to the directory otn)
web application version : J2EE 1.4
J2EE context root : TodoApp
J2EE application name : TodoApp
document root : .../otn/war

I have the files in the jdeveloper's project :
http://www.hiboox.fr/go/images/informatique/capture-d’-an-2010-02-16-3-17-01,d4ec03adfb511c9727032f8f20bea839.png.html
.

when I run the project, I can't see the html page in the hosted mode,
I have to launch firefox and then I have the first html page which is
displayed, not the new one (I explain me : the original page is a kind
of logon page, it asks the name of the user; and I modified the java
file in the gwt project in order to display hello world and to have
a button which allows to hide/display the hello world).
for more informations see : 
http://www.oracle.com/technology/pub/articles/dubois-gwt.html
, it's the tutorial I follow.

so my problem is that :
I can't have the modifications made, this is the major problem
the original page has no graphic (no textbox), so there is an issue
with GWT

I understand all this is not very clear, but if you could help me it
would be appreciated a lot!

olivier


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



DialogBox cut-off width problem experienced in Chrome and Safari

2010-02-16 Thread Brett
Hi all,

I am experiencing some problems with the GWT DialogBox in a number of
places.  Basically, the DialogBox gets cut off (width-wise) when in
displays in Chrome and Safari.  The DialogBox appears fine in Internet
Explorer and Mozilla Firefox.

My dialog boxes typically contain a FlexTable, but others contain
simply a VerticalPanel.  This problem seems systemic - and oddly
always appears after the necessary width goes beyond roughly 400
pixels.  I am not setting the dialog's width anywhere.  I am going
with the core idea that the GWT Dialog Box is smart enough to resize
itself to show the Widgets it contains.  Again, in IE and Firefox,
everything works fine.

I can only assume that I am not the first to experience this cut-off
width problem.

I would be grateful to hear from those of you who have encountered
this specific problem and are aware of its root cause.  Naturally, any/
all workarounds for this problem are welcome.

Thank you for your time,

Brett Shelley

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



Reading data from file on server

2010-02-16 Thread Imran
hi , i am new on this forum. i want to reading data from xml file on
server. i send request from client and the server read the file and
send reponse to me. please tell me. how can i 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.



Development Mode in OSX, viewing with IE in Parallels Desktop

2010-02-16 Thread Malachy
Please describe the configuration and URL required to view my GWT 2.0
application in IE on XP running in a VM on Parallels Desktop while
using in Eclipse in Development Mode on OSX.

I have the browser plugins installed and tested on both OSX and the XP
VM and the application is accessible with IE in Development Mode on
the XP VM using Eclipse installed on the XP VM, so I think it is
simply a configuration issue that I can't figure out.

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.



Unable to establish a mysql connection with my web application (Mac OS / Eclipse + plugins)

2010-02-16 Thread Mahmoud
Hello,

I'm currently trying to create my own implementation of the secured
login design presented in the following link:

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

Everything seems to work just fine concerning the RPC and UI, however
once the user tries to insert data in mysql while the application is
run on developing / debugging mode, I get the following error:


com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds
ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
   ...
   ...

And the cause is:

Caused by: java.security.AccessControlException: access denied
(java.net.SocketPermission localhost resolve)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
  ...
  ...

I searched the web for any useful information but it led to nowhere,
however all I got was an assumption of the problem being related to
the Jetty default GWT server which is blocking my request for security
reasons. I tried configuring it but the lack of information on where
Jetty's file are located and on how to configure them, prevented me to
progress any further.

So, if someone might have the solution, please share it on this
thread.
Any help will do,

Thank you so much!

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



tomcat and apache problem

2010-02-16 Thread Fran
Hello,

I need your help about GWT integration in apache and tomcat.

I have a GWT aplication that has server side. This server side is
listening in 8081 port at tomcat.
I need that the client side be in apache that is listening in port 80,
so I need call server side at port 8081 of tomcat.
How can I do?

If I run the aplication int tomcat, its works fine. But If I run the
aplication in apache, the server side dont work.

Help me please
Thanks

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



JUnit and Jetty

2010-02-16 Thread Lokesh Shah
While running unit tests, I find that the servlet mappings from my
web.xml are not read.
Exploring further, I found that when unit tests are run, tomcat is
used instead of jetty.

How can get hosted mode to use jetty and read web.xml while running
unit tests?

~Lokesh

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

Hi,

I am an ant committer. I was worried that you might have found an
issue with ant 1.8.0. I have just built gwt from source on a mac using
ant 1.8.0. There were no errors. This issue might have been fixed
between ant 1.8.0RC1 and ant 1.8.0.

Regards,

Antoine

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



UiBinder custom panel

2010-02-16 Thread Krzysztof Rosiński
Hi,

is it possible to create custom panel like this:
ControlPanel.ui.xml
g:HTMLPanel
g:VerticalPanel styleName='{html.panel}'
g:HorizontalPanel
g:Button ui:field='btnHide' 
styleName='{button}' text='Hide'/
g:Button
g:Button ui:field='btnClose' 
styleName='{button}' text='Close'/
g:Button
/g:HorizontalPanel

g:ScrollPanel ui:field=panel width='100%'
!-- add components here --
/g:ScrollPanel
/g:VerticalPanel
/g:HTMLPanel

and then use it in this way:
Something.ui.xml
g:HTMLPanel
c:ControlPanel ui:field='panel'
g:FlexTable ui:field='ftLogs' styleName='{table}'/
/c:ControlPanel
/g:HTMLPanel

BR,
Krzysiek

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



Re: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Mahmoud Abou-Nassif
I got the exact same problem with my server! Are you getting a security
permission exception as well?
Do you know where the jetty files are located on the system? Maybe you can
grant permission by configuring the server?

On Tue, Feb 16, 2010 at 6:14 AM, Thomas thomas.lacr...@jouy.inra.fr wrote:

 Switching to localhost didn't do the trick for, thanks for the tip
 anyway.
 I think I should fiddle with my hosted mode execution script or set up
 my own server instead of Jetty, when I will have the time...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Mahmoud Abou-Nassif
This might help:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cd39774877d1e320/8924f3f46c95b939?hl=enpli=1

On Tue, Feb 16, 2010 at 9:52 AM, Mahmoud Abou-Nassif 
mahmoud.abounas...@gmail.com wrote:

 I got the exact same problem with my server! Are you getting a security
 permission exception as well?
 Do you know where the jetty files are located on the system? Maybe you can
 grant permission by configuring the server?


 On Tue, Feb 16, 2010 at 6:14 AM, Thomas thomas.lacr...@jouy.inra.frwrote:

 Switching to localhost didn't do the trick for, thanks for the tip
 anyway.
 I think I should fiddle with my hosted mode execution script or set up
 my own server instead of Jetty, when I will have the time...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.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 create custom UI Widget with UiBinder?

2010-02-16 Thread Chatree Srichart
Hi, all
I'm a new developer for GWT. Now I'm working on template with Freemarker. I
prefer to use template with GWT widget. I found UiBinder feature in GWT that
I think it possible for my purpose like this:

html
headhead
body
div
ui:UiBinder
gwt:VerticalPanel spacing=5 debugId=cwVerticalPanel

  gwt:Button text=Button 1 /
  gwt:Button text=Button 2 /
  gwt:Button text=Button 3 /
  gwt:Button text=Button 4 /
  gwt:Button text=Button 5 /
  gwt:Button text=Button 6 /
  gwt:Button text=Button 7 /
  gwt:Button text=Button 8 /
  gwt:Button text=Button 9 /
 /gwt:VerticalPanel

/ui:UiBinder
/div
body
/html

I need to embed GWT widget in exist HTML and the widget also bind to Java
code.
My project is http://code.google.com/p/ofbiz-gwt/.

Can any one help me?

Thank you

Regards
Chatree Srichart

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

2010-02-16 Thread Chris Ramsdale
GWT is by no means at the end of its life. If anything we feel that
the 2.0 release was a new beginning, and we look forward to adding
even more features this year (checkout the design docs here:
http://code.google.com/p/google-web-toolkit/w/list).

Regarding the issue tracker, I'm not sure what your link was supposed
to show (other than there are 4622 issues within the issue tracker
itself). There are a fair amount of open/new issues, and right now
we're experimenting with some internal syncing processes that will
make the entire triage effort more efficient. As a first step, you'll
notice (as of a few days ago) automated status updates that are being
sourced from our internal bug tracking system. There will be more to
come, and we'll keep everyone updated throughout.

-- Chris

On Feb 15, 4:10 pm, DenNukem alt...@gmail.com wrote:
 I see that overwhelming majority of reported bugs do not get looked
 at:

 http://code.google.com/p/google-web-toolkit/issues/list?can=1q=sort...

 Is GWT at end of life?

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



DND problem

2010-02-16 Thread Alexander
Hello,

How could I drag  drop widget from one panel to another? It seems like dnd
works only within one panel. E.g. you initialize dnd for one panel and then
for another but how could I drag object from one panel to another?

-- 
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: Is GWT supported by Google anymore?

2010-02-16 Thread Mahmoud Abou-Nassif
Relax: http://www.youtube.com/watch?v=UN0MpBQG3-E

On Tue, Feb 16, 2010 at 12:16 PM, Chris Ramsdale cramsd...@google.comwrote:

 GWT is by no means at the end of its life. If anything we feel that
 the 2.0 release was a new beginning, and we look forward to adding
 even more features this year (checkout the design docs here:
 http://code.google.com/p/google-web-toolkit/w/list).

 Regarding the issue tracker, I'm not sure what your link was supposed
 to show (other than there are 4622 issues within the issue tracker
 itself). There are a fair amount of open/new issues, and right now
 we're experimenting with some internal syncing processes that will
 make the entire triage effort more efficient. As a first step, you'll
 notice (as of a few days ago) automated status updates that are being
 sourced from our internal bug tracking system. There will be more to
 come, and we'll keep everyone updated throughout.

 -- Chris

 On Feb 15, 4:10 pm, DenNukem alt...@gmail.com wrote:
  I see that overwhelming majority of reported bugs do not get looked
  at:
 
  http://code.google.com/p/google-web-toolkit/issues/list?can=1q=sort...
 
  Is GWT at end of life?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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: editor for utf-8 properties files

2010-02-16 Thread ]matmat[
Martin,
Thanks for your reply. This tool is working really well.

However, we ended up not using it. The main reason is it does not let
us identify the status of the text entries. While our product is
evolving from version to version, some texts are deleted, some are
updated or created.
As we are outsourcing the translation, we need to mark which text has
been modified so the translator can update the translation. One option
would have been to add a tag in the text; but then it will be shown on
the UI.

Our solution for this issue is to maintain an XLS sheet with our
texts. We highlight the cells with different colors depending on their
status. A tool parse the XLS sheet and generate the properties file.

Christian,
If this kind of editor is integrated in the google eclipse plugin, it
would be great to add this missing feature.

Matthias

On Feb 9, 9:03 am, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Would be great if that was pre-installed within google eclipse plugin.

 You should write an issue for that.

 On Tue, Feb 9, 2010 at 9:59 AM, Martin Trummer martin.trum...@24act.atwrote:

  I'm using:http://sourceforge.net/projects/eclipse-rbe/
  and like it

  On 8 Feb., 21:34, ]matmat[ matthias.buch...@gmail.com wrote:
   Hello,

   I am looking for a properties file editor for my GWT i18n-ed
   resources. As the application I am working on supports several
   languages (en, fr, ja), it would be very handy to be able to edit the
   different languages on the same window.

   I found this tool:http://zaval.org/products/jrc-editor/index.html. I
   like it because:
   - I can see all the languages on the same window and it will dispatch
   the data in the different properties files
   - the resources are organized in a tree
   - it is standalone so the tranlator won't have to install a complex
   editor
   Its looks great but the non-ASCII characters are not displayed
   properly.

   I also tried Eclipse I18N Properties File Editor
 http://sourceforge.net/projects/epfe/
   but it nicely fail with a NullPointerException when I open a UTF-8
   properties file.

   As explained in this pagehttp://
  code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStart...,
   unlike standard Java .properties files, GWT .properties files may
   contain Unicode characters directly and should therefore be encoded as
   UTF-8.
   Since GWT does not follow the Java standard, I understand why most
   editors I tried fail.

   Is there any editor that fill my requirements? If not, I plan to edit
   my texts in a XLS file and write a tool to convert it into properties
   files.

   Thanks,
   Matthias

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post 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.xml and JUnit with Google Plugin for Eclipse (GWT 2.0.0 in Eclipse 3.5.1.M20090917-0800 on Mac OS X 10.5.8)

2010-02-16 Thread Jason Parekh
Looks like the value returned from getModuleName isn't valid.  It should
return a fully-qualified module name, for example com.example.MyModule.

Could you paste your .gwt.xml and the getModuleName implementation from your
GWTTestCase subclass?  Also, which package does the .gwt.xml file live in?

jason


On Sat, Feb 13, 2010 at 6:28 PM, sampablokuper sampabloku...@googlemail.com
 wrote:

 I'll preface the following by saying that I'm inexperienced with GWT
 and only mildly familiar with Eclipse and with Java programming in
 general, so in your replies, please assume very little knowledge on my
 part. Thank you.

 I have a GWT project here, forked from the StockWatcher application in
 the GWT Getting Started tutorial:
 http://code.google.com/p/interpreader-core/source/browse/?r=11#svn/trunk

 When, in Eclipse, I right-click InterpreaderTest.java and select Run
 As  GWT JUnit Test, my test fails on testSimple with the following
 traces shown in Eclipse's JUnit perspective:

 com.google.gwt.core.ext.UnableToCompleteException: (see previous log
 entries)
at
 com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
 239)
at
 com.google.gwt.dev.cfg.ModuleDefLoader$2.load(ModuleDefLoader.java:
 187)
at
 com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
 283)
at

 com.google.gwt.dev.cfg.ModuleDefLoader.createSyntheticModule(ModuleDefLoader.java:
 95)
at

 com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:
 169)
at

 com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:
 116)
at

 com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(CompileStrategy.java:
 328)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1135)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1104)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:523)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
 406)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
 org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
 79)
at

 org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
 46)
at
 org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
 38)
at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
 467)
at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
 683)
at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
 390)
at

 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
 197)

 and the following messages in Eclipse's Console perspective:

 Starting HTTP on port 0
   HTTP listening on port 55245
 Loading inherited module 'interpreader.client'
   [ERROR] Unable to find 'interpreader/client.gwt.xml' on your
 classpath; could be a typo, or maybe you forgot to include a classpath
 entry for source?


 However, I don't think there should be an 'interpreader/
 client.gwt.xml' file, since if I'm not mistaken, at no point in the
 tutorial was a 'stockwatcher/client.gwt.xml' file created.

 So my question is: have I done something wrong to make this test fail
 (and if so, what, and how should I correct my mistake?), and if not,
 should I file a bug?

 Many thanks in advance 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.



GWT team, please post latest to repo1.maven.org

2010-02-16 Thread Yaakov
Dear GWT team,

Could you please post the latest release of GWT SDK (2.0.2) to the
maven repository site repo1.maven.org? Currently, only release up to
2.0.1 are posted there.

Thank you,
Yaakov.

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



Re: tomcat and apache problem

2010-02-16 Thread Fran
I am using now Proxypass for apache. The config is:

VirtualHost *:80
ServerName california..com
ServerAdmin webmas...@localhost
DocumentRoot /var/www/
ProxyRequests On
Proxy *
Order deny,allow
Allow from all
/Proxy
ProxyPass /app/com.app http://california..com:8081/app/com.app
ProxyPassReverse /app/com.app 
http://california..com:8081/app/com.app

DirectoryIndex index.php
AccessFileName .htaccess
/VirtualHost

The aplication is a Comet chat.
With this configuration, the aplication executed from apache works but
some message lost.
The error log shows:

[error] [client ] proxy: error reading status line from remote
server california..com, referer:
http://california..com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E73A.cache.html
[error] [client ] ] proxy: Error reading from remote server
returned by /app/com.app/messenger, referer:
http://california..com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E73A.cache.html


I read in some forum that is needed the lines in Location directive of
apache:

SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

If I put this, the aplications is beeing more and more slowly.


Someone can tell me a solutions please :(

On 15 feb, 22:47, Fran fra...@gmail.com wrote:
 Hello,

 I need your help about GWT integration in apache and tomcat.

 I have a GWT aplication that has server side. This server side is
 listening in 8081 port at tomcat.
 I need that the client side be in apache that is listening in port 80,
 so I need call server side at port 8081 of tomcat.
 How can I do?

 If I run the aplication int tomcat, its works fine. But If I run the
 aplication in apache, the server side dont work.

 Help me please
 Thanks

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



Re: editor for utf-8 properties files

2010-02-16 Thread Jim Douglas
You can edit those files directly in Eclipse, no special plugin
required.  Right-click on the file, select Properties at the bottom
of the menu, and set Text File Encoding to UTF-8.

On Feb 16, 9:43 am, ]matmat[ matthias.buch...@gmail.com wrote:
 Martin,
 Thanks for your reply. This tool is working really well.

 However, we ended up not using it. The main reason is it does not let
 us identify the status of the text entries. While our product is
 evolving from version to version, some texts are deleted, some are
 updated or created.
 As we are outsourcing the translation, we need to mark which text has
 been modified so the translator can update the translation. One option
 would have been to add a tag in the text; but then it will be shown on
 the UI.

 Our solution for this issue is to maintain an XLS sheet with our
 texts. We highlight the cells with different colors depending on their
 status. A tool parse the XLS sheet and generate the properties file.

 Christian,
 If this kind of editor is integrated in the google eclipse plugin, it
 would be great to add this missing feature.

 Matthias

 On Feb 9, 9:03 am, Christian Goudreau goudreau.christ...@gmail.com
 wrote:



  Would be great if that was pre-installed within google eclipse plugin.

  You should write an issue for that.

  On Tue, Feb 9, 2010 at 9:59 AM, Martin Trummer 
  martin.trum...@24act.atwrote:

   I'm using:http://sourceforge.net/projects/eclipse-rbe/
   and like it

   On 8 Feb., 21:34, ]matmat[ matthias.buch...@gmail.com wrote:
Hello,

I am looking for a properties file editor for my GWT i18n-ed
resources. As the application I am working on supports several
languages (en, fr, ja), it would be very handy to be able to edit the
different languages on the same window.

I found this tool:http://zaval.org/products/jrc-editor/index.html. I
like it because:
- I can see all the languages on the same window and it will dispatch
the data in the different properties files
- the resources are organized in a tree
- it is standalone so the tranlator won't have to install a complex
editor
Its looks great but the non-ASCII characters are not displayed
properly.

I also tried Eclipse I18N Properties File Editor
  http://sourceforge.net/projects/epfe/
but it nicely fail with a NullPointerException when I open a UTF-8
properties file.

As explained in this pagehttp://
   code.google.com/p/google-web-toolkit-doc-1-5/wiki/GettingStart...,
unlike standard Java .properties files, GWT .properties files may
contain Unicode characters directly and should therefore be encoded as
UTF-8.
Since GWT does not follow the Java standard, I understand why most
editors I tried fail.

Is there any editor that fill my requirements? If not, I plan to edit
my texts in a XLS file and write a tool to convert it into properties
files.

Thanks,
Matthias

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post 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.



GWT 2.0 plugin for Firefox 3.6

2010-02-16 Thread Thad
When will this be available?  I have v. 1.0.7511.  This works with
Firefox 3.5.7 but will not work with 3.6.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 mashup-mode and domain problems with IFRAME, questions.

2010-02-16 Thread Fabiano
Hi,
I have faced a problem when integrating my application with a page.
This page has scripts witch changes the domain from //gino.sito.com
to //sito.com.
In such a situation my poor GWT application stops working with the
error (using firebug console):

Permission denied to get property Window...

The first solution I'm going to try,I think is to change the location
of my cache.js and GWT permutations and put them on  //sito.com/
domain, am I right?
But looking for this problem I have found out an interesting video,
they spoke about two way of integrating the GWT application, one is
the usual iframe loading, and a second one where the script is loaded
into an anonymous function inside the current window context (they
refer to this way as mashup).
I have looked around but I was unable to find any documentation
about.
My question are:
1)Is this mashup modality already supported?
2)Where is documented?
3)Does it cause issues?
4)Pro/cons?
Thanks in advance

P.s:
This modailty is pointed here too:
http://groups.google.it/group/google-web-toolkit/browse_thread/thread/2f9d2d10953738f2/48e00cb8ce8a00e9?hl=itlnk=gstq=mashup+iframe#48e00cb8ce8a00e9

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



Do Gwt Tests run on Java Byte Code, or JS?

2010-02-16 Thread paloalto team
When we run GWTTestCases through JUnit, are we testing the generated
Javascript, or just the Java Byte Code?

(huge difference)

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



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

2010-02-16 Thread Shawn Brown
Well I use GXT but like the smartgwt grids better so am looking at
this datasource issue.

It's worrysome:
Thread
http://forums.smartclient.com/showthread.php?t=3012

Bug report asking for RPC datasource
http://code.google.com/p/smartgwt/issues/detail?id=303

I see there is an api but it states:

Smart GWT supports declarative, XPath-based binding of visual
components to any server capable of returning XML or JSON responses
over HTTP, without the need for the 'Smart GWT server'.


 A fetch operation for example will pass the startRow, endRow and the
 applications server side code needs to return data as XML, JSON or GWT-RPC
 beans in response to this request.
 : http://www.smartclient.com/smartgwt/showcase/#featured_restfulds

Are there any examples using GWT-RPC (without the smart server)

Sanjiv what you said and what the docs say seem to be different.  Can
we really use GWT-RPC to get a bean back that can be used as a
datasource?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
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 mashup-mode and domain problems with IFRAME, questions.

2010-02-16 Thread Fabiano

On 16 Feb, 20:44, Fabiano ftar...@gmail.com wrote:
 Hi,

 I have looked around but I was unable to find any documentation
 about.

I have found out something:
http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html

There are five lines about (the search-key, in order to find this, has
been xs :-D)

I have also understood that this xs linker doesn't implement code-
splitting.

The other questions are still valid. The most important:
Does this linker use an anonymous function in order to load the
script?
I'm just curious

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

2010-02-16 Thread eggsy84
Hi Duong,

It looks like the JSONPRequestBuilder is in the official release:

http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html

This looks like a perfect solution for what I am attempting to do!
Thank you

On Feb 16, 3:58 pm, Duong BaTien duong.bat...@gmail.com wrote:
 Hi Iqbal:

 Have you look at JsonpRequestBuilder? I have not, but will when it is in
 the official release. Objectify now has @Embedded, it may be an
 excellent for json transport. This community is so dynamic and diverse.

 Duong BaTien
 DBGROUPS and BudhNet



 On Tue, 2010-02-16 at 05:43 -0800, Iqbal Yusuf Dipu wrote:
  Unfortunately RequestBuilder will not solve SOP issues. My example
  solution is based on Google App Engine Java platform and for cross
  site request I use server side code (i.e. UrlFetch service) as proxy
  for my GWT Client side code (the blog post doesn't have that example).
  I also used script tag injection before on another project. It would
  have been nice to have Cross site capability built into GWT client.

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

2010-02-16 Thread eggsy84
Hi Thomas,

Thank you as well as I see the JSONP stuff is in the package you
linked to.



On Feb 16, 3:58 pm, Duong BaTien duong.bat...@gmail.com wrote:
 Hi Iqbal:

 Have you look at JsonpRequestBuilder? I have not, but will when it is in
 the official release. Objectify now has @Embedded, it may be an
 excellent for json transport. This community is so dynamic and diverse.

 Duong BaTien
 DBGROUPS and BudhNet



 On Tue, 2010-02-16 at 05:43 -0800, Iqbal Yusuf Dipu wrote:
  Unfortunately RequestBuilder will not solve SOP issues. My example
  solution is based on Google App Engine Java platform and for cross
  site request I use server side code (i.e. UrlFetch service) as proxy
  for my GWT Client side code (the blog post doesn't have that example).
  I also used script tag injection before on another project. It would
  have been nice to have Cross site capability built into GWT client.

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

2010-02-16 Thread Shyam Visamsetty

I would like to run it on app engine too. So, will that be possible
too using this approach.

Thanks in advance.

Regards,
Shyam
On Feb 16, 11:28 am, gengstrand gengstr...@gmail.com wrote:
 http://code.google.com/p/tocollege-net/also demonstrates how to
 integrate with acegi.

 On Feb 15, 10:06 pm, Shyam Visamsetty shyamsunder...@gmail.com
 wrote:

  Hi,

  I would like to know if GWT can be integrated with Acegi. I have read
  the link below. But, looking for more detailed information.

 http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi

  Can anyone provide any better ways of providing form based login. I
  know that it can be done by sending a cookie and starting a session as
  described 
  inhttp://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecur

  But, my question is, does GWT give us a way to protect a resource and
  provide access to it based on login?  Please provide any resources or
  ideas.

  Looking forward for the reply.

  Thanks,
  Shyam Visamsetty

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



Re: Facebook

2010-02-16 Thread Jeff Schnitzer
1) No support for fql.multiquery.  This is the single most important
API method that facebook provides.  After a bit of practice, you stop
using any other API method for fetch queries.

2) A ton of complexity because they tried to give you the ability to
use both JSON and XML modes.  This was dumb, they should have just
picked one or the other.  Developers just want a Java API, the
protocol is just plumbing.

3) After you use the FB API for a while you will find various
cross-cutting types of return values that can (and must, if you want
your app to work) be retried.  As an example, a few weeks ago FB
started producing Incorrect signature errors that work after a
retry.  For 1-5% of all calls.  It still hasn't been fixed.  This
stuff pops up all the time - I constantly watch my error log and tweak
the FB calls based on what part of Facebook is on fire at the moment.

4) The FB API really doesn't lend itself to JAXB processing.  It
doesn't have a rigid schema, you'll find all sorts of odd and annoying
things like JSON calls returning {} for an empty array and the fact
that error codes are returned in an entirely different schema.  With
any luck, the facebook-java-api folks have coded around most of this
junk - but given the heavy reliance on machine-generated code, I
really doubt they got it all.  I suggest sticking with the XML version
and even then watch out for edge cases like empty result sets.

5) When I last looked at the code (I wanted to add a hook for
multiquery), it was a mess.  That was before there were official
releases of 3.0, so maybe it's improved now.

Jeff

On Mon, Feb 15, 2010 at 6:42 PM, Sekhar sek...@allurefx.com wrote:
 I'm using facebook-java-api for an app that's about to go into
 production for Android and GWT. I thought the API was simple/clean,
 very easy to use tokens (for Android logins) and session, and has some
 useful extras like verifying session signature. Also, you can get the
 source (I've in fact addded an API call that's missing).

 @Jeff, why do you think it's horrid? Just wondering if there's
 something I need to know before putting this in production.

 On Feb 12, 11:36 am, Jeff Schnitzer j...@infohazard.org wrote:
 On the server side, throw facebook-java-api in the trash.  It's
 horrid.  The Facebook API, while kludgy as hell, is actually pretty
 straightforward.  Just make HTTP requests and parse the results with
 your favorite JSON or XML parser (I use Jackson).

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

2010-02-16 Thread Sanjiv Jivan
On Tue, Feb 16, 2010 at 5:08 PM, Shawn Brown big.coffee.lo...@gmail.comwrote:

 Well I use GXT but like the smartgwt grids better so am looking at
 this datasource issue.

 It's worrysome:
 Thread
 http://forums.smartclient.com/showthread.php?t=3012

 Bug report asking for RPC datasource
 http://code.google.com/p/smartgwt/issues/detail?id=303


Shawn,
The thread you point to is really old (2008). Since then, alius, one of the
SmartGWT users has come up with a good implementation of GwtRpcDataSource.
You can read this rather long thread (
http://forums.smartclient.com/showthread.php?t=4814 ), but all the
information you'll need is in there along with the GwtRpcDataSource
implementation.

The GwtRpcDataSource implementation is part of the smartgwt-extensions
project : http://code.google.com/p/smartgwt-extensions/


 I see there is an api but it states:

 Smart GWT supports declarative, XPath-based binding of visual
 components to any server capable of returning XML or JSON responses
 over HTTP, without the need for the 'Smart GWT server'.


Yes, this is true and there are a number of samples of this in the SmartGWT
Showcase.

http://www.smartclient.com/smartgwt/showcase/

Go to Data Integration--  XML, or JSON. You can even use Webservices / WSDL
based DataSources.



  A fetch operation for example will pass the startRow, endRow and the
  applications server side code needs to return data as XML, JSON or
 GWT-RPC
  beans in response to this request.
  : http://www.smartclient.com/smartgwt/showcase/#featured_restfulds

 Are there any examples using GWT-RPC (without the smart server)


 Sanjiv what you said and what the docs say seem to be different.  Can
 we really use GWT-RPC to get a bean back that can be used as a
 datasource?


Yes. sunnyl, another experienced SmartGWT has posted a complete standalone
project illustrating the use of GwtRpcDataSource here :
http://forums.smartclient.com/showthread.php?t=4814page=22

It's not fair to have these long discussion specific to SmartGWT on the GWT
forum. However its hard not to respond posts are made either intended to be
flame bait or from users who have not taken time to explore the product
features but make false assertions, or statements that are plain wrong.

Shawn, I would encourage you and any other user interested in SmartGWT to
post on the SmartGWT forum (
http://forums.smartclient.com/forumdisplay.php?f=14 )  - whether it be a
technical question, or about product features and capabilities. There's a
lot of SmartGWT introduction and related material even on my blog :
http://www.jroller.com/sjivan/

Thanks,
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: Development Mode in OSX, viewing with IE in Parallels Desktop

2010-02-16 Thread Jim Douglas
Are you seeing some sort of error when you try to run your app in IE?

I use VMware Fusion, so the configuration details will be different,
but the key points are:

(1) As of GWT 2.0.1, the default DevMode configuration will only
accept connections from localhost.  This can be changed.  For more
information, see the release notes:

http://code.google.com/webtoolkit/release-notes.html#Release_Notes_2_0_1

(2) You want to configure the VM network setting to be bridged, as
opposed to shared.  With bridged networking, the VM is a first class
citizen on your local network:

http://kb.parallels.com/en/4948

On Feb 16, 2:13 am, Malachy malachy.spol...@gmail.com wrote:
 Please describe the configuration and URL required to view my GWT 2.0
 application in IE on XP running in a VM on Parallels Desktop while
 using in Eclipse in Development Mode on OSX.

 I have the browser plugins installed and tested on both OSX and the XP
 VM and the application is accessible with IE in Development Mode on
 the XP VM using Eclipse installed on the XP VM, so I think it is
 simply a configuration issue that I can't figure out.

 Thanks in advance.

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



Re: Who uploads GWT to Maven

2010-02-16 Thread Jeff Larsen
I too would like 2.0.2 to be uploaded to the maven repo.

I'd also like to throw another +1 to maven being good in theory and
riddled with problems in practice.

On Feb 15, 11:33 am, Oleg K. seq...@gmail.com wrote:
 +1 that this problem should be resolved.

 and when uploaded, it will be nice to have javadoc and sources near
 the main jar files.
 (now I deploy them to my local nexusmavenrepo)

 On 14 фев, 13:08, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:



  WellMavenis not bad in practice, the problem is, thatMavensupport is not
  handled well by the GWT team.

  My original question still isn't answered. Who does the uploads and how can
  I help to bring future versions earlier intoMavenrepo?

  The best would be, if GWT team finds an automated way, which is part of the
  GWT build. This could help to bring releases toMavenrepo at same time.

  Regards
  Jan Ehrhardt

  On Sun, Feb 14, 2010 at 2:05 AM, charlie charlie.f...@gmail.com wrote:
   I'm going to hate and say 'yet another reasonmavenis good in theory and
   bad in practice'.

   On Sat, Feb 13, 2010 at 5:59 PM, bkbonner 
   brian.bon...@paraware.comwrote:

   When will2.0.2get out to repo1.maven.org?

   On Feb 8, 8:30 am, Ben Harris bharri...@gmail.com wrote:
It is in there...? Since 5th Feb.
  http://repo1.maven.org/maven2/com/google/gwt/gwt-user/

On Feb 8, 8:20 pm, Jan Ehrhardt jan.ehrha...@googlemail.com wrote:

 Hi,

 currently GWT 2.0 is available inMaven'srepo1, but GWT 2.0.1 is
   released
 since last week.
 So, who does the uploads to the publicMavenrepo? Is there a POM
   available,
 that is used for uploading? Can I help in any way to speed up the
   uploading
 toMaven?

 The best case would be, if new GWT releases were available
   throughMaven
 from day one. Anything bringing me closer to this is welcome.

 Regards
 Jan Ehrhardt

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post 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.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: tomcat and apache problem

2010-02-16 Thread Fran
help me please

On 16 feb, 19:54, Fran fra...@gmail.com wrote:
 I am using now Proxypass for apache. The config is:

 VirtualHost *:80
         ServerName california..com
         ServerAdmin webmas...@localhost
         DocumentRoot /var/www/
         ProxyRequests On
         Proxy *
                 Order deny,allow
                 Allow from all
         /Proxy
         ProxyPass /app/com.apphttp://california..com:8081/app/com.app
         ProxyPassReverse 
 /app/com.apphttp://california..com:8081/app/com.app

         DirectoryIndex index.php
         AccessFileName .htaccess
 /VirtualHost

 The aplication is a Comet chat.
 With this configuration, the aplication executed from apache works but
 some message lost.
 The error log shows:

 [error] [client ] proxy: error reading status line from remote
 server california..com, 
 referer:http://california..com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E7...
 [error] [client ] ] proxy: Error reading from remote server
 returned by /app/com.app/messenger, 
 referer:http://california..com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E7...

 I read in some forum that is needed the lines in Location directive of
 apache:

 SetEnv force-proxy-request-1.0 1
 SetEnv proxy-nokeepalive 1

 If I put this, the aplications is beeing more and more slowly.

 Someone can tell me a solutions please :(

 On 15 feb, 22:47, Fran fra...@gmail.com wrote:

  Hello,

  I need your help about GWT integration in apache and tomcat.

  I have a GWT aplication that has server side. This server side is
  listening in 8081 port at tomcat.
  I need that the client side be in apache that is listening in port 80,
  so I need call server side at port 8081 of tomcat.
  How can I do?

  If I run the aplication int tomcat, its works fine. But If I run the
  aplication in apache, the server side dont work.

  Help me please
  Thanks

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



NullPointerExceptions getting suppressed in development mode

2010-02-16 Thread Jeff Schnitzer
The debugger and the Development Mode console seem to be oblivious
whenever my GWT code trips a NullPointerException.  There's no error
output at all, and the breakpoint on Exceptions caught and uncaught
do nothing.  However, my code stops working (naturally).

Looking at the Firebug console, I do see
java.lang.NullPointerException in red with no other information.
The only way to reliably hunt down NPEs is to GWT-compile in Detailed
mode and then use Firebug *without* connecting to the GWT server.  The
javascript console output is verbose enough for me to identify the
offending code and fix the NPEs.

Is anyone else experiencing the same problem?

I'm not sure when this behavior started, but I don't think it's always
been that way.  I'm pretty sure the NPE-hiding behavior started when I
upgraded to GWT 2.0 release (previously I was working with trunk).
2.0.1 and 2.0.2 exhibit the same behavior.

Thanks,
Jeff

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



Re: NullPointerExceptions getting suppressed in development mode

2010-02-16 Thread Jeff Schnitzer
Oh, forgot to mention:  I'm on OSX 10.5 and Eclipse 3.5.1.

Jeff

On Tue, Feb 16, 2010 at 4:04 PM, Jeff Schnitzer j...@infohazard.org wrote:
 The debugger and the Development Mode console seem to be oblivious
 whenever my GWT code trips a NullPointerException.  There's no error
 output at all, and the breakpoint on Exceptions caught and uncaught
 do nothing.  However, my code stops working (naturally).

 Looking at the Firebug console, I do see
 java.lang.NullPointerException in red with no other information.
 The only way to reliably hunt down NPEs is to GWT-compile in Detailed
 mode and then use Firebug *without* connecting to the GWT server.  The
 javascript console output is verbose enough for me to identify the
 offending code and fix the NPEs.

 Is anyone else experiencing the same problem?

 I'm not sure when this behavior started, but I don't think it's always
 been that way.  I'm pretty sure the NPE-hiding behavior started when I
 upgraded to GWT 2.0 release (previously I was working with trunk).
 2.0.1 and 2.0.2 exhibit the same behavior.

 Thanks,
 Jeff


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



Re: i18n and uiBinder

2010-02-16 Thread ale
Yes, ok.. I read yuor Posts, unlucky i can't help you. I' m on a lower
level... :-)
Thanks again,when i Will Find the solution i will post here
bye, ale

On 16 Feb, 14:32, Christian Goudreau goudreau.christ...@gmail.com
wrote:
 Unfortunately, no, I didn't try this yet lol

 I'm still looking for my own answer with Client Bundle and Image Resources
 :D

 Christian



 On Tue, Feb 16, 2010 at 8:12 AM, ale aleee...@gmail.com wrote:
  Hi,
  I try to add

  ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
    ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
    ui:generateLocales=default

  when I compile I see some log message like cretate file for i18n ecc.
  But when it finish I didn't find the file generated

  Have you an example?

  Thansk...
  Ale

  On 15 Feb, 18:56, ale aleee...@gmail.com wrote:
   ok, I had read the documentation that you linked,  but until now I had
   not understood :-)

   thanks again, I will try.

   On 15 Feb, 17:42, Christian Goudreau goudreau.christ...@gmail.com
   wrote:

If you add :

ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
   ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator
   ui:generateLocales=default

in your .ui.xml file, GWT compiler should create your .propertie file
  for
your .ui.xml file. Then you only have to copy that file, add your local
_fr_CA, and it should works.

   http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiBinder.
  ..

Christian

On Mon, Feb 15, 2010 at 11:21 AM, ale aleee...@gmail.com wrote:

  ok, so every ui.xml has a specific message resource file... (or one
 for package...)
 It's ok. and the name? is right 'messages.properties'?

 thanks again.
 Alessandro

 On 15 Feb, 16:21, Christian Goudreau goudreau.christ...@gmail.com
 wrote:
  Normally, same directory as you .ui.xml file.

  Christian

  On Mon, Feb 15, 2010 at 10:17 AM, ale aleee...@gmail.com wrote:
   ehm, but where should I put the properties file?
   under the client folder?

   thanks..

   On 15 Feb, 13:45, Christian Goudreau 
  goudreau.christ...@gmail.com
   wrote:
It's supposed to be automatic. You have to specify the locale
  in
your
   HTML
and then, GWT Compiler does the tricks.

For me it always worked fine in Dev, but once I came to
  publish, my
   Images
didn't change according to my locales...

Christian

On Sun, Feb 14, 2010 at 7:05 PM, ale aleee...@gmail.com
  wrote:
 Hi, I can't understand how usei18nwith gwt 2.0
 I follow the manual and I made ma xml like this:

 g:HTMLPanel styleName='{style.panel}'
                g:Anchor ui:field=loginLink
                        ui:msg
  description=loginLogin/ui:msg
                /g:Anchor
        /g:HTMLPanel

 than i implements a listbox (like in the example 'showcase')
  that
have
 an event that change the locale.
 than I wrote 2 files

 messages.properties
 messages_fr.properties

 I can't understand how to tell to the xml the name of the
properties
 file...
 (and so the change of the locale has no effect...)

 Thanks. Regards
 Ale

 --
 You received this message because you are subscribed to the
  Google
   Groups
 Google Web Toolkit group.
 To post 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
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu 
  nsubscr...@googlegroups.com

google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
 nsubscr...@googlegroups.com
  google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252 
  52bunsubscr...@googlegroups.com

   google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bu
nsubscr...@googlegroups.com
  google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252 
  52bunsubscr...@googlegroups.com

google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%252
 52bunsubscr...@googlegroups.com
  google-web-toolkit%25252bunsubscr...@googlegroups.comgoogle-web-toolkit%2 
  525252bunsubscr...@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
   

An alternative to gwt-dispatch ... gwtserviceresolver

2010-02-16 Thread Henry
Hello All,

I wrote an alternative to
gwt-dispatch
http://code.google.com/p/gwt-dispatch/

It uses vanilla reflection and requires less configuration than gwt-
dispatch,
but does depend heavily on naming convention of your RPC service and
service impl

And here's the link to gwt service resolver:
http://code.google.com/p/gwtserviceresolver/


Let me know what you think

Cheers,
Henry

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

2010-02-16 Thread Eric Ayers
Unfortunately, with Gears (or WebWorkers) you can't call any code from the
main page, Java or JavaScript.  The current implementation of gwt-gears
doesn't have a way to generate javascript compatible with Gears, but the
SpeedTracer project does have a linker so that you can create a module that
can compile a GWT module for  HTML  web workers.
http://code.google.com/p/speedtracer

On Thu, Feb 11, 2010 at 9:57 PM, ruchir jha ruchir@gmail.com wrote:

 I am using the GWT Gears WorkerPool API. I am trying to figure out if there
 is a way to call methods implemented in Java from the worker's java script
 implementation ?

 I am not sure if this is a duplicate post. If it is, apologies and please
 delete it.

 Ruchir.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post 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.




-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA
Sign up now for Google I/O 2010: May 19-20, http://code.google.com/io

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
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.xml and JUnit with Google Plugin for Eclipse (GWT 2.0.0 in Eclipse 3.5.1.M20090917-0800 on Mac OS X 10.5.8)

2010-02-16 Thread Sam Kuper
Thanks Jason,

Seems that for some reason I had the method

public String getModuleName()

returning the wrong name for the module. Seems to be OK now!

Cheers,

Sam

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



Error deploying GWT project to App Engine

2010-02-16 Thread sampablokuper
When I attempt to deploy my GWT project to App Engine, I get the
following message (four times!) in the Eclipse error log:


Resource '/Interpreader-core/war/WEB-INF/lib/appengine-api-1.0-
sdk-1.3.0.jar' is not local.


Also, the stack trace for the first instance of the error in the log
is as follows:


org.eclipse.core.internal.resources.ResourceException: Resource '/
Interpreader-core/war/WEB-INF/lib/appengine-api-1.0-sdk-1.3.0.jar' is
not local.
at
org.eclipse.core.internal.resources.Resource.checkLocal(Resource.java:
331)
at org.eclipse.core.internal.resources.File.getCharset(File.java:210)
at org.eclipse.core.internal.resources.File.getCharset(File.java:198)
at
org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.createBaseResourceVariant(SVNStatusSyncInfo.java:
250)
at
org.tigris.subversion.subclipse.core.sync.SVNStatusSyncInfo.init(SVNStatusSyncInfo.java:
44)
at
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSyncInfo(SVNWorkspaceSubscriber.java:
185)
at
org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscriber.java:
370)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager.getDiff(SubscriberChangeSetManager.java:
302)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager
$EventHandler.handleChange(SubscriberChangeSetManager.java:183)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager
$EventHandler.doDispatchEvents(SubscriberChangeSetManager.java:80)
at
org.eclipse.team.internal.core.BackgroundEventHandler.dispatchEvents(BackgroundEventHandler.java:
394)
at
org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:
374)
at org.eclipse.team.internal.core.BackgroundEventHandler
$1.run(BackgroundEventHandler.java:203)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Finally, the session data for the error is as follows:


eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -
keyring /Users/samkuper/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product
org.eclipse.epp.package.java.product -keyring /Users/
samkuper/.eclipse_keyring -showlocation


I also notice that the app isn't deploying to App Engine properly. The
Google Plugin for Eclipse reports success, but in fact only the static
files for the app seem to work when I view the app at appspot.com; the
GWT parts of the app fail to load.

I'm not quite sure where to begin troubleshooting this, so all help
appreciated!

Thanks :)

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



Re: How to create custom UI Widget with UiBinder?

2010-02-16 Thread Chatree Srichart
Hi, Community

Have you any answer for my question?

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

2010-02-16 Thread rjcarr
Assuming the actions of your command are different you'll need to
create a new command object for each menu item.  However, you can
create your own Command type, instantiate several slight different
variations, and assign these to your menu items.

Here's an example that won't compile but hopefully gives you an idea:

class MyCommand extends Command {
  private int type;
  public MyCommand(int type) {
this.type = type;
  }

  public void execute() {
switch(type):
  case TYPE_1:
  case TYPE_2:
  ...
  }
}

MenuItem item1 = new MenuItem(new MyCommand(TYPE_1);
MenuItem imem2 = new MenuItem(new MyCommand(TYPE_2);

You get the 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.



A more concise approach to using GWT.runAsync

2010-02-16 Thread Joe Cheng
If you've tried introducing multiple split points into your app, you might
have found yourself cutting and pasting a lot. You might have tried getting
rid of that cutting and pasting by introducing a common delay-loading
abstraction. You probably discovered that this results in all the different
split points you wanted, being mashed into one big one. So you went back to
cutting and pasting.

At least that's the meandering path I (and several others on this list)
took, before I discovered that you could use deferred binding to do all the
dirty work for you, leaving your source nice and clean. I've tried to wrap
up my efforts into a reusable package, which I've blogged about here:

http://jcheng.wordpress.com/2010/02/16/elegant-code-splitting-with-gwt/

There is a steeper learning curve on this than I'd like, hence the length of
the post. If you have any feedback on the approach, the code, or the
writeup, I'm all ears...

Thanks-
Joe Cheng

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

2010-02-16 Thread Thomas Broyer


On Feb 15, 4:39 pm, John LaBanca jlaba...@google.com wrote:
 I believe there is one other difference, but somebody else on the team will
 have to confirm.

 DeferredCommand uses a timeout of 0, which means that the command executes
 AFTER the current event loop finishes.

 Scheduler.scheduleEntry/scheduleFinally are executed within the event loop,
 immediately before/after GWT event handler code is executed.   Its a subtle
 difference, but it can have performance implementations.  If you perform DOM
 manipulations within the same event loop, you can prevent an extra browser
 paint and possible a layout.

Just a note to say that:
a) scheduleEntry isn't in 2.0, only in trunk.

b) I already talk (briefly I admit, and the additional details you're
giving are precious to those who are new to Scheduler):
   - Scheduler is a central place for all kinds of scheduling: deferred
  (same as DeferredCommand), time-based and/or repeating (same as
  Timer), and finally (new kind of scheduling).

I'd also add that Scheduler gives you more options than Timer when
scheduling tasks: Scheduler::scheduleFixedPeriod is the exact
equivalent to Timer::scheduleRepeating, while
Scheduler::scheduleFixedDelay is equivalent to a Timer that re-
schedules itself (calls this.schedule(x) from within its run() method).

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


Re: [gwt-contrib] Feature Request: VisibilityEvent

2010-02-16 Thread Joel Webber
Wow, I had completely forgotten about onpropertychange() -- like onresize(),
there's some interesting and useful stuff floating around in IE, even if it
is nonstandard.

If you can get something like this wired up across browsers, that would be
really useful. I would be particularly interested in seeing how this might
be generalized -- if, e.g., we could get a standard interface to something
like onpropertychange() (note how it explicitly *includes* style changes in
the MSDN doc), we could use it for a lot of things.

On Mon, Feb 15, 2010 at 1:30 PM, Jarrod Carlson jarrod.carl...@gmail.comwrote:

 Yes, there are some serious hurdles to being able to support this kind of
 feature. I haven't tried it yet, but I suggested the feature because I
 understand both Mozilla and WebKit support a DOMAttrModified sort of native
 event:


 http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents

 I also understand IE has some limited support for a proprietary alternative
 (onpropertychange).

 It sounds like it might be possible to get some sort of support working,
 although I have no doubt that some additional voodoo would be required to
 level the support across browsers.

 On Mon, Feb 15, 2010 at 10:46 AM, Joel Webber j...@google.com wrote:

 I'm not sure if it's possible to do this correctly in the general case.
 You can currently override setVisible(), but that only works if it's called
 explicitly. Most importantly, there's no way I know of to get the DOM to
 tell you when an element becomes visible/hidden; to synthesize this would
 require that all changes to visibility of a parent walk the entire child
 hierarchy to inform all of its children of the change. Even worse, it can
 happen for random reasons like a change to the Style object or CSS class
 name.

 If we can find a way to get the DOM to inform us of this kind of change,
 I'm all for it though.

 On Sat, Feb 13, 2010 at 11:30 PM, jarrod jarrod.carl...@gmail.comwrote:

 One feature I would like to see added to GWT is a DOM or logical event
 to notify handlers of a Widget's visibility changes.

 In the spirit of keeping things loosely coupled, say for instance I
 have a TabLayoutPanel which contains several Widgets. Those Widgets do
 not necessarily know that they are contained within a TabLayoutPanel
 that might show or hide them at will.

 Thus it would be quite helpful if a Widget could (especially through
 UiBinder) be notified when it becomes visible to the user.

 Any thoughts?

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


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




 --
 ~jj

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


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

[gwt-contrib] Re: PopupPanel NPE when history disabled

2010-02-16 Thread jgw

On 2010/02/15 16:25:59, jlabanca wrote:


LGTM.

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

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


[gwt-contrib] Re: Use cellIndex and sectionRowIndex in HTMLTable::getCellForEvent

2010-02-16 Thread jgw

On 2010/02/11 15:29:15, jlabanca wrote:

LGTM


Committed at r7557.

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

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


[gwt-contrib] Re: sharded linking

2010-02-16 Thread spoon

Thanks, Ray, for the review.

I agree with all the things you found.  I have already made most of the
changes indicated. I'm still working on one of them, which is to have
each CompilationResult only have one Permutation.



http://gwt-code-reviews.appspot.com/141811/diff/1/14
File dev/core/src/com/google/gwt/core/ext/Linker.java (right):

http://gwt-code-reviews.appspot.com/141811/diff/1/14#newcode42
Line 42: * {...@link #link(TreeLogger, LinkerContext, ArtifactSet)} for
non-shordable
On 2010/02/16 10:32:52, cromwellian wrote:

Typo, s/shordable/shardable


Done.

http://gwt-code-reviews.appspot.com/141811/diff/1/13
File dev/core/src/com/google/gwt/core/ext/linker/Artifact.java (right):

http://gwt-code-reviews.appspot.com/141811/diff/1/13#newcode93
Line 93:
On 2010/02/16 10:32:52, cromwellian wrote:

I realize it's obvious, but should this have a javadoc, since the

other methods

have javadoc?


Done.

http://gwt-code-reviews.appspot.com/141811/diff/1/9
File
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java
(right):

http://gwt-code-reviews.appspot.com/141811/diff/1/9#newcode161
Line 161:
Good point! I will update CompilationResult to have just one
permutation.  It's a new method in this patch, so it's no problem to
change its return time to a single permutation instead of a list of
them.

It does mean that a CompilationResult can no longer be reused if two
compiled perms happen to generate exactly the same output.  However,
that doesn't come up very often, so it looks better to have a cleaner
model than to optimize that unusual situation.

http://gwt-code-reviews.appspot.com/141811/diff/1/9#newcode308
Line 308: if (propMapsByStrongName.size() == 0) {
I've seen this message come up, and I've been confused by it.  So, I
certainly agree.

Do you see a way for this patch to affect that situation, though?  If
not, then we should file a separate bug about it.

http://gwt-code-reviews.appspot.com/141811/diff/1/9#newcode461
Line 461: } else {
Yes, that's part of GWT's permutations model.  If a deferred binding has
multiple settings but is ignored, then you can get multiple property
oracles with the same JS code.

I'll add a Javadoc to the field:

  /**
   * This maps each compilation strong name to the property settings for
that
   * compilation. A single compilation can have multiple property
settings if
   * the compiles for those settings yielded the exact same compiled
output.
   */

http://gwt-code-reviews.appspot.com/141811/diff/1/8
File
dev/core/src/com/google/gwt/core/ext/linker/impl/StandardLinkerContext.java
(right):

http://gwt-code-reviews.appspot.com/141811/diff/1/8#newcode305
Line 305: */
Changed:

  /**
   * Return the full path for an artifact produced by
codelinkertype/code
   * that has the specified partial path. The full path will be the
linker's
   * short name, as defined in the module file, followed by the given
partial
   * path.
   */

http://gwt-code-reviews.appspot.com/141811/diff/1/24
File dev/core/src/com/google/gwt/dev/Link.java (right):

http://gwt-code-reviews.appspot.com/141811/diff/1/24#newcode161
Line 161:
It could probably be factored down a little.  Would it look better to
you to do that as part of this patch?  The present version keeps these
factored the same way as in trunk.

Note the legacyLink method will go away as soon as GWTCompiler is
removed, which will likely be soon.

http://gwt-code-reviews.appspot.com/141811/diff/1/24#newcode187
Line 187: JarOutputStream jar = new JarOutputStream(new
FileOutputStream(jarFile));
Sure, let's try it.

http://gwt-code-reviews.appspot.com/141811/diff/1/24#newcode481
Line 481: try {
Added a BufferedInputStream.

http://gwt-code-reviews.appspot.com/141811/diff/1/21
File
dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java.orig
(right):

http://gwt-code-reviews.appspot.com/141811/diff/1/21#newcode1
Line 1: /*
I'll make sure it's not in the next upload.

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

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


Re: [gwt-contrib] RR: Two key GWT.create to avoid boilerplate

2010-02-16 Thread Scott Blum
You know, we could get a lot of mileage and zero config out of...

GWT.generateWith(UiBinder.class, optional, varargs, list, of, arbitrary,
literals)

:)

On Sat, Feb 13, 2010 at 7:39 PM, Ray Ryan rj...@google.com wrote:

 Please, let's move the discussion to the issue tracker so it doesn't get
 lost.

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


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

[gwt-contrib] [google-web-toolkit] r7586 committed - Merging tr...@r7553 into this branch.

2010-02-16 Thread codesite-noreply

Revision: 7586
Author: j...@google.com
Date: Tue Feb 16 10:24:04 2010
Log: Merging tr...@r7553 into this branch.

http://code.google.com/p/google-web-toolkit/source/detail?r=7586

Modified:
 /releases/2.0/branch-info.txt
 /releases/2.0/user/src/com/google/gwt/user/History.gwt.xml

===
--- /releases/2.0/branch-info.txt   Mon Feb 15 10:18:07 2010
+++ /releases/2.0/branch-info.txt   Tue Feb 16 10:24:04 2010
@@ -1491,3 +1491,7 @@
   PopupPanel NPE fix and updated release notes for 2.0.3.
   svn merge -c7583,7584 --ignore-ancestry  
https://google-web-toolkit.googlecode.com/svn/trunk


+tr...@7553 was merged into this branch
+  Trivial fix for issue 3956 (REGRESSION: r5292 broke Opera support for  
History)
+  svn merge -c7583,7584 --ignore-ancestry  
https://google-web-toolkit.googlecode.com/svn/trunk

+
===
--- /releases/2.0/user/src/com/google/gwt/user/History.gwt.xml	Tue Apr 28  
09:11:39 2009
+++ /releases/2.0/user/src/com/google/gwt/user/History.gwt.xml	Tue Feb 16  
10:24:04 2010

@@ -30,7 +30,13 @@
/any
   /replace-with

-   !-- Safari has yet another slightly different implementation. --
+   !-- Opera has yet another slightly different implementation. --
+   replace-with class=com.google.gwt.user.client.impl.HistoryImplTimer
+   when-type-is 
class=com.google.gwt.user.client.impl.HistoryImpl/
+   when-property-is name=user.agent value=opera/
+   /replace-with
+
+   !-- Safari is almost like Opera, but again slightly different. --
replace-with class=com.google.gwt.user.client.impl.HistoryImplSafari
when-type-is 
class=com.google.gwt.user.client.impl.HistoryImpl/
when-property-is name=user.agent value=safari/

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


[gwt-contrib] [google-web-toolkit] r7588 committed - Set visibility of glass when visibility of PopupPanel is changed....

2010-02-16 Thread codesite-noreply

Revision: 7588
Author: jlaba...@google.com
Date: Tue Feb 16 07:47:04 2010
Log: Set visibility of glass when visibility of PopupPanel is changed.
http://gwt-code-reviews.appspot.com/143809

http://code.google.com/p/google-web-toolkit/source/detail?r=7588

Modified:
 /trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java
 /trunk/user/test/com/google/gwt/user/client/ui/PopupTest.java

===
--- /trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java	Mon Feb  
15 06:06:05 2010
+++ /trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java	Tue Feb  
16 07:47:04 2010

@@ -925,6 +925,7 @@
 impl.setVisible(getElement(), visible);
 if (glass != null) {
   impl.setVisible(glass, visible);
+  glass.getStyle().setProperty(visibility,  
visible ? visible : hidden);

 }
   }

===
--- /trunk/user/test/com/google/gwt/user/client/ui/PopupTest.java	Wed Jan  
13 13:35:36 2010
+++ /trunk/user/test/com/google/gwt/user/client/ui/PopupTest.java	Tue Feb  
16 07:47:04 2010

@@ -376,6 +376,26 @@
 popup.setWidget(new Label(test));
 popup.hide();
   }
+
+  public void testSetVisibleWithGlass() {
+PopupPanel popup = createPopupPanel();
+popup.setGlassEnabled(true);
+popup.show();
+
+Element glass = popup.getGlassElement();
+assertTrue(popup.isVisible());
+ 
assertFalse(hidden.equalsIgnoreCase(glass.getStyle().getVisibility()));

+
+popup.setVisible(false);
+assertFalse(popup.isVisible());
+ 
assertTrue(hidden.equalsIgnoreCase(glass.getStyle().getVisibility()));

+
+popup.setVisible(true);
+assertTrue(popup.isVisible());
+ 
assertFalse(hidden.equalsIgnoreCase(glass.getStyle().getVisibility()));

+
+popup.hide();
+  }

   /**
* Test the showing a popup while it is hiding will not result in an  
illegal


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


[gwt-contrib] [google-web-toolkit] r7589 committed - Add the ability to change the default HandlerManager of a Widget....

2010-02-16 Thread codesite-noreply

Revision: 7589
Author: jlaba...@google.com
Date: Tue Feb 16 07:48:56 2010
Log: Add the ability to change the default HandlerManager of a Widget.
http://gwt-code-reviews.appspot.com/138801

Patch by: sven.brunken
Review by: jlabanca

http://code.google.com/p/google-web-toolkit/source/detail?r=7589

Modified:
 /trunk/user/src/com/google/gwt/user/client/ui/Widget.java
 /trunk/user/test/com/google/gwt/user/client/ui/WidgetTest.java

===
--- /trunk/user/src/com/google/gwt/user/client/ui/Widget.java	Wed Sep 23  
10:15:52 2009
+++ /trunk/user/src/com/google/gwt/user/client/ui/Widget.java	Tue Feb 16  
07:48:56 2010

@@ -43,9 +43,9 @@
*/
   int eventsToSink;
   private boolean attached;
+  private HandlerManager handlerManager;
   private Object layoutData;
   private Widget parent;
-  private HandlerManager handlerManager;

   public void fireEvent(GwtEvent? event) {
 if (handlerManager != null) {
@@ -197,6 +197,16 @@
   final H handler, GwtEvent.TypeH type) {
 return ensureHandlers().addHandler(type, handler);
   }
+
+  /**
+   * Creates the {...@link HandlerManager} used by this Widget. You can  
overwrite

+   * this method to create a custom {...@link HandlerManager}.
+   *
+   * @return the {...@link HandlerManager} you want to use
+   */
+  protected HandlerManager createHandlerManager() {
+return new HandlerManager(this);
+  }

   /**
* Fires an event on a child widget. Used to delegate the handling of an  
event

@@ -359,7 +369,7 @@
* @return the handler manager
* */
   HandlerManager ensureHandlers() {
-return handlerManager == null ? handlerManager = new  
HandlerManager(this)

+return handlerManager == null ? handlerManager = createHandlerManager()
 : handlerManager;
   }

===
--- /trunk/user/test/com/google/gwt/user/client/ui/WidgetTest.java	Wed Oct  
28 09:10:53 2009
+++ /trunk/user/test/com/google/gwt/user/client/ui/WidgetTest.java	Tue Feb  
16 07:48:56 2010

@@ -18,6 +18,7 @@
 import com.google.gwt.event.dom.client.ChangeEvent;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.shared.HandlerManager;
 import com.google.gwt.event.shared.HandlerRegistration;
 import com.google.gwt.junit.client.GWTTestCase;

@@ -43,6 +44,18 @@
   public String getModuleName() {
 return com.google.gwt.user.User;
   }
+
+  public void testCreateHandlerManager() {
+final HandlerManager manager = new HandlerManager(null);
+Widget w = new Widget() {
+  @Override
+  protected HandlerManager createHandlerManager() {
+return manager;
+  }
+};
+w.ensureHandlers();
+assertEquals(manager, w.getHandlerManager());
+  }

   public void testHandlerCount() {
 Widget a = new Widget();

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


[gwt-contrib] Re: Fix for KeyPressEvent.getCharCode and overall key events improvements

2010-02-16 Thread jgw

On 2010/02/10 23:31:24, tbroyer wrote:

On 2010/02/10 17:20:07, jgw wrote:

 The first message on the linked thread suggests that the W3C has

finally

 settled on a standard for keyboard events. The lack of such a

standard is one

 reason this stuff is such a mess in the first place. Does anyone

know where

this
 is specified? Last time I looked (and PPK seems to confirm this),

there was no

 standard for these properties.



See http://www.w3.org/TR/DOM-Level-3-Events/
keypress is deprecated in favor of a new textInput (which is also

fired when

pasting text, for instance)
They now even included a table explaining what keyCode and charCode

are in

keydown/keypress/keyup events in IE7, FF 3, Safari 3.1 and Opera 9.5.



 It would also be really helpful to add a few tests. That would also

help

 illuminate the expected behavior, which is kind of difficult to

follow at

 present. We now have Document.create*Event() and

Element.dispatchEvent(),

which
 I believe makes this tractable.



I don't think we could have real tests, as the keyCode and charCode

are passed

explicitly as arguments to Document.create*Event()
Moreover, dispatching keydown/keypress/keyup events to an InputElement

doesn't

change its value (tested in Chrome stable).
Did you have something specific in mind?



(a museum sample could help manually check things though)


Fair points all. I've read over the DOM 3 spec, and all I can say is
wow :)

I think there's some small probability that this behavior change will
break someone, somewhere, but probably only in code that's already
subtly broken, so I think it's worth doing.

I'm going to run it through all our tests now, and will commit
momentarily.

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

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


Re: [gwt-contrib] debugging of JSNI code

2010-02-16 Thread Sanjiv Jivan
Are you saying that the JS debugger automatically triggers even today when
one tries to step into a JSNI method?

I know that manually adding a debugger; command within JSNI code will
trigger the JS debugger, and I also have a helper GWT JSNI method called
SC.debugger() which I can add anywhere in my GWT code but what I was hoping
for is the debugger command automatically be issued by the GWT plugin when
one tries to step into JSNI code from my Java IDE.

If this is already the default behavior, then shame on me :) I can try it
out later today as well but I don't recollect seeing this behavior.

On Tue, Feb 16, 2010 at 2:07 PM, Scott Blum sco...@google.com wrote:

 Sanjiv, I've done this before in Internet Explorer.  Actually, this worked
 even before OOPHM, back in 1.5 or 1.6 when the GWT Hosted Mode embedded IE
 on Windows.  Haven't tried it with other browsers.

 On Tue, Feb 16, 2010 at 8:41 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote:

  Hi,
 A while ago I had asked the possibility of being able to step through JSNI
 code when running in hosted mode as IDE's like IntelliJ support remote
 Javascript debugging from within the IDE itself much like Java debugging. I
 was informed that currently the only debug information collected was the
 line number at the boundary of the JSNI method and I can see this when
 running through a JS debugger.

 It would be great if one day this feature can be added however for now I
 was wondering how easy / feasible it would be to dynamically trigger the JS
 command debugger; when they user does a Step Into from the Java
 debugger. The newer versions of Safari has a very good debugger that
 performs well. The hosted mode plugin for Safari can have the Enable Script
 Debugging setting turned on for the hosted mode session. Firebug also
 responds to the debugger command. Similarly the IE Visual Studio /
 Javascript debugger is launched if installed when the debugger command is
 encountered.

 Any comments / thoughts on this?

 Thanks,
 Sanjiv

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


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


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

Re: [gwt-contrib] Re: RFC: sharded linking

2010-02-16 Thread Scott Blum
On Fri, Feb 12, 2010 at 7:00 PM, Lex Spoon sp...@google.com wrote:

 On Fri, Feb 12, 2010 at 9:50 AM, Alex Moffat alex.mof...@gmail.comwrote:

 Where can I read a description of what -XshardPrecompile, or see the
 code for it, it sounds very useful to me personally?


 -XshardPrecompile is an experiment that everyone wants to change, so it
 seems unlikely to be released in its current form.  We can talk about it if
 it helps, but I would propose that we focus more on what we want to do for
 real.


It seemed relevant because it sounded like you propose to essentially make
-XshardPrecompile the default (only?) behavior for Precompile?  Or did I
misread?  The reason that makes me cautious has to do with a desire for a
future change to the Generator API to support things like minimal rebuild.
 I imagine a world where the work each Generator does could be sharded out
in a way that's independent of the number of permutations.



 - I'm not sure why development mode wouldn't run a sharded link first.
  Wouldn't it make sense if development mode works just like production
 compile, it just runs a single development mode permutation shard link
 before running the final link?


 Sure, we can do that. Note, though, that they will be running against an
 empty ArtifactSet, because there aren't any compiles for them to look at.
  Thus, they won't typically do anything.


Do public resources and generated resources show up during the sharded
phase?




 2) Instead of trying to do automatic thinning, we just let the linkers
 themselves do the thinning.  For example, one of the most
 serialization-expensive things we do is serialize/deserialze symbolMaps.  To
 avoid this, we update SymbolMapsLinker to do most of its work during
 sharding, and update IFrameLinker (et al) to remove the CompilationResult
 during the sharded link so it never gets sent across to the final link.


 In addition to the other issues pointed out, note that this adds ordering
 constraints among the linkers.  Any linker that deletes something must run
 after every linker that wants to look at it.  Your example wouldn't work as
 is, because it would mean no POST linker can look at CompilationResults.  It
 also wouldn't work to put the deletion in a POST linker, for the same
 reason.  We'd have to work out a way for the deletions to happen last, after
 all the normal linkage activity.

 Suppose, continuing that idea, we add a POSTPOST order that is used only
 for deletion.  If it's really only for deletion, then the usual link() API
 is overly general, because it lets linkers both add and remove artifacts
 during POSTPOST, which is not desired.  So, we want a POSTPOST API that is
 only for deletion.  Linkers somehow or another mark artifacts for deletion,
 but not anything else.  At this point, though, isn't it pretty much the same
 as the automated thinning in the initial proposal?


It does start to sound like a big mess when you put it that way. And Ray
makes a good point about forcing people to write linkers that won't blow up
when you shard them.

It sounds like, on a high level, there's a broad agreement that changing the
linker API isn't really a problem.  That we should basically just redesign
it to do the exact best thing and it's okay, since not many linkers exist.
 To be honest, I hadn't really approached the problem from that point of
view.

Now that I am thinking along those lines, it almost begs the question.  If
we are willing to break the world, is this the best possible way to model
new link process?  In other words, it seems worth re-examining the design
without regard to the existing API and asking ourselves if it's the thing
we'd have designed from scratch.  Maybe you guys all already did that and
I'm the only one late to the party.

For example, if we're going from scratch, then we could avoid the transition
entirely and just mandate what the new rules are.  We wouldn't need a
@Shardable annotation since all linkers would need to be sharding aware.  We
might rather have two separate methods for sharded vs. non-sharded link than
a boolean parameter.  We might revisit the whole PRE, PRIMARY, POST thing
with regards to sharding and decide the right answer is SHARD, PRE, PRIMARY,
POST.  Or something.  I don't know what the right answers are.  All I'm
saying is, breaking things is awesome when you're doing something
revolutionary and the end result is awesome.  I just want to be sure, if
we're going to break things, that we believe we'll end up somewhere
revolutionary and awesome as opposed to evolutionary and incremental, but
less than awesome.

--Scott

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

Re: [gwt-contrib] debugging of JSNI code

2010-02-16 Thread Scott Blum
Ooops, my bad.  I agree, what you describe would be the ideal user
experience.  No one here is working on that at the moment, that I'm aware.

On Tue, Feb 16, 2010 at 2:42 PM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote:

 Are you saying that the JS debugger automatically triggers even today when
 one tries to step into a JSNI method?

 I know that manually adding a debugger; command within JSNI code will
 trigger the JS debugger, and I also have a helper GWT JSNI method called
 SC.debugger() which I can add anywhere in my GWT code but what I was hoping
 for is the debugger command automatically be issued by the GWT plugin when
 one tries to step into JSNI code from my Java IDE.

 If this is already the default behavior, then shame on me :) I can try it
 out later today as well but I don't recollect seeing this behavior.

 On Tue, Feb 16, 2010 at 2:07 PM, Scott Blum sco...@google.com wrote:

 Sanjiv, I've done this before in Internet Explorer.  Actually, this worked
 even before OOPHM, back in 1.5 or 1.6 when the GWT Hosted Mode embedded IE
 on Windows.  Haven't tried it with other browsers.

 On Tue, Feb 16, 2010 at 8:41 AM, Sanjiv Jivan sanjiv.ji...@gmail.comwrote:

  Hi,
 A while ago I had asked the possibility of being able to step through
 JSNI code when running in hosted mode as IDE's like IntelliJ support remote
 Javascript debugging from within the IDE itself much like Java debugging. I
 was informed that currently the only debug information collected was the
 line number at the boundary of the JSNI method and I can see this when
 running through a JS debugger.

 It would be great if one day this feature can be added however for now I
 was wondering how easy / feasible it would be to dynamically trigger the JS
 command debugger; when they user does a Step Into from the Java
 debugger. The newer versions of Safari has a very good debugger that
 performs well. The hosted mode plugin for Safari can have the Enable Script
 Debugging setting turned on for the hosted mode session. Firebug also
 responds to the debugger command. Similarly the IE Visual Studio /
 Javascript debugger is launched if installed when the debugger command is
 encountered.

 Any comments / thoughts on this?

 Thanks,
 Sanjiv

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


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


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


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

Re: [gwt-contrib] RR: Two key GWT.create to avoid boilerplate

2010-02-16 Thread Lex Spoon
On Sat, Feb 13, 2010 at 6:22 PM, Ray Cromwell cromwell...@gmail.com wrote:

 I'm not sure how my proposal creates more boilerplate, it adds the
 ability to specify arbitrary parameters to GWT.create, e.g.

 GWT.create(A.class, LiteralParam1, LiteralParam2, ...)


Sweet.  It looks like everyone is in favor of this part.  Unless someone
speaks to the contrary, it sounds like the lights are green for this one, as
soon as someone has time to do it.




 public class MyLibrary {
   @GwtCreate
   public static T T create(Class? clazz) {
  return GWT.create(clazz);
   }
 }

 Usage:

 MyLibrary.create(Binder.class);


This part has the down side that it requires a special class loader for it
to work.  To contrast, GWT.create can be intercepted using regular Java code
by using GWT.setBridge.  This has proven useful for writing test cases.  It
would be very helpful to refine this to the point that it doesn't strictly
require using a special class loader.  For example, maybe we could insist
(and verify) that the body of one of these methods has the dev mode
implementation, and that it is in a stylized form ?

Also, the proposal on the blog entry mentions a variation of @GwtCreate that
takes the generator as an argument:

@GwtCreate(generator=com.foo.BarGenerator.class)
T extends Bar T create(ClassT clazz)

This version looks at odds with the way deferred binding normally works.
 Normally, the module file chooses the generator, and it can even choose a
different generator for each permutation of the compile.  For this, let's
try and come up with a way to distinguish the separate interface types
inherited by clazz.

It might not even be necessary, though.  Note that when looking at the above
create() call, the supplied clazz argument has already been upcast to the
Bar interface.  Thus, even though the original class implemented Bar as well
as a bunch of other generatable interfaces, this particular call should be
deferred bound however Bar is deferred bound.

Lex

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

[gwt-contrib] Re: Fix for KeyPressEvent.getCharCode and overall key events improvements

2010-02-16 Thread jat


http://gwt-code-reviews.appspot.com/142801/diff/1/4
File user/src/com/google/gwt/event/dom/client/KeyPressEvent.java
(right):

http://gwt-code-reviews.appspot.com/142801/diff/1/4#newcode66
Line 66: public int getNativeCharCode() {
Is this name specified in the spec somewhere?  If not (and perhaps
anyway), I suggest either getCodePoint() or getUnicodeCharCode() instead
of getNativeCharCode().

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

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


  1   2   >