Re: Problems creating new WebApplication using Eclipse GWT plugin

2009-07-16 Thread Alex Rudnick

Hey braverju,

Which version of Eclipse are you using? There was a thread earlier
where some people were having a very similar problem -- maybe you're
having the same one?

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e91e92617ab119c3/f5efabaa59fc7bdc

Hopefully we can help you figure this out!

On Thu, Jul 16, 2009 at 11:11 AM, braverjubrave...@gmail.com wrote:

 Dear friends,

 I have installed WebApplication plug in to my Eclipse. However, when I
 try to create a new application I get the error message. Her is what I
 get in my error log.
 Thank you. I would appreciate your help so much!

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Start GWT with Eclipse : NoClassDefFoundError

2009-07-16 Thread Alex Rudnick

Hello,

The Eclipse plugin should help make sure your class paths are set up
right to launch your PC too, but it sounds like you're having trouble
installing it?

Which program gave you the error about
http://download.eclipse.org/releases/ganymede ?

Thanks!

On Thu, Jul 16, 2009 at 9:56 AM, braverjubrave...@gmail.com wrote:

 Please, help. I have biult a GWT project using Eclipse on my old
 computer (Mac). Now, I want to open and run it on my new PC. I tried
 to do it with Eclipse Galileo (3.5) - no success. Then, I thought it
 might be easier with Eclipse Ganymed (3.4). I copied all gwt libraries
 for windows. But I keep getting the same error: NoClassDefFoundError .
 It looks like the compiler is looking for the Main method, but what I
 have, of cause is EntryPoint method. I believe, something is wrong
 with my Project configurations, but I don't know, how to fix it.
    I tried to follow the instructions on 
 http://code.google.com/webtoolkit/gettingstarted.html
 to install gwt-plugin, but keep getting an error: No repository found
 at http://download.eclipse.org/releases/ganymede.

 Thank you so much!

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT next release - what/when?

2009-07-13 Thread Alex Rudnick

Hey Ainata,

We've got a pretty good GWT roadmap over here:
http://code.google.com/webtoolkit/makinggwtbetter.html#roadmap

(although we should update that page, because we've already released GWT 1.6!)

And somebody can correct me if I'm wrong, but I think all of those
features listed under Post 1.6 are going to be in the 2.0 version.
Aside from UiBinder, they're already in the trunk. GWT 2.0 is coming
pretty soon, but it's not hard to build the trunk from source, so you
can try the new features today!

We don't have an official list of libraries, but you can find quite
a few GWT-related projects by searching Google Code like this:
http://code.google.com/hosting/search?q=label:GWT

On Sun, Jul 12, 2009 at 10:56 AM,
Ainata-Lebkassem.alsayed@gmail.com wrote:

 What will the next GWT release focus on and what is the expected date
 for that?
 Is there a centralized location/website that keeps tracks of GWT 3rd
 party libs?

Hope this helps!

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Create EMPTY project with Google Plugin for Eclipse

2009-07-13 Thread Alex Rudnick

Hrm. The link works fine for me (using gmail).

Anyway. Try this one out!

http://code.google.com/p/googleappengine/issues/detail?id=1547

If that doesn't get you there, it's issue #1547, which you should be
able to find on your own.

On Mon, Jul 13, 2009 at 3:51 PM,
martinhansenmartin.hanse...@googlemail.com wrote:

 Hello Jason,

 thanks for your swift response. Too bad this is not possible yet. I
 will star it. Unfortunately, I get a 404 error on that link. Would you
 be so kind and provide a corrected link? Thank you very much!

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT next release - what/when?

2009-07-13 Thread Alex Rudnick

Many internal projects actually use the trunk. It's pretty stable, and
it's got the aforementioned new features. (of course, the APIs may
change a bit between now and 2.0)

On Mon, Jul 13, 2009 at 8:29 PM, Joe Coleprofilercorporat...@gmail.com wrote:

 Alex,

 Is there a specific tag that google are using internally for products
 like wave or are you using 1.6?

 Joe

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT 2 Theme

2009-07-06 Thread Alex Rudnick

It's totally in your power to do this on your own, you know. It's the
beauty of the open-source community -- you don't need us to spoon-feed
you themes!

Why not unleash your inner designer, make some really cool GWT themes,
and package them up like chrome, dark, and standard? Start a
project for your themes and earn the praise and admiration of
developers worldwide!

On Fri, Jul 3, 2009 at 11:11 AM, Daviddavid.no...@gmail.com wrote:

 Hi,

 I think that currently a lot of people are looking at GWT to use it
 for business apps inside big corporations.
 Google and GWT is sometimes more focussing on getting GWT to drive
 websites and in those situations custom skinning is really important.

 It's nice that you can but I would really like to skip CSS and just
 use the widgets with a nice an shiny default look and feel.

 What would be even better is that they would put a site online that
 offers multiple skins (as they do for iGoogle for example). Who knows
 for fun we might get some animated skins as well :-)

 David

 On Thu, Jul 2, 2009 at 1:28 PM, Kango_Vdjb.b...@gmail.com wrote:

 Is it possible to use the Google Wave theme as the standard for GWT
 2?  I know it may need paring down slight, but that would still be
 cool.

 There are a lot of programmers that would like to suggest GWT to
 management, but do not like the default.  I'm sure if this was done,
 far more developers would pick it up and use it out of the box without
 needing a designer.

 Thoughts anyone?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: No project .launch file created with 'Create New Web Application'

2009-07-02 Thread Alex Rudnick

Hey John,

I think that's the intended behavior, that there's no
StockWatcher.launch file stored in the project directory. As it
stands, Eclipse and the plugin manage launch configurations for you.
(If you check in
workspace/.metadata/.plugins/org.eclipse.debug.core/.launches, you
can see them.)

Maybe I'm not understanding your use case, but why do you need to have
StockWatcher.launch around to re-open the sample project?

Thanks!

On Thu, Jul 2, 2009 at 1:33 PM, Johnjarnold...@gmail.com wrote:

 Hi.

 I am using eclipse 3.4.2 (Ganymede) updated current as of yesterday
 and installed the Google Plug-in for Eclipse.

 Today, I've been working through the 'Getting Started' and noticed the
 following... During 'Step 1', Creating a GWT Application (using
 eclipse), the steps shown create the application as described.
 However, the StockWatcher.launch file is not being created.

 I've tried this twice in two different folders, etc. and can replicate
 it. All the files are created fine, I can run the generated app
 successfully, navigate to and read all the files, etc. However, the
 StockWatcher.launch file is never created. (Not there while eclipse is
 open and not there after it's closed.) Since this pretty much prevents
 me from re-opening the sample project that's been created, this is a
 bit of a pain.

 Any ideas what might be causing this? Am I the only one seeing this?

 Worst case, I can revert to using the command line to generate the
 project but I was hoping to be able to use the Google Toolbar to save
 myself some typing.

 Thanks for any insight.

 - John -

-- 
Alex Rudnick
swe, gwt, atl

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



Re: No project .launch file created with 'Create New Web Application'

2009-07-02 Thread Alex Rudnick

Hooray :)

Glad to help!

On Thu, Jul 2, 2009 at 2:35 PM, Johnjarnold...@gmail.com wrote:

 Oops. On further review, I see that you (Alex) meant 'workspace' in
 the path to be where I created the workspace. Now I see the .launch
 file that you're talking about.

 Thanks for taking the time to help. I think I've gotten my
 misconceptions about the 'old' way and the 'new' way (with the plugin)
 straightened out.

 Thanks to you both (Alex and Isaac).

 - John -

-- 
Alex Rudnick
swe, gwt, atl

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



Re: MenuBar to auto-reposition and/or auto-resize submenus - GWT Committer Required

2009-07-02 Thread Alex Rudnick

Hey Melody,

If you'd like to put in a change to GWT, please take a look at the
Making GWT Better guide over here:
http://code.google.com/webtoolkit/makinggwtbetter.html#submittingpatches

... and mail your patch to the Google-Web-Toolkit-Contributors group.
http://groups.google.com/group/Google-Web-Toolkit-Contributors

It probably wouldn't hurt to make an issue in the issue tracker for
the bug that your patch fixes.

Thanks very much!

On Thu, Jul 2, 2009 at 3:17 PM, melodympedzi...@stuart.iit.edu wrote:

 I have had problems with MenuBar submenus not repositioning or
 resizing when there is more menu items than can fit in the height
 available.

 So I decided to copy MenuBar.java and made the following changes

 add the following member variables and static members
 code
 private int oldOffsetHeight = -1;
 private static final int MIN_MENUHEIGHT = 200;
 code


 in  private void onHide() method, add the following code segment

 code
  //reset the offset height to what was originally
        if (oldOffsetHeight != -1) {
            setHeight(Utils.toHTMLPixels(oldOffsetHeight));
        }
        oldOffsetHeight = -1;
 /code


 In method void doItemAction(final MenuItem item, boolean fireCommand),
 change the setPosition method  of PopupPanel.PositionCallback as
 shown

 code
 public void setPosition(int offsetWidth, int offsetHeight) {

        // depending on the bidi direction position a menu on the left
 or right
        // of its base item
        if (LocaleInfo.getCurrentLocale().isRTL()) {
          if (vertical) {
            popup.setPopupPosition(MenuBar.this.getAbsoluteLeft() -
 offsetWidth + 1,
                item.getAbsoluteTop());
          } else {
            popup.setPopupPosition(item.getAbsoluteLeft() +
 item.getOffsetWidth() - offsetWidth,
                MenuBar.this.getAbsoluteTop() +
 MenuBar.this.getOffsetHeight() - 1);
          }
        } else {
          if (vertical) {
             int left = shownChildMenu.parentMenu.getAbsoluteLeft() +
 shownChildMenu.parentMenu.getOffsetWidth();
             int top = item.getAbsoluteTop();
             if (top + offsetHeight  Window.getClientHeight())
 {
                 int li_offsetHeight = Window.getClientHeight() - top;
                 if (li_offsetHeight  MIN_MENUHEIGHT) {
                    li_offsetHeight =  MIN_MENUHEIGHT;
                    top = Window.getClientHeight() - li_offsetHeight;
                 }
                 oldOffsetHeight =
 shownChildMenu.parentMenu.getOffsetHeight();
                 shownChildMenu.setHeight(Utils.toHTMLPixels
 (li_offsetHeight));
             }
             popup.setPopupPosition(left, top);
          } else {
            popup.setPopupPosition(item.getAbsoluteLeft(),
 MenuBar.this.getAbsoluteTop() + MenuBar.this.getOffsetHeight() - 1);
          }
        }
      }
 /code


 If there is GWT committer out there who is willing to take this code
 and put into GWT please feel free. Its working wonders for me and I
 believe that is how menubar should work. Or Better

 Thanks,

 Melody

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Eclipse Launch Configuration with gwt1.4.62

2009-07-02 Thread Alex Rudnick

It just so happens that the projectCreator/applicationCreator scripts
that shipped with GWT 1.4 created launch configuration files for
Eclipse.

The docs for that are over here:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4s=google-web-toolkit-doc-1-4t=GettingStarted
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4s=google-web-toolkit-doc-1-4t=DevGuideCommandLineTools

You can take a look at the .launch files created by those scripts.

Also, I just tried it out, and you can use GWT 1.4.62 with the Google
Plugin for Eclipse; it will make launch configurations and do compiles
for you.
http://code.google.com/eclipse

Hope this helps!

On Thu, Jul 2, 2009 at 6:00 PM, EricMmibu...@gmail.com wrote:

 I am building a web application on eclipse using using GWT version
 1.4.62. How should
 Eclipse be configured to compile and run/debug GWT applications?  A
 sample of run and debug configuration settings on eclipse would be
 really helpful.

 Eric.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: calling javascript from EntryPoint.onModuleLoad()

2009-06-25 Thread Alex Rudnick

Yes! I'd recommend using JSNI for that:

http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface

On Thu, Jun 25, 2009 at 12:56 AM, Kevin Nilsonkevin.g...@gmail.com wrote:

 How can I call a javascript function in my index.html page from
 EntryPoint.onModuleLoad().  Currently I am doing:
    RootPanel.get().add(new HTML(scriptdoSomething( )/script));

 Is there a better approach?

 Kevin NIlson

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-06-25 Thread Alex Rudnick

If you enjoyed this thread, you may also like these:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a27148f95036d847
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a4bc1419b5f6c247

We're working on it *right now*, rest assured!

On Thu, Jun 25, 2009 at 4:31 PM, Rob Tannercaspersg...@gmail.com wrote:
 When will a version of the plugin be released for Eclipse 3.5 (or can
 I simply use the version for 3.4).  I would like to use the new
 Eclipse, but GWT has become one of my main tools.

 Thanks,
 Rob

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Browser window size

2009-06-24 Thread Alex Rudnick

It turns out that's exactly the world we live in, Ian!

On Firefox 3, you can keep JavaScript from resizing your window with:
Preferences  Content  Enable JavaScript  Advanced  Allow scripts
to Move or resize existing windows.

But if you want your site to resize the window from a GWT application,
you can use JSNI and call: $wnd.resizeTo(width, height).

On Wed, Jun 24, 2009 at 10:07 AM, Ian Bamburyianbamb...@gmail.com wrote:
 It's so that when I have arranged my windows as I want them, I don't get
 some web site buggering it all up.
 Your web site doesn't own my browser. I do. If I were possible to have 10
 tabs and every one of them changed the size of the browser window, then
 there would be an option in the browser to turn that behaviour off, and
 *everyone* would use it.

 Ian

 http://examples.roughian.com


 2009/6/24 Piotr Kirklewski pkirklew...@gabaedevelopment.com

 Hi there

 Does anyone knows how to size the Browser Window at the module load ?
 I was looking at Window. methods but I didn;t found anything like it.

 Window.setTitle(My Window); work perfectly so I don;t get why there
 isno setSize method available ?

 Best regards

 Peter

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Abrir Browser con tamaño personalizado

2009-06-19 Thread Alex Rudnick

Hola Ricardo,

Parace que GWT no tiene un API para resizeTo, pero se puede utilizar
JSNI y llamar el método asi.

public native void resize() /*-{
  $wnd.resizeTo(100,800);
}-*/;

Se encuentra la documentación sobre JSNI aquí:
http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface

Hope this helps!

2009/6/19 Ricardo.M ricardo.mar...@gmail.com:

 Hola a todos,

 Deseo saber el codigo que me permita indicarle a mi aplicacion GWT el
 tamaño que quiero para mi browser al iniciarse por primera vez, algo
 asi como en Javascript que en el body onload=resizeto.

 Gracias

-- 
Alex Rudnick
swe, gwt, atl

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




Re: Fragmentar el archivo generado por GWT

2009-06-19 Thread Alex Rudnick

Hola Edwin!

Sounds like you could use Code Splitting (aka runAsync). It's not in
the currently released version (GWT 1.6), but it's available in the
trunk, if you're willing to compile GWT from source. The trunk is
actually pretty stable. Some searching for gwt runasync should give
you more pointers for how to use it, but here's the main wiki page on
the topic:

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

Buena suerte!

2009/6/19 Edwin Salguero edwi...@gmail.com:

 Hola señores del grupo..

 Estoy trabajando con GWT y a manera que avanza mi proyecto el archivo
 compilado.. o sea el archivo que genera en este formato
 EB24C909C1A9454E5AA80569FED66A72.cache.html poco a poco se va haciendo
 mas grande.. a tal punto que ya son 700 KB y la verdad talvez para
 algunos no sea problema pero para mi si.. porque no todos tienen
 conexion de internet a buena velocidad.. la idea es que me compile por
 modulos y que solo se carguen cuando sea necesario no todo al
 principio.. supongo que esto si existe en GWT pero me gustaria me
 digan como lo hacen que parametro hay que añadir o como es la cosa..

 Saludos y gracias..

 --
 Edwin Salguero C.
 70738223
 http://www.kernelbolivia.com

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Setup on mac

2009-06-18 Thread Alex Rudnick

You can find out which version you've got with the magic command-line
incantation java -version.

Java 5 on the Mac should work just fine.

On Thu, Jun 18, 2009 at 3:45 AM, hojbergr.ha...@gmail.com wrote:

 wow cool, but is the java sdk the right version ? the guide said i
 needed version 5 which is 32bit instead of the 64bit version 6 ?

 - hojberg

-- 
Alex Rudnick
swe, gwt, atl

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



Re: FlowPanel

2009-06-18 Thread Alex Rudnick

Hey Memo,

It turns out that a FlowPanel is just a div. But in general, a good
strategy for finding out how to style GWT widgets and their
subcomponents is to look at them with Firebug or the web inspectors
that come with Google Chrome or Safari.

If you want to read up on how to set styles to widgets, there's a
pretty good writeup over here:
http://code.google.com/webtoolkit/tutorials/1.6/style.html#secondary

Hope this helps!

On Thu, Jun 18, 2009 at 1:18 PM, Memo
Sanchezguillermo.sanch...@gmail.com wrote:

 Good morning...

 Where can I find information about the components of the FlowPanel for
 the css...

 A want to add spacing among its elements but I can't find the correct
 property.

 For example for the HorizontalPanel is

  .cssfile-HorizontalPanel td{
    padding: 2px;
 }

 but this doesn't work for the flowPanel

 Thank you.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT tutorial

2009-06-17 Thread Alex Rudnick

That would be cool, yes!

For now, though, just mail them to this list, if you would. Doc fixes
are definitely appreciated.

Thanks!

On Wed, Jun 17, 2009 at 4:44 PM, Kwhitkwhitting...@gmail.com wrote:

 Just finished the last of the StockWatcher tutorial sections. It must
 have been a monumental piece of work to put the whole thing together -
 great work. Thanks.

 It would have been nice to have an easy route to submit corrections on
 the couple of typos I came across - a moderated wiki?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Name a function that will not get changed when compliling?

2009-06-11 Thread Alex Rudnick

Hey Shedokan,

The approach I've used for that is to attach a GWT function to the
window object ($wnd).

There's an example in the docs over here:
http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface

Check under the subsection Calling a Java Method from Handwritten JavaScript.

Like Ian said, you could also use GWT Exporter.

Hope this helps!

On Thu, Jun 11, 2009 at 1:58 PM, Shedokanshedok...@gmail.com wrote:

 Hello,
 How can I name a function like start() and it will not change while
 compliling so that other javascript can call it?

 thanks.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Error link in GWT incubator page

2009-06-08 Thread Alex Rudnick

Fixed the demo link too, thanks!

I think the link to the module is right, though -- that Table.gwt.xml
should make everything under client get included, and that's where
PagingScrollTable is.

On Sat, Jun 6, 2009 at 4:42 AM, hezjinghezj...@gmail.com wrote:
 Hi
 Yes, the Javadoc is now fixed but the live demo and the module are referring
 to ScrollTable.
 I think the live demo should be link
 to http://collectionofdemos.appspot.com/demo/com.google.gwt.gen2.demo.scrolltable.PagingScrollTableDemo/PagingScrollTableDemo.html


-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT web

2009-06-04 Thread Alex Rudnick

Yes, actually!

http://gwtgallery.appspot.com/

Also, if you just send a link to your app to this list, I'm sure you'd
get some feedback from interested parties.

On Thu, Jun 4, 2009 at 4:41 AM, bosangjay bosang...@yahoo.com wrote:

 Is there any website where we can put/show our GWT project ? Something
 like www.eclipseplugincentral.com for the eclipse or 
 http://www.apple.com/webapps/
 for Iphone.

 Thx

 Bosangjay

-- 
Alex Rudnick
swe, gwt, atl

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



Re: java.io.file

2009-06-04 Thread Alex Rudnick

In general, you can find out which classes are available in the JRE
emulation library here:
http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

On Thu, Jun 4, 2009 at 3:16 AM, abbu minhaj.mis...@gmail.com wrote:

 Hi all,
 Is java.io.File present in the gwt emulation jre library?
 If it is present i'm not able to access it on the client side. im
 getting an exception upon start up of application asking to inherit
 the required module.

 if java.io.File is not present in the emulation library, is there any
 replacement avalible from gwt side for it?

 Please tell me how to create File instances on the client side?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Multimodule GWT with App Engine

2009-06-04 Thread Alex Rudnick

Hey Charley,

It's totally possible to have several GWT modules in the same Eclipse
project (and have them posted to App Engine in one go!). You can do
this by selecting New  Module. Then, typically, you'll create a new
HTML page in your war directory and have it load that GWT module.

When you do a Run... in Eclipse, you're typically running in Hosted
Mode, so you shouldn't have to worry about your code getting compiled
to js.

You can choose which client you run by having each module loaded on
its own HTML page. If you take a look at the HTML generated for a new
project, you can see how it loads the .nocache.js file for a given
module.

Hope this helps!

On Wed, Jun 3, 2009 at 6:38 PM, clanusse char...@tactevo.com wrote:
 In this scenario, I need to setup at least 3 completely independent
 GWT modules in Eclipse in the same project.  My GAE servlet/RPC code
 is also in this project.   Can anyone suggest how I might accomplish
 this?

 Even if I do get it setup, I'm wondering about these potential issues:

 1.  How do I make sure that each GWT client gets compiled when I do a
 'run..' in Eclipse?
 2.  How do I specify which client runs when testing?

 I'm assuming a suggestion might be to build independent Eclipse
 projects, BUT I really want to keep the whole thing together and post
 the entire project to GAE at once...

 Thanks in advance :)

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Multimodule GWT with App Engine

2009-06-04 Thread Alex Rudnick

On Thu, Jun 4, 2009 at 12:49 PM, clanusse char...@tactevo.com wrote:
 Ahhh!  Got it.. That was simple :)  Thanks so much Alex.

Hooray :) Happy hacking!

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Error link in GWT incubator page

2009-06-04 Thread Alex Rudnick

Thanks for the heads-up! Fixed :)

On Thu, Jun 4, 2009 at 12:30 PM, hezjing hezj...@gmail.com wrote:
 Hi
 I think there is an error in the GWT incubator page:
 In http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable,
 the Java doc link is pointing
 to .../com/google/gwt/gen2/table/client/ScrollTable.html
 It should be pointing
 to .../com/google/gwt/gen2/table/client/PagingScrollTable.html.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Trying to Run StockWatcher Sample, Running Hosted mode Client picks up blank/empty html

2009-06-04 Thread Alex Rudnick

Hey hehahohee,

I'm trying to replicate the problem. I just brought up Eclipse 3.4.2
(the for Java Developers distribution) on Vista, and the last
message in the Hosted Mode window is Initializing AppEngine server
-- but the page came up fine in the browser for me!

So let's try to figure out what's going on on your machine.

Did this happen at the first step in the tutorial, like you've just
used the New Web Application Project wizard? What happens if you
pull up http://localhost:8080/StockWatcher.html; in another web
browser, while your hosted mode is running? What happens if you hit
the Compile/Browse button?

Thanks!

On Thu, Jun 4, 2009 at 4:10 AM, hehaho...@gmail.com hehaho...@gmail.com wrote:

 I'm running a fresh install of Eclipse 3.4.2, GWT 1.6.4, and Sun JDK 6
 on Windows Vista.

 The status bar in the client window says Done
 The server says Initializing AppEngine server I don't know if it's
 hanging because I don't know if it's suppose to move past that.

 The only thing I could think of that would cause a problem would be
 Windows Firewall, but I get the same problem with the firewall down.

 Any hints as to were I could look next?

 Am building a fresh StockWatcher as prescribed in the getting started
 tutorial. I'm new to Eclipse, GWT, and Java...

 Thanks in advance

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Installing GWT

2009-06-04 Thread Alex Rudnick

Hey Lenzi,

Which distribution of Eclipse are you using? Did it come
pre-installed, or did you download it from eclipse.org?

If it wasn't the for Java Developers distribution, or if it came
pre-installed, this fix here might get you rolling:
http://code.google.com/eclipse/docs/faq.html#wstinstallerror

Hope this helps!

On Thu, Jun 4, 2009 at 8:26 AM, Lenzi yawa...@gmail.com wrote:

 I am new to gwt and when I try installing its plugin in eclipse
 (Ganymede) with the link http://dl.google.com/eclipse/plugin/3.4 I the
 the following error:

 Install has encountered a problem
 An error occurred while collecting items to be installed

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Feature Request: remember last window position

2009-06-04 Thread Alex Rudnick

That sounds reasonable! Would you put in a feature request on the issue tracker?

http://code.google.com/p/google-web-toolkit/issues/list

On Thu, Jun 4, 2009 at 2:24 PM, clanusse char...@tactevo.com wrote:

 I use multiple monitors when developing.  When I launch the GWT psuedo-
 browser on my mac it always appears in the same place on my main
 monitor.  I manually drag it to monitor 2 each time I launch it.  It
 would be 'so amazing' if the GWT browser would remember its position.
 Pretty please :)

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Tutorial Cannot Add Interface at making RPC bit

2009-06-04 Thread Alex Rudnick

Hey Paul,

What happens if you just put StockPriceService (without the package
name) into the box? Is it possible that you put in a different package
name, instead of com.google.gwt.sample.(etc)... when you were building
the project?

Hope this helps!

On Thu, Jun 4, 2009 at 11:28 AM, cbassthefishcbassthef...@yahoo.co.uk wrote:

 Hi,

 I have been steadily working my way through the tutorials. All good so
 far but have struck a bit of a problem just now. I searched the group
 posts but cannot see anything obvious so I must be doing something
 very wrong. If someone is able to point me in the right direction it
 would be much appreciated. I am at the following tutorial:

 http://code.google.com/webtoolkit/tutorials/1.6/RPC.html

 At step Defining the service: the StockPriceService interface I
 create a new java interface called StockPriceService under src/
 com.google.gwt.sample.stockwatcher.client. I add the code specified in
 step 3 to the StockPriceService.java stub. All good so far.

 At section Implementing the service: the StockPriceServiceImpl class
 I attempt to do step Create a new class. It is sub-step 5 (Implement
 the StockPriceService interface)  which I cannot implement. When
 attempting to add the class I click on the Add button next to the
 Interfaces box, this opens up a new window, I paste
 com.google.gwt.sample.stockwatcher.client.StockPriceService (without
 the speech marks) into the Choose Interface text box as stated in
 the tutorial, however the Add and OK buttons are greyed out at the
 bottom of the window. It will not let me add the interface.

 I am a new to this but a programmer in a different language. It has
 got to be something very silly that I have over looked.

 Thanks in advance.

 Kind Regards
 Paul

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Trying to Run StockWatcher Sample, Running Hosted mode Client picks up blank/empty html

2009-06-04 Thread Alex Rudnick

You could try, but I'd be surprised if it makes a difference.

It seems like the embedded server isn't being allowed to get
connections from clients for some reason. Does Vista have some way
other than the Windows Firewall of blocking connections? (I don't have
a Vista box handy at the moment). Or are you running some other sort
of network security app? ...

If anybody else is more familiar with Windows, please feel free to
jump in on this thread :)

On Thu, Jun 4, 2009 at 7:07 PM, hehaho...@gmail.comhehaho...@gmail.com wrote:

 Should I try running GWT without Eclipse?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Trying to Run StockWatcher Sample, Running Hosted mode Client picks up blank/empty html

2009-06-04 Thread Alex Rudnick

Bizarre!

OK, keep us posted!

On Thu, Jun 4, 2009 at 9:15 PM, hehaho...@gmail.comhehaho...@gmail.com wrote:

 Eh right click works most of the time. Thanks for the help. If I ever
 isolate the problem I'll be sure to post it up.

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-04 Thread Alex Rudnick

Sounds like boxing/unboxing overhead, in that case!

What if you tried that with an array of native ints?

On Thu, Jun 4, 2009 at 3:47 PM, Aaron Steele eightyste...@gmail.com wrote:

 So item 46 in Effective Java says that there shouldn't be a
 performance penalty using the nice for loops. But the following test
 in Eclipse on my machine (MacBook Pro, Intel Core Duo, 2.16 GHz) shows
 a performance penalty.

 Given an ArrayList called ints with 1 million Integers, this takes 31
 milliseconds:
 for (int i = 0, size = ints.size(); i  size; i++)
  ints.get(i).intValue();

 And this takes 76 milliseconds:
 for (Integer i : ints)
  i.intValue();

 What am I missing? Probably just some super naive testing on my part. :)


-- 
Alex Rudnick
swe, gwt, atl

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



Re: Alternative Languages?

2009-06-02 Thread Alex Rudnick

Hey Darren,

We don't have specific plans for other languages right now, and
there's a bit about why GWT uses Java over here:
http://code.google.com/webtoolkit/makinggwtbetter.html#introduction

However, the beauty of open source is that everybody's totally free to
implement their own web toolkits with whatever language they like.
There's an independent project called Pyjamas (http://pyjs.org/), for
example, that does something very much like what GWT does, and it uses
Python.

Personally, I'm waiting for the port to OCaml ;)

On Tue, Jun 2, 2009 at 5:26 AM, Darren des...@boltonblinds.co.uk wrote:

 are there any other languages planned for the GWT? such as C# or C its
 self? as not everyone knows java, and not everyone is willing to learn
 a new language to use the toolkit.

 since if C# and C/C++ are covered along side java, you cover almost
 all the programmers who would want to/be able to, use this toolkit?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Typo @ Product Overview

2009-06-01 Thread Alex Rudnick

It seems to be typo-finding day :)

Fixing. Thanks!

On Sat, May 30, 2009 at 11:35 PM, Bakulkumar bakul.ku...@gmail.com wrote:

 Great Catch !!!

 On May 29, 10:03 pm, Murilo Juchem mjuc...@gmail.com wrote:
 edit - ***refesh*** - view

-- 
Alex Rudnick
swe, gwt, atl

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



Re: How to replicate GWT's History.addItem in native javascript?

2009-06-01 Thread Alex Rudnick

One of the neat things about GWT is that it's open source :)

You could take a look at HistoryImplIE6 to see (exactly) how GWT does it.

On Mon, Jun 1, 2009 at 3:52 PM, darkflame darkfl...@gmail.com wrote:

 I need to add a history item to parent window from within a Frame, I
 can do this in native javascript with just;

 public static native void sendHistory(String arg) /*-{
     $wnd.parent.document.location.hash=arg;
 }-*/;

 However, this triggers a refresh in IE.

 Seeing as GWT's History.addItem() dosnt trigger a refresh, I
 wondered how to replicate it in javascript. (so I can send it to the
 parent frame).

 Any ideas?

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Grammatical Error in Documentation

2009-06-01 Thread Alex Rudnick

Thanks!

Fixing :)

On Sat, May 30, 2009 at 6:24 PM, Peter s...@phyn3t.com wrote:

 I think there is an error here:

 Tip: One way you can you can leverage Eclipse is to use its suggest
 feature to add the required import declarations.

 http://code.google.com/webtoolkit/tutorials/1.6/buildui.html

 It says 'you can' twice :p

 Cheers.


-- 
Alex Rudnick
swe, gwt, atl

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



Re: Caching

2009-05-28 Thread Alex Rudnick

Ciao Francesco!

(Spiacenti, non parlo italiano.)

It sounds like a cache header issue on your server. For compiled GWT
code, the cache headers should be set to keep these files around,
since each new compiled version will have a new filename. However, the
selection script (the .nocache.js file), should not be cached -- this
ensures that your users get the latest compiled version. I'm not sure
how to change these settings with JBoss particularly, but I there
should be good documentation out there.

You can use Firebug (or something similar) to take a look at the cache
headers as they're downloaded.

Hope this helps!

2009/5/28 beccari.france...@gmail.com beccari.france...@gmail.com:

 Salve a tutti, ho un problema con un applicazione GWT.
 Al momento del deploy su un server con jboss installato i client che
 si collegano dalla rete locale del server vedono l'applicazione non
 aggiornata (o peggio parzialmente aggiornata), al contrario
 collegandomi via ssh vedo tutto aggiornato.

 Pulendo la cache dei loro firefox ritorna tutto alla normalita vedendo
 gli aggiornamenti effettuati.

 GWT non riesce a gestire questo passaggio?

 Grazie in anticipo.

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Eclipse Classic 3.5

2009-05-23 Thread Alex Rudnick

Hey LiR,

The plugin doesn't support Eclipse 3.5 yet. We're aware of the
incompatibility, and it'll be fixed in an upcoming release -- likely
soon before Galileo gets officially released.

Thanks!

On Fri, May 22, 2009 at 11:46 PM, LiR kirill...@gmail.com wrote:

 Eclipse Classic 3.5 is available but google plugin (for 3.4 version)
 doesn`t want to install in new version.


 I have a Install Details message in top of window:

 The operation cannot be completed.  See the details.


 And details block:

 Cannot complete the install because one or more required items could
 not be found.
 Software being installed:
 com.google.gdt.eclipse.suite.e34.feature.feature.group
 1.0.1.v200905131143
 Missing requirement:
 com.google.gdt.eclipse.suite.e34.feature.feature.group
 1.0.1.v200905131143 requires 'org.eclipse.platform.feature.group
 [3.4.0,3.5.0)' but it could not be found

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: i cant run Web Application Project in eclipse

2009-05-20 Thread Alex Rudnick

Hey Taha,

It sounds like the problem is that, while GWT comes with a 32-bit
version of SWT, you're using a 64-bit JVM. If you switch to a 32-bit
JVM, then you'll be set! (and in future versions of GWT, once we have
the OOPHM feature, it won't be an issue)

We should probably document this better for GWT.

Hope this helps!

On Wed, May 20, 2009 at 2:42 PM, taha taha...@gmail.com wrote:

 i want to create an application with gwt+eclipse+googleAppEngine
 i create new project with Web Application Project button in the
 toolbar
 whene i try to run or debug it i recive this messages

 Exception in thread main java.lang.UnsatisfiedLinkError: /media/sdb8/
 Install/gwt-linux-1.6.4/libswt-pi-gtk-3235.so: /media/sdb8/Install/gwt-
 linux-1.6.4/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32
 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1005)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
        at org.eclipse.swt.internal.gtk.OS.clinit(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.clinit(Display.java:126)
        at com.google.gwt.dev.SwtHostedModeBase.clinit
 (SwtHostedModeBase.java:82)
 Could not find the main class: com.google.gwt.dev.HostedMode.  Program
 will exit.
 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Failed to import and run gwtrpc-spring example with Google plugin

2009-05-19 Thread Alex Rudnick

Hey again Hez,

I think you're right -- it turns out that gwtrpc-spring-1.0.jar (if
you downloaded it from the gwtrpc-spring project [0]), is compiled for
Java 1.6.

[0] http://code.google.com/p/gwtrpc-spring/

Thankfully, it's open-source, so you can probably grab their code and
compile it for 1.5, or possibly poke the gwtrpc-spring developers and
get them to make a 1.5-compatible build.

If you take out your dependence on gwtrpc-spring and remove that jar
from your classpath, does it prevent that error?

Thanks!

On Tue, May 19, 2009 at 2:52 AM, hezjing hezj...@gmail.com wrote:
 Hi

 In my current Eclipse, Window-Preferences-Java-Compiler, Compiler
 compliance level is 1.5.

 The problem still exist even after I have uninstall JRE 1.6, restarted
 Eclipse, cleaned and launched the project again.

 I'm just guessing wild here, do you think the libraries below could cause
 the problem?
 antlr-2.7.6.jar
 appengine-api-1.0-sdk-1.2.0.jar
 commons-logging.jar
 datanucleus-appengine-1.0.0.final.jar
 datanucleus-core-1.1.0.jar
 datanucleus-jpa-1.1.0.jar
 geronimo-jpa_3.0_spec-1.1.1.jar
 geronimo-jta_1.1_spec-1.1.1.jar
 gwt-servlet.jar
 gwtrpc-spring-1.0.jar
 jdo2-api-2.3-SNAPSHOT.jar
 spring-aop.jar
 spring-beans.jar
 spring-context.jar
 spring-core.jar
 spring-web.jar


-- 
Alex Rudnick
swe, gwt, atl

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



Re: Ranking problem

2009-05-18 Thread Alex Rudnick

Hello,

It sounds like you're on the wrong group. If I had to guess, it sounds
like you're looking for the Webmaster forum?

http://www.google.com/support/forum/p/Webmasters

Hope this helps!

On Mon, May 18, 2009 at 6:30 AM, Jack dhavalnsut...@gmail.com wrote:

 My keywords r not ranking properly it changes every day and
 some day i cant even find my website even if i search till 7 to 9
 pages... pls help.

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Failed to import and run gwtrpc-spring example with Google plugin

2009-05-18 Thread Alex Rudnick

Hey Hez,

This sounds like the issue might be the compiler compliance settings
in Eclipse (since Eclipse has its own Java compiler built in). See
Rajeev's message over here for a likely solution:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/897957da93884731

Let us know if this doesn't help!

Thanks!

On Sun, May 17, 2009 at 9:36 AM, hezjing hezj...@gmail.com wrote:
 Hi
 The problem still exist after I manually deleted both
 myproject/war/myproject and
 myproject/war/WEB-INF/classes directories.
 I have JDK 1.5 and JRE 1.5 and 1.6 installed on my Windows:
 C:\Program Files\Java\jdk1.5.0_18  (JAVA_HOME)
 C:\Program Files\Java\jre1.5.0_18
 C:\Program Files\Java\jre6


 I'm using JDK 1.5 for development, and jre1.5.0_18 is the only Installed JRE
 configured in Eclipse.
 The JRE 1.6 is merely used for Google Chrome.

 Can I safely tell that all Eclipse, GWT and Jetty are running on Java 1.5?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Eclipse GWT: How to include source from other projects?

2009-05-15 Thread Alex Rudnick

Hey Tim,

There should probably be a FAQ entry about this. It's currently a use
case that the plugin doesn't support very well, but it's on our list
of things for upcoming versions.

There was an earlier thread in which Jason discusses how to deal with
this issue:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9

(this was brought up on a thread yesterday, actually)
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/46cf35719329b30

Hope this helps!

On Fri, May 15, 2009 at 1:51 PM, Tim McCormack ti...@ccs.neu.edu wrote:

 I have a GWT Web Application project (call it Client, package
 com.example.web) in Eclipse that needs to see some Java classes in
 another project (project Common in package com.example.shared). I can
 set the Eclipse project properties to include Common/bin as a class
 folder and link the source folder Common/bin as Client/common-bin,
 and Eclipse doesn't show errors.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: naive 1.6 Web App creator question

2009-05-15 Thread Alex Rudnick

Hey Seven,

The simplest solution is just to rename the generated HTML file to
index.html, if that's a filename that would work better for you.

If you want to get a little fancier (and you're using a servlet
container like Tomcat or App Engine), then you could look into having
a welcome-file-list element in your web.xml. There's an example of
how to do that in the web.xml that gets generated if you make a new
GWT/App Engine project with the Eclipse plugin.

Hope this helps!

On Fri, May 15, 2009 at 4:52 PM, seven.reeds seven.re...@gmail.com wrote:

 Hi,

 I am *just* trying out 1.6.  I have created a couple of test projects
 using the Web App creator thing but i have a question.

 I may have to create a project called Foo but the resulting GWT html
 items should be named .../index...  The web server is configured to
 deal with index.html by default not Foo.html.

 Is there a way to use the app creator to name the resulting files
 index. whatever?

 If not, then what all do I have to change in the default 1.6 project
 dir to enable this?  I know to change the projecyName.java file in
 the src dirs.  I am less sure about entries in the various xml files
 or other configuration settings.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Gooogle plugin generates async interface?

2009-05-14 Thread Alex Rudnick

Hello Hez,

Not yet. But we want to do that relatively soon, so consider that
feature requested :)

On Thu, May 14, 2009 at 11:37 AM, hezjing hezj...@gmail.com wrote:
 Hi
 Can Google plugin auto-generate async interface from a service interface?


 --

 Hez

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Gooogle plugin generates async interface?

2009-05-14 Thread Alex Rudnick

In fact, here's the issue for the feature request!

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

You might like to star this issue, or add your own suggestions there.

Thanks!

On Thu, May 14, 2009 at 2:09 PM, Alex Rudnick a...@google.com wrote:
 Hello Hez,

 Not yet. But we want to do that relatively soon, so consider that
 feature requested :)

 On Thu, May 14, 2009 at 11:37 AM, hezjing hezj...@gmail.com wrote:
 Hi
 Can Google plugin auto-generate async interface from a service interface?


 --

 Hez

 




 --
 Alex Rudnick
 swe, gwt, atl




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Deploy GWTapplication to a remote server with the eclipse-plugin.

2009-05-14 Thread Alex Rudnick

Hey stallie,

The plugin doesn't (yet) have support for automatically deploying to
other servers. That's definitely on our radar, though!

We've got a feature request out for UI to bundle up an application as
a .war file, which you might like to star and/or comment on. If this
isn't enough like the feature you'd like, feel free to open up your
own issue with a feature description.

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

Thanks! :)

On Thu, May 14, 2009 at 3:22 PM, stallie pstael...@gmail.com wrote:

 Dear,

 I'm using the GWT1.6.4 with the GWT1.6 plugin for eclipse to make my
 application. Great tool. My development goes faster (easier) than in
 JSF. Perfect. But I miss a way to deploy my new application to a other
 server (Glassfish). Is this possible (in the near future)?

-- 
Alex Rudnick
swe, gwt, atl

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



Re: No source code is available for type Error on Web Mode Compile

2009-05-14 Thread Alex Rudnick

Hey John,

The plugin doesn't (yet) have good support for the case of GWT
projects depending on other GWT projects, but that's definitely on our
list.

For the current workaround, please see Jason's comments on this thread:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9

Hope this helps! (and let us know if I didn't understand the problem properly)

On Thu, May 14, 2009 at 12:47 PM, John john.set...@gmail.com wrote:

 I am using GWT 1.6 with Eclipse 3.4 and the the Eclipse GWT plug-in.
 My problem is that my application is running correctly in hosted mode,
 but I get an error like the following when I try to compile the
 project into hosted mode with the GWT plug-in(I have not tried the
 command line), [ERROR] Line 26: No source code is available for type
 com.company.ibatis.model.Radio; did you forget to inherit a required
 module?

 I elected to split my application into two Eclipse projects:
    1. A data base project that contains database access code in the
 package com.company.ibatis.*.  There is a module without an entry
 point defined at com.company.ibatis.DbPojo.gwt.xml it includes source
 from the com.company.ibatis.model package.  The model package contains
 all of the POJOs that my GWT RPC passes between the server side and
 the client side.
    2. A web server project that includes my GWT UI and GWT RPC.  It
 has a module with an entry point defined at
 com.company.server.Server.gwt.xml, and all of my client and server
 side code are in com.company.server.client and
 com.company.server.server respectively.

 In summary it appears that the hosted mode server can find my source
 code in the database project when the hosted mode server is launched
 from the server project, but when I try to compile my server project
 into web mode the GWT compiler cannot find the source in the database
 project.

 I have tried modifying my java build path in Eclipse in every way I
 can think of, but I suspect I haven't gotten it right yet.

 Any thoughts?

 Thanks,
 John

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Doubt on downloading compiled javascript

2009-05-07 Thread Alex Rudnick

Hey Fran,

If you're concerned about getting all of the compiled javascript at
once (how big is your compiled output?), there's a feature currently
in the trunk (not released yet as of GWT 1.6, but it's available in
the main development branch) called runAsync which looks like it might
be useful for you. To use it, you'll have to check out the trunk
source and compile it.

The page about runAsync is here on the wiki:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting

Hope this helps!

On Thu, May 7, 2009 at 10:28 AM, Fran elf...@gmail.com wrote:

 Hi! My name is Fran and I have a question regarding GWT. I'm creating
 a big app and my problem is when the app loads it downloads the whole
 javascript project (I have it in separate projects in Eclipse) and I'd
 like to know if there's a way to download only the javascript that I
 need. For example, in my war folder the projects compile in separate
 folders, but, when the page loads it downloads the whole javascript. I
 hope you can understand me and I'll be glad to hear an answer. Regards

 Fran

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Theme Generator - HELP!!

2009-05-07 Thread Alex Rudnick

Hello,

I haven't personally tried this, but it looks like there's a nice
plugin for NetBeans that should help make sure your GWT classpaths get
set up right.
https://gwt4nb.dev.java.net/

Although, if you're not very tied to NetBeans, may we suggest that
there's also a very nice plugin for Eclipse, here :)
http://code.google.com/eclipse

Hope this helps!

On Thu, May 7, 2009 at 3:48 AM, Fanie fan...@bankserv.co.za wrote:

 My inherits doesn't seem to find the theme. I'm using Netbeans 6.5.
 Where exactly do I need to put the jar file and how should I inherit
 it?

 I'm very new at this and was thrown in at the deep end.

 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: DataNucleus Enhancer (version 1.1.0) : Enhancement of classes throws java.lang.UnsupportedClassVersionError: Bad version number in .class file, when creating a new GWT project in Springsource To

2009-05-07 Thread Alex Rudnick

Hello,

That's a really interesting error -- thanks for mailing to let us
know. Like Salvador pointed out, the UnsupportedClassVersionError is
probably indicative of what's going on...

Just to help us diagnose, could you try going through those same steps
with the Eclipse IDE for Java Developers (downloadable over here:
http://www.eclipse.org/downloads/ )? I'm not suggesting this as a
permanent fix, just as another data point for figuring out the
problem.

We can try out the STS distribution over here too.

Thanks!

On Thu, May 7, 2009 at 10:15 AM, werner.liebenb...@gmail.com
werner.liebenb...@gmail.com wrote:

 When I create a new GWT project in STS, I fill out the New Web
 Application Project form as normal, without changing the SDK and app
 engine setting, and click Finish. The project is created, and then I
 see the following error in my eclipse Console:

 DataNucleus Enhancer (version 1.1.0) : Enhancement of classes

 Encountered a problem: Unexpected exception
 Please see the logs [C:\DOCUME~1\Werner\LOCALS~1\Temp
 \enhance36259.log] for further information.

 My eclipse version is the one available as the SpringSource Tool
 Suite, with all the Spring plugins installed. I installed the GWT and
 the GAE plugins by doing a software update from Google. I have
 attached a copy of my eclipse.ini, as well as the my full eclipse
 configuration, below the stack trace. I use JDK 1.5 as my JVM, but
 also tried 1.6.

 I am trying to follow the Google GWT tutorial entitled Step 1:
 Creating a GWT Project, at 
 http://code.google.com/webtoolkit/tutorials/1.6/create.html.
 In response to a FAQ post I saw in these groups, I have unticked the
 Enhancer builder under the Builder properties of my eclipse project. I
 consider this a temporary, unsatisfactory solution, since it does not
 explain the cause of the problem, nor does it provide a permanent
 solution.


 The stack trace in the enhance36259.log file is as follows:

 jjava.lang.RuntimeException: Unexpected exception
        at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:
 59)
        at com.google.appengine.tools.enhancer.Enhance.init(Enhance.java:
 60)
        at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41)
 Caused by: java.lang.reflect.InvocationTargetException
        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.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:
 57)
        ... 2 more
 Caused by: java.lang.UnsupportedClassVersionError: Bad version number
 in .class file


-- 
Alex Rudnick
swe, gwt, atl

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



Re: Doubt on downloading compiled javascript

2009-05-07 Thread Alex Rudnick

I believe that's the plan, yes. It won't be in updates to version 1.6,
but it should be in subsequent releases.

On Thu, May 7, 2009 at 11:42 AM, Fran elf...@gmail.com wrote:

 Is this a feature that will be included in the next versions of GWT ?

 Thanks !

 Fran

Cheers,

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Does the GWT 1.6.4 not support Firefox 3?

2009-05-07 Thread Alex Rudnick

Hey Dahui,

GWT definitely supports Firefox 3, so there's a problem here!

Did you launch your new project with Run As  Web Application?
(Debug As would be fine too). After that, did you hit GWT's
compile button?

It's also possible that IE and Firefox are using different proxy settings?

Hope we can help you figure this out!

On Thu, May 7, 2009 at 5:12 AM, Dahui dhy...@gmail.com wrote:

 I use the eclipse to create a default GAE java project with GWT
 feature. I start the GAE server and the app url can be accessed by IE
 correctly, but failed when I try it in Firefox.

 Is there any way to resolve the problem?

 




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] review request: make Window.Location use decodeComponent instead of decode

2009-05-06 Thread Alex Rudnick
Hey Joel,

Would you take a look at this patch, against the trunk at r5321, which
switches Window.Location's decode methods to use URL.decodeComponent
instead of just URL.decode? It also adds some testing in WindowTest to
make sure the decoding goes as expected.

This should fix issue 2941.

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/test/com/google/gwt/user/client/WindowTest.java
===
--- user/test/com/google/gwt/user/client/WindowTest.java	(revision 5321)
+++ user/test/com/google/gwt/user/client/WindowTest.java	(working copy)
@@ -116,6 +116,11 @@
 assertEquals(map.get(d).get(0), d=d);
 assertEquals(map.get(f).get(0), 2);
 assertEquals(map.get(f).get(1), 1);
+
+// Values escaped with hex codes should work too.
+map = Window.Location.buildListParamMap(
+?foo=bar%20baz%3aqux);
+assertEquals(map.get(foo).get(0), bar baz:qux);
   }
 
   /**
Index: user/src/com/google/gwt/user/client/Window.java
===
--- user/src/com/google/gwt/user/client/Window.java	(revision 5321)
+++ user/src/com/google/gwt/user/client/Window.java	(working copy)
@@ -270,7 +270,7 @@
 values = new ArrayListString();
 out.put(kv[0], values);
   }
-  values.add(kv.length  1 ? URL.decode(kv[1]) : );
+  values.add(kv.length  1 ? URL.decodeComponent(kv[1]) : );
 }
   }
 
@@ -292,7 +292,7 @@
   for (String kvPair : qs.split()) {
 String[] kv = kvPair.split(=, 2);
 if (kv.length  1) {
-  paramMap.put(kv[0], URL.decode(kv[1]));
+  paramMap.put(kv[0], URL.decodeComponent(kv[1]));
 } else {
   paramMap.put(kv[0], );
 }


[gwt-contrib] Re: review request: make Window.Location use decodeComponent instead of decode

2009-05-06 Thread Alex Rudnick

Great! Committed r5322.

On Wed, May 6, 2009 at 5:32 PM, Joel Webber j...@google.com wrote:
 LGTM, thanks.

 On Wed, May 6, 2009 at 4:24 PM, Alex Rudnick a...@google.com wrote:

 Hey Joel,

 Would you take a look at this patch, against the trunk at r5321, which
 switches Window.Location's decode methods to use URL.decodeComponent
 instead of just URL.decode? It also adds some testing in WindowTest to
 make sure the decoding goes as expected.

 This should fix issue 2941.

 Thanks!

 --
 Alex Rudnick
 swe, gwt, atl





-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Add name to Anchor tag using GWT Anchor widget

2009-05-05 Thread Alex Rudnick

If I understand correctly, you're checking for changes to the DOM when
you view the source of your page? When you change the DOM with GWT (or
javascript in general), the source of the page doesn't change. I think
a better approach would be to write some code to ask the element what
its name is, at runtime.

On Tue, May 5, 2009 at 10:31 AM, Iyer aruniye...@gmail.com wrote:

 I tried doing Anchor.setName(abc) and we are using IE 6 . On render,
 when we see the source, inside the a , name is not gettign set. Is
 it a bug?


-- 
Alex Rudnick
swe, gwt, atl

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



Re: war folder name in version 1.6.4 configurable?

2009-04-30 Thread Alex Rudnick

Hello,

The plugin doesn't (yet) support changing the name of the war folder
-- we're planning on supporting that in an upcoming release. So
hopefully we'll have your use case covered pretty soon!

Thanks!

On Wed, Apr 29, 2009 at 11:46 PM, Robin chwa...@gmail.com wrote:

 I am currently trying the new 1.6.4 version of GWT. it's good to have
 the new structure similar to the the one used in eclipse web project.

 The existing eclipse web project allows to change the name of the
 WebContent folder (equivalent to the war folder in google web app
 project).  However, it seems I can not change the name of war folder
 to other names in google web app project. If i change the default
 name, it gives me the error The web.xml file does not exist as a
 Google Web App Problem.

 Does anyone know if the name is configurable and how? Thanks

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Compile Project problem in Eclipse

2009-04-30 Thread Alex Rudnick

Hey Guidobot,

Are you hitting the red toolbox button to do the compile? I don't
think that button is supposed to pop up a web browser. (you could do a
compile to js without having the server running, for example).

Let us know if that doesn't answer your question!

Thanks,

On Wed, Apr 29, 2009 at 9:27 PM, Guidobot guido...@gmail.com wrote:

 Has anyone else had this problem?

 I compile a project from Eclipse, which works, but a browser does not
 show pop-up (running the JS).

 Oddly, all works fine if I Compile/Browse from the GWT host. On the
 otherhand, 'ant build' has a similar problem (it compiles but does not
 launch a browser).

 Feels like I'm missing some setting somewhere? Perhaps Vista related?

 Any sugestions would be much appreciated.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT with eclipse and java1.6 crashes after running.

2009-04-30 Thread Alex Rudnick

Hey Phani,

Just a few clarifying questions -- is the window that pops up a web
browser? And it's that window that popped up that blacks out? Does it
actually turn black? (Also, which OS are you running?)

As far as we know, there's nothing catastrophically wrong with the
built-in server :)

Thanks! We want to help figure this out!

On Thu, Apr 30, 2009 at 12:05 AM, phanidee phani...@gmail.com wrote:

 hi,
   i just installed Eclipse ganymede 3.4.2 and GWT 1.6.4 eclipse
 plugin and eclipse uses
 java-6-sun. I dont know why but when i hit green button to run a
 window opens up and after
 some time, it blacks out and nothing happens. I tried removing the
 Built-in server check mark
 in run configuration then the gwt browser comes up error message that
 cannot connect to
 localhost:8080. is it any problem with built-in server or should i
 revert back to java 1.5 for
 the gwt to run?

 Please help.

 -
 Phani.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: How to use the new WAR file to deploy a simple web application.

2009-04-30 Thread Alex Rudnick

We've got a feature request for the plugin for adding support for
exporting to a .war file and handling .ears.

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

So if this would be a helpful feature for you, you might like to make
comments on that feature request or star the issue.

Thanks!

On Thu, Apr 30, 2009 at 12:57 PM, Danny dhho...@gmail.com wrote:

 Thanks everyone.  I now see that this is a web feature.  When I saw
 the new GWT 1.6 war file construction and eclipse plugin, I thought my
 deployment life was getting rosier.  Maybe later.

 When I have gotten my project deployment where I want it, I will post
 my resultd.

 Regards,

 Danny

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GregorianCalendar in GWT 1.6

2009-04-30 Thread Alex Rudnick

Hey Joseph,

It looks like GWT doesn't come with an implementation of
GregorianCalendar, which would explain the error.

Here's the doc for which JRE classes that GWT emulates.
http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

Hope this helps!

On Fri, May 1, 2009 at 12:05 AM, Joseph M duocentill...@gmail.com wrote:

 I got an error in the shell:

 [ERROR] Line 8: No source code is available for type
 java.util.GregorianCalendar; did you forget to inherit a required
 module?

 What is the deal? Does GregorianCalendar now not work in 1.6???

-- 
Alex Rudnick
swe, gwt, atl

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



Re: Is there a Powered by Google Web Toolkit icon available anywhere

2009-04-29 Thread Alex Rudnick

That's a good idea! I'll ask, but I don't think we have such a thing
for GWT yet.

Thanks!

On Wed, Apr 29, 2009 at 11:42 AM, Alfred Schilken alf...@schilken.de wrote:

 In the download area of Google App Engine there are some buttons with
 Powered by Google App Engine for free use. (
 http://code.google.com/intl/de-DE/appengine/downloads.html )

 Is there anything similar for the web toolkit? I can't find it?

 Regards
 Alfred


-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT 1.6.4 on Linux amd64 architecture fails

2009-04-27 Thread Alex Rudnick

Hey marco,

I've seen that same message -- it seems to coincide with upgrading to
Ubuntu 9.04. Which distribution are you using?

If it's causing any particular problems, please let us know!

Thanks!

On Mon, Apr 27, 2009 at 1:51 PM, marco m.massen...@googlemail.com wrote:

 This seems a similar issue as with GWT 1.5.3, in that both seem to
 require a 32bit JVM to run properly.
 I have applied the same workaround (downloaded and installed a 32bit
 JRE 1.6.0) and used it in the Eclipse project as well as in the Run
 Configuration.

 This seems to be doing the trick (I can get the sample app up and
 running) but I still do get the following error messages:

 Gtk-Message: Failed to load module canberra-gtk-module: /usr/lib/
 gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
 /usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class:
 ELFCLASS64
 Failed to load module: /usr/lib/gio/modules/libgioremote-volume-
 monitor.so
 /usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
 Failed to load module: /usr/lib/gio/modules/libgiogconf.so
 /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
 Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

 So I am just wondering whether there is more than ought to be done,
 and/or I'm missing something.
 Thanks.

-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT Hyperlink

2009-04-27 Thread Alex Rudnick

It sounds like you could use an Anchor widget here. Of course, regular
HTML tags should work fine too.

http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/Anchor.html

Hope this helps!

On Mon, Apr 27, 2009 at 5:30 PM, Ice13ill andrei.fifi...@gmail.com wrote:

 Hi, I'm trying to build an application containing sub-applications;
 each sub-app is opened by clicking on a Hyperlink widget.
 Problem: when hovering above one of the hyperlinks, the browser
 displays http://site.com/currentapp/# (because the Hyperlink is
 constructed using  arguments and thus, i use Window.open(...) to
 open the needed sub-application)
 Can make the Hyperlink to display the URL of the sub-application i
 want to open ? (ex: current application is http://site.com/currentapp
 and i want to open http://site.com/2ndapp). Or do i have to use/can i
 use a href=...  .../a tags ?
 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: How to program to set token into url without using HyperLink.

2009-04-23 Thread Alex Rudnick

Hey Henry,

Sounds like you want to take a look at the History class:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/History.html

In the handler for the button, you could call History.newItem().

On Thu, Apr 23, 2009 at 11:11 AM, Henry henry...@gmail.com wrote:

 Hi All,

 I am asking a very simple question.

 As you know, when we click on Hyperlink h1 =new Hyperlink(h1,tk1);
 then the URL will auto put tk1 into the URL (ex: url.com#tk1).

 Can we do the same thing for Button, for example, when user clicks a
 button, the it will automatically append  tk1 into the URL
 (url.com#tk1), like when users click on Hyperlink?

 Henry
 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: Minor documentation error

2009-04-22 Thread Alex Rudnick

Thanks for the heads up!

Duly noted :)

On Tue, Apr 21, 2009 at 11:15 PM, k9mab mab.m...@gmail.com wrote:

 Found a small documentation error, not sure how to report it. Would
 someone be good enough to pass this on via the proper channels?

 http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html

 First example in Events and Handlers section has the wrong signature
 for onClick(). Should be ClickEvent event instead of Widget sender.

 Thanks.


-- 
Alex Rudnick
swe, gwt, atl

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



Re: GWT on FreeBSD

2009-04-21 Thread Alex Rudnick

I don't have a FreeBSD box handy, but this seems like it'd be
workable. Good call about replacing the SWT binaries with your native
ones. Would it help, do you think, to compile GWT from source?

If you get this working, it would be cool to hear how you did it!

On Tue, Apr 21, 2009 at 7:47 AM, Rabbit antonin.bo...@gmail.com wrote:

 Switching to -client mode fix the build process.

 Hosted mode still not working


-- 
Alex Rudnick
swe, gwt, atl

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



Re: I installed the GEP and now...

2009-04-19 Thread Alex Rudnick
-1.6.1.0/src/com/roughian/rxframework/client/RXF.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePageCallback.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePageRequest.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePageCallback.java
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemoteRequest.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/WebSite.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/WithClass2.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/WithClass.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/Menu1.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/RemotePage.java
             [WARN] Compilation unit
 'file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/Main.java'
 is removed due to invalid reference(s):
                [WARN]
 file:/D:/work/gwt/workspace/Projects/RXFramework-1.6.1.0/src/com/roughian/rxframework/client/demo/WebSite.java
    Computing all possible rebind results for
 'com.roughian.rxframework.client.demo.Main'
       Rebinding com.roughian.rxframework.client.demo.Main
          Checking rule generate-with
 class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/
             [ERROR] Unable to find type
 'com.roughian.rxframework.client.demo.Main'
                [ERROR] Hint: Previous compiler errors may have made this
 type unavailable
                [ERROR] Hint: Check the inheritance chain from your module;
 it may not be inheriting a required module or a module may not be adding its
 source path entries properly


-- 
Alex Rudnick
swe, gwt, atl

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



Re: SuggestBox addFocusHandler :? (GWT 1.6)

2009-04-17 Thread Alex Rudnick

Thanks for the heads up!

Looks like we just forgot to add that. Putting it in the issue tracker...

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

On Fri, Apr 17, 2009 at 1:33 PM, darkflame darkfl...@gmail.com wrote:

 I'm updateing my code for 1.6,but having trouble changing my

 SuggestBox.addFocusListener to a handeler :?

 It tells me to use addFocusHandler etc...only it isnt defined for
 suggestBox.

 So what do I do :?

 I converted most of my other stuff just fine, so I'm not sure whats
 special about this widget type. Are the instructions wrong for this
 one :?
 




-- 
Alex Rudnick
swe, gwt, atl

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



Re: I installed the GEP and now...

2009-04-17 Thread Alex Rudnick

Hey Ian,

If the plugin knows that you want to use GWT with your project, and
you installed the bundled GWT SDK, then you can take the other GWT
jars off your build path. Let us know if that fixes your problem?

On Fri, Apr 17, 2009 at 8:20 PM, Ian Bambury ianbamb...@gmail.com wrote:
 ...I get warnings like:
 The following classpath entry 'D:\sys\gwt-windows-1.6.2\gwt-dev-windows.jar'
 will not be available on the server's classpath Kivivi-1.6.1.02 Unknown
 Google Web App Problem
 Any idea how to get rid of them?
 I also get
 [ERROR] Errors in
 'jar:file:/D:/sys/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.win32_1.6.4.v200904062334/gwt-windows-1.6.4/gwt-user.jar!/com/google/gwt/user/client/rpc/impl/FailedRequest.java'
 [ERROR] Line 25: The constructor Request() is undefined
 and other errors in hosted mode
 And it was all working fine before.
 :-(
 Ian

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Fwd: DateTimeFormat parsing patch

2009-04-17 Thread Alex Rudnick

LGTM.

Thanks, Shanjian! Committed to the trunk at r5257.

On Fri, Apr 17, 2009 at 2:19 PM, Shanjian Li shanjia...@gmail.com wrote:

 This is a complete patch to address a bug in DateTimeFormat parsing code.
 Zero should be treated as invalid input for month and day-of-month value.


 shanjian


 




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Google Plugin for Eclipse

2009-04-16 Thread Alex Rudnick

Gary,

Here is fine (alternatively, on the Google-Web-Toolkit group). What
issues and questions have you got?

On Thu, Apr 16, 2009 at 8:20 PM, Gary Miller miller.ga...@gmail.com wrote:

 Where is the correct place to post issues and questions for Google
 Plugin for Eclipse?



-- 
Alex Rudnick
swe, gwt, atl

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



Re: Announcing GWT 1.6 Release Candidate

2009-03-24 Thread Alex Rudnick

Hey Christos,

We tried to reproduce this error on Eclipse 3.3/Windows and 3.4/Linux,
but it didn't repro for us. It's a weird error, though -- Eclipse
projects shouldn't have to live in a directory with the same name as
the project!

Which platform are you on, and which Eclipse distribution are you
using? Do you get the same problem with a fresh Eclipse install?

Thanks!

On Mar 23, 4:19 pm, cvasilak cvasi...@gmail.com wrote:
 Hi there,

 downloaded RC but I have a problem getting it to work. Specifically If
 I do:

 $ mkdir MyProject
 $ cd MyProject
 $ webAppCreator org.tests.client.MyApp

 If I try now to import the project into eclipse(3.4.2), right-click
 Debug as-Debug Configurations-Java Application-MyApp, eclipse
 gives me the error Project MyApp does not exist. if I click Browse
 and select the correct project name(MyProject) eclipse gives me:

 The archive: /MyApp/src which is referenced by the classpath, does
 not exist.

 Only if the top-level directory is the same as the main class eg.
 MyProject-MyApp only then the debug works as expected. (Or if you
 modify MyApp.lauch and replace all the references of MyApp to
 MyProject)

 Let me know if you need more information.

 Regards,
 Christos

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



[gwt-contrib] review request: add a doctype to generated web.xml

2009-02-24 Thread Alex Rudnick
Hey Scott :)

I'd like to add a doctype to our generated web.xml files. The right
way to do it is changing web.xmlsrc, right?

Here's a patch, relative to the release branch at r4849. Would you take a look?

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/tools/web.xmlsrc
===
--- user/src/com/google/gwt/user/tools/web.xmlsrc	(revision 4849)
+++ user/src/com/google/gwt/user/tools/web.xmlsrc	(working copy)
@@ -1,4 +1,8 @@
 ?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
 
   !-- Default page to serve --


[gwt-contrib] Re: review request: add a doctype to generated web.xml

2009-02-24 Thread Alex Rudnick

Alright! :) No need to hold up the milestone, yes.

Committed r4850.

On Tue, Feb 24, 2009 at 1:01 PM, Bruce Johnson br...@google.com wrote:
 This needs to be post-1.6 M2.

 On Tue, Feb 24, 2009 at 12:34 PM, Scott Blum sco...@google.com wrote:

 LGTM, but I'm punting this over to Bruce as far as timing for getting this
 in.

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: checkstyle review request: update checkstyle copyright notices

2009-01-06 Thread Alex Rudnick

Thanks! :)

Committed r4380.

On Tue, Jan 6, 2009 at 1:32 PM, John Tamplin j...@google.com wrote:
 On Tue, Jan 6, 2009 at 11:43 AM, Alex Rudnick a...@google.com wrote:

 You apparently did this last year. Would you review this patch to
 allow 2009 as a valid year for checkstyle?

 LGTM, thanks.


 (this should go into the 1.6 branch first, then into trunk at the next
 merge, yes?)

 Yes.

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

 




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: RR, code review request: merge HyperlinkOverride into Hyperlink widget

2008-12-02 Thread Alex Rudnick

Fantastic, thanks! :) Tweaked to do initialization on the declaration
lines for those static variables.

Committed r4225.

On Tue, Dec 2, 2008 at 12:50 PM,  [EMAIL PROTECTED] wrote:
 Reviewers: rjrjr,

 Message:
 This looks great to me, Alex. And I think you're doing as right a thing
 as you can WRT Chrome. Just a couple of nits noted below.


 http://codereview.appspot.com/8696/diff/1/4
 File user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplIE.java
 (right):

 http://codereview.appspot.com/8696/diff/1/4#newcode31
 Line 31: ctrlisModifier = (getInternetExplorerVersion() = 7);
 Why the static block? Seems like you can just do this inline.

 http://codereview.appspot.com/8696/diff/1/5
 File
 user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplSafari.java
 (right):

 http://codereview.appspot.com/8696/diff/1/5#newcode31
 Line 31: shiftIsModifier = onChrome();
 again, don't see the need for the block.

 Description:
 Hello Ray :)

 Would you take a look at this patch for the Hyperlink widget? It takes
 the behavior from incubator's HyperlinkOverride widget and moves it
 into the core Hyperlink.

 This means that on a click event with a modifier key (with specific
 keys counting, per-browser), we let the default browser action happen,
 usually something like opening that link in a new tab.

 I have a small doubt about this patch with regard to Chrome, but
 please let me know what you think -- as far as I can tell, Chrome
 doesn't do an open in new tab when you ctrl-click on a link to a URL
 fragment (for example, our history tokens) -- but on the assumption
 that this may change soon, this patch tries to do the behavior that
 Chrome does for regular links, which is just like Firefox.

 Patch is intended for the 1.6 release branch, r4214.

 Thanks!

 --
 Alex Rudnick
 swe, gwt, atl


 Please review this at http://codereview.appspot.com/8696

 Affected files:
  user/src/com/google/gwt/user/Hyperlink.gwt.xml
  user/src/com/google/gwt/user/User.gwt.xml
  user/src/com/google/gwt/user/client/ui/Hyperlink.java
  user/src/com/google/gwt/user/client/ui/impl/HyperlinkImpl.java
  user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplIE.java
  user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplOpera.java
  user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplSafari.java






-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Update datetime symbols

2008-12-01 Thread Alex Rudnick

OK. Let's get this in 1.6, then.

Can we talk about getting the scripts open-sourced? They could be
really helpful for other (external) projects. Shanjian, would that be
interesting to you?

On Mon, Dec 1, 2008 at 12:07 PM, Shanjian Li [EMAIL PROTECTED] wrote:
 The scripts exist in //google3/i18n/tools. I am using the same scripts to
 generate constants for Closure, GAE and possibly other apps. I am not sure
 if we should mention it.

 shanjian

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] RR, code review request: merge HyperlinkOverride into Hyperlink widget

2008-12-01 Thread Alex Rudnick
Hello Ray :)

Would you take a look at this patch for the Hyperlink widget? It takes
the behavior from incubator's HyperlinkOverride widget and moves it
into the core Hyperlink.

This means that on a click event with a modifier key (with specific
keys counting, per-browser), we let the default browser action happen,
usually something like opening that link in a new tab.

I have a small doubt about this patch with regard to Chrome, but
please let me know what you think -- as far as I can tell, Chrome
doesn't do an open in new tab when you ctrl-click on a link to a URL
fragment (for example, our history tokens) -- but on the assumption
that this may change soon, this patch tries to do the behavior that
Chrome does for regular links, which is just like Firefox.

Patch is intended for the 1.6 release branch, r4214.

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/Hyperlink.gwt.xml
===
--- user/src/com/google/gwt/user/Hyperlink.gwt.xml	(revision 0)
+++ user/src/com/google/gwt/user/Hyperlink.gwt.xml	(revision 0)
@@ -0,0 +1,19 @@
+module
+  inherits name=com.google.gwt.core.Core/
+  inherits name=com.google.gwt.user.UserAgent/
+
+  replace-with class=com.google.gwt.user.client.ui.impl.HyperlinkImplOpera
+when-type-is class=com.google.gwt.user.client.ui.impl.HyperlinkImpl/
+when-property-is name=user.agent value=opera/
+  /replace-with
+
+  replace-with class=com.google.gwt.user.client.ui.impl.HyperlinkImplSafari
+when-type-is class=com.google.gwt.user.client.ui.impl.HyperlinkImpl/
+when-property-is name=user.agent value=safari/
+  /replace-with
+
+  replace-with class=com.google.gwt.user.client.ui.impl.HyperlinkImplIE
+when-type-is class=com.google.gwt.user.client.ui.impl.HyperlinkImpl/
+when-property-is name=user.agent value=ie6/
+  /replace-with
+/module
Index: user/src/com/google/gwt/user/User.gwt.xml
===
--- user/src/com/google/gwt/user/User.gwt.xml	(revision 4214)
+++ user/src/com/google/gwt/user/User.gwt.xml	(working copy)
@@ -39,6 +39,7 @@
inherits name=com.google.gwt.user.CaptionPanel /
inherits name=com.google.gwt.user.Window /
inherits name=com.google.gwt.user.Tree/
+   inherits name=com.google.gwt.user.Hyperlink/
 
 super-source path=translatable/
 source path=client/
Index: user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplIE.java
===
--- user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplIE.java	(revision 0)
+++ user/src/com/google/gwt/user/client/ui/impl/HyperlinkImplIE.java	(revision 0)
@@ -0,0 +1,69 @@
+/*
+ * Copyright 2008 Google Inc.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.google.gwt.user.client.ui.impl;
+
+import com.google.gwt.user.client.Event;
+
+/**
+ * IE version of HyperlinkImpl. IE6 and IE7 actually have different
+ * behavior; both have special behavior for shift-click, but IE7 also opens
+ * in a new tab on ctrl-click. IE6 treats ctrl-click as a standard click.
+ */
+public class HyperlinkImplIE extends HyperlinkImpl {
+  
+  private static boolean ctrlisModifier;
+
+  static {
+ctrlisModifier = (getInternetExplorerVersion() = 7);
+  }
+
+  /**
+   * Returns the version of Internet Explorer or a -1, (indicating the use of
+   * another browser). Based on code from MSDN.
+   * http://msdn2.microsoft.com/en-us/library/ms537509.aspx
+   */
+  private static native int getInternetExplorerVersion() /*-{
+var rv = -1; // Assume that we're not IE.
+   
+if (navigator.appName == 'Microsoft Internet Explorer') {
+  var ua = navigator.userAgent;
+  var re  = new RegExp(MSIE ([0-9]{1,}[\.0-9]{0,}));
+  if (re.exec(ua) != null)
+rv = parseFloat( RegExp.$1 );
+}
+
+return rv;
+  }-*/;
+  
+  @Override
+  public boolean handleAsClick(Event event) {
+int mouseButtons = event.getButton();
+boolean ctrl = event.getCtrlKey();
+boolean shift = event.getShiftKey();
+boolean middle = mouseButtons == Event.BUTTON_MIDDLE;
+boolean right = mouseButtons == Event.BUTTON_RIGHT;
+boolean modifiers;
+
+if (ctrlisModifier) {
+  modifiers = shift

[gwt-contrib] Re: review request: Fix up the javadoc and throws declarations for Event

2008-11-25 Thread Alex Rudnick

Great, thanks :)

Committed r4187.

On Tue, Nov 25, 2008 at 10:51 AM, John LaBanca [EMAIL PROTECTED] wrote:
 LGTM
 Thanks,
 John LaBanca
 [EMAIL PROTECTED]


-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Update datetime symbols

2008-11-25 Thread Alex Rudnick

[+gwtcontrib]

Hey Shanjian,

How important would you say these updates are? Is it pretty urgent,
where you'd like to see it go into the next GWT release? Could putting
in the new constants possibly break anybody? At the very least, all
the keys are the same in the new version, yes?

Thanks!

On Tue, Nov 25, 2008 at 1:06 PM, Shanjian Li [EMAIL PROTECTED] wrote:
 Alex,

 This is mostly a routine update of date/time constants because CLDR was
 updated recently. It also includes a unit test change to deal with symbol
 change. A bug was found in earlier symbol generation code, which lead to
 some incorrect data in existing symbols.

 thanks

 shanjian


-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] review request: Fix up the javadoc and throws declarations for Event

2008-11-24 Thread Alex Rudnick
Hey John :)

Would you take a look at this patch for the 1.6 branch, r4184? It
removes all the throws declarations from the Event.get* methods,
both in the method signatures and the javadoc, because we don't
actually do those assertions anymore.

M  user/src/com/google/gwt/user/client/Event.java

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/client/Event.java
===
--- user/src/com/google/gwt/user/client/Event.java	(revision 4184)
+++ user/src/com/google/gwt/user/client/Event.java	(working copy)
@@ -283,12 +283,8 @@
* Gets whether the ALT key was depressed when the given event occurred.
* 
* @return codetrue/code if ALT was depressed when the event occurred
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#MOUSEEVENTS}, [EMAIL PROTECTED] Event#ONCLICK},
-   *   [EMAIL PROTECTED] Event#ONDBLCLICK}, [EMAIL PROTECTED] Event#KEYEVENTS}, or
-   *   [EMAIL PROTECTED] Event#ONCONTEXTMENU}
*/
-  public final boolean getAltKey() throws AssertionError {
+  public final boolean getAltKey() {
 return DOM.eventGetAltKey(this);
   }
 
@@ -297,10 +293,8 @@
* 
* @return a bit-field, defined by [EMAIL PROTECTED] Event#BUTTON_LEFT},
* [EMAIL PROTECTED] Event#BUTTON_MIDDLE}, and [EMAIL PROTECTED] Event#BUTTON_RIGHT}
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#ONMOUSEDOWN} or [EMAIL PROTECTED] Event#ONMOUSEUP}
*/
-  public final int getButton() throws AssertionError {
+  public final int getButton() {
 return DOM.eventGetButton(this);
   }
 
@@ -308,12 +302,8 @@
* Gets the mouse x-position within the browser window's client area.
* 
* @return the mouse x-position
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#MOUSEEVENTS}, [EMAIL PROTECTED] Event#ONCLICK},
-   *   [EMAIL PROTECTED] Event#ONDBLCLICK}, [EMAIL PROTECTED] Event#ONMOUSEWHEEL}, or
-   *   [EMAIL PROTECTED] Event#ONCONTEXTMENU}
*/
-  public final int getClientX() throws AssertionError {
+  public final int getClientX() {
 return DOM.eventGetClientX(this);
   }
 
@@ -321,12 +311,8 @@
* Gets the mouse y-position within the browser window's client area.
* 
* @return the mouse y-position
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#MOUSEEVENTS}, [EMAIL PROTECTED] Event#ONCLICK},
-   *   [EMAIL PROTECTED] Event#ONDBLCLICK}, [EMAIL PROTECTED] Event#ONMOUSEWHEEL}, or
-   *   [EMAIL PROTECTED] Event#ONCONTEXTMENU}
*/
-  public final int getClientY() throws AssertionError {
+  public final int getClientY() {
 return DOM.eventGetClientY(this);
   }
 
@@ -334,12 +320,8 @@
* Gets whether the CTRL key was depressed when the given event occurred.
* 
* @return codetrue/code if CTRL was depressed when the event occurred
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#MOUSEEVENTS}, [EMAIL PROTECTED] Event#ONCLICK},
-   *   [EMAIL PROTECTED] Event#ONDBLCLICK}, [EMAIL PROTECTED] Event#KEYEVENTS}, or
-   *   [EMAIL PROTECTED] Event#ONCONTEXTMENU}
*/
-  public final boolean getCtrlKey() throws AssertionError {
+  public final boolean getCtrlKey() {
 return DOM.eventGetCtrlKey(this);
   }
 
@@ -358,10 +340,8 @@
* [EMAIL PROTECTED] Event#ONMOUSEOVER}).
* 
* @return the element from which the mouse pointer was moved
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#ONMOUSEOVER} or [EMAIL PROTECTED] Event#ONMOUSEOUT}
*/
-  public final Element getFromElement() throws AssertionError {
+  public final Element getFromElement() {
 return DOM.eventGetFromElement(this);
   }
 
@@ -375,10 +355,9 @@
* /p
* 
* @return the Unicode character or key code.
-   * @throws AssertionError if event type is not one of [EMAIL PROTECTED] Event#KEYEVENTS}
* @see com.google.gwt.user.client.ui.KeyboardListener
*/
-  public final int getKeyCode() throws AssertionError {
+  public final int getKeyCode() {
 return DOM.eventGetKeyCode(this);
   }
 
@@ -386,12 +365,8 @@
* Gets whether the META key was depressed when the given event occurred.
* 
* @return codetrue/code if META was depressed when the event occurred
-   * @throws AssertionError if event type is not one of
-   *   [EMAIL PROTECTED] Event#MOUSEEVENTS}, [EMAIL PROTECTED] Event#ONCLICK},
-   *   [EMAIL PROTECTED] Event#ONDBLCLICK}, [EMAIL PROTECTED] Event#KEYEVENTS}, or
-   *   [EMAIL PROTECTED] Event#ONCONTEXTMENU}
*/
-  public final boolean

[gwt-contrib] Re: Add one DateTimeFormat unit test, more extensive coverage on time zone support

2008-11-21 Thread Alex Rudnick

Hey Shanjian :)

The patch mostly looks good, but running it, I got a failure in
test_predefinedFormat. This smells like a test that might only pass if
you're on the west coast; the result was off by three hours.

(here's the trace)
junit.framework.AssertionFailedError:  expected=1:49:24 PM
America/Los_Angeles actual=10:49:24 AM America/Los_Angeles
at junit.framework.Assert.fail(Assert.java:181)
at junit.framework.Assert.assertEquals(Assert.java:107)
at junit.framework.Assert.assertEquals(Assert.java:51)
at 
com.google.gwt.i18n.client.DateTimeFormat_en_Test.test_predefinedFormat(DateTimeFormat_en_Test.java:79)
...

Could you take a look at that?

Thanks!

On Wed, Nov 19, 2008 at 5:58 PM, Shanjian Li [EMAIL PROTECTED] wrote:
 This patch added a unit test for DateTimeFormat class. I want to use
 this unit test to give some example about how to use time zone support
 in DateTimeFormat. It will also be valuable for further time zone
 enhancement.

 shanjian

 




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: why are Hyperlinks divs?

2008-10-30 Thread Alex Rudnick

I've had to use that same workaround -- I'll put this one on my list.

Also, I'd like to look at folding HyperlinkOverride behavior
(cmd-click and friends do the default browser thing, like opening a
tab) into Hyperlink. Perhaps that could be a constructor argument too?

On Wed, Oct 29, 2008 at 6:24 PM, Ray Ryan [EMAIL PROTECTED] wrote:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=3056

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: why are Hyperlinks divs?

2008-10-30 Thread Alex Rudnick

On Thu, Oct 30, 2008 at 11:35 AM, Ray Ryan [EMAIL PROTECTED] wrote:
 Maybe, we can hash that out when the time comes. Is there an issue on that
 one? If not, can you write it up for milestone_1_6_RC?

Sounds like a plan! Entered issue 3061.

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

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Code Review: gwt-google-apis gears WorkerPoolDemo UI cleanups

2008-10-17 Thread Alex Rudnick

LGTM.

(also: that's a pretty cool demo!)

On Fri, Oct 17, 2008 at 1:45 PM, Eric Ayers [EMAIL PROTECTED] wrote:
 This patch cleans up the UI a bit for the worker pool demo.

 I struggled a but getting the animation to look roughly centered in the
 vertical panel - in the end I punted and used an AbsolutePanel.

 M
 samples/workerpool/src/com/google/gwt/gears/sample/workerpool/client/WorkerPoolDemo.java
 M
 samples/workerpool/src/com/google/gwt/gears/sample/workerpool/client/AnimationToy.java
 --
 Eric Z. Ayers - GWT Team - Atlanta, GA USA
 http://code.google.com/webtoolkit/




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: RR 1.6: Snip a couple of redundant HasText declarations

2008-10-15 Thread Alex Rudnick

LGTM!

(although your formatting seems to have taken out a bunch of spaces
inside comments, probably don't need to commit those...)

On Wed, Oct 15, 2008 at 3:42 PM, Ray Ryan [EMAIL PROTECTED] wrote:
 Hey, Alex.
 This patch cleans up a couple of spots where we were unnecessarily declaring
 extends HasHTML, HasText (silly, since HasHTML itself extends HasText). It's
 intended for the 1.6 branch.
 M  src/com/google/gwt/user/client/ui/DialogBox.java
 M  src/com/google/gwt/user/client/ui/Anchor.java
 M  src/com/google/gwt/user/client/ui/CustomButton.java
 rjrjr




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: [gwt-team] Release Notes for review

2008-10-14 Thread Alex Rudnick

We'd gotten a report that for some IEs, when you instantiate the XHR
with new ActiveXObject(Microsoft.XMLHTTP), if you try to do a GET
with that object, it does a POST. This patch fixed that problem by
using a different string (or just the native XMLlHttpRequest object).
I was able to reproduce it for a while, but the underlying bug also
seems to have been fixed by an update on my Windows install.

This was a problem with anything that involved HTTPRequest, not just rpc.

On Tue, Oct 14, 2008 at 10:19 AM, John LaBanca [EMAIL PROTECTED] wrote:
 Rajeev / Alex -

 Can you summarize what the problem with RequestBuilder and RPC?  I don't see
 an issue associated with the fix, and it would be good to use something more
 descriptive than it was broke.

 Here is the commit log:

 For IE7, we should be instantiating an XHR with the native XMLHttpRequest
 object. On IE6, try specifying which version you want first, then falling
 back
 to Microsoft.XMLHTTP. This seems to work around the do a POST when you
 asked
 for a GET bug on some IE6 installs.

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: code review requested for 1.5, issues 2836, 2894, 2911 - various I18NSync issues

2008-10-14 Thread Alex Rudnick

Alright, taking a look!

The code looks good (one typographical nit), but I'm pretty sure you
should change the comments in the tests that reference local files on
your machine. Also, all the test files should have copyright notices
(don't they?), but it looks like you took some of them out.

Let me know if I'm confused about the copyright notices.

Particular notes:
user/src/com/google/gwt/i18n/rebind/AbstractLocalizableInterfaceCreator.java
89: Probably don't need a dash in hexa-decimal.

user/test/com/google/gwt/i18n/client/gen/Colors.java
Why no copyright/license notice at the top?

Also, most people don't have a /usr/local/google/home/jat directory handy.

user/test/com/google/gwt/i18n/client/gen/TestMessages.java:
Again, took out the copyright notice?

user/test/com/google/gwt/i18n/client/gen/SingleMessages.java:
No copyright notice, reference to /usr/local/google/home/jat

user/test/com/google/gwt/i18n/client/gen/TestMessagesQuoting.java:
Reference to /usr/local/google/home/jat

user/test/com/google/gwt/i18n/client/gen/TestBadKeys.java:
user/test/com/google/gwt/i18n/client/gen/TestConstantsQuoting.java:
user/test/com/google/gwt/i18n/client/gen/Shapes.java:
user/test/com/google/gwt/i18n/client/gen/SingleConstant.java:

No copyright notice, reference to /usr/local/google/home/jat

On Tue, Oct 14, 2008 at 2:05 PM, John Tamplin [EMAIL PROTECTED] wrote:
 Please review this change for 1.5.3 which fixes a number of small issues.
 The patch is larger than you might expect because it includes parts copied
 from elsewhere (and then simplified) for choosing what characters to quote
 and how to quote them, but at this point I felt it was safer to copy them
 than to try and refactor the code to make it usable here.  Tests were
 corrected (previously the output could be nondeterministic in the case of
 duplicated keys in the properties file, now it is deterministic which
 required some changes to tests which only happened to work before) and new
 tests added.  The last part of the bulk is the updating the generated files
 to match the output of I18NSync.

 Toby, I would like you to look at the ClassLoader changes to I18NSync.java
 -- you can ignore the rest if you like.

 This was tested by running I18NSyncTest_ (which is not included in our test
 suite) and then running I18NSuite which runs all the tests using the
 generated code.

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


-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Code Review: gwt-google-apis gears Add support for message types other than String()

2008-10-14 Thread Alex Rudnick

Hey Eric :) I'll take this one.

LGTM, save the (formatting) comments below and a question about documentation.

gears/test/com/google/gwt/gears/client/workerpool/WorkerPoolTest.java:
388: Should probably take out the commented-out
testReceiveMessageObject. Unless you wanted to put this one in?
473: Extra newline?

gears/src/com/google/gwt/gears/client/workerpool/WorkerPool.java:
LGTM

gears/src/com/google/gwt/gears/client/workerpool/WorkerPoolMessageHandler.java:
50: If the message is not really an Array type, the method may throw
a JavaScriptException.

What's an example of a case where it wouldn't throw an exception on a
type mismatch? A quick explanation of why this would happen (or a link
to one) would be helpful. Likewise for other javadocs in the file.

On Mon, Oct 13, 2008 at 4:27 PM, Eric Ayers [EMAIL PROTECTED] wrote:

 This was reported as issue 182:

   http://code.google.com/p/gwt-google-apis/issues/detail?id=182

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: RR: make PopupPanels stay on the screen, even in RTL situations

2008-10-06 Thread Alex Rudnick
Hey Rajeev :)

Would you take a look at this patch, implementing Joel's suggestion
for keeping DialogBox on the screen?

Instead of trying to decide whether a PopupPanel is being positioned
off the edge, we check whether the user is dragging it off the screen,
and ignore the drag if the pointer has left the visible window area.
We use a WindowResizeListener to make sure we always know how wide the
window is.

Also, in the PopupPanel class, we remove the check that prevents
placing a popup offscreen -- if a developer wants to programmatically
put it off screen, that's OK.


Seems to work right in RTL and LTR modes on all major browsers.

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/client/ui/DialogBox.java
===
--- user/src/com/google/gwt/user/client/ui/DialogBox.java	(revision 3717)
+++ user/src/com/google/gwt/user/client/ui/DialogBox.java	(working copy)
@@ -15,9 +15,12 @@
  */
 package com.google.gwt.user.client.ui;
 
+import com.google.gwt.dom.client.Document;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Element;
 import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.WindowResizeListener;
 
 /**
  * A form of popup that has a caption area at the top and can be dragged by the
@@ -69,6 +72,10 @@
   private boolean dragging;
   private int dragStartX, dragStartY;
   private MouseListenerCollection mouseListeners = new MouseListenerCollection();
+  private WindowResizeListener resizeListener;
+  private int windowWidth;
+  private int clientLeft;
+  private int clientTop;
 
   /**
* Creates an empty dialog box. It should not be shown until its child widget
@@ -114,6 +121,10 @@
 // Set the style name
 setStyleName(DEFAULT_STYLENAME);
 sinkEvents(Event.MOUSEEVENTS);
+
+windowWidth = Window.getClientWidth();
+clientLeft = Document.get().getBodyOffsetLeft();
+clientTop = Document.get().getBodyOffsetTop();
   }
 
   public String getHTML() {
@@ -125,6 +136,12 @@
   }
 
   @Override
+  public void hide() {
+Window.removeWindowResizeListener(resizeListener);
+super.hide();
+  }
+
+  @Override
   public void onBrowserEvent(Event event) {
 super.onBrowserEvent(event);
 
@@ -178,6 +195,14 @@
 if (dragging) {
   int absX = x + getAbsoluteLeft();
   int absY = y + getAbsoluteTop();
+
+  // if the mouse is off the sceen to the left, right, or top, don't
+  // move the dialog box. This would let users lose dialog boxes, which
+  // would be bad for modal popups.
+  if (absX  clientLeft || absX = windowWidth || absY  clientTop) {
+return;
+  }
+
   setPopupPosition(absX - dragStartX, absY - dragStartY);
 }
   }
@@ -212,6 +237,20 @@
   }
 
   @Override
+  public void show() {
+if (resizeListener == null) {
+  resizeListener = new WindowResizeListener() {
+@Override
+public void onWindowResized(int width, int height) {
+  windowWidth = width;
+}
+  };
+}
+Window.addWindowResizeListener(resizeListener);
+super.show();
+  }
+
+  @Override
   protected void doAttachChildren() {
 super.doAttachChildren();
 
Index: user/src/com/google/gwt/user/client/ui/PopupPanel.java
===
--- user/src/com/google/gwt/user/client/ui/PopupPanel.java	(revision 3717)
+++ user/src/com/google/gwt/user/client/ui/PopupPanel.java	(working copy)
@@ -573,17 +573,6 @@
* @param top the top position, in pixels
*/
   public void setPopupPosition(int left, int top) {
-// Keep the popup within the browser's client area, so that they can't get
-// 'lost' and become impossible to interact with. Note that we don't attempt
-// to keep popups pegged to the bottom and right edges, as they will then
-// cause scrollbars to appear, so the user can't lose them.
-if (left  0) {
-  left = 0;
-}
-if (top  0) {
-  top = 0;
-}
-
 // Save the position of the popup
 leftPosition = left;
 topPosition = top;


[gwt-contrib] Re: RR: remove deprecated image base method from tree

2008-10-02 Thread Alex Rudnick

+1, let's take it out!

We should encourage ImageBundling, and if somebody really doesn't want
to use TreeImages, they could just serve the tree image urls from
somewhere else.

On Thu, Oct 2, 2008 at 10:22 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
 The Tree.setImageBase method was deprecated as of  GWT 1.4 and currently
 does not work as expected (issue 2825).   Therefore, I propose we go ahead
 and remove the setImageBase method, unless someone has a compelling use case
 for why this method should still exist.


-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] RR: make HTTPRequestImplIE6 try to gracefully fallback when building its XHR

2008-10-02 Thread Alex Rudnick
Hey Joel :)

Would you take a look at this patch for HTTPRequestImplIE6?

In the case where there's a native XMLHttpRequest on the window object
(IE7), we'll use that, and failing that (IE6), we'll first try
MSXML2.XMLHTTP.3.0 (recommended over on MSDN) and finally
Microsoft.XMLHTTP.

I've seen Microsoft.XMLHTTP cause the elusive POST when you asked
for a GET bug, but haven't been able to reproduce recently; maybe we
got an update to fix it.

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/client/impl/HTTPRequestImplIE6.java
===
--- user/src/com/google/gwt/user/client/impl/HTTPRequestImplIE6.java	(revision 3698)
+++ user/src/com/google/gwt/user/client/impl/HTTPRequestImplIE6.java	(working copy)
@@ -24,6 +24,14 @@
 
   @Override
   protected native JavaScriptObject doCreateXmlHTTPRequest() /*-{
-return new ActiveXObject(Microsoft.XMLHTTP);
+if ($wnd.XMLHttpRequest) {
+  return new XMLHttpRequest();
+} else {
+  try {
+return new ActiveXObject('MSXML2.XMLHTTP.3.0');
+  } catch (e) {
+return new ActiveXObject(Microsoft.XMLHTTP);
+  }
+}
   }-*/;
 }


[gwt-contrib] RR: make PopupPanels stay on the screen, even in RTL situations

2008-09-30 Thread Alex Rudnick
Hey Rajeev,

Would you review this patch for PopupPanel? It's a cleaned up version
of what we did yesterday. This fixes the odd behavior we noticed where
Popup Panels could not be placed near the right edge of the screen on
IE, and normalizes popups in RTL and LTR modes, so they can't be
dragged off the horizontal edges in either case.

Testing: we made sure popup panels worked as expected in Showcase on
all major browsers, both in Quirks and Standards mode. GWT tests all
still work.

Thanks!

-- 
Alex Rudnick
swe, gwt, atl

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

Index: user/src/com/google/gwt/user/client/ui/PopupPanel.java
===
--- user/src/com/google/gwt/user/client/ui/PopupPanel.java	(revision 3693)
+++ user/src/com/google/gwt/user/client/ui/PopupPanel.java	(working copy)
@@ -575,11 +575,24 @@
   public void setPopupPosition(int left, int top) {
 // Keep the popup within the browser's client area, so that they can't get
 // 'lost' and become impossible to interact with. Note that we don't attempt
-// to keep popups pegged to the bottom and right edges, as they will then
-// cause scrollbars to appear, so the user can't lose them.
-if (left  0) {
-  left = 0;
+// to keep popups pegged to the bottom edge; dragging a popup off the bottom
+// will cause scrollbars to appear, so the user can't lose them.
+
+int popupWidth = getOffsetWidth();
+int popupRightEdge = left + popupWidth;
+int clientLeft = Document.get().getBodyOffsetLeft();
+int clientWidth = Window.getClientWidth() + clientLeft;
+
+if (popupRightEdge = clientWidth) {
+  left = clientWidth - popupWidth;
 }
+
+// Not always 0. For example, on IE in RTL mode, there's a scrollbar
+// on the left-hand side.
+if (left  clientLeft) {
+  left = clientLeft;
+}
+
 if (top  0) {
   top = 0;
 }


[gwt-contrib] Re: RR: timezone support and updates to DateTimeFormat

2008-09-16 Thread Alex Rudnick
 a line break after this line as well.
OK

 258: Add the word name before the period. Add a line break before this
 line as well.
OK

 266: To get the standard time zone offset in minutes. -- Returns the
 standard time zone offset in minutes.
OK

 268: Need @return tag in javadoc
OK

 273: Check if the given time fall within daylight saving period. --
 Check to see if the given date and time falls within a daylight savings
 time period. Add a line break.
 274: time for which to check. -- date and time to check
OK

 275: if daylight time in effect. -- if daylight savings time is in
 effect
OK

 DateTimeFormat.java
 In the javadoc that was added for the public static methods, make sure there
 are line breaks between the method description and any param/return doc.
OK

 651: hold -- holds
 653: desired format -- format defined by this object
 672: Add a line break here
 673: Formatting, can move some of the text up from the following line
OK.

 909: count parameter is not needed (not part of your patch)
Removed!

 1346: You don't need the continue statement here, but it can be left if you
 feel it adds clarity. (not part of your patch)
It's some pretty hairy code here; I'd be inclined to keep it.

 1564: Add a newline.
 1565: pattern for this field -- pattern character for this field
 1568:  Remove hold
 1569: realDate param does not exist
 1570,1571: this date object holds-- a date object which holds
OK

 TimeZoneInfo.java
 34: Add a line break here.
 35: Missing description of json parameter, missing @return tag
OK

 TimeZoneTest.java
 Needs a sort; some methods are out of order.
Sorted!

 33: Not sure if we need to have this or not; other parts of the GWT code
 that use the Date class have deprecation warnings. If we want to make the
 warning settings consistent for at least this class, make sure you add this
 annotation to the testNames method as well.
Took out the @SuppressWarnings.

 44: Might want to add a comment as to why we decided to generate the dates
 this way, as opposed to setting the day/year/month/hours/mins/seconds on a
 date object.
Added!

 TimeZoneInfoTest.java
 Needs a sort; some methods are out of order.
OK

 28: This does not need to be af field; could be a local variable.
OK

 TimeZoneTest.gwt.xml
 Make sure that you set the svn:mime-type and svn:eol-style properties on
 this file; it does not look like you set them.
Set to text/xml and native.

 16: Don't need to inherit JSON module anymore.
 18: Don't need to explicitly inherit JUnit module; it is inherited by default
 19-20: Don't need to specify these; they are implied
 21-22: My personal preference, put the extend-.. declaration before the
 set.. declaration
OK

Committed r3655.

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: RR: timezone support and updates to DateTimeFormat

2008-09-11 Thread Alex Rudnick

If you'd send the new constants file -- or a diff of the old and new
versions -- that would be great.

Thanks so much for writing the code in the first place!

On Thu, Sep 11, 2008 at 5:05 PM, Shanjian Li [EMAIL PROTECTED] wrote:
 Alex,

 Yes, the time zone data has a couple of issues and most of them should have
 been fixed already. I can send you the update constant file. We can also
 choose to do it in a separate patch.

 shanjian

-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: [google-web-toolkit commit] r3618 - wiki

2008-09-04 Thread Alex Rudnick

Previously, if you put google-web-toolkit in docreader, it gave you
an old Under Construction page as the only option in the
TableOfContents. This way, people will be able to get to the
documentation.

2008/9/4  [EMAIL PROTECTED]:

 Author: [EMAIL PROTECTED]
 Date: Thu Sep  4 11:47:17 2008
 New Revision: 3618

 Modified:
wiki/TableOfContents.wiki

 Log:
 Edited wiki page through web user interface.

 Modified: wiki/TableOfContents.wiki
 ==
 --- wiki/TableOfContents.wiki   (original)
 +++ wiki/TableOfContents.wiki   Thu Sep  4 11:47:17 2008
 @@ -1,3 +1,2 @@
  #summary GWT documentation table of contents
 -
 -* [DocUnderConstruction Under Construction]
 \ No newline at end of file
 +  * [WikiWelcome GWT wiki welcome page]
 \ No newline at end of file

 




-- 
Alex Rudnick
swe, gwt, atl

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



[gwt-contrib] Re: Incubator Code Review Request: GWTCanvas and ImageLoader

2008-09-04 Thread Alex Rudnick

Emily seems to have just committed this at r930, but LGTM too.

On Thu, Sep 4, 2008 at 2:45 PM, Jaime Yap [EMAIL PROTECTED] wrote:
 This patch taken against Incubator trunk r.927 adds some comments to :
 com.google.gwt.widgetideas.graphics.client.impl.GWTCanvasImplIE6.java
 for some funky flooring trick that needed some explanation.
 Also includes a fix for ImageLoader, where in IE the onLoad event would
 fire before we get done setting up the callbacks.
 This should have gone out along time ago, but it seemed to slip off my radar
 back when I first got it ready.
 -Jaime


 




-- 
Alex Rudnick
swe, gwt, atl

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