Re: scroll to node in CellTree

2011-01-28 Thread Torgeir
Sorry, wrong information. The Celltree will scroll to the cell that 
currently has the focus, when calling cellTree.setFocus(true); 

I would be home free if there was a way to programmatically set which cell 
has the focus.

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread saket kumar
+1

On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:

 I'm getting the same for firefox.
 In chrome instead the download of the plugin works, however it
 requests it each time I load the page, so basically I've no
 possibility to get to the real page I want to develop

 On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
  I am trying to update for Mac and I am also getting an error
  The requested URL
  |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
  not found on this server.
 
  On 1/27/11 9:18 PM, Noor wrote:
 
   Today, i installed windows again on my laptop, as usual for the
   firsttime when firefox starts a gwt host page, it asks to download the
   plugin, but when i download the plugin, it says,
 
   Google
   Error
 
Not Found
The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
   found on this server.
 
   Can someone help, i need to fix this asap

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Saket Kumar
+91 9811139807

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

2011-01-28 Thread Ernesto Reig
Thank you very much for your responses Thomas and Y2i.

Maybe, this can help to other people who are (like me) changing from Tomcat
to Jetty. Refering to the web.xml and jetty-web.xml:

 - I did know that jetty.home was pointing to my working directory
(C:\workspace\my_app\src\main\webapp in my case), but my problem was that I
couldn´t understand that Jetty was going to look for the users in a
properties file inside my_app. I was trying to draw an analogy between the
tomcat-way and the Jetty-way. I though if the authentication is against the
server (jetty), why do I have to provide the users to Jetty? And the answer
to this question is that this properties file is used to authenticate users
ONLY for THIS web application.
For Tomcat users: it´s like configuring a realm inside a Context element (
http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html#Configuring_a_Realm
).

I presume that in a real context, you can have the properties file inside
your_app, or establish the jetty.home system property and point to the
properties file inside jetty.home/etc/realm.properties and authenticate as a
user shared in all web apps.

Thank you very much again.

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



java.util.List set method makes affected item null

2011-01-28 Thread Owen Ilagan
Hi there,

Has anyone ever encountered this problem using the List's set method?

For example:

ListMyItems list = new VectorMyItems();
...then you populate the list using a few
   list.add(new MyItems(xxx));

When you do, list.get(some index) it returns the item.
But when you do list.set(some index, new MyItems(xxx))
then do list.get(same index), it returns null.

- Owen

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

2011-01-28 Thread Rene Vielma
Hello

I used sample of Google AppEngine's UserService. It exposes how
securing each request.

but my question now is.. Which method is recommended to implement to
get the user of getCurrentUser?

Using a hash of session?

thank you


On 16 ene, 16:58, Thomas Lefort lefortho...@gmail.com wrote:
 wow this is good, thanks for the link, I should check teh repository
 more often

 On Jan 15, 12:27 am, Thomas Broyer t.bro...@gmail.com wrote:



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Unable to load image, please help

2011-01-28 Thread Sednus
   I debugged for some time and realized, that the actual problem is
that my server side code doesnt find the JFreeChart external libraries
when running. I copied the libraries to /war/WEB-INF/lib but the
behaivor still the same.

On Jan 27, 10:38 am, Sednus sed...@gmail.com wrote:
 Hi,
   Im trying load an image from the server using RPC, the problem is
 that it always fails to load the image and throws the following error:
 com.google.gwt.user.client.rpc.StatusCodeException: 403 html
 head
 meta http-equiv=Content-Type content=text/html;
 charset=ISO-8859-1/
 titleError 403 FORBIDDEN/title
 /head
 bodyh2HTTP ERROR 403/h2
 pProblem accessing /diskmonitor/. Reason:
 pre    FORBIDDEN/pre/phr /ismallPowered by 
 Jetty:///small/ibr/
 

 Im implementing my classes as the following:

 public class ChartImage extends Image {
          private UpdatePlotsServiceAsync plotService;

             public ChartImage(String hostname) {
                 super();

                 /*
                  * Setup connection to chart generator service.
                  */
                 plotService = (UpdatePlotsServiceAsync)
 GWT.create(UpdatePlotsService.class);
                 ServiceDefTarget endpoint = (ServiceDefTarget)plotService;
                 String url = GWT.getModuleBaseURL()+;
                 System.out.println(url);
                 endpoint.setServiceEntryPoint(url);

                 /*
                  * Setup the callback from the chart generator service.
                  */
                 AsyncCallbackString callback = new AsyncCallbackString()
 {
                     /*
                      * If the call was successful, we will get back the name
 of the chart
                      * that was created and stored on the server.
                      */
                     public void onSuccess(String s) {
                         String chartName = (String)s;
                         String imageUrl = GWT.getModuleBaseURL() + chartName;
                         setUrl(imageUrl);
                     }

                     /*
                      * Something went wrong with the call. Handle the issue
 how you'd like.
                      */
                     public void onFailure(Throwable ex) {
                        System.out.println(Failed to load image);
                        ex.printStackTrace();
                     }
                 };

                 /*
                  * Make the call to the chart generator service with the
 previously created
                  * callback.
                  */
                 plotService.getImagesPaths(default, callback);

                 /*
                  * Since we've made an asynchronous call, we don't need to do
 anything further.
                  * The callback object will handle the remainder of the work
 for us.
                  */
             }

 }

 The image is generated in the server side using JFreeChart

 public class UpdatePlotsServiceImpl extends RemoteServiceServlet
 implements UpdatePlotsService {
         @Override
         public String getImagesPaths(String hostname) {
                 String chartName = ;
           /*
        * Create the data for the pie chart
        */
       DefaultPieDataset dataset = new DefaultPieDataset();
       //Fake Data
      dataset.setValue(Available, 71);
      dataset.setValue(Used, 39);

      String title = Data at:+ info.getHostname()+-+
 info.getLocation();
      JFreeChart chart = ChartFactory.createPieChart(title, dataset,
 true, false, false);
      File file = new File(chart.png);
      //Save the image
      try {

          ChartUtilities.saveChartAsPNG(file, chart, 800, 600);

                 } catch (IOException e) {
                         // TODO Auto-generated catch block
                         e.printStackTrace();
                 }
                 return file.getName();
         }

 }

 Please help

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

2011-01-28 Thread eric73
You can download one at :

http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi?spec=svn9641r=9641

On 28 jan, 09:53, saket kumar newga...@gmail.com wrote:
 +1



 On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:
  I'm getting the same for firefox.
  In chrome instead the download of the plugin works, however it
  requests it each time I load the page, so basically I've no
  possibility to get to the real page I want to develop

  On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
   I am trying to update for Mac and I am also getting an error
   The requested URL
   |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
   not found on this server.

   On 1/27/11 9:18 PM, Noor wrote:

Today, i installed windows again on my laptop, as usual for the
firsttime when firefox starts a gwt host page, it asks to download the
plugin, but when i download the plugin, it says,

Google
Error

     Not Found
     The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
found on this server.

Can someone help, i need to fix this asap

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Saket Kumar
 +91 9811139807

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread PiotrN
Same here,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: chrome - prompting me to install gwt plugin but already installed

2011-01-28 Thread Curtis Stanford
I've never been able to get it working on Mac since it was released. I'm on 
the dev channel. It always shows the missing plugin even though the red 
google toolbox shows in the omni bar.

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread Yuriy Matyashev
I'm getting the same problem too.Only IE plugin works fine.

On 28 янв, 10:47, hons hon...@gmail.com wrote:
 I'm getting the same for firefox.
 In chrome instead the download of the plugin works, however it
 requests it each time I load the page, so basically I've no
 possibility to get to the real page I want to develop

 On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:







  I am trying to update for Mac and I am also getting an error
  The requested URL
  |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
  not found on this server.

  On 1/27/11 9:18 PM, Noor wrote:

   Today, i installed windows again on my laptop, as usual for the
   firsttime when firefox starts a gwt host page, it asks to download the
   plugin, but when i download the plugin, it says,

   Google
   Error

        Not Found
        The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
   found on this server.

   Can someone help, i need to fix this asap

-- 
You received 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: Casting JavaScriptObject with GWT 2.1

2011-01-28 Thread Ahmet BÜTÜN
Hi Julio

I have the same problem, could you able to find a solution for that?

thanks,
Ahmet

On Dec 11 2010, 3:54 pm, julio antongiuli...@gmail.com wrote:
 Gaurav
 pls post useful answers not crap, or give me correct links at least to
 explain the problem.
 I don't get ur humorism and BTW i don't get any compile errors or
 runtime errors

 Maybe I didn't explain properly the problem

 The bean-type i get from JSONP Request builder is BeanData extends
 JavaScriptObject and it works fine using its get methods.
 I can read the data properly and what else. The problem is when it's
 saved in something like this:

 private BeanData beanData;

 or this:

 private JavaScriptObject beanData;

 and it is passed to another class, the same get methods don't work
 anymore. They return empty values.

 any idea?

 Thanks,
 Julio

 On 11 Dic, 07:46, Gaurav Vaish gaurav.va...@gmail.com wrote:



  Hi Julio,

  I think you need to first understand JavaScript before jumping on to
  using GWT.

  Once you are done, and you understand why JavaScriptObject instances
  can be type-casted from one type to another without giving any
  compiletime or runtime errors, you will automatically have solution to
  your problem!

  --
  Happy Hacking,
  Gaurav Vaishhttp://www.mastergaurav.com

  On Dec 10, 9:08 pm, julio antongiuli...@gmail.com wrote:

   weird, it looks like i can pass through classes primitive values as
   int, char etc but not complex objects extending JavaScriptObject, cos
   I cannot cast them anymore (BTW no errors got, just empty values)

   Julio

   On Dec 10, 10:43 am, julio antongiuli...@gmail.com wrote:

before this:

BeanData bd = data.createObject().cast();

I tried with a normal:

BeanData bd = (BeanData) data;

and:

BeanData bd = data.cast();

but they don't work.

BTW debugged them I saw that the data passed has the same refId of the
original, so it looks like is just not cast at all.

On Dec 10, 10:22 am, skrat dusan.malia...@gmail.com wrote:

 You can't, what you do here is that you create new (and empty)
 JavaScriptObject, and cast it to your type. It seems that you think
 you're copying the object, but that's certainly not true. I'm not sure
 what the problem is, if you need to pass that instance to another
 class, you can do it without any tranformation.

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread Edson Richter
I also have this problem with FireFox.

For Google Chrome, besides the plugin is available, after download and
install you try to reload the page and then Chrome ask to install the
plugin again. Seems that the plugin is corrupt.

Please help!

Edson

On 28 jan, 03:18, Noor baken...@gmail.com wrote:
 Today, i installed windows again on my laptop, as usual for the
 firsttime when firefox starts a gwt host page, it asks to download the
 plugin, but when i download the plugin, it says,

 Google
 Error

     Not Found
     The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
 found on this server.

 Can someone help, i need to fix this asap

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



SuggestBox.SuggestMenuItem

2011-01-28 Thread huggles
Hey guys,

Any reasonable ideas for overriding the constructor for
SuggestBox.SuggestMenuItem

Alternatively, I need to assign a specific id to the td menu item
element generated by the DOM so that it becomes more predictable.

For example SuggestBox.SuggestMenuItem extends MenuItem. The MenuItem
constructor has a statement

 DOM.setElementAttribute(getElement(), id, DOM.createUniqueId());

where I want to replace the call to DOM.createUniqueId() with
something more meaningful.

What do?

Huggles

-- 
You received 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: Getting a user Enter key

2011-01-28 Thread Michael Phoenix
Well, I'm ran into this problem while doing the tutorial. I applied
your solution, but it still doesn't work properly. When I press enter
in the text box, the error alert comes up, but only for a fraction of
second, after which it disappears. It works fine for the button click.
Here's my pertinent code. Any idea what I might be missing? Google
should really update their tutorial so it works. This type of thing
doesn't encourage people who are new to the product to continue to use
it.

// Listen for keyboard events in the input box.
newSymbolTextBox.addKeyDownHandler(new KeyDownHandler() {
  public void onKeyDown(KeyDownEvent event) {
if (event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER)
{
  addStock();
}
  }
});

  }

  /**
   * Add stock to FlexTable. Executed when the user clicks the
addStockButton or
   * presses enter in the newSymbolTextBox.
   */
  private void addStock() {
final String symbol =
newSymbolTextBox.getText().toUpperCase().trim();
newSymbolTextBox.setFocus(true);

// Stock code must be between 1 and 10 chars that are numbers,
letters, or dots.
if (!symbol.matches(^[0-9A-Z\\.]{1,10}$)) {
  Window.alert(' + symbol + ' is not a valid symbol.);
  newSymbolTextBox.selectAll();
  return;
}

newSymbolTextBox.setText();

// TODO Don't add the stock if it's already in the table.

// TODO Add the stock to the table.

// TODO Add a button to remove this stock from the table.

// TODO Get the stock price.


  }

On Dec 3 2010, 12:36 pm, Brian Reilly brian.irei...@gmail.com wrote:
 Greg,

 As I mentioned in a thread earlier today 
 (http://groups.google.com/group/google-web-toolkit/browse_thread/threa...),
 try using a KeyDownEvent handler and inspect
 event.getNativeEvent().getKeyCode()
 instead of event.getCharCode().

 From the other thread, it sounds like this behavior may have changed in 2.1,
 so it could be that the documentation is wrong, but only as of fairly
 recently.

 -Brian

 On Fri, Dec 3, 2010 at 3:21 PM, Greg Dougherty
 dougherty.greg...@mayo.eduwrote:

  Ok, the tutorial says that to get a user pressing an enter key in a
  TextBox you should write something like the following:

 http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html

         public void onKeyPress (KeyPressEvent event)
         {
                 char    keyPress = event.getCharCode();
                 int     keyCode = keyPress;
                 if (keyPress == KeyCodes.KEY_ENTER)
                         goToRecord ();
         }

  Unfortunately, when I do that, I get a keyCode of 0 for  Enter, Tab,
  and Left Arrow (the keys I tested), while I get the actual key when I
  type a number key.  What gives?  Is the tutorial wrong?  If so, what
  should I be calling?

  TIA,

  Greg

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

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

2011-01-28 Thread George.H
I get the same problem when I go to that link.
But somehow firefox auto-updated the plugin automatically.

On Jan 28, 10:53 am, saket kumar newga...@gmail.com wrote:
 +1



 On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:
  I'm getting the same for firefox.
  In chrome instead the download of the plugin works, however it
  requests it each time I load the page, so basically I've no
  possibility to get to the real page I want to develop

  On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
   I am trying to update for Mac and I am also getting an error
   The requested URL
   |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
   not found on this server.

   On 1/27/11 9:18 PM, Noor wrote:

Today, i installed windows again on my laptop, as usual for the
firsttime when firefox starts a gwt host page, it asks to download the
plugin, but when i download the plugin, it says,

Google
Error

     Not Found
     The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
found on this server.

Can someone help, i need to fix this asap

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Saket Kumar
 +91 9811139807

-- 
You received 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: Getting a user Enter key

2011-01-28 Thread Michael Phoenix
Hate to tell you, but your workaround is a broken link.

On Dec 3 2010, 12:54 pm, David Chandler drfibona...@google.com
wrote:
 Also seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=5558for
 a workaround.

 /dmc

 On Fri, Dec 3, 2010 at 3:36 PM, Brian Reilly brian.irei...@gmail.comwrote:



  Greg,

  As I mentioned in a thread earlier today (
 http://groups.google.com/group/google-web-toolkit/browse_thread/threa...),
  try using a KeyDownEvent handler and inspect 
  event.getNativeEvent().getKeyCode()
  instead of event.getCharCode().

  From the other thread, it sounds like this behavior may have changed in
  2.1, so it could be that the documentation is wrong, but only as of fairly
  recently.

  -Brian

  On Fri, Dec 3, 2010 at 3:21 PM, Greg Dougherty dougherty.greg...@mayo.edu
   wrote:

  Ok, the tutorial says that to get a user pressing an enter key in a
  TextBox you should write something like the following:

 http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html

         public void onKeyPress (KeyPressEvent event)
         {
                 char    keyPress = event.getCharCode();
                 int     keyCode = keyPress;
                 if (keyPress == KeyCodes.KEY_ENTER)
                         goToRecord ();
         }

  Unfortunately, when I do that, I get a keyCode of 0 for  Enter, Tab,
  and Left Arrow (the keys I tested), while I get the actual key when I
  type a number key.  What gives?  Is the tutorial wrong?  If so, what
  should I be calling?

  TIA,

  Greg

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

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

 --
 David Chandler
 Developer Programs Engineer, Google Web 
 Toolkithttp://googlewebtoolkit.blogspot.com/

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



Re: Firefox Plugin for GWT not downloading

2011-01-28 Thread Deps
My development activities have stopped due to this problem! I cannot
start any GWT app in development mode!

-- 
You received 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: chrome - prompting me to install gwt plugin but already installed

2011-01-28 Thread erikjfreed
You the man! Works great...

On Jan 26, 6:28 pm, Craig Mitchell craig...@gmail.com wrote:
 Downgrading the plugin gets it working again:

 1:  Uninstall the current plugin (Tools - Extensions)
 2.  Install the older plugin  
 https://dl-ssl.google.com/gwt/plugins/chrome/1.0.9521/gwt-dev-plugin.crx

 On Jan 27, 12:25 pm, Jack Krooss jackkro...@gmail.com wrote:







  What version is it working?

  I just tried again to reinstall Chrome 9.0.597.83 beta and Chrome
  8.0.552.237 and it does not work.

  On Jan 26, 4:22 pm, Eric Blanchette

  eric.blanche...@digitalmatrices.com wrote:
   Thanks!  It's working again with this version

   On Jan 26, 6:47 pm, Chris Conroy con...@google.com wrote:

Is anyone seeing this issue on Linux or Mac? From the posters so far, it
sounds as if there is an issue with the Windows version. In the 
meantime,
you can download the old version at

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

On Wed, Jan 26, 2011 at 4:33 PM, Eric Blanchette 

eric.blanche...@digitalmatrices.com wrote:
 I see TypeError: Object #an HTMLEmbedElement has no method
 'getHostPermission' error messages in the console.  Could this be
 related?

 On Jan 26, 4:02 pm, Thomas Broyer t.bro...@gmail.com wrote:
  Seehttp://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

  Do you see a gray GWT toolbox in the location bar next to the 
  bookmark
  star?

 --
 You received 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.comgoogle-web-toolkit%2Bunsubs
  cr...@googlegroups.com
 .
 For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.

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



SOAP Web Service

2011-01-28 Thread mortsahl
My company has a set of web services that are not exposed outside the
firewall.

It is being proposed that a publicly available GUI client be written
to access those services by our clients.  It's being proposed that the
client be written in GWT/GXT

Are there valid reasons to use GWT and web services together?  Isn't
the WS layer just redundant ... I mean you call the RPC layer that
talks to the server anyway, then that layer makes a services request,
gets the response, then thru a DTO serialized the response back to the
GUI.

Am I missing something here?

Mort

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread dariogrcdr
+1

On Jan 28, 9:53 am, saket kumar newga...@gmail.com wrote:
 +1



 On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:
  I'm getting the same for firefox.
  In chrome instead the download of the plugin works, however it
  requests it each time I load the page, so basically I've no
  possibility to get to the real page I want to develop

  On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
   I am trying to update for Mac and I am also getting an error
   The requested URL
   |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
   not found on this server.

   On 1/27/11 9:18 PM, Noor wrote:

Today, i installed windows again on my laptop, as usual for the
firsttime when firefox starts a gwt host page, it asks to download the
plugin, but when i download the plugin, it says,

Google
Error

     Not Found
     The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
found on this server.

Can someone help, i need to fix this asap

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Saket Kumar
 +91 9811139807

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



App not showing up after installing the new Firefox Developer Plugin...

2011-01-28 Thread Paolo Ciccarese
As suggested by Firefox, I Installed the new Firefox Developer Plugin
this morning (Firefox version 3.6.13, Mac OS X 10.5.8). The GWT
application was not starting anymore and the browser kept asking to
install the plugin which I had already installed.

After what happened, I've been looking at the detailed version of the
download page. It seems the new plugin works only for Firefox version
4 - even if the download was suggested for the version 3.6 as well. I
downloaded the xpi file from here
http://google-web-toolkit.googlecode.com/svn/!svn/bc/8276/trunk/plugins/xpcom/prebuilt/
and I went back to the previous working setup.

Hope this will help others not wasting 20 minutes of their time

Cheers
Paolo

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



How to remove Header Footer from CellTable? How to create your own Cell-based widget?

2011-01-28 Thread Vasily
Hi All... have few questions:

1. How to remove header  footer from the CellTable in case I don't
need them?
2. I need pretty simple widget: table, no header, no footer... my
styles, cells, no key-based selection, only key-based paging I
wanna re-use such CellTable features as push data. What is the best
way to do that? My own Cell Widget?

Thx!

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

2011-01-28 Thread Xuanah
+1...

On Jan 28, 8:53 am, saket kumar newga...@gmail.com wrote:
 +1









 On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:
  I'm getting the same for firefox.
  In chrome instead the download of the plugin works, however it
  requests it each time I load the page, so basically I've no
  possibility to get to the real page I want to develop

  On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
   I am trying to update for Mac and I am also getting an error
   The requested URL
   |/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
   not found on this server.

   On 1/27/11 9:18 PM, Noor wrote:

Today, i installed windows again on my laptop, as usual for the
firsttime when firefox starts a gwt host page, it asks to download the
plugin, but when i download the plugin, it says,

Google
Error

     Not Found
     The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
found on this server.

Can someone help, i need to fix this asap

  --
  You received 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.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Saket Kumar
 +91 9811139807

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



access gwt servlet via rpc ajax call

2011-01-28 Thread George.H
Hi,

I have a GWT application running and it contains several servlets. Our
regular clients use a GWT client to access the servlets. We have some
new clients that need to access the same servlets but via a very
minimal client. Like plain javascript using ajax rpc call to retrieve
the data.

Problem I am getting is when creating the ajax rpc call using JQuery,
I can't seem to do the following.

1. Get the strong name to add in the X-GWT-Permutation request
header
2. The gwt-rpc data format to send to the servlet

When I intercept an RPC call via firebug I see the data being sent
back and forth looks somewhat like this
'6|0|9|http://127.0.0.1:/company/|9C9DC9A25F67541F626CF723FEE3A6B2|
com.company.mobile.client.login.service.LoginService|login|
java.lang.String/2004016611|testUser|testPass|authcode|LOGINSRV|1|2|3|
4|4|5|5|5|5|6|7|8|9|'

As 1 long string.

So I have an ajax call like so (using the string) This actually works
and invokes the servlet's Login method but for some reason the error:
function() get executed after the callback.

$(document).ready(function() {

$(a).click(function(e) {

e.preventDefault();

$.ajax({

type: 'POST',

url: 'http://127.0.0.1:/company/login',

contentType: 'text/x-gwt-rpc; charset=utf-8',

data: ('6|0|9|http://127.0.0.1:/company/|
9C9DC9A25F67541F626CF723FEE3A6B2|
com.company.mobile.client.login.service.LoginService|login|
java.lang.String/2004016611|testUser|testPass|authcode|LOGINSRV|1|2|3|
4|4|5|5|5|5|6|7|8|9|'),

beforeSend: function(xhr) {

xhr.setRequestHeader('X-GWT-Permutation', 
'HostedMode');


xhr.setRequestHeader('X-GWT-Module-Base','http://127.0.0.1:/
company/');

},

dataType:

success: function(data2){

alert(Success);

alert(data2);

},



error: function(data3) {

alert(Error);

alert(data3);

}

});

});

});

Has anyone done something like this before? How can I prepare my data
to be sent to the servlet via gwt-rpc and generate a proper X-GWT-
Permutation string?

thanks in advance to anyone who can help.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Unable to load image, please help

2011-01-28 Thread Sednus
It throws the following errors and they are thrown when I try to
create an object of the JFreeChart library:

[ERROR] javax.servlet.ServletContext log: Exception while dispatching
incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
com.naic.client.UpdatePlotsService.getImagesPaths(java.lang.String)'
threw an unexpected exception: java.lang.NoClassDefFoundError:
javax.swing.event.EventListenerList is a restricted class. Please see
the Google  App Engine developer's guide for more details.
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
378)
...
Caused by: java.lang.NoClassDefFoundError:
javax.swing.event.EventListenerList is a restricted class. Please see
the Google  App Engine developer's guide for more details.
at
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:
51)
...
com.google.gwt.user.client.rpc.StatusCodeException: 500 The call
failed on the server; see server log for details
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
192)

On Jan 28, 9:05 am, Sednus sed...@gmail.com wrote:
    I debugged for some time and realized, that the actual problem is
 that my server side code doesnt find the JFreeChart external libraries
 when running. I copied the libraries to /war/WEB-INF/lib but the
 behaivor still the same.

 On Jan 27, 10:38 am, Sednus sed...@gmail.com wrote:







  Hi,
    Im trying load an image from the server using RPC, the problem is
  that it always fails to load the image and throws the following error:
  com.google.gwt.user.client.rpc.StatusCodeException: 403 html
  head
  meta http-equiv=Content-Type content=text/html;
  charset=ISO-8859-1/
  titleError 403 FORBIDDEN/title
  /head
  bodyh2HTTP ERROR 403/h2
  pProblem accessing /diskmonitor/. Reason:
  pre    FORBIDDEN/pre/phr /ismallPowered by 
  Jetty:///small/ibr/
  

  Im implementing my classes as the following:

  public class ChartImage extends Image {
           private UpdatePlotsServiceAsync plotService;

              public ChartImage(String hostname) {
                  super();

                  /*
                   * Setup connection to chart generator service.
                   */
                  plotService = (UpdatePlotsServiceAsync)
  GWT.create(UpdatePlotsService.class);
                  ServiceDefTarget endpoint = (ServiceDefTarget)plotService;
                  String url = GWT.getModuleBaseURL()+;
                  System.out.println(url);
                  endpoint.setServiceEntryPoint(url);

                  /*
                   * Setup the callback from the chart generator service.
                   */
                  AsyncCallbackString callback = new AsyncCallbackString()
  {
                      /*
                       * If the call was successful, we will get back the name
  of the chart
                       * that was created and stored on the server.
                       */
                      public void onSuccess(String s) {
                          String chartName = (String)s;
                          String imageUrl = GWT.getModuleBaseURL() + 
  chartName;
                          setUrl(imageUrl);
                      }

                      /*
                       * Something went wrong with the call. Handle the issue
  how you'd like.
                       */
                      public void onFailure(Throwable ex) {
                         System.out.println(Failed to load image);
                         ex.printStackTrace();
                      }
                  };

                  /*
                   * Make the call to the chart generator service with the
  previously created
                   * callback.
                   */
                  plotService.getImagesPaths(default, callback);

                  /*
                   * Since we've made an asynchronous call, we don't need to 
  do
  anything further.
                   * The callback object will handle the remainder of the work
  for us.
                   */
              }

  }

  The image is generated in the server side using JFreeChart

  public class UpdatePlotsServiceImpl extends RemoteServiceServlet
  implements UpdatePlotsService {
          @Override
          public String getImagesPaths(String hostname) {
                  String chartName = ;
            /*
         * Create the data for the pie chart
         */
        DefaultPieDataset dataset = new DefaultPieDataset();
        //Fake Data
       dataset.setValue(Available, 71);
       dataset.setValue(Used, 39);

       String title = Data at:+ info.getHostname()+-+
  info.getLocation();
       JFreeChart chart = ChartFactory.createPieChart(title, dataset,
  true, false, false);
       File file = new File(chart.png);
       //Save the image
       try {

           ChartUtilities.saveChartAsPNG(file, chart, 800, 

Re: Firefox Plugin for GWT not downloading

2011-01-28 Thread pete
Same problem when the auto update tries to install a new version of
the developer plugin in firefox

On Jan 28, 12:37 pm, Xuanah xua...@gmail.com wrote:
 +1...

 On Jan 28, 8:53 am, saket kumar newga...@gmail.com wrote:

  +1

  On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote:
   I'm getting the same for firefox.
   In chrome instead the download of the plugin works, however it
   requests it each time I load the page, so basically I've no
   possibility to get to the real page I want to develop

   On Jan 28, 7:57 am, John Gentilin gent...@gmail.com wrote:
I am trying to update for Mac and I am also getting an error
The requested URL
|/gwt/plugins/firefox/1.0.9639.20110127155635/gwt-dev-plugin.xpi| was
not found on this server.

On 1/27/11 9:18 PM, Noor wrote:

 Today, i installed windows again on my laptop, as usual for the
 firsttime when firefox starts a gwt host page, it asks to download the
 plugin, but when i download the plugin, it says,

 Google
 Error

      Not Found
      The requested URL /gwt/plugins/firefox/gwt-dev-plugin.xpi was not
 found on this server.

 Can someone help, i need to fix this asap

   --
   You received 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.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  Saket Kumar
  +91 9811139807



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



MVP view in new Window

2011-01-28 Thread cri
We would like to be able to pop up a new browser window (as in
Window.open()) and display an MVP view (with activity) in it. I've
seen a thread on how to do this with history tokens (http://
groups.google.com/group/google-web-toolkit/browse_thread/thread/
db5b9d3f5f28c31b/3a417ed277fed05e?lnk=gstq=openWindowFromFrame+history
+window#) but I don't know how to translate this into MVP.

Not sure that its relevant but what's driving us to this solution is
needing a window with data in it formatted for printing. We tried to
do this with a GWT popup panel but, in ie6, the underlying window
contents bleed through. Maybe is someone can suggest an approach for
this we wouldn't need to be able to do that I described above, i.e.
placing a view in a new browser window.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: chrome - prompting me to install gwt plugin but already installed

2011-01-28 Thread doright
thanks Craig, good fix.

On Jan 27, 8:49 am, jd jdpatter...@gmail.com wrote:
 Thanks Craig! Fixed it for me

 On Jan 27, 9:28 am, Craig Mitchell craig...@gmail.com wrote:







  Downgrading theplugingets it working again:

  1:  Uninstall the currentplugin(Tools - Extensions)
  2.  Install the 
  olderplugin https://dl-ssl.google.com/gwt/plugins/chrome/1.0.9521/gwt-dev-plugin.crx

  On Jan 27, 12:25 pm,

-- 
You received 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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread David Chandler
GWT 2.2M1 was released to maven central yesterday, albeit mistakenly as
version 2.2-rc1 instead of 2.2-m1 as it should have been due to a
misunderstanding on my part. The next version pushed to Maven Central will
be the 2.2 release.

/dmc

On Thu, Jan 27, 2011 at 5:52 AM, Thomas Broyer t.bro...@gmail.com wrote:

 When will it be released to Maven central? (or in other words, should I
 wait or deploy it myself to our local repo?)

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received 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: Google Web Fonts

2011-01-28 Thread Jeff Schwartz
From what I read they are just web fonts which means their font css style
sheets need to be loaded via a link tag and once they are loaded they are
used as any other font would be using standard css font attributes. The
Technical Considerations documentation, located at
http://code.google.com/apis/webfonts/docs/technical_considerations.html,
goes into some detail as to how the actual font style sheets are rendered
which is browser dependent and only the browsers listed in this document,
http://code.google.com/apis/webfonts/faq.html#Browsers_Supported, are
supported.

Some of these fonts really look great and can really add some finesse to a
page if applied with some restraint :).

Another very cool service from Google provided to us struggling web
developers... how cool is that?

Now I am wondering if these fonts can be used via ClientBundles. Hmmm...

Jeff

On Fri, Jan 28, 2011 at 2:58 AM, Thomas Lefort lefortho...@gmail.comwrote:

 Have you tried putting the link in your html file?

 Interesting anyway, I hadn't heard of it, looks great. I wonder what
 is the trick (canvas elements?).

 On Jan 27, 10:02 pm, EMan eric.nis...@gmail.com wrote:
  Has anyone successfully used this in a GWT project?
 
  http://code.google.com/apis/webfonts/docs/getting_started.html#Quick_...
 
  I tried to add these fonts to some uiBinder elements, but I can't get
  it to work.
 
  What is the best way to get the font css files to link up?
 
  Thanks.

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




-- 
*Jeff Schwartz*

-- 
You received 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: Google Web Fonts

2011-01-28 Thread Jaroslav Záruba
...and then you read 
On Friday, January 28, 2011 3:26:26 PM UTC+1, Jeff wrote:

 Another very cool service from Google provided to us struggling web 
 developers... how cool is that?


+1
...and then you read those drama queens on Engadget crying that Google has 
added ads to GMail UI or ceased to *autocomplete *suspicious keywords. :(

Jeff

 On Fri, Jan 28, 2011 at 2:58 AM, Thomas Lefort lefor...@gmail.com wrote:

 Have you tried putting the link in your html file?

 Interesting anyway, I hadn't heard of it, looks great. I wonder what
 is the trick (canvas elements?).

 On Jan 27, 10:02 pm, EMan eric@gmail.com wrote:
  Has anyone successfully used this in a GWT project?
 
  http://code.google.com/apis/webfonts/docs/getting_started.html#Quick_.
 ..
 
  I tried to add these fonts to some uiBinder elements, but I can't get
  it to work.
 
  What is the best way to get the font css files to link up?
 
  Thanks.

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




 -- 
 *Jeff Schwartz*



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



Inherited modules and TabPanel

2011-01-28 Thread cvh
Hello all,

I'm a GWT novice, using the Eclipse GWT plugin. I've got it working to
the point where I have two separate projects (let's call them project
1 and project 2)  both running fine. Both of these projects have their
own .gwt.xml files, entry point classes and various servlets. Now I
want to combine projects 1 and 2 into a single application so that the
user can select on a TabPanel which of the two 'systems' he/she wants
to use. I think that what I need to do is the following:

1. create a new third project ('project 3'), and in this project
3's .gwt.xml file, define projects 1 and 2 as inherited modules
2. copy the source files for projects 1 and 2 into the source folders
for project 3

Presuming that steps 1 and 2 above are correct (***are they?***), I
then need to:

3. link project 1 and project 2 to the TabPanel. My problem is that
TabPanel.add() expects a Widget as its argument, and I don't see how I
can cast a module as a Widget.

Maybe I've got this all wrong and there's an easier way - any
suggestions gratefully received. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Google Web Fonts

2011-01-28 Thread Jeff Schwartz
2011/1/28 Jaroslav Záruba jaroslav.zar...@gmail.com

 No trick apparently, @font-face.


Yup, I believe you are right :)


 Too bad the fonts (quite predictably) miss many characters and there's no
 way to complete them. I'd participate glady.

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
*Jeff Schwartz*

-- 
You received 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: SOAP Web Service

2011-01-28 Thread Deepak Singh
Right. And i am using Spring web service with GWT and it works fine, no
issue.

Deepak

On Fri, Jan 28, 2011 at 6:30 AM, mortsahl morts...@gmail.com wrote:

 My company has a set of web services that are not exposed outside the
 firewall.

 It is being proposed that a publicly available GUI client be written
 to access those services by our clients.  It's being proposed that the
 client be written in GWT/GXT

 Are there valid reasons to use GWT and web services together?  Isn't
 the WS layer just redundant ... I mean you call the RPC layer that
 talks to the server anyway, then that layer makes a services request,
 gets the response, then thru a DTO serialized the response back to the
 GUI.

 Am I missing something here?

 Mort

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



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

2011-01-28 Thread Noor
Hasn't Google notice this, there must be a way to handle this!!, all
my work is now pending!!

-- 
You received 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: Unable to load image, please help

2011-01-28 Thread Thomas Broyer


On Friday, January 28, 2011 2:34:43 PM UTC+1, Sednus wrote:

 javax.swing.event.EventListenerList is a restricted class. Please see 
 the Google  App Engine developer's guide for more details. 


If you're building your app on Google App Engine, maybe you should rather 
use Google's Chart API instead of JFreeChart: 
http://code.google.com/apis/chart/ 

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

2011-01-28 Thread Thomas Broyer
I think you'll have to implement your own 
SuggestionDisplayhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/SuggestBox.SuggestionDisplay.html

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Thomas Broyer


On Friday, January 28, 2011 3:00:48 PM UTC+1, David Chandler (Google) wrote:

 GWT 2.2M1 was released to maven central yesterday, albeit mistakenly as 
 version 2.2-rc1 instead of 2.2-m1 as it should have been due to a 
 misunderstanding on my part. The next version pushed to Maven Central will 
 be the 2.2 release.


Just so I understand correctly: does that mean the next version will finally 
be 2.2 (and will be pushed to maven central as any other) ? or that the 
upcoming 2.2 RC1 will only be released on Google servers and not pushed to 
maven central ?

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread Chris Conroy
Hi everyone. This has now been fixed. Sorry for the trouble.

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



Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
I am trying to use three CellTables to make a Users and Groups panel
in my current application.  Its purpose is so users can give other
users access to resources that they control (in this particular case,
choosing which people can see the information you've uploaded to a
database).

The first table is the Groups table.  Groups can be added and
selected.  If you are the owner of the current Group then you can
modify its settings, if not, you can't.

The second table is Users.  It has two columns, a text field with the
name of the user, and a checkbox reporting whether or not the user is
a member of the selected group.

The third table is Resources.  It lists the information available to
members of the current group, and any information you control that is
not available to the current group (so you can give access to that
information to the members of the group).  It also has two fields, the
name of the resource, and a checkbox.

Issues I'm trying to solve:
1: How do I programmatically select a row in a table?  When a user
creates a new group, I wish to select it.  When the user first brings
up the panel, I'd like to select the first group (or, maybe, the first
group the person owns).

2: How do I disable a checkbox?  If the user doesn't own the group,
they shouldn't be able to change anything.

TIA,

Greg

-- 
You received 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: Unable to load image, please help

2011-01-28 Thread Sednus
Thanks a lot. I'll take a look at it.

On Jan 28, 11:11 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Friday, January 28, 2011 2:34:43 PM UTC+1, Sednus wrote:

  javax.swing.event.EventListenerList is a restricted class. Please see
  the Google  App Engine developer's guide for more details.

 If you're building your app on Google App Engine, maybe you should rather
 use Google's Chart API instead of 
 JFreeChart:http://code.google.com/apis/chart/

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



how to implement branding in GWT

2011-01-28 Thread Armishev, Sergey
I need to implement branding in my Web application and I asking
community to share their experience how it was implemented. In branding
I need  to show some custom image (logo image), change references in
links (contacts, help), some labels text.

 

-Sergey 

/PREBRspan 
style='font-size:8.0pt;font-family:Arial,sans-serif;color:#003366'
_BR 
This electronic message and any files transmitted with it containsBR
information from iDirect, which may be privileged, proprietaryBR
and/or confidential. It is intended solely for the use of the individualBR
or entity to whom they are addressed. If you are not the originalBR
recipient or the person responsible for delivering the email to theBR 
intended recipient, be advised that you have received this emailBR
in error, and that any use, dissemination, forwarding, printing, orBR copying 
of this email is strictly prohibited. If you received this emailBR
in error, please delete it and immediately notify the sender.BR
_ 
/SPANPRE

-- 
You received 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: Selecting and disabling elements in CellTable

2011-01-28 Thread Jeff Schwartz
You can use one of the concrete implementations of AbstractSelectionModel to
select rows and respond to row selection. CellTables and
AbstractSelectionModel instances work hand-in-hand.

You connect the selection model to the cell table by calling the table's
setSelectionModel method passing an instance of a selection model.

You select rows by calling the selection model's setSelected method passing
an instance of the data object being displayed by the table. The row
displaying that instance of the data object will then be selected

You respond to row selection by adding a SelectionChangeEvent.Handler() to
the selection model by calling the selection model's
addSelectionChangeHandler method. You can use this event, for instance, to
load a detailed view of the selected data object such as more information,
data from its children data objects, etc. etc.

Jeff




On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty dougherty.greg...@mayo.edu
 wrote:

 I am trying to use three CellTables to make a Users and Groups panel
 in my current application.  Its purpose is so users can give other
 users access to resources that they control (in this particular case,
 choosing which people can see the information you've uploaded to a
 database).

 The first table is the Groups table.  Groups can be added and
 selected.  If you are the owner of the current Group then you can
 modify its settings, if not, you can't.

 The second table is Users.  It has two columns, a text field with the
 name of the user, and a checkbox reporting whether or not the user is
 a member of the selected group.

 The third table is Resources.  It lists the information available to
 members of the current group, and any information you control that is
 not available to the current group (so you can give access to that
 information to the members of the group).  It also has two fields, the
 name of the resource, and a checkbox.

 Issues I'm trying to solve:
 1: How do I programmatically select a row in a table?  When a user
 creates a new group, I wish to select it.  When the user first brings
 up the panel, I'd like to select the first group (or, maybe, the first
 group the person owns).

 2: How do I disable a checkbox?  If the user doesn't own the group,
 they shouldn't be able to change anything.

 TIA,

 Greg

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
*Jeff Schwartz*

-- 
You received 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: Image does neither load nor error

2011-01-28 Thread gex
What is the best way to load images for a canvas then? Do I have to
add them to the document and hide them with css? Or are there other /
better ways?

-- 
You received 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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread David Chandler
Hi Thomas,

It's the latter. The upcoming 2.2 RC1 will be released on code.google.com,
but not pushed to maven central. The next thing pushed to maven central will
be 2.2.

/dmc

On Fri, Jan 28, 2011 at 10:16 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On Friday, January 28, 2011 3:00:48 PM UTC+1, David Chandler (Google)
 wrote:

 GWT 2.2M1 was released to maven central yesterday, albeit mistakenly as
 version 2.2-rc1 instead of 2.2-m1 as it should have been due to a
 misunderstanding on my part. The next version pushed to Maven Central will
 be the 2.2 release.


 Just so I understand correctly: does that mean the next version will
 finally be 2.2 (and will be pushed to maven central as any other) ? or that
 the upcoming 2.2 RC1 will only be released on Google servers and not pushed
 to maven central ?

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received 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: Firefox Plugin for GWT not downloading

2011-01-28 Thread Xuanah
Firefox plug-in is now available. Chrome's is still not working. It
still asks to be updated every time you open the page...

On Jan 28, 3:44 pm, Chris Conroy con...@google.com wrote:
 Hi everyone. This has now been fixed. Sorry for the trouble.

-- 
You received 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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Arthur Kalmenson
Does this include the Touch Handlers that went in recently?

--
Arthur Kalmenson



On Wed, Jan 26, 2011 at 6:21 PM, Eric Clayberg clayb...@google.com wrote:
 Good news! Google Plugin for Eclipse 2.2M1 (including Google Web
 Toolkit 2.2M1) is ready for you to download and try out from the
 following update site URLs...

 Eclipse 3.6
 http://dl.google.com/eclipse/plugin/beta/e36

 Eclipse 3.5
 http://dl.google.com/eclipse/plugin/beta/e35

 Eclipse 3.4
 http://dl.google.com/eclipse/plugin/beta/e34

 For just GWT 2.2M1, you can download it here...

 http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.2-M1.zip

 The major new feature of GPE/GWT 2.2 is a fully integrated UI
 designer. As many of you may recall back in September of this year, we
 relaunched GWT Designer after the Instantiations acquisition. Since
 then we’ve been hard at work formally integrating GWT Designer
 directly into GPE. Our goal is to provide a unified installation and
 simplified developer experience, and we think that we’ve done a very
 good job with this. Our focus has been to remove redundant
 functionality, merge build stories between GWT Designer and the GPE,
 and to add support for the newest features of GWT itself.

 We've also included GWT SDK support for HTML5 specific features, such
 as Canvas and the Audio/Video tag. These APIs are still experimental
 and may change a bit over the next couple releases, but we feel that
 they're solid and deserving of some real mileage (by you). Along the
 lines of new APIs, there's also some exciting new features in the
 CellTable, namely adding default column sorting functionality, and
 support for setting column widths.

 As always, milestone builds like this are use-at-your-own-risk. There
 are known bugs, and it isn't quite ready for production use yet. We
 would also advise installing this into a new, clean Eclipse
 environment or, at minimum, uninstalling any older version of GWT
 Designer that you have installed.

 -- Eric, on behalf of the GWT, App Engine, and Google Plugin teams

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



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Google Web Fonts

2011-01-28 Thread Arthur Kalmenson
I got it working with my GWT app by just putting the link into the
HTML file (that includes the GWT JS) and using the font as you would
use any font (like verdana) in your CSS file. No @font-face required.

--
Arthur Kalmenson



On Fri, Jan 28, 2011 at 9:48 AM, Jeff Schwartz jefftschwa...@gmail.com wrote:


 2011/1/28 Jaroslav Záruba jaroslav.zar...@gmail.com

 No trick apparently, @font-face.

 Yup, I believe you are right :)

 Too bad the fonts (quite predictably) miss many characters and there's no
 way to complete them. I'd participate glady.

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



 --
 Jeff Schwartz

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


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



widget has padding but getPadding returns nothing?

2011-01-28 Thread Magnus
Hi,

I would like to get the padding of a widget. It's an inner widget of a
StackLayoutPanel.

getElement().getStyle().getPadding() returns nothing.

But in FireBug I see that there is a padding property in the CSS
selector (.gwt-StackLayoutPanelContent).

How can I get this?

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: chrome - prompting me to install gwt plugin but already installed

2011-01-28 Thread Tony
gwt bug report
http://code.google.com/p/google-web-toolkit/issues/detail?id=5941

On Jan 26, 3:54 pm, cri chuck.irvine...@gmail.com wrote:
 Suddenly today, after months of running gwt in development mode in
 conjunction with chrome, I continually get prompted to load the gwt
 dev plugin for chrome. However, the plugin is already installed. I
 also have ie6 with the plugin installed and there I do not have this
 problem. This doesn't seem to be related to my project since I have
 the same problem when running the default project created by a brand
 new gwt app created by invoking New Web Application Project. Help!!
 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
Hi Jeff,

Thank you.  I added a SingleSelectionModel to my CellTable, and now I
can force selection of rows.

Any idea how I tell a column of CheckBoxes that they can't accept any
clicks?

Greg

On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
 You can use one of the concrete implementations of AbstractSelectionModel to
 select rows and respond to row selection. CellTables and
 AbstractSelectionModel instances work hand-in-hand.

 You connect the selection model to the cell table by calling the table's
 setSelectionModel method passing an instance of a selection model.

 You select rows by calling the selection model's setSelected method passing
 an instance of the data object being displayed by the table. The row
 displaying that instance of the data object will then be selected

 You respond to row selection by adding a SelectionChangeEvent.Handler() to
 the selection model by calling the selection model's
 addSelectionChangeHandler method. You can use this event, for instance, to
 load a detailed view of the selected data object such as more information,
 data from its children data objects, etc. etc.

 Jeff

 On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty dougherty.greg...@mayo.edu



  wrote:
  I am trying to use three CellTables to make a Users and Groups panel
  in my current application.  Its purpose is so users can give other
  users access to resources that they control (in this particular case,
  choosing which people can see the information you've uploaded to a
  database).

  The first table is the Groups table.  Groups can be added and
  selected.  If you are the owner of the current Group then you can
  modify its settings, if not, you can't.

  The second table is Users.  It has two columns, a text field with the
  name of the user, and a checkbox reporting whether or not the user is
  a member of the selected group.

  The third table is Resources.  It lists the information available to
  members of the current group, and any information you control that is
  not available to the current group (so you can give access to that
  information to the members of the group).  It also has two fields, the
  name of the resource, and a checkbox.

  Issues I'm trying to solve:
  1: How do I programmatically select a row in a table?  When a user
  creates a new group, I wish to select it.  When the user first brings
  up the panel, I'd like to select the first group (or, maybe, the first
  group the person owns).

  2: How do I disable a checkbox?  If the user doesn't own the group,
  they shouldn't be able to change anything.

  TIA,

  Greg

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 *Jeff Schwartz*

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

2011-01-28 Thread Ben Imp
I've only used Selenium for GWT client testing.  It worked as we
expected it to.  The learning curve has a bit of a bump at first, due
to the somewhat confusing way they name things and have you configure
a test suite.  Nothing to do specifically with GWT, mind you.

I must mention that we have done a very limited amount of full on
integration testing, however.  Most of our testing is in the form of
unit tests.

-Ben

On Jan 28, 10:32 am, SBParks scott.b.pa...@gmail.com wrote:
 Folks,

  Hello. I'm new to the group, but I've been working with a GWT based
 application for roughly 4 months now.  Great stuff!

  I am looking ahead to testing our application.  We have a person in our
 organization who performs test using the Sahi test scripts / programs.
  We've also discussed using Selenium to help with our testing effort.

  I am looking for opinions and experiences on what tools, specifically
 either Sahi and Selenium, are most useful for testing GWT based web
 applications.  Possibly, one of these test suite is better suited for a GWT
 application over the other.

  I do appreciate your time.

 Scott

-- 
You received 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: chrome - prompting me to install gwt plugin but already installed

2011-01-28 Thread Chris Conroy
Hi everyone. A repacking of the crx is now live. This should finally fix the
issues for users on Windows.

On Fri, Jan 28, 2011 at 11:54 AM, Tony antony.tr...@gmail.com wrote:

 gwt bug report
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5941

 On Jan 26, 3:54 pm, cri chuck.irvine...@gmail.com wrote:
  Suddenly today, after months of running gwt in development mode in
  conjunction with chrome, I continually get prompted to load the gwt
  dev plugin for chrome. However, the plugin is already installed. I
  also have ie6 with the plugin installed and there I do not have this
  problem. This doesn't seem to be related to my project since I have
  the same problem when running the default project created by a brand
  new gwt app created by invoking New Web Application Project. Help!!
  Thanks

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



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



CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
I have two CellTables that are logically connected together.  When I
change the selection of the first one, I need to change the data
representation in the second one.  When I first create the two tables,
this works.  I call refresh on the DataProvider for the second table,
it calls getValue for the column of check boxes, and the boxes are
checked correctly.

However, when I change the selection in the first table, and then call
refresh on the DataProvider, the getValue calls are made, but their
results are ignored.

Is this a bug in GWT, or am I doing something wrong?

TIA,

Greg

-- 
You received 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: Selecting and disabling elements in CellTable

2011-01-28 Thread Jeff Schwartz
From a UI designer's perspective why display a column of check boxes if the
user isn't allowed to click them? I wouldn't personally as a designer nor
would I like that if I were a user.

If the checkbox column is in a cell table that is being rendered in response
to the user having selected something from somewhere else in the view then
I'd first determine if the user can or cannot check the boxes and then I
would render the table accordingly.

But that is just me and the way I would do it. Now, about your question
which requires a question: Did you extend ColumnT,C to use check boxes in
your cell table? If you did you can extend your implementation's api even
further by providing it with methods to enable and disable the checkboxes.

Jeff

On Fri, Jan 28, 2011 at 11:59 AM, Greg Dougherty dougherty.greg...@mayo.edu
 wrote:

 Hi Jeff,

 Thank you.  I added a SingleSelectionModel to my CellTable, and now I
 can force selection of rows.

 Any idea how I tell a column of CheckBoxes that they can't accept any
 clicks?

 Greg

 On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
  You can use one of the concrete implementations of AbstractSelectionModel
 to
  select rows and respond to row selection. CellTables and
  AbstractSelectionModel instances work hand-in-hand.
 
  You connect the selection model to the cell table by calling the table's
  setSelectionModel method passing an instance of a selection model.
 
  You select rows by calling the selection model's setSelected method
 passing
  an instance of the data object being displayed by the table. The row
  displaying that instance of the data object will then be selected
 
  You respond to row selection by adding a SelectionChangeEvent.Handler()
 to
  the selection model by calling the selection model's
  addSelectionChangeHandler method. You can use this event, for instance,
 to
  load a detailed view of the selected data object such as more
 information,
  data from its children data objects, etc. etc.
 
  Jeff
 
  On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty 
 dougherty.greg...@mayo.edu
 
 
 
   wrote:
   I am trying to use three CellTables to make a Users and Groups panel
   in my current application.  Its purpose is so users can give other
   users access to resources that they control (in this particular case,
   choosing which people can see the information you've uploaded to a
   database).
 
   The first table is the Groups table.  Groups can be added and
   selected.  If you are the owner of the current Group then you can
   modify its settings, if not, you can't.
 
   The second table is Users.  It has two columns, a text field with the
   name of the user, and a checkbox reporting whether or not the user is
   a member of the selected group.
 
   The third table is Resources.  It lists the information available to
   members of the current group, and any information you control that is
   not available to the current group (so you can give access to that
   information to the members of the group).  It also has two fields, the
   name of the resource, and a checkbox.
 
   Issues I'm trying to solve:
   1: How do I programmatically select a row in a table?  When a user
   creates a new group, I wish to select it.  When the user first brings
   up the panel, I'd like to select the first group (or, maybe, the first
   group the person owns).
 
   2: How do I disable a checkbox?  If the user doesn't own the group,
   they shouldn't be able to change anything.
 
   TIA,
 
   Greg
 
   --
   You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  *Jeff Schwartz*

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
*Jeff Schwartz*

-- 
You received 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: CellTable elements not updating correctly

2011-01-28 Thread Jeff Schwartz
Code?

On Fri, Jan 28, 2011 at 12:28 PM, Greg Dougherty dougherty.greg...@mayo.edu
 wrote:

 I have two CellTables that are logically connected together.  When I
 change the selection of the first one, I need to change the data
 representation in the second one.  When I first create the two tables,
 this works.  I call refresh on the DataProvider for the second table,
 it calls getValue for the column of check boxes, and the boxes are
 checked correctly.

 However, when I change the selection in the first table, and then call
 refresh on the DataProvider, the getValue calls are made, but their
 results are ignored.

 Is this a bug in GWT, or am I doing something wrong?

 TIA,

 Greg

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
*Jeff Schwartz*

-- 
You received 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.1.1. + Deploy in Tomcat

2011-01-28 Thread Gabriel
Hi Florian, Thomas, thanks for reply.

I have this on WEB-INF\lib:

* db4o-7.12.156.14667-core-java5.jar
* geronimo-jpa_3.0_spec-1.1.1.jar
* gwt-servlet.jar
* gwt-servlet-deps.jar
* jsr107cache-1.1.jar

I'm using GWT 2.1.1 without App Engine in Development Mode and run
successfully. When I try to deploy in Tomcat 6, I have next error:

GWT module 'appGwtRf' may need to be (re)compiled

What's I'm doing wrong?

Thanks in advance.

Thomas Broyer ha escrito:
 On Thursday, January 27, 2011 12:29:43 AM UTC+1, Florian wrote:
 
  can you plz specify what the problem is?
  Usual way of deploying for tomcat with eclipse(at least how i do it..)
  1) Make sure you have all the libs that you referenced in your \war
  \WEB-INF\lib folder, for projects that you referenced in eclipse, do
  the same.
 

 ...and when using RequestFactory, this also means gwt-servlet-deps.jar (or
 javax.validation and org.json if you're using Maven)

-- 
You received 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: widget has padding but getPadding returns nothing?

2011-01-28 Thread Jeff Larsen
I believe 

getElement().getStyle().getPadding() will only get inline styles, not ones 
from stylesheets. 

As far as the answer to your question, I'd like to know myself. That would 
be very useful to know how to get the padding etc of a widget. 


-- 
You received 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: CellTable elements not updating correctly

2011-01-28 Thread Greg Dougherty
// Making the cell I click on to change what Group i'm seeing:
ClickableTextCell   groupCell = new ClickableTextCell ();
FieldUpdaterGroupInfo, String updater = new FieldUpdaterGroupInfo,
String () {
@Override
public void update (int index, GroupInfo theInfo, String value)
{
boolean isOwner = (theInfo != null)  theInfo.getOwner
().equalsIgnoreCase (userName);

currentGroup = theInfo;
addUser.setEnabled (isOwner);

userProvider.refresh ();
}
};

GroupColumn groupColumn = new GroupColumn (groupCell);
groupColumn.setFieldUpdater (updater);

theTable.addColumn (groupColumn, Name);

public class UserColumn extends ColumnString, Boolean implements
FieldUpdaterString, Boolean
{
private static GroupInfogroupInfo = null;
private static boolean  groupOwner = false;

/* (non-Javadoc)
 * @see
com.google.gwt.user.cellview.client.Column#getValue(java.lang.Object)
 */
@Override
public Boolean getValue (String user)
{
if (groupInfo == null)
return false;

return groupInfo.hasUser (user);
}
}


On Jan 28, 11:31 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
 Code?

 On Fri, Jan 28, 2011 at 12:28 PM, Greg Dougherty dougherty.greg...@mayo.edu



  wrote:
  I have two CellTables that are logically connected together.  When I
  change the selection of the first one, I need to change the data
  representation in the second one.  When I first create the two tables,
  this works.  I call refresh on the DataProvider for the second table,
  it calls getValue for the column of check boxes, and the boxes are
  checked correctly.

  However, when I change the selection in the first table, and then call
  refresh on the DataProvider, the getValue calls are made, but their
  results are ignored.

  Is this a bug in GWT, or am I doing something wrong?

  TIA,

  Greg

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 *Jeff Schwartz*

-- 
You received 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: Selecting and disabling elements in CellTable

2011-01-28 Thread Deepak Singh
Hi Jeff,

Similar problem i am also facing.

I want the rows to be selected with focus and then get the selected object
for further action.
when the table is created appeared first, the focus should automatically go
to first row and the row should automatically be selected and as focus moves
through rows by using arrow keys, corresponding rows should be selected.

How can i acheive this?

Thanks

On Fri, Jan 28, 2011 at 10:59 PM, Jeff Schwartz jefftschwa...@gmail.comwrote:

 From a UI designer's perspective why display a column of check boxes if the
 user isn't allowed to click them? I wouldn't personally as a designer nor
 would I like that if I were a user.

 If the checkbox column is in a cell table that is being rendered in
 response to the user having selected something from somewhere else in the
 view then I'd first determine if the user can or cannot check the boxes and
 then I would render the table accordingly.

 But that is just me and the way I would do it. Now, about your question
 which requires a question: Did you extend ColumnT,C to use check boxes in
 your cell table? If you did you can extend your implementation's api even
 further by providing it with methods to enable and disable the checkboxes.

 Jeff


 On Fri, Jan 28, 2011 at 11:59 AM, Greg Dougherty 
 dougherty.greg...@mayo.edu wrote:

 Hi Jeff,

 Thank you.  I added a SingleSelectionModel to my CellTable, and now I
 can force selection of rows.

 Any idea how I tell a column of CheckBoxes that they can't accept any
 clicks?

 Greg

 On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
  You can use one of the concrete implementations of
 AbstractSelectionModel to
  select rows and respond to row selection. CellTables and
  AbstractSelectionModel instances work hand-in-hand.
 
  You connect the selection model to the cell table by calling the table's
  setSelectionModel method passing an instance of a selection model.
 
  You select rows by calling the selection model's setSelected method
 passing
  an instance of the data object being displayed by the table. The row
  displaying that instance of the data object will then be selected
 
  You respond to row selection by adding a SelectionChangeEvent.Handler()
 to
  the selection model by calling the selection model's
  addSelectionChangeHandler method. You can use this event, for instance,
 to
  load a detailed view of the selected data object such as more
 information,
  data from its children data objects, etc. etc.
 
  Jeff
 
  On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty 
 dougherty.greg...@mayo.edu
 
 
 
   wrote:
   I am trying to use three CellTables to make a Users and Groups panel
   in my current application.  Its purpose is so users can give other
   users access to resources that they control (in this particular case,
   choosing which people can see the information you've uploaded to a
   database).
 
   The first table is the Groups table.  Groups can be added and
   selected.  If you are the owner of the current Group then you can
   modify its settings, if not, you can't.
 
   The second table is Users.  It has two columns, a text field with the
   name of the user, and a checkbox reporting whether or not the user is
   a member of the selected group.
 
   The third table is Resources.  It lists the information available to
   members of the current group, and any information you control that is
   not available to the current group (so you can give access to that
   information to the members of the group).  It also has two fields, the
   name of the resource, and a checkbox.
 
   Issues I'm trying to solve:
   1: How do I programmatically select a row in a table?  When a user
   creates a new group, I wish to select it.  When the user first brings
   up the panel, I'd like to select the first group (or, maybe, the first
   group the person owns).
 
   2: How do I disable a checkbox?  If the user doesn't own the group,
   they shouldn't be able to change anything.
 
   TIA,
 
   Greg
 
   --
   You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  *Jeff Schwartz*

 --
 You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 

PopupPanel

2011-01-28 Thread SVR
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/PopupPanel.html

Can somebody please tell me from the above doc, which sample project does
the PopupPanel image correspond to? (I mean the sample code for the example
Richard Feynman popup).
I want the exact same functionality, but sizing and placement of popup has
been a big issue and I would like to look at this sample code.
thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Getting a user Enter key

2011-01-28 Thread Brian Reilly
Interesting... maybe the alert box is getting the key press event,
which isn't being fired until after the alert has popped up because
that's happening on key down. Maybe using
event.getNativeEvent().getKeyCode() in a KeyPressHandler will work.
I'm not sure because I haven't run into this case myself.

The workaround link that David Chandler posted is to issue #5558 in
the GWT issue tracker:

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

In particular, Thomas Broyer posted what looks like some nice code for
reliably detecting the enter key:

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

-Brian

On Thu, Jan 27, 2011 at 11:27 PM, Michael Phoenix
michaelandrewphoe...@gmail.com wrote:
 Well, I'm ran into this problem while doing the tutorial. I applied
 your solution, but it still doesn't work properly. When I press enter
 in the text box, the error alert comes up, but only for a fraction of
 second, after which it disappears. It works fine for the button click.
 Here's my pertinent code. Any idea what I might be missing? Google
 should really update their tutorial so it works. This type of thing
 doesn't encourage people who are new to the product to continue to use
 it.

    // Listen for keyboard events in the input box.
    newSymbolTextBox.addKeyDownHandler(new KeyDownHandler() {
      public void onKeyDown(KeyDownEvent event) {
        if (event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER)
 {
          addStock();
        }
      }
    });

  }

  /**
   * Add stock to FlexTable. Executed when the user clicks the
 addStockButton or
   * presses enter in the newSymbolTextBox.
   */
  private void addStock() {
    final String symbol =
 newSymbolTextBox.getText().toUpperCase().trim();
    newSymbolTextBox.setFocus(true);

    // Stock code must be between 1 and 10 chars that are numbers,
 letters, or dots.
    if (!symbol.matches(^[0-9A-Z\\.]{1,10}$)) {
      Window.alert(' + symbol + ' is not a valid symbol.);
      newSymbolTextBox.selectAll();
      return;
    }

    newSymbolTextBox.setText();

    // TODO Don't add the stock if it's already in the table.

    // TODO Add the stock to the table.

    // TODO Add a button to remove this stock from the table.

    // TODO Get the stock price.


  }

 On Dec 3 2010, 12:36 pm, Brian Reilly brian.irei...@gmail.com wrote:
 Greg,

 As I mentioned in a thread earlier today 
 (http://groups.google.com/group/google-web-toolkit/browse_thread/threa...),
 try using a KeyDownEvent handler and inspect
 event.getNativeEvent().getKeyCode()
 instead of event.getCharCode().

 From the other thread, it sounds like this behavior may have changed in 2.1,
 so it could be that the documentation is wrong, but only as of fairly
 recently.

 -Brian

 On Fri, Dec 3, 2010 at 3:21 PM, Greg Dougherty
 dougherty.greg...@mayo.eduwrote:

  Ok, the tutorial says that to get a user pressing an enter key in a
  TextBox you should write something like the following:

 http://code.google.com/webtoolkit/doc/latest/tutorial/manageevents.html

         public void onKeyPress (KeyPressEvent event)
         {
                 char    keyPress = event.getCharCode();
                 int     keyCode = keyPress;
                 if (keyPress == KeyCodes.KEY_ENTER)
                         goToRecord ();
         }

  Unfortunately, when I do that, I get a keyCode of 0 for  Enter, Tab,
  and Left Arrow (the keys I tested), while I get the actual key when I
  type a number key.  What gives?  Is the tutorial wrong?  If so, what
  should I be calling?

  TIA,

  Greg

  --
  You received 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

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



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Thomas Broyer
OK thanks, so maybe I'll deploy them in our internal maven repo then, so 
I'll have RC1 when it'll be out.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Selecting and disabling elements in CellTable

2011-01-28 Thread Greg Dougherty
Well, If they create a group, or select a group that they can modify,
then they need the checkboxes.  Having them disappear and reappear
(rather than be disabled and enabled) violates the principles of UI
design that I know and agree with.  Starting with the belief that the
UI should be stable and solid, and that controls should not move
(muscle memory being key to accomplishing things quickly, a UI that
moves targets around is a bad UI).

 Now, about your question
 which requires a question: Did you extend ColumnT,C to use check boxes in
 your cell table? If you did you can extend your implementation's api even
 further by providing it with methods to enable and disable the checkboxes.

public class UserColumn extends ColumnString, Boolean implements
FieldUpdaterString, Boolean

My Cell is a CheckboxCell.  I don't see any routines in either class
for enabling or disabling the checkbox.  So, what do I override /
call?

Thanks,

Greg

On Jan 28, 11:29 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
 From a UI designer's perspective why display a column of check boxes if the
 user isn't allowed to click them? I wouldn't personally as a designer nor
 would I like that if I were a user.

 If the checkbox column is in a cell table that is being rendered in response
 to the user having selected something from somewhere else in the view then
 I'd first determine if the user can or cannot check the boxes and then I
 would render the table accordingly.

 But that is just me and the way I would do it. Now, about your question
 which requires a question: Did you extend ColumnT,C to use check boxes in
 your cell table? If you did you can extend your implementation's api even
 further by providing it with methods to enable and disable the checkboxes.

 Jeff

 On Fri, Jan 28, 2011 at 11:59 AM, Greg Dougherty dougherty.greg...@mayo.edu



  wrote:
  Hi Jeff,

  Thank you.  I added a SingleSelectionModel to my CellTable, and now I
  can force selection of rows.

  Any idea how I tell a column of CheckBoxes that they can't accept any
  clicks?

  Greg

  On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
   You can use one of the concrete implementations of AbstractSelectionModel
  to
   select rows and respond to row selection. CellTables and
   AbstractSelectionModel instances work hand-in-hand.

   You connect the selection model to the cell table by calling the table's
   setSelectionModel method passing an instance of a selection model.

   You select rows by calling the selection model's setSelected method
  passing
   an instance of the data object being displayed by the table. The row
   displaying that instance of the data object will then be selected

   You respond to row selection by adding a SelectionChangeEvent.Handler()
  to
   the selection model by calling the selection model's
   addSelectionChangeHandler method. You can use this event, for instance,
  to
   load a detailed view of the selected data object such as more
  information,
   data from its children data objects, etc. etc.

   Jeff

   On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty 
  dougherty.greg...@mayo.edu

wrote:
I am trying to use three CellTables to make a Users and Groups panel
in my current application.  Its purpose is so users can give other
users access to resources that they control (in this particular case,
choosing which people can see the information you've uploaded to a
database).

The first table is the Groups table.  Groups can be added and
selected.  If you are the owner of the current Group then you can
modify its settings, if not, you can't.

The second table is Users.  It has two columns, a text field with the
name of the user, and a checkbox reporting whether or not the user is
a member of the selected group.

The third table is Resources.  It lists the information available to
members of the current group, and any information you control that is
not available to the current group (so you can give access to that
information to the members of the group).  It also has two fields, the
name of the resource, and a checkbox.

Issues I'm trying to solve:
1: How do I programmatically select a row in a table?  When a user
creates a new group, I wish to select it.  When the user first brings
up the panel, I'd like to select the first group (or, maybe, the first
group the person owns).

2: How do I disable a checkbox?  If the user doesn't own the group,
they shouldn't be able to change anything.

TIA,

Greg

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

Re: GWT 2.1.1. + Deploy in Tomcat

2011-01-28 Thread Thomas Broyer


On Friday, January 28, 2011 6:59:30 PM UTC+1, Gabriel wrote:

 Hi Florian, Thomas, thanks for reply. 

 I have this on WEB-INF\lib: 

 * db4o-7.12.156.14667-core-java5.jar 
 * geronimo-jpa_3.0_spec-1.1.1.jar 
 * gwt-servlet.jar 
 * gwt-servlet-deps.jar 
 * jsr107cache-1.1.jar 

 I'm using GWT 2.1.1 without App Engine in Development Mode and run 
 successfully. When I try to deploy in Tomcat 6, I have next error: 

 GWT module 'appGwtRf' may need to be (re)compiled 

 What's I'm doing wrong?


AFAICT, this 
errorhttp://www.google.com/codesearch/p?hl=fr#A1edwVHBClQ/dev/core/src/com/google/gwt/core/ext/linker/impl/PermutationsUtil.javaq=%22may%20need%20to%20be%20(re)compiled%22%20package:http://google-web-toolkit%5C.googlecode%5C.coml=86
 happens 
when your deployed *.nocache.js is the one produced by the DevMode rather 
than the one produced by the Compiler. 

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

2011-01-28 Thread Thomas Broyer
It's the Mail sample, which you can see live at 
http://gwt.google.com/samples/Mail/Mail.html (then click on Contacts on 
the bottom left, and then click on a contact in the list to make the popup 
appear).
The code is in the GWT SDK distribution.

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

2011-01-28 Thread ciosbel
Mail sample.
http://gwt.google.com/samples/Mail/Mail.html

On 28 Gen, 19:29, SVR svr...@gmail.com wrote:
 http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...

 Can somebody please tell me from the above doc, which sample project does
 the PopupPanel image correspond to? (I mean the sample code for the example
 Richard Feynman popup).
 I want the exact same functionality, but sizing and placement of popup has
 been a big issue and I would like to look at this sample code.
 thanks

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



Fusion Table

2011-01-28 Thread Thomas Lefort
I just discovered Fusion Tables. It's yet another very very cool tool
from the Google (labs?). Check http://www.google.com/fusiontables/,
it's really nice.
But wait, the nicest bit? I reckon GWT was to implement the interface!
at least some parts (tables). Any blog on this? it would be cool to
read.

-- 
You received 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: Google Web Fonts

2011-01-28 Thread EMan
Yes adding it into the main HTML file seems to work now for me.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Selecting and disabling elements in CellTable

2011-01-28 Thread Jeff Schwartz
Don't move the check boxes, just don't render them. If all user interfaces
we're as rigid as that we wouldn't need a dom api to manipulate and render
html on the client. A ui principle you didn't mention is don't expose
useless info/ui to users.

Look, its your site so I'm just giving you something to think about.
On Jan 28, 2011 3:19 PM, Greg Dougherty dougherty.greg...@mayo.edu
wrote:
 Well, If they create a group, or select a group that they can modify,
 then they need the checkboxes. Having them disappear and reappear
 (rather than be disabled and enabled) violates the principles of UI
 design that I know and agree with. Starting with the belief that the
 UI should be stable and solid, and that controls should not move
 (muscle memory being key to accomplishing things quickly, a UI that
 moves targets around is a bad UI).

 Now, about your question
 which requires a question: Did you extend ColumnT,C to use check boxes
in
 your cell table? If you did you can extend your implementation's api even
 further by providing it with methods to enable and disable the
checkboxes.

 public class UserColumn extends ColumnString, Boolean implements
 FieldUpdaterString, Boolean

 My Cell is a CheckboxCell. I don't see any routines in either class
 for enabling or disabling the checkbox. So, what do I override /
 call?

 Thanks,

 Greg

 On Jan 28, 11:29 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
 From a UI designer's perspective why display a column of check boxes if
the
 user isn't allowed to click them? I wouldn't personally as a designer nor
 would I like that if I were a user.

 If the checkbox column is in a cell table that is being rendered in
response
 to the user having selected something from somewhere else in the view
then
 I'd first determine if the user can or cannot check the boxes and then I
 would render the table accordingly.

 But that is just me and the way I would do it. Now, about your question
 which requires a question: Did you extend ColumnT,C to use check boxes
in
 your cell table? If you did you can extend your implementation's api even
 further by providing it with methods to enable and disable the
checkboxes.

 Jeff

 On Fri, Jan 28, 2011 at 11:59 AM, Greg Dougherty 
dougherty.greg...@mayo.edu



  wrote:
  Hi Jeff,

  Thank you.  I added a SingleSelectionModel to my CellTable, and now I
  can force selection of rows.

  Any idea how I tell a column of CheckBoxes that they can't accept any
  clicks?

  Greg

  On Jan 28, 10:11 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
   You can use one of the concrete implementations of
AbstractSelectionModel
  to
   select rows and respond to row selection. CellTables and
   AbstractSelectionModel instances work hand-in-hand.

   You connect the selection model to the cell table by calling the
table's
   setSelectionModel method passing an instance of a selection model.

   You select rows by calling the selection model's setSelected method
  passing
   an instance of the data object being displayed by the table. The row
   displaying that instance of the data object will then be selected

   You respond to row selection by adding a
SelectionChangeEvent.Handler()
  to
   the selection model by calling the selection model's
   addSelectionChangeHandler method. You can use this event, for
instance,
  to
   load a detailed view of the selected data object such as more
  information,
   data from its children data objects, etc. etc.

   Jeff

   On Fri, Jan 28, 2011 at 10:49 AM, Greg Dougherty 
  dougherty.greg...@mayo.edu

wrote:
I am trying to use three CellTables to make a Users and Groups
panel
in my current application.  Its purpose is so users can give other
users access to resources that they control (in this particular
case,
choosing which people can see the information you've uploaded to a
database).

The first table is the Groups table.  Groups can be added and
selected.  If you are the owner of the current Group then you can
modify its settings, if not, you can't.

The second table is Users.  It has two columns, a text field with
the
name of the user, and a checkbox reporting whether or not the user
is
a member of the selected group.

The third table is Resources.  It lists the information available
to
members of the current group, and any information you control that
is
not available to the current group (so you can give access to that
information to the members of the group).  It also has two fields,
the
name of the resource, and a checkbox.

Issues I'm trying to solve:
1: How do I programmatically select a row in a table?  When a user
creates a new group, I wish to select it.  When the user first
brings
up the panel, I'd like to select the first group (or, maybe, the
first
group the person owns).

2: How do I disable a checkbox?  If the user doesn't own the group,
they shouldn't be able to change anything.

TIA,

Greg

--
   

Re: Use hosted mode existing tomcat server and not with embadded jetty server

2011-01-28 Thread Ben Imp
Its in the FAQ.  In fact, its the first result when you search for
Tomcat on the GWT site.  I highly recommend reading through the all of
the docs there.

http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s

-Ben

On Jan 27, 6:21 am, tarik.bts...@gmail.com tarik.bts...@gmail.com
wrote:
 Hello all,
   I'm new gwt and i'm working in project which i create by using
 eclipse and architype of gwt-maven pluging.
 So my problem is how to use my existnig tomcat server to debug my
 application ?
 i made some researsh  what i find is to add noServertrue/noServer
 in my gwt-maven pluging configuration in my pom.xml and configure
 runTarget but i dont understund how to make this?! and also where to
 put sources in webapps  folder of tomcat or in anthor place and use
 maven-war-plugin to generate snapshot to webapps/myproject or some
 thing else like tomcat pluging ??!!

 please can some help me in this topic because very confused .

-- 
You received 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: Use hosted mode existing tomcat server and not with embadded jetty server

2011-01-28 Thread Y2i
Following those instructions will allow debugging client side only, and they 
require often recompilation of the project which slows down the development. 
 After going through that approach I finally migrated to Jetty and have no 
regrets.

-- 
You received 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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Jambi
Great news!

is there maybe a documentation for the Canvas API? I love the fact
that GWT 2.2 comes with a build in solution, but does it cover all
canvas functions? I´m stucking on drawing an image on the canvas. How
can I create an ImageElement that fits to the context?

On Jan 28, 8:25 pm, Thomas Broyer t.bro...@gmail.com wrote:
 OK thanks, so maybe I'll deploy them in our internal maven repo then, so
 I'll have RC1 when it'll be out.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Announcing GPE/GWT 2.2M1

2011-01-28 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/canvas/client/Canvas.html
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/canvas/client/Canvas.java
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/dom/client/CanvasElement.html
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/dom/client/CanvasElement.java
http://www.w3.org/TR/html5/the-canvas-element.html#canvas
http://gwt-code-reviews.appspot.com/1286802

On Jan 28, 4:34 pm, Jambi michael.lukaszc...@googlemail.com wrote:
 Great news!

 is there maybe a documentation for the Canvas API? I love the fact
 that GWT 2.2 comes with a build in solution, but does it cover all
 canvas functions? I´m stucking on drawing an image on the canvas. How
 can I create an ImageElement that fits to the context?

 On Jan 28, 8:25 pm, Thomas Broyer t.bro...@gmail.com wrote:



  OK thanks, so maybe I'll deploy them in our internal maven repo then, so
  I'll have RC1 when it'll be out.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: widget has padding but getPadding returns nothing?

2011-01-28 Thread Magnus
Hi,

if this is true then it's not good. :-) I thought that these methods
operate on the DOM, and it should be transparent, where the styles of
the DOM come from...

I would be glad if someone could clarify this...

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: widget has padding but getPadding returns nothing?

2011-01-28 Thread Jim Douglas
http://www.google.com/search?q=getComputedStyle

On Jan 28, 7:21 pm, Magnus alpineblas...@googlemail.com wrote:
 Hi,

 if this is true then it's not good. :-) I thought that these methods
 operate on the DOM, and it should be transparent, where the styles of
 the DOM come from...

 I would be glad if someone could clarify this...

 Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Unable to load image, please help

2011-01-28 Thread Sednus
 I checked it out, but my code is meant for an isolated network,
so I need to be able to generate the images on the server-side.
Apparently I am having trouble adding the JFreeChart libraries
properly.  Could someone help with a walk-trough on how to?

Thanks a lot anyway it was very useful.

On Jan 28, 11:11 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Friday, January 28, 2011 2:34:43 PM UTC+1, Sednus wrote:

  javax.swing.event.EventListenerList is a restricted class. Please see
  the Google  App Engine developer's guide for more details.

 If you're building your app on Google App Engine, maybe you should rather
 use Google's Chart API instead of 
 JFreeChart:http://code.google.com/apis/chart/

-- 
You received 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: widget has padding but getPadding returns nothing?

2011-01-28 Thread Jim Douglas
Magnus --

Try something like this:

...

Widget widget = ...;
Element element = widget.getElement();
int paddingTop = getComputedStyle(element,paddingTop);
int paddingRight = getComputedStyle(element,paddingRight);
int paddingBottom = getComputedStyle(element,paddingBottom);
int paddingLeft = getComputedStyle(element,paddingTLeft);

...

public static native int getComputedStyle(Element elem, String prop)
/*-{
var strValue = ;
if ($doc.defaultView  $doc.defaultView.getComputedStyle) // W3C
{
strValue =
$doc.defaultView.getComputedStyle(elem,null).getPropertyValue(prop);
}
else if (elem.currentStyle) // IE
{
strValue = elem.currentStyle[prop];
}
return parseInt(strValue);
}-*/;

On Jan 28, 8:53 pm, Jim Douglas jdou...@basis.com wrote:
 http://www.google.com/search?q=getComputedStyle

 On Jan 28, 7:21 pm, Magnus alpineblas...@googlemail.com wrote:



  Hi,

  if this is true then it's not good. :-) I thought that these methods
  operate on the DOM, and it should be transparent, where the styles of
  the DOM come from...

  I would be glad if someone could clarify this...

  Magnus

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



What makes a DockLayoutPanel stretch its child and what prevents an AbsolutePanel from doing so?

2011-01-28 Thread Magnus
Hi,

I know that a DockLayoutPanel stretches its children to use the full
available space. I also know that an AbsolutePanel does not, i. e. it
positions a child with its given size per default at the upper left.

However, what exactly causes this behavior? And how can I manually
stretch a child widget within an Absolutepanel?

Thanks
Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: What makes a DockLayoutPanel stretch its child and what prevents an AbsolutePanel from doing so?

2011-01-28 Thread Magnus
Hi,

in addition:

I have a base class that derives from AbsolutePanel, and I have
different sub classes. Some of the sub classes need to be stretched,
some should not be stretched.

In the first case, it would be good if the base class is derived from
DockLayoutPanel or something like that. In the second case, it would
be good if it were an AbsolutePanel.

But it cannot be both. How can one manually change the stretching
behavior?

(I cannot use different base classes because there must be one single
base class that can be added in a superior context.)

Thanks
Magnus

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



Cannot install gwt plugin in Eclipse with Windows 7 64-bit

2011-01-28 Thread Kiarash
I'm trying to install Eclipse plugin for GWT and follow the
instructions step by step as following:

- Download and install Eclipse 3.6 Helios
- Choosing Help Install new software... adding the address
http://dl.google.com/eclipse/plugin/3.6
- Here I see GWT plugins and Select all, and Next

Then I get the following message:
Cannot complete the install because one or more required items could
not be found.
  Software being installed: Google Plugin for Eclipse 3.6
1.4.2.v201012211742
(com.google.gdt.eclipse.suite.e36.feature.feature.group
1.4.2.v201012211742)
  Missing requirement: Google Plugin for Eclipse 3.6
1.4.2.v201012211742
(com.google.gdt.eclipse.suite.e36.feature.feature.group
1.4.2.v201012211742) requires
'org.eclipse.wst.common.project.facet.core 0.0.0' but it could not be
found

My computer is a Windows 7 Enterpise, 64-bit and it feels likes this
might be the problem and I am sure there is solution. Do you know how
to get GWT working here? Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Use 'boolean' instead of 'Z' for JSNI primitive type qualifiers. (issue1295805)

2011-01-28 Thread bobv

LGTM


http://gwt-code-reviews.appspot.com/1295805/diff/5001/6001
File dev/core/src/com/google/gwt/dev/javac/JsniChecker.java (right):

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6001#newcode297
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:297:
JsniCollector.reportJsniWarning(
Use emitWarning(deprecation, ...) as below so warning-spam can be
suppressed if necessary?

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6002
File dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java (right):

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6002#newcode1095
dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java:1095: // TODO:
remove support for this.
TODO(deprecation) to make this findable?

http://gwt-code-reviews.appspot.com/1295805/show

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


[gwt-contrib] Re: Improvements to JsniChecker. (issue1333801)

2011-01-28 Thread bobv

LGTM.


http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002
File dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java
(right):

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002#newcode267
dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java:267:
static boolean isJso(TypeBinding typeBinding) {
Add doc:

Essentially {@code JavaScriptObject.class.isAssignableFrom(x)}.

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002#newcode281
dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java:281:
static boolean isJsoSubclass(TypeBinding typeBinding) {
Add doc:

Returns {@code true} if {@code typeBinding} is a subtype of {@code
JavaScriptObject}, but not {@code JavaScriptObject} itself.

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003
File dev/core/src/com/google/gwt/dev/javac/JsniChecker.java (right):

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003#newcode228
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:228:
emitError(Unnecessary qualifier on static field '
Is this a non-fatal error?

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003#newcode285
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:285: + ';
references to instance methods in overlay types are illegal; use a
stronger type or a Java trampoline method);
Fix the formatting here.

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003#newcode330
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:330: + ':
'nullMethod()' is the only legal method reference for 'null');
Formatting.

http://gwt-code-reviews.appspot.com/1333801/show

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


[gwt-contrib] Setting the line-height of the splitter in Vertical/HorizontalSplitPanel to 0px so the font size... (issue1335801)

2011-01-28 Thread jlabanca

Reviewers: pdr,

Description:
Setting the line-height of the splitter in Vertical/HorizontalSplitPanel
to 0px so the font size does not affect the splitter height, which
causes odd rendering effects.


Please review this at http://gwt-code-reviews.appspot.com/1335801/show

Affected files:
  M user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css
  M  
user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css

  M user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css
  M user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css
  M  
user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css
  M  
user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css



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


[gwt-contrib] Re: Setting the line-height of the splitter in Vertical/HorizontalSplitPanel to 0px so the font size... (issue1335801)

2011-01-28 Thread pdr

On 2011/01/28 14:53:05, jlabanca wrote:


LGTM

http://gwt-code-reviews.appspot.com/1335801/show

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


[gwt-contrib] [google-web-toolkit] r9647 committed - bump version for redploy of windows fix crx...

2011-01-28 Thread codesite-noreply

Revision: 9647
Author: gwt.mirror...@gmail.com
Date: Fri Jan 28 08:24:59 2011
Log: bump version for redploy of windows fix crx

Review by: fabio...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9647

Modified:
 /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json
 /trunk/plugins/npapi/prebuilt/gwt-dev-plugin.crx

===
--- /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json	Thu Jan 27  
09:50:46 2011
+++ /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json	Fri Jan 28  
08:24:59 2011

@@ -1,6 +1,6 @@
 {
   name: GWT Developer Plugin,
-  version: 1.0.9639,
+  version: 1.0.9646,
   description: A plugin to enable debugging with GWT's Development  
Mode,

   update_url: https://dl-ssl.google.com/gwt/plugins/chrome/updates.xml;,
   icons: {
===
--- /trunk/plugins/npapi/prebuilt/gwt-dev-plugin.crx	Thu Jan 27 09:50:46  
2011
+++ /trunk/plugins/npapi/prebuilt/gwt-dev-plugin.crx	Fri Jan 28 08:24:59  
2011

Binary file, no diff available.

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


[gwt-contrib] [google-web-toolkit] r9648 committed - Add mnemonics for DevMode swing UI....

2011-01-28 Thread codesite-noreply

Revision: 9648
Author: j...@google.com
Date: Fri Jan 28 05:26:46 2011
Log: Add mnemonics for DevMode swing UI.

Original review at http://gwt-code-reviews.appspot.com/708801/show

Review at http://gwt-code-reviews.appspot.com/1328801

Issue: 5150
Patch by: alexander.orlov, jat
Review by: jat, conroy

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

Modified:
 /trunk/dev/core/src/com/google/gwt/dev/WebServerPanel.java
 /trunk/dev/core/src/com/google/gwt/dev/shell/ShellMainWindow.java
 /trunk/dev/core/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java

===
--- /trunk/dev/core/src/com/google/gwt/dev/WebServerPanel.java	Thu Oct  7  
10:04:32 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/WebServerPanel.java	Fri Jan 28  
05:26:46 2011

@@ -22,6 +22,7 @@
 import java.awt.BorderLayout;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
+import java.awt.event.KeyEvent;
 import java.io.File;

 import javax.swing.JButton;
@@ -55,6 +56,7 @@
 if (restartServerAction != null) {
   JPanel panel = new JPanel(new WrapLayout());
   JButton restartButton = new JButton(Restart Server);
+  restartButton.setMnemonic(KeyEvent.VK_R);
   restartButton.addActionListener(new ActionListener() {
 public void actionPerformed(ActionEvent e) {
   restartServerAction.restartServer(getLogger());
===
--- /trunk/dev/core/src/com/google/gwt/dev/shell/ShellMainWindow.java	Thu  
Oct  7 10:04:32 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/ShellMainWindow.java	Fri  
Jan 28 05:26:46 2011

@@ -26,6 +26,7 @@
 import java.awt.datatransfer.StringSelection;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
+import java.awt.event.KeyEvent;
 import java.io.File;
 import java.io.IOException;
 import java.net.URISyntaxException;
@@ -187,6 +188,7 @@
 loadingMessage = new JLabel(Loading...);
 launchPanel.add(loadingMessage);
 defaultBrowserButton = new JButton(Launch Default Browser);
+defaultBrowserButton.setMnemonic(KeyEvent.VK_L);
 defaultBrowserButton.setEnabled(false);
 defaultBrowserButton.setVisible(false);
 defaultBrowserButton.addActionListener(new ActionListener() {
@@ -196,6 +198,7 @@
 });
 launchPanel.add(defaultBrowserButton);
 copyToClipboardButton = new JButton(Copy to Clipboard);
+copyToClipboardButton.setMnemonic(KeyEvent.VK_C);
 copyToClipboardButton.setEnabled(false);
 copyToClipboardButton.setVisible(false);
 copyToClipboardButton.addActionListener(new ActionListener() {
===
--- /trunk/dev/core/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java	 
Thu Oct  7 10:04:32 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java	 
Fri Jan 28 05:26:46 2011

@@ -302,6 +302,7 @@
 topPanel = new JPanel(new BorderLayout());
 JPanel logButtons = new JPanel(new WrapLayout());
 JButton expandButton = new JButton(Expand All);
+expandButton.setMnemonic(KeyEvent.VK_E);
 expandButton.addActionListener(new ActionListener() {
   public void actionPerformed(ActionEvent e) {
 expandAll();
@@ -309,6 +310,7 @@
 });
 logButtons.add(expandButton);
 JButton collapseButton = new JButton(Collapse All);
+collapseButton.setMnemonic(KeyEvent.VK_O);
 collapseButton.addActionListener(new ActionListener() {
   public void actionPerformed(ActionEvent e) {
 collapseAll();

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


[gwt-contrib] Re: Use 'boolean' instead of 'Z' for JSNI primitive type qualifiers. (issue1295805)

2011-01-28 Thread scottb


http://gwt-code-reviews.appspot.com/1295805/diff/5001/6001
File dev/core/src/com/google/gwt/dev/javac/JsniChecker.java (right):

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6001#newcode297
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:297:
JsniCollector.reportJsniWarning(
Nah, I don't really want it suppressed.  This isn't a case of changed
functionality that needs testing, it's a simple Z - boolean change...
which is less work than adding the SuppressWarnings.  The existing stuff
has to do with pointers into user code that is deprecated.

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6002
File dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java (right):

http://gwt-code-reviews.appspot.com/1295805/diff/5001/6002#newcode1095
dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java:1095: // TODO:
remove support for this.
On 2011/01/28 13:38:26, bobv wrote:

TODO(deprecation) to make this findable?


Done.

http://gwt-code-reviews.appspot.com/1295805/show

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


[gwt-contrib] Re: Improvements to JsniChecker. (issue1333801)

2011-01-28 Thread scottb

Thank you!


http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002
File dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java
(right):

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002#newcode267
dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java:267:
static boolean isJso(TypeBinding typeBinding) {
On 2011/01/28 14:23:29, bobv wrote:

Add doc:



Essentially {@code JavaScriptObject.class.isAssignableFrom(x)}.


Done.

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5002#newcode281
dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java:281:
static boolean isJsoSubclass(TypeBinding typeBinding) {
On 2011/01/28 14:23:29, bobv wrote:

Add doc:



Returns {@code true} if {@code typeBinding} is a subtype of {@code
JavaScriptObject}, but not {@code JavaScriptObject} itself.


Done.

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003
File dev/core/src/com/google/gwt/dev/javac/JsniChecker.java (right):

http://gwt-code-reviews.appspot.com/1333801/diff/4001/5003#newcode285
dev/core/src/com/google/gwt/dev/javac/JsniChecker.java:285: + ';
references to instance methods in overlay types are illegal; use a
stronger type or a Java trampoline method);
On 2011/01/28 14:23:29, bobv wrote:

Fix the formatting here.


Done.

http://gwt-code-reviews.appspot.com/1333801/show

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


[gwt-contrib] [google-web-toolkit] r9649 committed - Use 'boolean' instead of 'Z' for JSNI primitive type qualifiers....

2011-01-28 Thread codesite-noreply

Revision: 9649
Author: gwt.mirror...@gmail.com
Date: Fri Jan 28 09:13:08 2011
Log: Use 'boolean' instead of 'Z' for JSNI primitive type qualifiers.

This change is transitional, we will continue to support the only style for  
now.


http://gwt-code-reviews.appspot.com/1295805/show

Review by: robertvaw...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9649

Modified:
 /trunk/dev/core/src/com/google/gwt/dev/javac/JsniChecker.java
 /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java
 /trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
 /trunk/dev/core/test/com/google/gwt/dev/javac/JsniCheckerTest.java
 /trunk/user/src/com/google/gwt/rpc/rebind/RpcProxyCreator.java
 /trunk/user/src/com/google/gwt/user/rebind/rpc/TypeSerializerCreator.java

===
--- /trunk/dev/core/src/com/google/gwt/dev/javac/JsniChecker.java	Thu Jan  
27 12:46:16 2011
+++ /trunk/dev/core/src/com/google/gwt/dev/javac/JsniChecker.java	Fri Jan  
28 09:13:08 2011

@@ -280,13 +280,27 @@
 className = className.substring(0, className.length() - 2);
   }

-  /*
-   * TODO(bobv): OMG WTF LOL. Okay, but seriously, the LHS of a JSNI  
ref for

-   * a primitive type should be the keyword, e.g. int.class.
-   */
-  ReferenceBinding clazz = findClass(className);
-  boolean isPrimitive = (clazz == null)  className.length() == 1
-   ZBCDFIJSV.indexOf(className.charAt(0)) = 0;
+  boolean isPrimitive = false;
+  TypeBinding binding =  
method.scope.getBaseType(className.toCharArray());

+  if (binding != null) {
+isPrimitive = true;
+  } else {
+binding = findClass(className);
+  }
+
+  // TODO(deprecation): remove this support eventually.
+  if (binding == null  className.length() == 1
+   ZBCDFIJSV.indexOf(className.charAt(0)) = 0) {
+isPrimitive = true;
+binding = getTypeBinding(className.charAt(0));
+assert binding != null;
+JsniCollector.reportJsniWarning(
+errorInfo,
+method,
+Referencing primitive type ' + className
++ ': this is deprecated, use '
++ String.valueOf(binding.sourceName()) + ' instead);
+  }

   if (isArray || isPrimitive) {
 if (!jsniRef.isField() || !jsniRef.memberName().equals(class)) {
@@ -302,26 +316,26 @@
 return;
   }

-  // TODO(bobv): uncomment this.
-  // ReferenceBinding clazz = findClass(className);
   if (looksLikeAnonymousClass(jsniRef)
-  || (clazz != null  clazz.isAnonymousType())) {
+  || (binding != null  binding.isAnonymousType())) {
 emitError(Referencing class ' + className
 + : JSNI references to anonymous classes are illegal);
-  } else if (clazz != null) {
-if (clazz.isDeprecated()) {
-  emitWarning(deprecation, Referencing deprecated class '
-  + className + ');
-}
-
-if (jsniRef.isMethod()) {
-  checkMethodRef(clazz, jsniRef);
-} else {
-  checkFieldRef(clazz, jsniRef);
-}
-  } else {
+return;
+  } else if (binding == null) {
 emitError(JSNI Referencing class ' + className
 + ': unable to resolve class, expect subsequent failures);
+return;
+  }
+  ReferenceBinding clazz = (ReferenceBinding) binding;
+  if (clazz.isDeprecated()) {
+emitWarning(deprecation, Referencing deprecated class ' +  
className

++ ');
+  }
+
+  if (jsniRef.isMethod()) {
+checkMethodRef(clazz, jsniRef);
+  } else {
+checkFieldRef(clazz, jsniRef);
   }
 }

@@ -405,6 +419,32 @@
   }
   return null;
 }
+
+@Deprecated
+private TypeBinding getTypeBinding(char c) {
+  switch (c) {
+case 'I':
+  return TypeBinding.INT;
+case 'Z':
+  return TypeBinding.BOOLEAN;
+case 'V':
+  return TypeBinding.VOID;
+case 'C':
+  return TypeBinding.CHAR;
+case 'D':
+  return TypeBinding.DOUBLE;
+case 'B':
+  return TypeBinding.BYTE;
+case 'F':
+  return TypeBinding.FLOAT;
+case 'J':
+  return TypeBinding.LONG;
+case 'S':
+  return TypeBinding.SHORT;
+default:
+  return null;
+  }
+}

 private boolean looksLikeAnonymousClass(JsniRef jsniRef) {
   char[][] compoundName = getCompoundName(jsniRef);
===
--- /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java	Wed Jan 26  
16:52:13 2011
+++ /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java	Fri Jan 28  
09:13:08 2011

@@ -106,6 +106,11 @@

   private static final int IS_NULL = 0;

+  private static final MapString, JPrimitiveType primitiveTypes = new  
HashMapString, JPrimitiveType();

+
+  @Deprecated
+  private static final 

[gwt-contrib] Re: Make UiBinder accept IsWidget subinterfaces properly (issue1295806)

2011-01-28 Thread rjrjr

Thanks for this.

Re: Widget.asWidgetOrNull(IsWidget), it should be used where-ever it is
legal to pass a null Widget param. In spots where a null widget would be
an error, a null IsWidget should fail too.

Re: too simple to test, I'm pretty sure there is no such thing. If you
could at least add test cases to widgets that already have test classes,
that would be best.

I'll look in more depth now

On 2011/01/28 17:25:08, luissolano wrote:




http://gwt-code-reviews.appspot.com/1295806/show

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


[gwt-contrib] [google-web-toolkit] r9650 committed - Setting the line-height of the splitter in Vertical/HorizontalSplitPan...

2011-01-28 Thread codesite-noreply

Revision: 9650
Author: jlaba...@google.com
Date: Fri Jan 28 06:53:00 2011
Log: Setting the line-height of the splitter in  
Vertical/HorizontalSplitPanel to 0px so the font size does not affect the  
splitter height, which causes odd rendering effects.


Review at http://gwt-code-reviews.appspot.com/1335801

Review by: p...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9650

Modified:
  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css
  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css

 /trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css
 /trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css
  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css
  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css


===
---  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css	 
Fri Oct  8 10:03:48 2010
+++  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css	 
Fri Jan 28 06:53:00 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/trunk/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css	 
Fri Jan 28 06:53:00 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
--- /trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css	 
Fri Oct  8 10:03:48 2010
+++ /trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css	 
Fri Jan 28 06:53:00 2011

@@ -213,6 +213,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -220,6 +221,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/trunk/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css	 
Fri Jan 28 06:53:00 2011

@@ -213,6 +213,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -220,6 +221,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css	 
Fri Oct  8 10:03:48 2010
+++  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css	 
Fri Jan 28 06:53:00 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/trunk/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css	 
Fri Jan 28 06:53:00 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {

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


[gwt-contrib] Re: Snipping JRE 1.5 hostile Override annotations from UserAgentAsserter (issue1334801)

2011-01-28 Thread fredsa

LGTM

http://gwt-code-reviews.appspot.com/1334801/show

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


[gwt-contrib] Re: At application startup, assert that the specified user.agent selection property value indeed mat... (issue1278801)

2011-01-28 Thread fredsa

Committed in r9643

http://gwt-code-reviews.appspot.com/1278801/show

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


[gwt-contrib] Re: Setting the line-height of the splitter in Vertical/HorizontalSplitPanel to 0px so the font size... (issue1335801)

2011-01-28 Thread jlabanca

committed as r9650

http://gwt-code-reviews.appspot.com/1335801/show

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


[gwt-contrib] Added missing validation jars to gwt-user.jar. Fixes Issue 5950. (issue1323803)

2011-01-28 Thread rchandia

Reviewers: rjrjr, Nick Chalko,

Description:
Added missing validation jars to gwt-user.jar. Fixes Issue 5950.


Please review this at http://gwt-code-reviews.appspot.com/1323803/show

Affected files:
  M user/build.xml


Index: user/build.xml
===
--- user/build.xml  (revision 9650)
+++ user/build.xml  (working copy)
@@ -148,6 +148,12 @@
   zipfileset src=${gwt.tools.lib}/tomcat/servlet-api-2.5.jar  
excludes=**/*.java/

   zipfileset src=${gwt.tools.lib}/w3c/sac/sac-1.3.jar /
   zipfileset src=${gwt.tools.lib}/w3c/flute/flute-1.3-gg1.jar /
+  zipfileset  
src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar /
+  !-- The source is included so validation is available from client  
code --
+  zipfileset  
src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar  
/
+  !-- Hibernate is included until we can provide the super source as  
an third party jar --
+  zipfileset  
src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final.jar  
/
+  zipfileset  
src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final-sources.jar  
/

 /gwt.jar
   /target



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


[gwt-contrib] Re: Added missing validation jars to gwt-user.jar. Fixes Issue 5950. (issue1323803)

2011-01-28 Thread Ray Ryan
Wait, I'm not sure we can do that. Dave Chandler, is this the kind of thing
that upset the maven community last time around?

On Fri, Jan 28, 2011 at 10:55 AM, rchan...@google.com wrote:

 Reviewers: rjrjr, Nick Chalko,

 Description:
 Added missing validation jars to gwt-user.jar. Fixes Issue 5950.


 Please review this at http://gwt-code-reviews.appspot.com/1323803/show

 Affected files:
  M user/build.xml


 Index: user/build.xml
 ===
 --- user/build.xml  (revision 9650)
 +++ user/build.xml  (working copy)
 @@ -148,6 +148,12 @@
   zipfileset src=${gwt.tools.lib}/tomcat/servlet-api-2.5.jar
 excludes=**/*.java/
   zipfileset src=${gwt.tools.lib}/w3c/sac/sac-1.3.jar /
   zipfileset src=${gwt.tools.lib}/w3c/flute/flute-1.3-gg1.jar /
 +  zipfileset
 src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar /
 +  !-- The source is included so validation is available from client
 code --
 +  zipfileset
 src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar
 /
 +  !-- Hibernate is included until we can provide the super source as
 an third party jar --
 +  zipfileset
 src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final.jar
 /
 +  zipfileset
 src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final-sources.jar
 /
 /gwt.jar
   /target





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

[gwt-contrib] [google-web-toolkit] r9651 committed - Cherry picking r9650 into releases/2.2.

2011-01-28 Thread codesite-noreply

Revision: 9651
Author: jlaba...@google.com
Date: Fri Jan 28 07:48:53 2011
Log: Cherry picking r9650 into releases/2.2.

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

Modified:
  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css
  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css
  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css
  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css
  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css
  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css


===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome.css	 
Fri Jan 28 07:48:53 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/chrome/public/gwt/chrome/chrome_rtl.css	 
Fri Jan 28 07:48:53 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark.css	 
Fri Jan 28 07:48:53 2011

@@ -213,6 +213,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -220,6 +221,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/dark/public/gwt/dark/dark_rtl.css	 
Fri Jan 28 07:48:53 2011

@@ -213,6 +213,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -220,6 +221,7 @@
   cursor: move;
   border: 0px;
   background: #00CCFF;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard.css	 
Fri Jan 28 07:48:53 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {
===
---  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css	 
Fri Oct  8 10:03:48 2010
+++  
/releases/2.2/user/src/com/google/gwt/user/theme/standard/public/gwt/standard/standard_rtl.css	 
Fri Jan 28 07:48:53 2011

@@ -230,6 +230,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/vborder.png) repeat-y;
+  line-height: 0px;
 }
 .gwt-VerticalSplitPanel {
 }
@@ -237,6 +238,7 @@
   cursor: move;
   border: 0px;
   background: #91c0ef url(images/hborder.png) repeat-x;
+  line-height: 0px;
 }

 .gwt-HTML {

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


[gwt-contrib] Re: Added missing validation jars to gwt-user.jar. Fixes Issue 5950. (issue1323803)

2011-01-28 Thread Ray Ryan
Looking at it more closely, there are two parts. You're including
javax/validation/validation-api-1.0.0.GA-sources.jar
for the validation api, right? Seems like we tried that before and got push
back. So, @Chandler, if this is not the right way to make these standard
interfaces available to client code, what is?

The other two jars you describe as an interim step. How short an interim are
we talking about? The answer has to be before 2.3 is cut.

On Fri, Jan 28, 2011 at 11:04 AM, Ray Ryan rj...@google.com wrote:

 Wait, I'm not sure we can do that. Dave Chandler, is this the kind of thing
 that upset the maven community last time around?


 On Fri, Jan 28, 2011 at 10:55 AM, rchan...@google.com wrote:

 Reviewers: rjrjr, Nick Chalko,

 Description:
 Added missing validation jars to gwt-user.jar. Fixes Issue 5950.


 Please review this at http://gwt-code-reviews.appspot.com/1323803/show

 Affected files:
  M user/build.xml


 Index: user/build.xml
 ===
 --- user/build.xml  (revision 9650)
 +++ user/build.xml  (working copy)
 @@ -148,6 +148,12 @@
   zipfileset src=${gwt.tools.lib}/tomcat/servlet-api-2.5.jar
 excludes=**/*.java/
   zipfileset src=${gwt.tools.lib}/w3c/sac/sac-1.3.jar /
   zipfileset src=${gwt.tools.lib}/w3c/flute/flute-1.3-gg1.jar /
 +  zipfileset
 src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar /
 +  !-- The source is included so validation is available from client
 code --
 +  zipfileset
 src=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar
 /
 +  !-- Hibernate is included until we can provide the super source as
 an third party jar --
 +  zipfileset
 src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final.jar
 /
 +  zipfileset
 src=${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final-sources.jar
 /
 /gwt.jar
   /target






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

[gwt-contrib] Re: Remove list of JavaScriptException object properties when compiler.stackTrace = emulated (issue1310802)

2011-01-28 Thread fredsa

http://gwt-code-reviews.appspot.com/1310802/show

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


  1   2   >