Re: SuggestBox with RequestFactory

2011-11-08 Thread Ashwin Desikan

have you checked out the sample in the following location.

http://jectbd.com/?p=45

the example uses an RPC connection, but that can be easily replaced 
with RF. This has example of how to implement filtering and restrict 
the number of results from server.


one option for you would be to use a range query on the server. 

I implemented a dynamic version based on the above sample code. i 
currently restrict my results to 75 currently and I perform a query 
only after the user has typed in 3 characters to reduce the number of 
calls to server, but would soon be changing to a range query. If you 
are interested can share my work.


thanks
Ashwin

On Wednesday 09 November 2011 05:14:41 AM IST, Mark Wengranowski wrote:

Hi Everyone,

I was wondering if anyone knows of a source code example that uses
requestfactory, a suggestbox and a dynamic suggest oracle?

I already have suggestboxes that i populate with a list of strings
from a RF call but  need a more dynamic approach for a search tool.
The list is way too long to load all of the answers so i need to
create a suggest oracle that makes an RF call after each key is typed.

All i can find is examples for RPC.

Thanks,
-Mark




--
You received 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: A Maven repo with daily or at least weekly GWT snapshots?

2011-11-08 Thread David Chandler
Not yet, but we're working on it.

/dmc

On Mon, Nov 7, 2011 at 2:52 AM, Alexander Orlov
wrote:

> Is there a Maven repo that provides daily/weekly GWT 2.5 snapshots?
>
> --
> 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/-/jFCgwj-Lt7UJ.
> 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.
>



-- 
David Chandler
Developer Programs Engineer
w: http://code.google.com/
b: http://turbomanage.wordpress.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: MVP Pattern

2011-11-08 Thread Thomas Broyer
A place is like a "URL"; see  http://tbroyer.posterous.com/gwt-21-places (and 
follow-up articles about activities) for a more in-depth look.

-- 
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/-/0p1ZWjWeg6oJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How To Upload a File Over 2GB?

2011-11-08 Thread Rob
And this post -> http://www.motobit.com/help/ScptUtl/pa98.htm

re: Upload limits for Internet Explorer, Mozilla Firefox, Google
Chrome, Opera, ...

On Nov 9, 10:43 am, Rob  wrote:
> Hi,
>
> Take a look at:
>
> ->http://jupload.sourceforge.net/
>
> Cheers
> Rob
>
> http://code.google.com/p/gwt-cx/
>
> On Nov 9, 9:39 am, Kevin Jordan  wrote:
>
>
>
>
>
>
>
> > If your server supports uploading that much (i.e. no POST quota), then
> > yes.  Except for initiating the form POST, GWT doesn't have much to do
> > with file upload to the server.
>
> > On Nov 8, 1:36 am, Boris  wrote:
>
> > > Can I upload a file over 2GB to server by GWT?
> > > 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.



SuggestBox with RequestFactory

2011-11-08 Thread Mark Wengranowski
Hi Everyone,

I was wondering if anyone knows of a source code example that uses
requestfactory, a suggestbox and a dynamic suggest oracle?

I already have suggestboxes that i populate with a list of strings
from a RF call but  need a more dynamic approach for a search tool.
The list is way too long to load all of the answers so i need to
create a suggest oracle that makes an RF call after each key is typed.

All i can find is examples for RPC.

Thanks,
-Mark

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



Re: How To Upload a File Over 2GB?

2011-11-08 Thread Rob
Hi,

Take a look at:

-> http://jupload.sourceforge.net/

Cheers
Rob

http://code.google.com/p/gwt-cx/


On Nov 9, 9:39 am, Kevin Jordan  wrote:
> If your server supports uploading that much (i.e. no POST quota), then
> yes.  Except for initiating the form POST, GWT doesn't have much to do
> with file upload to the server.
>
> On Nov 8, 1:36 am, Boris  wrote:
>
>
>
>
>
>
>
> > Can I upload a file over 2GB to server by GWT?
> > 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: GWT and reports

2011-11-08 Thread Rob
Hi,

Take a look at this post re GWT, JasperReports and iReport:

-> http://uptick.com.au/content/working-hsqldb-jasperreports-and-ireport

And this demo (click "Reports" then double-click on a report):

-> http://gwt-cx.com/serendipity/Serendipity.html

However, iReport is a thick-client application. ActiveReports has a
browser-based WYSIWYG report designer that you could launch from a GWT
application via Window.open().

-> http://www.activereportsserver.com/Features

Cheers
Rob

http://code.google.com/p/gwt-cx/


On Nov 8, 6:42 pm, Shalin  wrote:
> Hello,
>
> I'm new to GWT, and am planning to build an JAVA EE application with a
> GWT front-end for a better usability.
>
> Before I start learning GWT, I would like to know whether it is
> possible to build reports, off a database, using GWT. I briefly had a
> go at GWT and recall having difficulty going from on page to another
> (all controls had to be integrated into a single page). I know its not
> completely related to report building, but just want to know how to
> manage transitions from the GWT generated page to the report builder.
>
> I am required to build reports from a data source in real time, so
> would require that the GWT application be able to call a report
> builder of some sort.
>
> Sorry for the abrupt questions ... I have a deadline and will probably
> resort to the tried and trusted swing should I not be able to find a
> report builder that works hand in hand with GWT.
>
> Best regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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: Hosted mode memory leaks - am I missing something?

2011-11-08 Thread Rob
Hi,

A couple of good references:

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

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

Cheers
Rob

http://code.google.com/p/gwt-cx/


On Nov 9, 5:49 am, Mark Allerton  wrote:
> Hi,
>
> I'm sure I'm not the only person who has ever thought that it might be
> possible to use Java-based heap profiling tools to look for memory
> leaks in GWT-based applications, but in practice this has turned out
> to be a little frustrating because at least based on my naive
> interpretation, Hosted Mode leaks pretty much every object that needs
> to be invoked from the native side, apparently by design.
>
> So my question is, am I missing something?
>
> To be more specific about what I am seeing, I see many many objects
> referenced only via the ThreadLocal "dispatchObjectCache" in
> JsValueOOPHM. As far as I can tell based on searching the source code,
> objects are only ever put into this cache and none are ever removed.
>
> I have had some (apparent) success with the Eclipse Memory Analyzer,
> which allows me to exclude refs via Thread.threadLocals when tracing
> from GC roots, but I want to be sure that the references I am
> excluding can in fact be ignored (i.e there is not some way that
> objects are removed from dispatchObjectCache that has escaped my
> attention.)
>
> Thanks in advance
>
> ..Mark..

-- 
You received 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: sending a url with parameters, as a url parameter

2011-11-08 Thread Jens
You have to encode the url you want to pass to the server. 

Use 
URL.encodeQueryString(): 
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/http/client/URL.html#encodeQueryString(java.lang.String)

-- J.

-- 
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/-/oO6XIodPs-4J.
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.



sending a url with parameters, as a url parameter

2011-11-08 Thread andrew
I am calling a servlet from GWT client code using RequestBuilder.

In the request (a POST) I am passing some request data...

   builder.sendRequest(postData, new RequestCallback()

In postData, one of the url parameters is called "returnToUrl"

This "returnToUrl" has url parameters, and would be like this

   returnToUrl = "http://my.server/add?pn=a&pd=b";;

When I call the servlet, the second (and later) parameters (pd=b in my
example) gets interpreted as request parameters for the servlet, not
as part of the returnToUrl parameter, and hence get lost

It is being URL encoded, but of course that doesn't change the '?' and
'&' characters.

Q. How can I pass a url with multiple parameters, as a url parameter
itself ?

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



Re: How To Upload a File Over 2GB?

2011-11-08 Thread Kevin Jordan
If your server supports uploading that much (i.e. no POST quota), then
yes.  Except for initiating the form POST, GWT doesn't have much to do
with file upload to the server.

On Nov 8, 1:36 am, Boris  wrote:
> Can I upload a file over 2GB to server by GWT?
> 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: info and thoughts on using GWT for mobile web apps

2011-11-08 Thread Alain Ekambi
Here are some of the projects that i ve found pretty interesting:

http://nextinterfaces.com/

http://www.m-gwt.com/

And  off course my favorite :)

http://www.emitrom.com/gwt4touch

 Gwt4Touch is my favorite because well first we created it :)  and second i
think nothing beats Sencha Touch when it comes to mobile web applications



2011/11/8 Jenson 

> Hi Folks,
>
> I'm interested in using GWT for building mobile web apps.  I have some
> experience developing with GWT for desktop browser based RIA's but
> this is my first effort in mobile focused dev.
>
> I'd appreciate it if others would like to join the discussion:
>
> What are your thoughts and impressions on using GWT today for mobile
> web apps?
> What does Google have planned for increasing GWT's capabilities in
> mobile web app development?
> Where can I find examples, articles, and tutorials focused on using
> GWT for mobile web apps?  (I'm particularly interested in using GWT to
> build touch optimized UIs)
>
> I know GWT compiles Java into optimized JS that can run in mobile
> browsers.  That's great of course but I'm focusing on mobile optimized
> UI's and layouts.
>
> I'm including what I've found so far below (hopefully it will help
> others just beginning this journey :).
>
> 1.) Google I/O 2011 presentations are great and have been my main
> source of info so far:
>
> Chris Ramsdale's "Using GWT and Eclipse to Build Great Mobile Web
> Apps" demo's the MobileWebApp sample (more below) and discusses
> addressing GWT mobile app performance by using code splitting, client
> bundling, app cache (HTML5), and local storage (HTML5).
>
> John Labanca's "GWT + HTML5: A web developers dream!" covers HTML5 and
> what it brings to mobile web app development, namely local storage,
> canvas (making charts and visualizations), audio, video, drag-n-drop,
> CSS3.
>
> 2.) MobileWebApp sample in GWT 2.4 distribution.  This is the app used
> in Chris Ramsdale's demo.  I'm having problems getting it running in
> Eclipse.  Once I've got it running, I'm hoping to better understand
> the UI components it uses.  I've already started testing its method
> for using deferred binding to send a different view to desktop, mobile
> and tablet devices.
>
> 3.) HTML5 - Both of the aforementioned Google I/O presentations
> discuss using HTML5 for local storage and app caching.
>
> 4.) Community projects.  There are a handful of community projects
> currently out there that are intended to help developers use GWT to
> build mobile web apps: gwtmobile, gwt-touch, gwt-mobile-webkit, gwt-
> multi-touch.  I'd be interested in hearing feedback on these projects.
>
> 5.) Touch events.  I see there are a number of touch related classes
> in the GWT Javadoc.  I'm assuming these are for mobile devices.  Are
> there any examples or tutorials out there using these classes?
>
> I hope this wasn't TL;DR.  I hope to get a feel for how others are
> using GWT today for building mobile web apps.
>
> 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 API for  non Java based platforms
http://www.emitrom.com/ 
http://gwt4touch.appspot.com/
http://gwt4flex.appspot.com/ 
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.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: CandleStick Chart using GWT Java API

2011-11-08 Thread Uemit
The gwt-google-api visualization api doesn't contain a GWT wrapper for the 
Candlestick Chart however it is quite straightforward to create one 
yourself. 
Here is a 
tutorial
. 
You can take the LineChart 
warpper
 
(from the corechart package) as an example. 


-- 
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/-/FFFJkRAN-iQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread Uemit
@Palo G.: 
I agree that there battery consumption on mobile devices is an issue and I 
wasn't actually referring to "traditional" web-applications. 
However there are some special use cases (scientific field) where it does 
make sense to use the available computational potential of the client 
machines (which are idle most of the time). 
In these special use cases mobile devices only play a minor role. 
I also think that to some extend there is no way around having separate 
implementations of parts of the application for different devices. At a 
minimum different view implementations are necessary in order to cope with 
different screen sizes. Take the mobilewebapp from the last I/O as an 
example. 
Theoretically one could have a fallback mode for mobile devices where the 
algorithm is run on the server. 

-- 
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/-/btvMiTvWERsJ.
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 GWT Design View in Eclipse

2011-11-08 Thread Jonathan Gossage
Apparently I am not looking in the right place for documentation. I spent
an entire day looking for this information without success.

On Tue, Nov 8, 2011 at 12:23 PM, Eric Clayberg (Google)  wrote:

> Have you tried opening one of your GWT UI classes (Java or UiBinder) with
> the WindowBuilder Editor (as shown in the docs)?
>
> --
> 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/-/2_HBMrTWnh4J.
> 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: MVP Pattern

2011-11-08 Thread Alberto Jesús Rubio Sánchez
Thanks for all to response.

But which is the use of the places?

Regards,

Alberto J.

On 3 nov, 18:29, Christian Goudreau 
wrote:
> Well activities and presenter really look alike and the two denomination
> are confusing, but a hint is the presenter interface in Gwt tutorials that
> point to a presenter interface that Activities usually implements.
>
> Cheers,
>
>
>
>
>
>
>
>
>
> On Thu, Nov 3, 2011 at 1:16 PM, Thomas Broyer  wrote:
> > There's no difference. Activities & Places are mostly about navigation.
> > Many people make their activity their presenter. When you create an "MVP"
> > project in Eclipse, it uses Activities & Places, and I believe the
> > activities are "MVP presenters" (not sure, never tried it)
>
> > --
> > 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/-/Vg0PqbYm_5YJ.
>
> > 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.
>
> --
> Christian Goudreauwww.arcbees.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: Integrating GWT with Tomcat and Jersey

2011-11-08 Thread amos
Monika,
I'm not sure if this is your issue but the WEBINF directory should
have a dash ('-'): WEB-INF

Tomcat will look for the specific name and then look for the lib
directory under that.

Amos


On Nov 7, 9:28 am, Brandon Donnelson  wrote:
> What I do is:
>
> If your not using the standalone install:
> 1. Manually compile the project
> 2. Zip up the war directory and it should end up something like project.zip
> (make sure the war directory is the root and not a folder in the zip file)
> 3. rename the war directory zip file to something like ROOT.war or path.war
> or GotoHere.war
> 4. drop the war into the webapps diredtory and it should unzip. If it
> doesn't unzip it on the server yourself. I like instlall the tomcat manager
> and deploy that way.
> 5. I find you won't have to do any settings but maybe security, but that
> can be done in a context.xml file if needed. You may have to tell tomcat to
> observe for context.xml files.
>
> Here are some notes I've put 
> together.http://code.google.com/p/gwt-examples/wiki/gwtTomcat
>
> Hope that helps,
> Brandon Donnelson

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



Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread Jens
I would see it from a slightly different angle. I'll put my code on the 
server if one or more of these points matches:

- Algorithm is so time consuming that its impossible to implement on client 
side without having the browser to freeze. (UI responsiveness/speed, user 
experience)
- I have to fetch a lot of data for computation but the result I am 
interested in is pretty small. (save bandwidth with respect to mobile 
devices)
- I want to keep the algorithm private. (protect code)
- GWT cant compile the code to JavaScript (GWT restrictions)

So if you have a pretty complex algorithm, but its fast enough that a 
browser does not freeze and you don't need tons of data from your backend 
as input for that algorithm its totally fine to implement that algorithm on 
client side. 

Basically it all comes down to user experience. If the user experience is 
great, you have done it correctly.

-- J.

-- 
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/-/Le3TW68MZ3gJ.
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.



Hosted mode memory leaks - am I missing something?

2011-11-08 Thread Mark Allerton
Hi,

I'm sure I'm not the only person who has ever thought that it might be
possible to use Java-based heap profiling tools to look for memory
leaks in GWT-based applications, but in practice this has turned out
to be a little frustrating because at least based on my naive
interpretation, Hosted Mode leaks pretty much every object that needs
to be invoked from the native side, apparently by design.

So my question is, am I missing something?

To be more specific about what I am seeing, I see many many objects
referenced only via the ThreadLocal "dispatchObjectCache" in
JsValueOOPHM. As far as I can tell based on searching the source code,
objects are only ever put into this cache and none are ever removed.

I have had some (apparent) success with the Eclipse Memory Analyzer,
which allows me to exclude refs via Thread.threadLocals when tracing
from GC roots, but I want to be sure that the references I am
excluding can in fact be ignored (i.e there is not some way that
objects are removed from dispatchObjectCache that has escaped my
attention.)


Thanks in advance

..Mark..

-- 
You received 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 2.4 installation

2011-11-08 Thread sachin sreenivasan
Hello people,

  I am really struggling to install the GWT2.4 + Eclipse. I tried
different versions of Eclipse. In some of them I dont see the the
deploy module option at all and so I cant generate the war file. I
then tried with Eclipse Indigo. When I do an Install Software with the
http://dl.google.com/eclipse/plugin/3.7 link, the installation takes a
very long and then stops at a point where I get this error.

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
Unable to read repository at
http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gdt.eclipse.appsmarketplace_2.4.2.relr37v201110112027.jar.
Read timed out
Unable to read repository at
http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gdt.eclipse.core_2.4.2.relr37v201110112027.jar.
Read timed out

  Got this error lot many times. Not sure why this error comes up.  I
have been struggling since a month to get this plugin installed. Can
someone please tell me what possibly is the best set of software
combiantion (GWT + Eclipse) for Windows 7 and the appropriate links
and steps for the same.

 For the earlier GWT versions, I used to have an installable file for
the GWT designer and then I used to point the GWT package within that.
Can someone tell me if such a thing is possible even now with the
latest GWT?

Hoping for some proper advice from this GWT community.

Regards,
Sachin

-- 
You received 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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Jens

>
> i just eliminated all "old"(and changed where necessary) imports and put 
> "com.google.gwt.event.shared.EventBus" in each startMethod. 
> but i have some bad feelings about that
>

Why? Isn't this the normal situation? Every Activity/Places related class 
can take the new web.bindery EventBus, *except* 
Activity.start(AcceptsOneWidget view, EventBus eventBus). But this method 
is only called by the ActivityManager and this class will provide an old 
EventBus (an old ResettableEventBus that takes your global new web.bindery 
EventBus as a constructor parameter) to make things work.
 

> - some tests call the start methods. at the moment start(panel, new 
> com.google.gwt.event.shared.SimpleEventBus()) works (because i know that 
> the methods don't use the event bus - all are using the eventBus injected 
> on construction-time) - but this could fail. so either i use only the "old" 
> eventBus in Tests (where possible) or wrap it like the managers do in a 
> resttableEventBus?
>

I would always use the new web.bindery EventBus and if needed wrap it in an 
old Resettable/CountingEventBus. Why do you inject an EventBus in your 
Activity's constructor although you get one via the Activity.start() 
method? You should use the one provided by the start() method, as all 
handlers are automatically removed once the activity stops. But maybe 
I misunderstood  you.

-- J.

-- 
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/-/TBeqo3tlDDoJ.
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 GWT Design View in Eclipse

2011-11-08 Thread Eric Clayberg (Google)
Have you tried opening one of your GWT UI classes (Java or UiBinder) with 
the WindowBuilder Editor (as shown in the docs)?

-- 
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/-/2_HBMrTWnh4J.
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: replace-with problem

2011-11-08 Thread ailinykh
Yes, I can compile. I get ClassNotFoundException when in module B (library) 
I try to create interface replaced by concrete class in app.

09:17:51.405 [ERROR] [myapp] Could not load deferred binding result type 
'com.ais.myapp.client.ExceptionHandlerImpl'

java.lang.ClassNotFoundException: com$ais$myapp$client$ExceptionHandlerImpl
at 
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1061)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at 
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:654)
at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:458)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
09:17:51.558 [ERROR] [ratemovies] Uncaught exception escaped

and one more 

java.lang.RuntimeException: Deferred binding failed for 
'com.ais.gwt.client.core.ExceptionHandler' (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:97)
at com.ais.gwt.client.MyCallback.onFailure(MyCallback.java:21)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:237)
at 
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at 
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
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:213)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous 
log entries)
at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:503)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.ais.gwt.client.MyCallback.onFailure(MyCallback.java:21)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:237)
at 
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at 
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doI

info and thoughts on using GWT for mobile web apps

2011-11-08 Thread Jenson
Hi Folks,

I'm interested in using GWT for building mobile web apps.  I have some
experience developing with GWT for desktop browser based RIA's but
this is my first effort in mobile focused dev.

I'd appreciate it if others would like to join the discussion:

What are your thoughts and impressions on using GWT today for mobile
web apps?
What does Google have planned for increasing GWT's capabilities in
mobile web app development?
Where can I find examples, articles, and tutorials focused on using
GWT for mobile web apps?  (I'm particularly interested in using GWT to
build touch optimized UIs)

I know GWT compiles Java into optimized JS that can run in mobile
browsers.  That's great of course but I'm focusing on mobile optimized
UI's and layouts.

I'm including what I've found so far below (hopefully it will help
others just beginning this journey :).

1.) Google I/O 2011 presentations are great and have been my main
source of info so far:

Chris Ramsdale's "Using GWT and Eclipse to Build Great Mobile Web
Apps" demo's the MobileWebApp sample (more below) and discusses
addressing GWT mobile app performance by using code splitting, client
bundling, app cache (HTML5), and local storage (HTML5).

John Labanca's "GWT + HTML5: A web developers dream!" covers HTML5 and
what it brings to mobile web app development, namely local storage,
canvas (making charts and visualizations), audio, video, drag-n-drop,
CSS3.

2.) MobileWebApp sample in GWT 2.4 distribution.  This is the app used
in Chris Ramsdale's demo.  I'm having problems getting it running in
Eclipse.  Once I've got it running, I'm hoping to better understand
the UI components it uses.  I've already started testing its method
for using deferred binding to send a different view to desktop, mobile
and tablet devices.

3.) HTML5 - Both of the aforementioned Google I/O presentations
discuss using HTML5 for local storage and app caching.

4.) Community projects.  There are a handful of community projects
currently out there that are intended to help developers use GWT to
build mobile web apps: gwtmobile, gwt-touch, gwt-mobile-webkit, gwt-
multi-touch.  I'd be interested in hearing feedback on these projects.

5.) Touch events.  I see there are a number of touch related classes
in the GWT Javadoc.  I'm assuming these are for mobile devices.  Are
there any examples or tutorials out there using these classes?

I hope this wasn't TL;DR.  I hope to get a feel for how others are
using GWT today for building mobile web apps.

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: how to Integrated GWT into eclipse

2011-11-08 Thread Dejan Karan

Follow the steps on the link below.
1. Download Eclipse with Java support. Install Eclipse
2. Open Eclipse -> Help -> Install New Software -> In the "Work With" text box 
enter this URL http://dl.google.com/eclipse/plugin/3.6 -> Add
3. Name the resource repository and then select the tools you need, I picked 
everything.
4. Finish. 
5. Follow the examples in the link below.
 
Hopefully this is what you are asking for. Just read the steps below
 
http://code.google.com/webtoolkit/usingeclipse.html
 
Dejan
 

> Date: Mon, 7 Nov 2011 20:13:56 -0800
> Subject: how to Integrated GWT into eclipse
> From: weiming.wang0...@gmail.com
> To: google-web-toolkit@googlegroups.com
> 
> i need the whole step to Integrated GWT.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.
> 
  

-- 
You received 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: Notification Mole styling

2011-11-08 Thread andrew
I too would like to learn to style NotificationMole.

So far, the only thing I have achieved is (by using setStyleName with
my own style name) on it is to style the outer box and it's
background

but the content is shown inside a span inside a div, with classes:

   
  this seems to set it's own height, probably calculated from the
text size, and has display : none;
  it has these styles:
  margin-left: auto;
  margin-right: auto;
  border-left: 1px solid #96A2B5;
  border-right: 1px solid #96A2B5;
  border-bottom: 1px solid #96A2B5;
  background-color: #E5EDF9;
  padding: 5px;
  overflow: hidden;
  display: inline-block;
  
  
  this has style for font family and font size

But I can't see anything related to ".container" or
".notificationText" anywhere

Then the animation seems to operate on those inner divs, not the inner
div, so when I hide it, my outer styled div remains visible

Thanks in advance for any explanations or examples

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



CandleStick Chart using GWT Java API

2011-11-08 Thread ember
Hi,

I am new to GWT. I am unable to find a way to create a Candlestick
Chart through Java API using the
'com.google.gwt.visualization.client.visualizations.corechart'. I
would like to use Java as I am not proficient in UI. Can anyone please
guide me?

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



installing in eclipse 3.7

2011-11-08 Thread netra
plz reply me


I have installed ecipse 3.7 with latest update of gwt2.4.I try to run
Stockwatcher application,it works fine.But when i wish to develop
login application for that i want GWT project as a option in file when
i create new web application.But i didnt get that option in Design bar
of Eclipse.

Please help me to solve it.


Thanks & Regards,
Netra Kataria.

-- 
You received 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 and reports

2011-11-08 Thread Shalin
Hello,

I'm new to GWT, and am planning to build an JAVA EE application with a
GWT front-end for a better usability.

Before I start learning GWT, I would like to know whether it is
possible to build reports, off a database, using GWT. I briefly had a
go at GWT and recall having difficulty going from on page to another
(all controls had to be integrated into a single page). I know its not
completely related to report building, but just want to know how to
manage transitions from the GWT generated page to the report builder.

I am required to build reports from a data source in real time, so
would require that the GWT application be able to call a report
builder of some sort.

Sorry for the abrupt questions ... I have a deadline and will probably
resort to the tried and trusted swing should I not be able to find a
report builder that works hand in hand with GWT.

Best regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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 Upload a File Over 2GB?

2011-11-08 Thread Boris
Can I upload a file over 2GB to server by GWT?
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.



Unable to load GWT Design View in Eclipse

2011-11-08 Thread Jonathan Gossage
I have installed a clean version of Eclipse 3.7 and the Google Web
Toolkit 2.4 including App-engine and GWT. The designer shows up as
installed but I can find n way to invoke or use it. How am I supposed
to access it.

Jonathan Gossage

-- 
You received 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: replace-with problem

2011-11-08 Thread Thomas Broyer
[back to the group]

On Tue, Nov 8, 2011 at 5:39 PM, ailinykh  wrote:
> I meant run time error. I want module B (which is a library) to use
> implementation defined in app (module A). Let's say this is error message
> screen, it could be pop up, separated page, what ever. So all code is
> written against  ErrorScreenInterface. I define implementation in app-
> PopUpErrorScreen.
> Module B has code- GWT.create(ErrorScreenInterface.class). And it fails here
> because module B doesn't depend on A.
> It doesn't know how to create PopUpErrorScreen. I get class not found
> exception.
> This is my problem.

So, does your app compile? (GWT compiler)

As I said, it doesn't matter in which class the GWT.create() is done,
and in which gwt.xml the  rule is defined. If you see a
ClassNotFoundException, it's probably a classpath or  path
issue.

Can you copy/paste the errors from the DevMode console, and your
DevMode launch configuration?

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



Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread Palo G.
I have to disagree with this attitude about time consuming
computations. It's about how are we looking at this problem. I agree
that client side code shouldn't be just presenter of text data or "eye-
candy" animation maker. I'll try to explain why I think that time
consuming computations don't belongs to cliend side. As @Uemit said,
yes computers are still faster and faster, but you forget to mobile
devices which are getting more and more popular in daily use. Last two
years are in trend of tablets and smartphones as main work tools, yes
they are faster and faster but still, can you imagine that most pages/
apps will do time consuming or high CPU operatoions in browsers? If I
said that I hate when my smartphone is drained after end of every day,
then most of you will agree with me that you hate it too.

And this is my only reason why I don't recommend to have these kind of
alghoritms on cliend side code. You can create highly valuable
applications without need of creating they native app clone on
smartphones, because your web app is too big or too slow or after 2
hours of using it mobile user will be very upset about battery state.

OrNOt: for image processing has Google API very good interface.

On 8 lis, 10:19, OrNOt  wrote:
> @Palo,G:
> Uemit is correct. There are many cases that need client computing and
> specific algorithms, for instance, image processing, especially for
> those which
> need prompt interactivity. You can not always push the data to the
> sever to
> process and then get the result  back to show. In low bandwidth
> internet,
> that will bring the user to kill himself.
>
> At least till now, the GWT is commonly used for text-based
> applications, say
> ,information system. As the HTML5 comes into play, more and more
> canvas or
> webgl based web applications will be made by J.S.and most of them need
> intensive client computing.I believe the IP issue will become more and
> more important.
>
> Actually it is hard for me to understand why J.S., such a poor
> language, is becoming so popular. Sun,the stupid giant, made too many
> mistakes that let java , so great language, lose his position in
> internet era. In some sense, the GWT project is damn ironic,isn't?
>
> On Nov 8, 12:29 am, Uemit  wrote:
>
>
>
>
>
>
>
> > @Harpal Grover:
> > Actually there might be a solution right now. You can use Native Client 
> > SDKto develop a C++/C 
> > application which runs in the browser.  The application
> > will be compiled to a binary and then transmitted to the client/browser
> > where it is executed in a sandbox. It is still possible to use
> > a Dis-assembler in order to figure out the algorithm however it is much
> > harder than obfuscated javascript code.
> > However until now NaCl is only supported in Chrome.

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



Using DockPLayoutPanel - can I get an autoexpanding south widget?

2011-11-08 Thread King_V
All,

Ok, I realize DockLayoutPanel is a full-screen sort of Panel, that
REQUIRES an explicit size for every widget attached.

So, given that, I'm wondering if what I want to do is even possible.

I'm trying to go for an application-like look.  Essentially, the
screen will be in three sections:

1) The north section will have a MenuBar - no surprise there.
2) The center section will be the "guts" of the GUI.
3) The south section will be something like a Windows Taskbar.  Right
now this is a FlowPanel.

The center section will basically have various items in it, and they
can be minimized.  When this happens, I'd like to add them to the
taskbar at the bottom.

Now, here's the thing - if a lot items in the main section get
minimized, the FlowPanel will get more and more items added to it, and
eventually be wider than the screen.

Naturally, the FlowPanel would expand under normal circumstances to
form a new row - but since its size has been explicitly set, this does
not happen.

Now, my initial instinct is to somehow try and determine whether or
not the FlowPanel needs to vertically resize (how do I determine
this?  Can it be determined?) and then use
DockLayoutPanel.setWidgetSize to perform the resizing "manually".

Is this possible?

Is there a simpler way to get the behavior I want?

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: What is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
i guess i got it and saved my day -again.

i just eliminated all "old"(and changed where necessary) imports and put 
"com.google.gwt.event.shared.EventBus" in each startMethod. 
but i have some bad feelings about that
- some tests call the start methods. at the moment start(panel, new 
com.google.gwt.event.shared.SimpleEventBus()) works (because i know that 
the methods don't use the event bus - all are using the eventBus injected 
on construction-time) - but this could fail. so either i use only the "old" 
eventBus in Tests (where possible) or wrap it like the managers do in a 
resttableEventBus?

- this solution feels like a workaround?! i think in future there must be 
an new AbstractActivity with "correct" start-Method (probably a 
1.4AndUpActivity ;-?)


-- 
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/-/vpPVwBxsvYEJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
" OK, let's start from the beginning: what do you mean exactly by "the 
compilation fails" ? Java compilation ? GWT compilation ? where exactly and 
with which error ?"

Good Idea (an Thx for your patience - again):

If i change the binding of EventBus (
bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);) from 
"old" to "new" package in my clientModule (Gin) the deprecated warning in
"@Provides
@Singleton
public final PlaceController getPlaceController(final EventBus 
eventBus) {
return new PlaceController(eventBus);
}
" will disappear but on gwt-compilation i'll get following error (maven 
build):
[INFO] Compiling module de.stalabw.zensus2011.adb.AuswertungsDB
[INFO][ERROR] Errors in 
'C:\WorkspaceADB\AuswertungsDB\target\.generated\de\stalabw\zensus2011\adb\client\gin\ClientInjectorImpl.java'
[INFO]   [ERROR] Line 895:  Rebind result 
'com.google.gwt.event.shared.EventBus' cannot be abstract
[INFO][ERROR] Cannot proceed due to previous errors

so what's the problem?


 

-- 
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/-/s3bcL0i7Uu8J.
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.



Problem Injecting Javascript

2011-11-08 Thread George Agiasoglou
Hi there, 

Is it possible to inject something like this and expect it to work?

google.load('visualization', '1', {'packages': ['table', 
'corechart']});google.setOnLoadCallback(drawVisualization); 
function drawVisualization() {var wrap = new 
google.visualization.ChartWrapper({'chartType':'LineChart','location.to.data&transpose=1&headers=1&range=A2%3AAD5
&gid
=2&pub=1','containerId':'mychart','options':{'chartArea':{left:5,top:0,width:'75%',height:'75%'},'vAxes':[{'
min
':null,'title':null,'max':null}],'series':{'0':{'color':'#00'},'1':{'color':'#66'},'2':{'color':'#
cc
'}},'reverseCategories':false,'title':'','pointSize':'2','backgroundColor':'#FF','legend':'right','logScale':false,'reverseAxis':false,'hasLabelsColumn':true,'hAxis':{'maxAlternation':1},'isStacked':false,'width':600,'height':371}});wrap.draw();}

I am aware about gwt wrappers for google viz and ajaxloader etc but they do 
not fit my case. I need to be transparent and agnostic on how I load a 
third party library, because I will be using more than one. I've tried 
creating a script element and a div for the chart to be drawn but my module 
gets unloaded as soon as the script is added to the document, or to the 
body or to another div. I believe this happens because a 
JavascriptException is being thrown.

Any suggestions? 

Thanks,
G

-- 
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/-/qMe2aH-nuhQJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer


On Tuesday, November 8, 2011 1:40:25 PM UTC+1, tanteanni wrote:
>
> Thx Thomas,
>
> "The activity has no dependency on the singleton/global event bus, and 
> the one passed to its start() method doesn't come from GIN; so what's the 
> problem?" 
>
> I think that's wrong in my case. ActivityManagers are provides this way 
> in my code:
> @Provides
> @Singleton
> @Named("ContentArea")
> public final ActivityManager getContentActivityManager(final 
> ContentMapper activityMapper, final EventBus eventBus) {
> return new ActivityManager(activityMapper, eventBus);
> }
> The eventBus is provided 
> via bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class); At 
> the Moment i change the package the compilation fails for my activities
>

OK, let's start from the beginning: what do you mean exactly by "the 
compilation fails" ? Java compilation ? GWT compilation ? where exactly and 
with which error ?

 

> (another question is why new ActivityManager is accepting eventBus from 
> both packages).
>

In that particular case, because it has both constructors, with gwt 
EventBus (deprecated) and with web.bindery EventBus; but if it hadn't (to 
maintain binary compatibility), as gwt EventBus extends web.bindery 
EventBus, polymorphism would do the rest (and thus it would maintain source 
compatibility).
 

> Correct me if i am wrong: you suggest to give activity's start method the 
> old eventbus
>

You have no choice but use the deprecated EventBus as the formal argument 
to your activities' start() method.
The GWT team cannot change the definition of Activity to use the 
web.bindery EventBus, because that would be a breaking change (you'd have 
to go through all your activities to change the EventBus type to the 
web.bindery one).
And you cannot declare it as a web.bindery EventBus (even though it's a 
superclass of the gwt EventBus) because Java doesn't support contravariance 
of argument types (that'd declare an overload, not an override; see 
http://en.wikipedia.org/wiki/Covariance_and_contravariance_(computer_science)#Java
 )
 

> (but this one shouldn't be used).
>

Why wouldn't you use it? The eventbus passed as argument to your start() 
method is *not* your global eventbus (as given to the ActivityManager), 
it's a ResettableEventBus built around it, so that you don't have to bother 
unregistering your handlers.
It's there to help you, so use it!

but because the activity managers are calling the start method with their 
> eventbus i have to provide activitymanagers constructed with the old 
> eventBus?
>

No (see above); it doesn't matter which kind of EventBus you give to the 
ActivityManager, it will wrap it in a ResettableEventBus and give that one 
to your activity.
 

> (i don't really understand the code you provided, is "injector.eventBus()" 
> the old or the new EventBus)
>

Everything in the first part uses the web.bindery EventBus.

-- 
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/-/-YXrgzvfbhEJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
Thx Thomas,

"The activity has no dependency on the singleton/global event bus, and the 
one passed to its start() method doesn't come from GIN; so what's the 
problem?" 

I think that's wrong in my case. ActivityManagers are provides this way in 
my code:
@Provides
@Singleton
@Named("ContentArea")
public final ActivityManager getContentActivityManager(final 
ContentMapper activityMapper, final EventBus eventBus) {
return new ActivityManager(activityMapper, eventBus);
}
The eventBus is provided 
via bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class); At 
the Moment i change the package the compilation fails for my activities 
(another question is why new ActivityManager is accepting eventBus from 
both packages).

Correct me if i am wrong: you suggest to give activity's start method the 
old eventbus (but this one shouldn't be used). but because the activity 
managers are calling the start method with their eventbus i have to provide 
activitymanagers constructed with the old eventBus? (i don't really 
understand the code you provided, is "injector.eventBus()" the old or the 
new EventBus)

-- 
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/-/u3fw4247ziwJ.
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: Problem when deploying new compiled code

2011-11-08 Thread Andrei Cosmin Fifiiţă
Thank you for your reply Thomas. I was firmly convinced that my config file
had the necessary settings, but i was wrong.

On 8 November 2011 14:00, Thomas Broyer  wrote:

> You probably need to tweak your server settings re. caching. Particularly,
> make sure that the *.nocache.js is *not* cached by intermediaries and
> browsers. See
> http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching
>
>  --
> 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/-/wEkRfK7kjosJ.
> 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: Problem when deploying new compiled code

2011-11-08 Thread Thomas Broyer
You probably need to tweak your server settings re. caching. Particularly, 
make sure that the *.nocache.js is *not* cached by intermediaries and 
browsers. See 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching

-- 
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/-/wEkRfK7kjosJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer
The question is: if only Activity uses the "old" event bus, and that one 
happens to be provided by ActivityManager (which has a dependency on the 
"new" event bus), and why couldn't you use the "new" event bus everywhere 
else than the Activity#start method?

bind(com.google.web.bindery.event.shared.EventBus.class).to(com.google.web.bindery.event.shared.SimpleEventBus.class).in(Singleton.class);

@Provides PlaceController 
providePlaceController(com.google.web.bindery.event.shared.EventBus bus) {
   return new PlaceController(bus);
}
@Provides PlaceHistoryHandler providePlaceHistoryHandler(PlaceHistoryMapper 
mapper) {
   return new  PlaceHistoryHandler(mapper);
}
...
ActivityManager manager = new ActivityManager(injector.activityMapper() // 
simplification: assumes a single ActivityManager/ActivityMapper
injector.eventBus());
manager.setDisplay(display);

PlaceHistoryHandler phh = injector.placeHistoryHandler();
phh.register(injector.placeController(), injector.eventBus(), defaultPlace);
phh.handleCurrentHistory();

Everything above compiles OK, right?

Now, why that class would make it fail to compile then:
class MyActivity extends AbstractActivity {
   public void start(AcceptsOneWidget 
panel, com.google.gwt.event.shared.EventBus bus) {
  panel.setWidget(new Label("Hello World!");
   }
}

The activity has no dependency on the singleton/global event bus, and the 
one passed to its start() method doesn't come from GIN; so what's the 
problem?

And if you need to get injected the global event bus, for whatever reason, 
then just do it:

import com.google.web.bindery.event.shared.EventBus;
class MyActivity extends AbstractActivity {
   @Inject EventBus globalBus;

   public void start(AcceptsOneWidget 
panel, com.google.gwt.event.shared.EventBus bus) {
  panel.setWidget(new Label("Hello World!");
  globalBus.fireEvent(new StartedEvent("hello world"));
   }
}

-- 
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/-/d0Jg6FOXL98J.
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.



Problem when deploying new compiled code

2011-11-08 Thread Ice13ill
Hello, I use GWT + GAE for my app development and I have a problem
when deploying a version containing a lot of changes (compared to the
last version): for example: same gadgets but with a different code/
architecture, changed DTOs, etc.
Some times, when deploying a new version (and then setting it
default), the browser shows only a blank page (the javascript code is
run but nothing is desplayed). I can't really reproduce the problem so
it is very hard to debug, but if needed I can instruct my users to
clean their cookies and cache, and the problem is solved.
Is there a way to solve this problem ? (for ex, creating a script that
runs at the beginning of onModuleLoad())

-- 
You received 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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
my problem is (the same problem as the others have/has?) if i change the 
event bus in GinModule all other instance get the "new" event bus. But now 
nobody (for example the activity manager) could call start(..., 
OldEventBus) because AbstractActivity's 
(com.google.gwt.activity.shared.AbstractActivity) start-method needs the 
eventbus from the "old" package. (to make it short if i switch to new event 
bus in ginModule the compile fails - i'don't want this :-))

the question is what to do (in 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6653) they 
talked about editing activity source code or providing an own activity. but 
i guess thats not the "official" solution to lift an gwt app (2.3 using 
activities) to 2.4?!
so how to implement an Activity in gwt 2.4 (i guess 
com.google.gwt.activity.shared.AbstractActivity should not be used?)?

-- 
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/-/sw-Kb7zdaGsJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread Thomas Broyer
How is your GIN configuration impacting your Activities start() methods?

As you said, the EventBus passed there comes from the ActivityManagers, so 
there's no reason GIN would mess things up.

(and BTW, Activity is still using the "old" EventBus because switching to 
the new one would be a breaking change)

-- 
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/-/q7zhLF9PtkYJ.
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: replace-with problem

2011-11-08 Thread Thomas Broyer
You said that "A has an entry point", so A is your app, and B and C are 
only libraries. That means B cannot be compiled on its own, it needs to be 
inherited by an "app" module, which will have the responsibility of 
defining a rebind rule (as you did in A).
So, I don't understand what you mean by "when I do the same in module B"? 
Either your compiling A, and all is OK; or you compiling another module, 
and it has to provide a rebind rule. The location in your code where you 
GWT.create() the interface doesn't matter (i.e. it doesn't matter that your 
code in com.mycompany.moduleB.client GWT.create()s the interface when the 
rebind rule is defined in com.mycompany.moduleA.ModuleA.gwt.xml); but there 
must be a rebind rule in the module (including its inherited modules) that 
you pass to the GWT compiler.

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



Re: Is GWT's obfuscate compilation safe enough to protect the js code?

2011-11-08 Thread OrNOt
@Palo,G:
Uemit is correct. There are many cases that need client computing and
specific algorithms, for instance, image processing, especially for
those which
need prompt interactivity. You can not always push the data to the
sever to
process and then get the result  back to show. In low bandwidth
internet,
that will bring the user to kill himself.

At least till now, the GWT is commonly used for text-based
applications, say
,information system. As the HTML5 comes into play, more and more
canvas or
webgl based web applications will be made by J.S.and most of them need
intensive client computing.I believe the IP issue will become more and
more important.

Actually it is hard for me to understand why J.S., such a poor
language, is becoming so popular. Sun,the stupid giant, made too many
mistakes that let java , so great language, lose his position in
internet era. In some sense, the GWT project is damn ironic,isn't?



On Nov 8, 12:29 am, Uemit  wrote:
> @Harpal Grover:
> Actually there might be a solution right now. You can use Native Client 
> SDKto develop a C++/C 
> application which runs in the browser.  The application
> will be compiled to a binary and then transmitted to the client/browser
> where it is executed in a sandbox. It is still possible to use
> a Dis-assembler in order to figure out the algorithm however it is much
> harder than obfuscated javascript code.
> However until now NaCl is only supported in Chrome.

-- 
You received 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: RequestFactory with Use of Locator

2011-11-08 Thread hkropp
Thank you! 
It worked, although now I have a *java.lang.IllegalArgumentException: 
argument type mismatch* to figure out, which probably is related to the 
Proxy/Entity.

-- 
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/-/woxo8rNqFw8J.
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: Extend RequestFactory to Make Use of None Primitive Types

2011-11-08 Thread Thomas Broyer
Yes; and no.

RF can use any object as the entity ID (returned by the getId method on 
your entity or locator) on the server side.
You cannot use ObjectId on the client-side, but you could map it as a 
ValueProxy; the only issue is that ObjectId is immutable, so you won't be 
able to pass an "ObjectIdProxy" to a method (as RF would have to 
reconstruct it on the server-side, which assumes the object is mutable), be 
it a setter on a proxy or a service method; but a getter or a 
service-method return value should be an issue.
If you do want to "set" an ObjectId on the client-side, your best bet would 
be to either marshall your ObjectId to a String (and yes, this has to be 
done "manually" everywhere you need it), or use a builder-pattern around an 
ObjectId on the server-side (mapped on the client-side as a ValueProxy; and 
yes, that also means using that ObjectIdBuilder everywhere instead of 
ObjectId).

Something like:

abstract class AbstractObjectId {
   public abstract int getTime();
   public abstract int getMachine();
   public abstract int getInc();
   public abstract void setTime(int time);
   public abstract void setMachine(int machine);
   public abstract void setInc(int inc);

   public abstract ObjectId asObjectId();
}

@ProxyFor(value=AbstractObjectId.class, locator=ObjectIdLocator.class)
interface ObjectIdProxy extends ValueProxy {
   // getters and setters for time, machine and inc
}

public class ObjectIdLocator extends Locator {
   public AbstractObjectId create(Class clazz) {
  return new ObjectIdBuilder();
   }
   
   public AbstractObjectId find(Class clazz, 
Void id) {
  throw new UnsupportedOperationException("should never be called for a 
ValueProxy");
   }
   // do the same as find() for all the other methods; only entities have 
ID and version.
}

class ObjectIdBuilder extends AbstractObjectId {
   private ObjectId objectId;
   private int time;
   private int machine;
   private int inc;

   // getters and setters, as usual

   public ObjectId asObjectId() {
  if (objectId == null) {
 objectId = new ObjectId(time, machine, inc);
  }
  return objectId;
   }
}

// use this on the server-side, to wrap an ObjectId so it can be sent to 
the client.
class ObjectIdWrapper extends AbstractObjectId {
   private final ObjectId objectId;
   public ObjectIdWrapper(ObjectId objectId) {
   this.objectId = objectId;
   }
   public int getTime() { return objectId.getTime(); }
   public void setTime(int time) { throw new 
UnsupportedOperationException(); }
   // similar for machine and inc

   public ObjectId asObjectId() { return objectId; }
}

Alternatively, you could use a single String property instead of the three 
'int' ones.

This approach is completely untested though. It'd IMO be much easier to add 
a pair of String-based accessors to the ID and map those in your proxies 
(leaving ObjectId entirely on the server side).

-- 
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/-/_oiIrzTtY2AJ.
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 is current state/fix of/for deprecated PlaceController constructor

2011-11-08 Thread tanteanni
I just updated to gwt 2.4  - to get the data grid (very nice). but no my 
PlaceController construction is deprecated. I read around here but can't 
find a good solution for this 
issue. 
(is it even an issue?):
if i update my PlaceController construction (in GinModule), all Activity's 
start()-methods start to cry (they wan't the old EventBus). They get their 
EventBus via ActivityManager, but the ActivityManagers are also constructed 
with "new" EventBus. So it seems it's a Problem of "AbstractActivity" isn't 
it?

For he Moment i have decided to keep the deprecated constructor (good 
idea?). But what would be the long term solution for this? Will there be a 
fix? Or is there already a fix?

thx in advance

-- 
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/-/y_gA2tnrISoJ.
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: Correct usage of CompositeEditor?

2011-11-08 Thread David Sanders
The correct solution is to use @Path("")

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


(Thanks to Thomas for pointing out :D)


On 8 November 2011 02:42, David Sanders wrote:

> Is there a better way of doing this?  I'm sure there must be some way to
> split up an editor without creating a workaround referring back to the
> object being edited?  Perhaps with some kind of annotation?
>
> I just have a flat class that I'm editing with a simple wizard and I've
> set up a tab panel with a separate ui binder class for each tab.  Now I'm
> trying to figure out how to make the editor driver descend into individual
> tabs but I can't seem to find the answer.
>
> --
> 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/-/sqzQCjM3ZNYJ.
> 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: Extend RequestFactory to Make Use of None Primitive Types

2011-11-08 Thread hkropp
Maybe describing my current problem with RF helps make things clear.

I want to use MongoDB for the Employee example. Now MongoDB is using 
org.bson.ObjectId as the PK instead of the primitive type Long for its 
objects.

So the question is, can I make RF use ObjectId?

thx

-- 
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/-/yESR8w12b6oJ.
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.