Thursday, June 30, 2011

Re: GWT 2.3 Designer

Dear Eric,

I receive only error-messages when trying these links. Is there any
known problem?

Best regards
Eckhard

On 6 Mai, 15:39, Eric Clayberg <clayb...@google.com> wrote:
> The ZIP file links for the full GWT Designer version are here...
>
> http://dl.google.com/eclipse/inst/d2gwt/latest/3.7/GWTDesigner_v2.3.0...
>
> http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/GWTDesigner_v2.3.0...
>
> http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/GWTDesigner_v2.3.0...
>
> http://dl.google.com/eclipse/inst/d2gwt/latest/3.6/GWTDesigner_v2.3.0...
>
> On May 5, 5:04 pm, dareen <daree...@gmail.com> wrote:
>
>
>
>
>
>
>
> > hello GWT :
> > congratulation for your new release ..
>
> > I couldnot install New GWT 2.3 designer due to firewall,
> > 1- isnot there published zip file for new designer?
> > 2- shall i uninstall old one [2.2designer]?
>
> > thanks for your support

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

FlexTable - removeRow with image widget (cell) causes JavaScriptException

We use FlexTable to display error messages and clear them later. We
use the following code to achieve this.

FlexTable messages = new FlexTable();
Image image = new Image();
image.setUrl("images/warning.gif");
messages.setWidget(0, 0, image);
messages.setWidget(0 1, status_message);

We remove the messages using:

messages.removeRow(0);

This worked until GWT 2.0.4 release. But starting from GWT 2.2.0, I
get "Unspecified error." Same error also exists in GWT 2.3.0.

The worst part was the error did not indicate the cause or location of
the problem. Try-catch did not catch it either. Given the complexity
of our app, it took several days to find out the cause of the problem.
I guess somebody at GWT team did not get enough sleep during the
recent releases. I hope you guys will fix it soon. Below, please find
the detailed error.

(CustomUnCaughtExceptionHandler.java:44) 2011-06-30 20:06:34,161
[ERROR] CustomExceptionHandler. Message : (Error): Unspecified error.,
Cause : null, LocalizedMessage : (Error): Unspecified error.,
StackTrace : [Ljava.lang.StackTraceElement;@1ed8762
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
error.
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
132)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor531.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)

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

Re: Specifying cell width in cellTable

If all cells are the same width, give this table a style name, and add
a CSS rule for cell width:

.myTabe td {
width: 100px !important;
}

I use this approach to set the height of rows in CellTable, where
empty rows have a different height from the ones with data.

Andrei

On Jun 30, 9:20 am, Issam <boualem.is...@gmail.com> wrote:
> I'm working with CellTable and Inuptcells and I would like to specify
> the width of each instance on my inputCell.
> Anyone has an idea?
>
> 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

How to push classes to be on client-side javascript

Hi all,
I am working on plugin/API for gwt, its basically a graphics
library based on a JavaScript SVG library(raphael).
I have a gwt-wrapper(Raphaelgwt) for this JS library.The JS library is
using closure pattern i.e only one JS object is there for doing all
the things(on client side) and hence wrapper also does like that only
one object for everything. What if I make 2 object , it will generate
two different SVG tag so if I want a rectangle and circle together, it
will appear separately.

Now two options :
1) Extend every class to Wrapper.( that means I must code all
application within one class or hierarchy. No OOP)
2) Use singleton pattern.
So I am following the singleton pattern. So here got this problem,
all the SVG processing goes on the server and client gets only the
processed SVG script
:( but I want the processing to be done on client-side.

I want to know two things
1)Which classes or part of my code goes to be complied to JavaScript.
2)Is there a way to push my classes to be complied for client-side
JavaScript and so that all the processing could be done there,
depending nowhere on server.

Thanks in advance

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

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved

I understand. Validation is essential for something like GWT. Waiting for 2.4 then.
Thanks for the quick replies.
Eugen.

On Jun 30, 2011 6:02 PM, "Nick Chalko" <nchalko@google.com> wrote:
> On Thu, Jun 30, 2011 at 8:58 AM, Eugen Paraschiv <hanriseldon@gmail.com>wrote:
>
>> Saw it there. Ok so until 2.4 what is the recommended way of doing
>> validation?
>>
>> Not supported on the client. And in 2.4 is still "experimental", it is my
> 20% project, I hope to finish it this summer.
>
> --
> You received 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved



On Thu, Jun 30, 2011 at 8:58 AM, Eugen Paraschiv <hanriseldon@gmail.com> wrote:

Saw it there. Ok so until 2.4 what is the recommended way of doing validation?


Not supported on the client.  And in 2.4 is still "experimental", it is my 20% project,  I hope to finish it this summer.   

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

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved

Saw it there. Ok so until 2.4 what is the recommended way of doing validation?

On Jun 30, 2011 5:55 PM, "Nick Chalko" <nchalko@google.com> wrote:
> On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv <hanriseldon@gmail.com>wrote:
>
>> I have indeed added it to the classpath, but the HibernateValidator.gwt.xml
>> module is nowhere to be found.
>> Thanks for the feedback.
>>
>
>
> svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml ?
>
> --
> You received 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Where is downloadable GWT docs?

Thank you Isaac.

On Jun 30, 11:54 am, Isaac Truett <itru...@gmail.com> wrote:
> wget is a program typically found on Linux. There are Windows binaries
> available as well. I believe David was suggesting that you use Google Search
> to learn more about wget.
>
> On Thu, Jun 30, 2011 at 11:53 AM, Eric Atkinson <
>
>
>
>
>
>
>
> eric.atkin...@strategicinternationalsystems.com> wrote:
> > If you mean the google web search box or chrome browser search box;
> > yes, I tried both of these with the above command after you mentioned
> > it, and the reply was:
>
> >http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=wget+-r+-p+-n...
>
> > On Jun 29, 9:44 pm, David Chandler <drfibona...@google.com> wrote:
> > > Tried Google lately? ;-)
>
> > > /dmc
>
> > > On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson <
>
> > > eric.atkin...@strategicinternationalsystems.com> wrote:
> > > > Thank you, David, but what program runs that command? Browser - no.
> > > > Command prompt - no.
>
> > > > On Jun 27, 10:29 am, David Chandler <drfibona...@google.com> wrote:
> > > > > Hi Eric,
>
> > > > > We don't publish the GWT docs for offline browsing, but instead of
> > manual
> > > > > copying, you can use
>
> > > > > wget -r -p -np -khttp://
> > > > code.google.com/webtoolkit/doc/latest/DevGuide.html
>
> > > > > That will pull all the developer guides for the latest release, and
> > you
> > > > can
> > > > > further check out the javadocs from svn athttp://
> > > > google-web-toolkit.googlecode.com/svn/javadoc/latest
>
> > > > > HTH,
> > > > > /dmc
>
> > > > > On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson <
>
> > > > > eric.atkin...@strategicinternationalsystems.com> wrote:
> > > > > > I have been able to download to docs for the Google App Engine
> > > > > > (because I am not always online when coding and testing); however,
> > I
> > > > > > can't seem to find a way to download the docs for GWT (for the same
> > > > > > reason). Is there a link to down the GWT docs, such as:
>
> >http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat.
> > > > ..
> > > > > > .
> > > > > > Otherwise, I'll have to go through every page of the GWT Dev Guide
> > and
> > > > > > copy them manually -- ugh. 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+unsubscribe@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+unsubscribe@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > --
> > > David Chandler
> > > Developer Programs Engineer, GWT+GAE
> > > 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved



On Thu, Jun 30, 2011 at 8:53 AM, Nick Chalko <nchalko@google.com> wrote:


On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv <hanriseldon@gmail.com> wrote:
I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found.
Thanks for the feedback.


svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml  ?



Which is probably not included until gwt 2.4
 


 

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

Re: Where is downloadable GWT docs?

wget is a program typically found on Linux. There are Windows binaries available as well. I believe David was suggesting that you use Google Search to learn more about wget.



On Thu, Jun 30, 2011 at 11:53 AM, Eric Atkinson <eric.atkinson@strategicinternationalsystems.com> wrote:
If you mean the google web search box or chrome browser search box;
yes, I tried both of these with the above command after you mentioned
it, and the reply was:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=wget+-r+-p+-np+-k+http%3A%2F%2Fcode.google.com%2Fwebtoolkit%2Fdoc%2Flatest%2FDevGuide.html

On Jun 29, 9:44 pm, David Chandler <drfibona...@google.com> wrote:
> Tried Google lately? ;-)
>
> /dmc
>
> On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson <
>
>
>
>
>
>
>
>
>
> eric.atkin...@strategicinternationalsystems.com> wrote:
> > Thank you, David, but what program runs that command? Browser - no.
> > Command prompt - no.
>
> > On Jun 27, 10:29 am, David Chandler <drfibona...@google.com> wrote:
> > > Hi Eric,
>
> > > We don't publish the GWT docs for offline browsing, but instead of manual
> > > copying, you can use
>
> > > wget -r -p -np -khttp://
> > code.google.com/webtoolkit/doc/latest/DevGuide.html
>
> > > That will pull all the developer guides for the latest release, and you
> > can
> > > further check out the javadocs from svn athttp://
> > google-web-toolkit.googlecode.com/svn/javadoc/latest
>
> > > HTH,
> > > /dmc
>
> > > On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson <
>
> > > eric.atkin...@strategicinternationalsystems.com> wrote:
> > > > I have been able to download to docs for the Google App Engine
> > > > (because I am not always online when coding and testing); however, I
> > > > can't seem to find a way to download the docs for GWT (for the same
> > > > reason). Is there a link to down the GWT docs, such as:
>
> > > >http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat.
> > ..
> > > > .
> > > > Otherwise, I'll have to go through every page of the GWT Dev Guide and
> > > > copy them manually -- ugh. 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+unsubscribe@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+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> David Chandler
> Developer Programs Engineer, GWT+GAE
> 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved



On Thu, Jun 30, 2011 at 8:50 AM, Eugen Paraschiv <hanriseldon@gmail.com> wrote:
I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found.
Thanks for the feedback.


svn/trunk/user/src/org/hibernate/validator/HibernateValidator.gwt.xml  ?



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

Re: Where is downloadable GWT docs?

If you mean the google web search box or chrome browser search box;
yes, I tried both of these with the above command after you mentioned
it, and the reply was:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=wget+-r+-p+-np+-k+http%3A%2F%2Fcode.google.com%2Fwebtoolkit%2Fdoc%2Flatest%2FDevGuide.html

On Jun 29, 9:44 pm, David Chandler <drfibona...@google.com> wrote:
> Tried Google lately? ;-)
>
> /dmc
>
> On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson <
>
>
>
>
>
>
>
>
>
> eric.atkin...@strategicinternationalsystems.com> wrote:
> > Thank you, David, but what program runs that command? Browser - no.
> > Command prompt - no.
>
> > On Jun 27, 10:29 am, David Chandler <drfibona...@google.com> wrote:
> > > Hi Eric,
>
> > > We don't publish the GWT docs for offline browsing, but instead of manual
> > > copying, you can use
>
> > > wget -r -p -np -khttp://
> > code.google.com/webtoolkit/doc/latest/DevGuide.html
>
> > > That will pull all the developer guides for the latest release, and you
> > can
> > > further check out the javadocs from svn athttp://
> > google-web-toolkit.googlecode.com/svn/javadoc/latest
>
> > > HTH,
> > > /dmc
>
> > > On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson <
>
> > > eric.atkin...@strategicinternationalsystems.com> wrote:
> > > > I have been able to download to docs for the Google App Engine
> > > > (because I am not always online when coding and testing); however, I
> > > > can't seem to find a way to download the docs for GWT (for the same
> > > > reason). Is there a link to down the GWT docs, such as:
>
> > > >http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat.
> > ..
> > > > .
> > > > Otherwise, I'll have to go through every page of the GWT Dev Guide and
> > > > copy them manually -- ugh. 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+unsubscribe@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+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> David Chandler
> Developer Programs Engineer, GWT+GAE
> 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Where is downloadable GWT docs?

Is this an FTP command?

On Jun 29, 9:44 pm, David Chandler <drfibona...@google.com> wrote:
> Tried Google lately? ;-)
>
> /dmc
>
> On Wed, Jun 29, 2011 at 3:56 PM, Eric Atkinson <
>
>
>
>
>
>
>
>
>
> eric.atkin...@strategicinternationalsystems.com> wrote:
> > Thank you, David, but what program runs that command? Browser - no.
> > Command prompt - no.
>
> > On Jun 27, 10:29 am, David Chandler <drfibona...@google.com> wrote:
> > > Hi Eric,
>
> > > We don't publish the GWT docs for offline browsing, but instead of manual
> > > copying, you can use
>
> > > wget -r -p -np -khttp://
> > code.google.com/webtoolkit/doc/latest/DevGuide.html
>
> > > That will pull all the developer guides for the latest release, and you
> > can
> > > further check out the javadocs from svn athttp://
> > google-web-toolkit.googlecode.com/svn/javadoc/latest
>
> > > HTH,
> > > /dmc
>
> > > On Sat, Jun 25, 2011 at 5:44 PM, Eric Atkinson <
>
> > > eric.atkin...@strategicinternationalsystems.com> wrote:
> > > > I have been able to download to docs for the Google App Engine
> > > > (because I am not always online when coding and testing); however, I
> > > > can't seem to find a way to download the docs for GWT (for the same
> > > > reason). Is there a link to down the GWT docs, such as:
>
> > > >http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat.
> > ..
> > > > .
> > > > Otherwise, I'll have to go through every page of the GWT Dev Guide and
> > > > copy them manually -- ugh. 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+unsubscribe@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+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> David Chandler
> Developer Programs Engineer, GWT+GAE
> 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved

I have indeed added it to the classpath, but the HibernateValidator.gwt.xml module is nowhere to be found.
Thanks for the feedback.
Eugen.

On Thu, Jun 30, 2011 at 6:47 PM, Nick Chalko <nchalko@google.com> wrote:


On Thu, Jun 30, 2011 at 7:09 AM, Eugen Paraschiv <hanriseldon@gmail.com> wrote:
Adding the validation-api to the classpath now results in
javax.validation.ValidationException: Unable to find a default provider
I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one.
Any thoughts on this?

Correct you need hibernate-validator in your class path to generate Client Side validators. 

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

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved



On Thu, Jun 30, 2011 at 7:09 AM, Eugen Paraschiv <hanriseldon@gmail.com> wrote:
Adding the validation-api to the classpath now results in
javax.validation.ValidationException: Unable to find a default provider
I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one.
Any thoughts on this?

Correct you need hibernate-validator in your class path to generate Client Side validators. 

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

Re: gwtc -optimize set to 0 causes out of memory error in ant build.

Ok, well, after updating my OS (Mac OS X from 10.6.6 to 10.6.8), the
issue disappeared. It is likely due to an updated java : from
1.6.0_22 to 1.6.0_26


On Jun 30, 9:01 am, Jorel <joel.re...@gmail.com> wrote:
> Hi.  I recently had an issue with the ant build for our GWT project in
> which I got out of memory errors using -optimize 0.  If I changed it
> to 1 (or higher) it worked fine.
>
> Does anyone know how optimize works?  Why it might use more memory at
> 0 than other settings?

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

Re: Trouble with custom app build from the tutorial - Deferred binding failed

I'd be interested in an answer too, since I also face this problem.

Cheers,
m.

On Jun 26, 11:38 pm, marquies <pbreuck...@googlemail.com> wrote:
> Hi folks,
>
> I tried to build an app based on the GWT Tutorial. I use Spring STS
> with GWT 2.3.0
> (com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508). I try to
> implement "Making Remote Procedure Calls" with an AsyncCallback. The
> problem I encounter on loading the build in server in developer mode
> is this one:
>
> java.lang.RuntimeException: Deferred binding failed for
> 'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did
> you forget to inherit a required module?) Caused by:
> java.lang.IllegalAccessError: tried to access method
> com.google.gwt.dev.util.DiskCache.<init>()V from class
> com.google.gwt.user.linker.rpc.RpcLogArtifact
> (Full stack trace at the end of the post)
>
> So far so bad. The interesting thing is this: if I set a breakpoint in
> GWTBridgeImpl.create, and let the vm run until the exception is
> catched, say eclipse debuger to drop frame back to the breakpoint and
> then let run the code, everything works fine...
>
> Any ideas?
>
> Thanks in advance!
>
> - Patrick
>
> Full Stack Trace
>
> 23:29:04.018 [ERROR] [applicationScaffold] Failed to create an
> instance of
> 'de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold' via
> deferred binding
> java.lang.RuntimeException: Deferred binding failed for
> 'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did
> you forget to inherit a required module?)
>     at
> com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
>     at com.google.gwt.core.client.GWT.create(GWT.java:98)
>     at
> de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.<init>(Scaffold.java:
> 46)
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
> 39)
>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
> 27)
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>     at
> com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
> 465)
>     at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
> 375)
>     at
> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
> 193)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 510)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 352)
>     at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.IllegalAccessError: tried to access method
> com.google.gwt.dev.util.DiskCache.<init>()V from class
> com.google.gwt.user.linker.rpc.RpcLogArtifact
>     at
> com.google.gwt.user.linker.rpc.RpcLogArtifact.<clinit>(RpcLogArtifact.java:
> 40)
>     at
> com.google.gwt.user.rebind.rpc.ProxyCreator.create(ProxyCreator.java:
> 364)
>     at
> com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator.generateIncrementally(ServiceInterfaceProxyGenerator.java:
> 59)
>     at
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
> 681)
>     at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 41)
>     at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:74)
>     at
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 285)
>     at
> com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:
> 141)
>     at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
> 585)
>     at
> com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
> 455)
>     at
> com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
>     at com.google.gwt.core.client.GWT.create(GWT.java:98)
>     at
> de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.<init>(Scaffold.java:
> 46)
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
> 39)
>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
> 27)
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>     at
> com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
> 465)
>     at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
> 375)
>     at
> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
> 193)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 510)
>     at
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 352)
>     at java.lang.Thread.run(Thread.java:680)

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

Re: Latest GWT 2.4 Beta zip Download with HTML5 DnD Support fixed

You can always build from trunk. 

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

Re: gwt 2.3 gwt-servlet-deps.jar from Ant Ivy build

Including the 2 depenencies without a validation provider doesn't seem right. You also need a provider, otherwise:
javax.validation.ValidationException: Unable to find a default provider.
Any ideas on how to solve this? (besides actually including a provider just to be able to run gwt).
Thanks.
Eugen.

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

In ListBox, how to you format first item Select... to italic and gray?

In ListBox, how to you format Select... to italic and gray?

GWT 2.3, still learning...
It is standard to have select visibile in the drop down box in italic and grayed out a bit.  I presume Select is simply the first item added.
   myrListBox.addItem("Select...");
with other "real " items after that added.

but I don't see how to format the word select.  You cannot attach at CSS to an added item (that I can see).

Any ideas?
Thanks!
Make it a great day!
bob

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

Re: R: Specifying cell width in cellTable

It seems GWT 2.3 CellTable creates this DOM structure

...
<thead>
...
</thead>
<colgroup>
    <col width="...">
    ...
</colgroup>
<tbody>
...
</tbody>
...

and sets width in each col element...
Try to do the same in your view code. (GwtQuery may be useful.)

Cheers,
Luca




2011/6/30 Issam <boualem.issam@gmail.com>
Thank you for your answer
But the problem is that I'm working by GWT 2.1 and I can't use the
method cellTable.setColumnWidth(column, width, unit)

So any help ?

On 30 juin, 15:42, icamts <ica...@gmail.com> wrote:
> Hi,
> for columns width have a look at
>
> http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCel...
>
> For each input width you may need to provide your own version of the
> Inputcell: customize render method.
>
> Cheers,
> Luca

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

Re: Activities does not get de-registered..

Well, actually that is the cause of the problem. Just remove the click
handler in the onStop and onCancel otherwise disposed activities will
continue to receive click events

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

Re: Help with building GWT from source - javax.validation.ConstraintValidation cannot be resolved

Adding the validation-api to the classpath now results in
javax.validation.ValidationException: Unable to find a default provider
I do have gwt-servlet on the classpath as well, but it seems that without something like hibernate-validator (which is a provider), it doesn't find one.
Any thoughts on this?
Thanks.
Eugen.

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

gwtc -optimize set to 0 causes out of memory error in ant build.

Hi. I recently had an issue with the ant build for our GWT project in
which I got out of memory errors using -optimize 0. If I changed it
to 1 (or higher) it worked fine.

Does anyone know how optimize works? Why it might use more memory at
0 than other settings?

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

Re: GWT / Javascript - Garbage Collection problem

Use something like GWTP, it will take care of the url token and render the apropriated view

On Thu, Jun 30, 2011 at 6:46 AM, onli4anks <ankurjain.nitrr@gmail.com> wrote:
I am working on a small GWT project. As i know, a GWT project can have
only one HTML page in it. So for loading different modules on my page,
I create the object of the class responsible for loading the
components of that module and call the required functions. I create
these objects and load my modules on the basis of the token which i
get from url. I am creating these objects on token change event. My
question is, is this approach right?? Creating object each time?
Because there will be 10 objects for same module if the user visits
the url with same token 10 times..

Plzz 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




--
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

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

Re: How to redirect HTML inside a dialogbox

I think you may be able to put an iframe (gwt Frame) inside a
DialogBox and have that work, I haven't done this myself but in theory
I think it should work.

On Jun 29, 12:05 pm, Oscar <o.bar...@gmail.com> wrote:
> Hi all,
>
> I'm new at GWT and I'm trying to create a dialogbox that shows a
> website from an external URL. I would also like that when the user
> clicks a link, the content generated appears inside the same
> dialogbox.
>
> Right now when the user clicks on a link it redirects to a whole new
> page as the user clicks to an HTML link.
>
> I would like to do this without having to have access to the HTML code
> from the server side.
>
> Is it possible?

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

Re: Why won't the GWT 2.1 MVP example compile?

Is this actually in the documentation somewhere, or only in the sample?

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

Re: HasDataEditor + CellTable

hello,
 
 can i have the source code of MyCellTable class ? is it implementing any other kind of interface to make the save() method working.
 
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: R: Specifying cell width in cellTable

Thank you for your answer
But the problem is that I'm working by GWT 2.1 and I can't use the
method cellTable.setColumnWidth(column, width, unit)

So any help ?

On 30 juin, 15:42, icamts <ica...@gmail.com> wrote:
> Hi,
> for columns width have a look at
>
> http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideUiCel...
>
> For each input width you may need to provide your own version of the
> Inputcell: customize render method.
>
> Cheers,
> Luca

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

Re: Tree from xml??

Check out this page, making sure your module's gwt.xml file has the
correct XML inherits: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsXML.html

Also, note that for the parse method, the string you pass in there
needs to be the actual XML document, not a path to its location.

On Jun 30, 4:41 am, swedeveloper <Swedevelo...@yahoo.se> wrote:
> Hello my name is Jens and I am a beginner in GWT. I was trying to
> teach me this, but right now I'm stuck and need help! I'm trying to
> get a menu to work with XML via xmlparse and a for loop. What I think
> would be given does not seem to be there and it does not work when I
> compiled the file. There is nothing in the html violin is not possible
> to preview using GWT Designer. Be grateful for the help! Jens
>
> ________________________________________________________________
> //Main menu
>
> MenuBar menuBar = new MenuBar(true);
>                 vsp.add(menuBar);
>
>                 //The xml file for menu
>
>                  Document doc = XMLParser.parse("Xml/SiteMap.xml");
>                  NodeList elements = doc.getElementsByTagName("bookmark");
>
>                  //Loop for populate the menu with menuitems
>                  //Doesnt work is it here are in the parser?
>
>                  for (int i = 0; i < elements.getLength(); i++) {
>                          com.google.gwt.xml.client.Node element = elements.item(i);
>          NamedNodeMap attrs = element.getAttributes();
>
>          //Nodes
>                 String title = attrs.getNamedItem("title").getNodeValue();
>                  String url = attrs.getNamedItem("url").getNodeValue();
>                 System.out.println(title + url + "/n" );
>
>                 //Menu Populates from xml
>
>                 MenuItem bookmark =
>                 new MenuItem(title, URL(url));
>                  menuBar.addItem(bookmark);
>
> ____________________________________________________________________
> CANT FIND WHATS WRONG CAN IT BE INHERITS PROBLEM??
>
> MVH JENS

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

R: Specifying cell width in cellTable

Hi,
for columns width have a look at


For each input width you may need to provide your own version of the Inputcell: customize render method.

Cheers,
Luca

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

Specifying cell width in cellTable

I'm working with CellTable and Inuptcells and I would like to specify
the width of each instance on my inputCell.
Anyone has an idea?

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Activities does not get de-registered..



On Thursday, June 30, 2011 2:06:22 PM UTC+2, El bassistos wrote:
I am doing a small "test" application and I am using Activities and
Place but can't make it work as I expect..

I have 2 Views, Activities and Places. DefaultView calls Example1View
and Vice Versa ..

In the Example1Activity I override mayStop() so that it returns a
String asking if user wants to "go to Default". It works the first
time - when I hit "go to Default", it ask if I am "sure, and then I
press " 'OK'  - that works, it swaps out the Example1View/Activity and
swap in the DefaultView/Activity.

But when I hit the "go to Example1" from the DefaultView/Activity, it
ALSO ask the question. I can see in the Debugger that first the
DefaultActivity is called, and that it behaves as expected (the
mayStop() returns null), but the ExampleView's mayStop() method is
ALSO called?? Even though it is no "in focus" - "it is about to come
in Focus" .. So it seems as the previous Example1Activity is NOT
deregistered on the EventBus, after I hit the "OK" (which calles the
onClose() method and should cause the ActivityManager to de-registere
the "Activity"..)

Any Ideas ???

Rehgards Jesper - Running GWT 2.2.1 and it is same behavior on FF,
Chrome and Safari


Here is my code:

DefaultPlace.java:
public class DefaultPlace extends Place {}

DefaultView.java:
public class DefaultView extends Composite implements IsWidget{
    HorizontalPanel hp = new HorizontalPanel();
    Button b = new Button("Go To Example1");

    public DefaultView() {
        hp.add(b);
        initWidget(hp);

    }

    HasClickHandlers getButton() {
        return b;
    }
}

DefaultActivity.java
public class DefaultActivity extends AbstractActivity implements
Activity {

    ClientFactory clientFactory;
    DefaultView defaultView;

    public DefaultActivity(DefaultPlace place, ClientFactory
clientFactory) {
        this.clientFactory = clientFactory;
    }

    public void start(AcceptsOneWidget panel, EventBus eventBus) {
        defaultView = clientFactory.getDefaultView();
        defaultView.getButton().addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
                clientFactory.getPlaceController().goTo(new
Example1Place());
            }
        });

Beware! you have a leak here! your view is a singleton but your activity is disposable: you should remove the ClickHandler from onStop and onCancel otherwise the button keeps references to all the activities ever started!
This is why you experience a slowdown when you remove your mayStop override.

I'm afraid it's not the cause of your issue with mayStop but it's a start…

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

Re: Aw: Rebind

For more information, see http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html

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

why am i getting md5 checksum error for gwt sdk 2.3.0?

when i try to download the sdk from indigo update site, i get this
error, why?

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

Aw: Rebind

Typically these classes are used during compilation of your GWT app. Most of them are generator classes and utility classes used by these generators. Generators are used to generate additional client side code for your app, e.g. code that implements your GWT RPC service if you have one. As compilation is done in a normal JVM its fine to have references to BufferedImage in these classes. I assume that BufferedImage will be used to generate image bundles (a big image containing many small images used in ClientBundles).


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

Activities does not get de-registered..

I am doing a small "test" application and I am using Activities and
Place but can't make it work as I expect..

I have 2 Views, Activities and Places. DefaultView calls Example1View
and Vice Versa ..

In the Example1Activity I override mayStop() so that it returns a
String asking if user wants to "go to Default". It works the first
time - when I hit "go to Default", it ask if I am "sure, and then I
press " 'OK' - that works, it swaps out the Example1View/Activity and
swap in the DefaultView/Activity.

But when I hit the "go to Example1" from the DefaultView/Activity, it
ALSO ask the question. I can see in the Debugger that first the
DefaultActivity is called, and that it behaves as expected (the
mayStop() returns null), but the ExampleView's mayStop() method is
ALSO called?? Even though it is no "in focus" - "it is about to come
in Focus" .. So it seems as the previous Example1Activity is NOT
deregistered on the EventBus, after I hit the "OK" (which calles the
onClose() method and should cause the ActivityManager to de-registere
the "Activity"..)

Any Ideas ???

Rehgards Jesper - Running GWT 2.2.1 and it is same behavior on FF,
Chrome and Safari


Here is my code:

DefaultPlace.java:
public class DefaultPlace extends Place {}

DefaultView.java:
public class DefaultView extends Composite implements IsWidget{
HorizontalPanel hp = new HorizontalPanel();
Button b = new Button("Go To Example1");

public DefaultView() {
hp.add(b);
initWidget(hp);

}

HasClickHandlers getButton() {
return b;
}
}

DefaultActivity.java
public class DefaultActivity extends AbstractActivity implements
Activity {

ClientFactory clientFactory;
DefaultView defaultView;

public DefaultActivity(DefaultPlace place, ClientFactory
clientFactory) {
this.clientFactory = clientFactory;
}

public void start(AcceptsOneWidget panel, EventBus eventBus) {
defaultView = clientFactory.getDefaultView();
defaultView.getButton().addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
clientFactory.getPlaceController().goTo(new
Example1Place());
}
});
panel.setWidget(defaultView.asWidget());
}
}

Example1Place.java:
public class Example1Place extends Place{}

Example1View
public class Example1View extends Composite implements IsWidget{
HorizontalPanel hp = new HorizontalPanel();
Button b = new Button("Go To Default");

public Example1View() {
hp.add(b);
initWidget(hp);
}

HasClickHandlers getButton() {
return b;
}
}

Example1Activity.java
public class Example1Activity extends AbstractActivity implements
Activity {

ClientFactory clientFactory;
Example1View example1View;

public Example1Activity(Example1Place place, ClientFactory
clientFactory) {
this.clientFactory = clientFactory;

}

public void start(AcceptsOneWidget panel, EventBus eventBus) {
example1View = clientFactory.getExample1View();
example1View.getButton().addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
clientFactory.getPlaceController().goTo(new
DefaultPlace()
);
}
});
panel.setWidget(example1View.asWidget());
}

@Override
public String mayStop() {
return "you sure??";
}
}


AppActivityMapper.java:
public class AppActivityMapper implements ActivityMapper {
private ClientFactory clientFactory;

public AppActivityMapper(ClientFactory clientFactory) {
super();
this.clientFactory = clientFactory;
}

public Activity getActivity(Place place) {
if (place instanceof DefaultPlace)
return new DefaultActivity((DefaultPlace) place,
clientFactory);
else if (place instanceof Example1Place)
return new Example1Activity((Example1Place) place,
clientFactory);
return null;
}
}

ClientFactory.java:
public interface ClientFactory {

DefaultView getDefaultView();
Example1View getExample1View();
EventBus getEventBus();
PlaceController getPlaceController();

}

ClientFactoryImpl.java:
public class ClientFactoryImpl implements ClientFactory {

private final DefaultView DEFAULT_VIEW = new DefaultView();
private final Example1View EXAMPLE_1_VIEW = new Example1View();
private final EventBus EVENT_BUS = new ResettableEventBus(new
SimpleEventBus());
private final PlaceController PLACE_CONTROLLER = new
PlaceController(EVENT_BUS);

public DefaultView getDefaultView() {
return DEFAULT_VIEW;
}

public Example1View getExample1View() {
return EXAMPLE_1_VIEW;
}

public EventBus getEventBus() {
return EVENT_BUS;
}

public PlaceController getPlaceController() {
return PLACE_CONTROLLER;
}
}

MVP.java
public class MVP implements EntryPoint {

public void onModuleLoad() {

SimplePanel display = new SimplePanel();
DefaultPlace defaultPlace = new DefaultPlace();
ClientFactory clientFactory = GWT.create(ClientFactory.class);
EventBus eventBus = clientFactory.getEventBus();
PlaceController placeController =
clientFactory.getPlaceController();
ActivityMapper activityMapper = new
AppActivityMapper(clientFactory);
ActivityManager activityManager = new
ActivityManager(activityMapper, eventBus);
activityManager.setDisplay(display);
placeController.goTo(defaultPlace);
RootPanel.get().add(display);
}
}

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

Re: Intercept basic authentication popup

i dont think u can do this at js in dom. browser handles this automatically when it sees the http-auth-required header before your js-code gets it. u'll need an anternative approach for this

 

On Wed, Jun 29, 2011 at 7:52 PM, objectuser <kevin.k.lewis@gmail.com> wrote:
I'm not an expert in this by any means (and certainly don't know your requirements), but it seems like basic auth is fundamentally incompatible with a GWT app (or at least the portion you describe).

I think a more compatible model would be to rely on something like cookies, have a particular service that does not require authentication, and then check the response to that to see if the user is authenticated.  Then you can put access control on all your other services to ensure authenticated access.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HrYT7hSLoX0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Rebind

What is the purpose of com.google.user.rebind package?
Are they server-side classes? I ask this because they contain
references to BufferedImage.

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

Re: Fill a grid from my database

I think what Khadija wants to use is a GXT datagrid,i managed to do so by extending my DTO class with the BeanModelTag interface,
then wrote a function to load the objects i want to display in the grid.....
below is the code for loading the Grid.

private Grid createBidGrid(){

    final GWTServiceAsync service = (GWTServiceAsync)GWT.create(GWTService.class);
    RpcProxy proxy = new RpcProxy()
    {
      @Override
        public void load(Object loadConfig,AsyncCallback callback){
            service.getItems(callback);
      }
    };
    BeanModelReader reader = new BeanModelReader();
    ListLoader loader = new BaseListLoader(proxy, reader);
    ListStore<BeanModel> store = new ListStore(loader);
    loader.load();
    List<ColumnConfig> columns = new ArrayList<ColumnConfig>();
 
        columns.add(new ColumnConfig("supplierName", "Supplier Name", 130));
        columns.add(new ColumnConfig("procRefNo", "Proc Ref No", 130));
        columns.add(new ColumnConfig("procSubject", "Subject", 130));
        columns.add(new ColumnConfig("issueDate", "Issue Date", 130));
        columns.add(new ColumnConfig("procMthName", "Procurement Name", 130));
        columns.add(new ColumnConfig("biddingTypeName", "Bidding Type", 130));
        columns.add(new ColumnConfig("bidMethodName", "Bid Method", 130));
        ColumnModel cm = new ColumnModel(columns);

        Grid<BeanModel> grid = new Grid<BeanModel>(store, cm);
        //grid.setAutoExpandColumn("supplierName");
        grid.setColumnLines(true);
        grid.setColumnResize(true);
        grid.setAutoHeight(true);
        grid.setBorders(true);
        return grid;

The getItems() being the above mentioned function.

I am looking to make this a live grid,such that whenever i add an item to the database,it automatically adds it to the GRID

On Wed, Jun 29, 2011 at 8:04 PM, Robert W <riasol.rob@gmail.com> wrote:
GWT 2.4 or gwt-incubator project had something called PagedDataGrid or
similar. In 2.3 gwt is Editor framework suitable for your requirements
too.

On Jun 29, 10:21 am, Khadija FERJANI <ferjani.khad...@gmail.com>
wrote:
> Good morning everybody,
> I wonder if someone could help me to fill my Grid from a database.
> My result have to be like this examplehttp://www.sencha.com/examples/pages/grid/widgetrenderer.html
> Thanks.
>
> --
> Cordialement, Khadija FERJANI
> Élève ingénieur à la faculté des sciences de Tunis.

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




--
Gibson Wasukira
Making Technology a Business Asset



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

Aw: Re: Downloading older GWT plugin versions

You can download older GWT SDKs from

http://code.google.com/intl/de-DE/webtoolkit/versions.html


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

Re: RequestFactory and JSNI

i had to do it manually with a lot of boilerplaite code (create a js-object & copy properties from proxy to it). would like to hear if someone has better approach

On Thu, Jun 30, 2011 at 12:30 PM, Nachiket <patel.nachiket.r@gmail.com> wrote:
Hi,
I have ran few tests and wrote Hello World style RequestFactory code
for understanding.
I am wondering, how we can pass EntityProxy to native Javascript
(using JSNI) and setting changed values from native javascript to
EntityProxy?

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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Downloading older GWT plugin versions

That doesn't help me though, as I can't find the download on the web
page any more. If I had the plugin/SDK installation package I could
add it in that dialog, sure. But I can't download the files I need
from the web site and I also can't select older versions from the
eclipse update site from within eclipse. That's my problem.

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

RequestFactory and JSNI

Hi,
I have ran few tests and wrote Hello World style RequestFactory code
for understanding.
I am wondering, how we can pass EntityProxy to native Javascript
(using JSNI) and setting changed values from native javascript to
EntityProxy?

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

CellTable doesn't update the value from ClickableTextCell

Hi,
I've extended the ClickableTextCell to allow user to pick up a value
from a dialog box. The problem is that when user pick the value and
commit the choice the value is not displayed in CellTable, although
the bean that is used under the Cell has new value. The cell's update
method is albo invoked. What can be the problem? How to handle it?


Here's the code of the extended class:

public class ModifiedClickableTextCell extends
AbstractSafeHtmlCell<String> {

private AdminConstants ac = AdminConstants.AC.constants();

public ModifiedClickableTextCell() {
this(SimpleSafeHtmlRenderer.getInstance());
}

public ModifiedClickableTextCell(SafeHtmlRenderer<String> renderer) {
super(renderer, "click", "keydown");
}

@Override
public void onBrowserEvent(final Context context, final Element
parent, final String value, final NativeEvent event, final
ValueUpdater<String> valueUpdater) {
super.onBrowserEvent(context, parent, value, event, valueUpdater);
Integer key = (Integer) context.getKey();
if (key == -1) {
if ("click".equals(event.getType())) {

final DialogBox db = new DialogBox();
db.setAutoHideEnabled(false);

Label searchLbl = new Label(ac.search());
Label producerLbl = new Label(ac.producer());

final ListBox lb = new ListBox();
getProducers(lb);

final TextBox tb = new TextBox();
tb.setWidth("150px");
tb.addKeyUpHandler(new KeyUpHandler() {

@Override
public void onKeyUp(KeyUpEvent kue) {
String p =
TextUtils.replaceAsteriskWithPercentToUpperCaseOrNull(tb.getText());
AsyncCallback<List<DictDTO>> cb = new
AdminAsyncCallback<List<DictDTO>>() {
@Override
public void onSuccess(List<DictDTO> result) {
if (result != null && !result.isEmpty()) {
lb.clear();
lb.addItem("");
for (DictDTO d : result) {
lb.addItem(d.getValue());
}
}
}
};
AdminService.Async.service().searchProducers(p, cb);
}
});

lb.setWidth("100%");

FlexTable ft = new FlexTable();
ft.setWidth("300px");
ft.setWidget(0, 0, searchLbl);
ft.setWidget(1, 0, producerLbl);
ft.setWidget(0, 1, tb);
ft.setWidget(1, 1, lb);
ft.getColumnFormatter().setWidth(0, "50%");
ft.getColumnFormatter().setWidth(1, "50%");
DOM.setStyleAttribute(ft.getFlexCellFormatter().getElement(0, 0),
"textAlign", "center");
DOM.setStyleAttribute(ft.getFlexCellFormatter().getElement(1, 0),
"textAlign", "center");
Button closeBtn = new Button(ac.close());
closeBtn.setStyleName("");
closeBtn.setWidth("60px");
DOM.setStyleAttribute(closeBtn.getElement(), "display", "block");
DOM.setStyleAttribute(closeBtn.getElement(), "margin", "auto");
closeBtn.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent ce) {
db.hide();
}
});
Button okBtn = new Button(ac.ok());
okBtn.setStyleName("");
okBtn.setWidth("60px");
DOM.setStyleAttribute(okBtn.getElement(), "display", "block");
DOM.setStyleAttribute(okBtn.getElement(), "margin", "auto");
okBtn.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent ce) {
String producer = lb.getItemText(lb.getSelectedIndex());
onEnterKeyDown(context, parent, producer, event, valueUpdater);
db.hide();
}
});
ft.setWidget(2, 0, okBtn);
ft.setWidget(2, 1, closeBtn);
db.add(ft);
db.center();
}
}
}

@Override
protected void onEnterKeyDown(Context context, Element parent, String
value, NativeEvent event, ValueUpdater<String> valueUpdater) {
if (valueUpdater != null) {
valueUpdater.update(value);
}
}

@Override
protected void render(Context context, SafeHtml value,
SafeHtmlBuilder sb) {
if (value != null) {
sb.append(value);
}
}

private void getProducers(final ListBox lb) {
Dict.getProducers(new AdminAsyncCallback<List<String>>() {

@Override
public void onSuccess(List<String> result) {
if (result != null) {
for (String s : result) {
lb.addItem(s);
}
}
}
});
}
}

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