Re: GWT bytecodes on Android platforms

2011-08-26 Thread freemonhuul
Thanks buddy.

Is there any way to implement GWT-RPC methods without changing server
side servlet codes?

best regards

On Aug 26, 4:48 am, Magno Machado  wrote:
> You could do the communication through RequestFactory, which has a pure java
> client library that you can use on Android.
>
>
>
>
>
>
>
>
>
> On Fri, Aug 26, 2011 at 7:55 AM, freemonhuul  wrote:
> > Hi. google friendlies.
>
> > I have a thought about GWT and Android.
>
> > I have developed some app on the GWT and Android.
>
> > Now I am developing an app for android OS which should receive data
> > from http server and doesn't have a web browser compatible.
>
> > shortly can I use GWT's java bytecodes in my android app?
>
> > any reply would be appreciated.
>
> > thanks in advance.
>
> > 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.
>
> --
> Magno Machado 
> Paulohttp://blog.magnomachado.com.brhttp://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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT + OpenID authentication

2011-08-26 Thread Hareen Bejjanki
Can any one please provide me a procedure to get the google's OpenID
authentication using GWT's in Eclipse...

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



CellTable CPU 20%

2011-08-26 Thread myge...@yahoo.com
I'm  sorry, I don’t speak English.

Open link http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable

I use Google chrome, IE9, IE6, Opera.

fast repeat move mouse.

cpu usage 20%

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



Re: GWT customization (CSS) by web designer

2011-08-26 Thread dreamer
Without any addition automation I follow this cycle.

1) Setup full development environment, start at app development mode
(debug-run)
2) open the CSS file with gwt css editor.
3) make changes, save
3) in development tab - reload web server (two crossing arrows)
4) new css will be loaded, just test changes  from GUI , launching the
site.


On Aug 26, 7:18 pm, Michael Allan  wrote:
> A simple approach is to pull the designer's style sheet into the GWT
> page, just as you would into a static page.  Here's an 
> example:http://zelea.com/project/votorola/a/web/base/xf/default.html
>
> See the  element.  See also the caveat in this style sheet,
> which is imported into the main 
> sheet:http://zelea.com/project/votorola/a/web/base/web/gwt.css
>
> --
> Michael Allan
>
> Toronto, +1 416-699-9528http://zelea.com/
>
>
>
>
>
>
>
> Otto Chrons wrote:
> > We are trying out GWT 2.3 for the first time to develop a web
> > application for professional users (not consumers).
>
> > What is the best way to enable a web designer to work on customizing
> > the UI, especially CSS, without having him work through the full GWT
> > compile/package scheme? Ideally we would just compile the production
> > version of the app, deploy it and the designer could then work with
> > the "static" deployment and directly edit CSS files so that changes
> > could be seen just by reloading the web page.
>
> > - Otto

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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 customization (CSS) by web designer

2011-08-26 Thread Michael Allan
A simple approach is to pull the designer's style sheet into the GWT
page, just as you would into a static page.  Here's an example:
http://zelea.com/project/votorola/a/web/base/xf/default.html

See the  element.  See also the caveat in this style sheet,
which is imported into the main sheet:
http://zelea.com/project/votorola/a/web/base/web/gwt.css

-- 
Michael Allan

Toronto, +1 416-699-9528
http://zelea.com/


Otto Chrons wrote:
> We are trying out GWT 2.3 for the first time to develop a web
> application for professional users (not consumers).
> 
> What is the best way to enable a web designer to work on customizing
> the UI, especially CSS, without having him work through the full GWT
> compile/package scheme? Ideally we would just compile the production
> version of the app, deploy it and the designer could then work with
> the "static" deployment and directly edit CSS files so that changes
> could be seen just by reloading the web page.
> 
> - Otto

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



Can't display wide HTML in Dialog

2011-08-26 Thread dhoffer
I'm starting with the sample GWT 2.3.0 app that just shows a dialog
after making an RPC call, I've added more wide content to the
VerticalPanel but it gets truncated, i.e. the right side of the dialog
is missing...so is the Close button.  Why can't I show wide content as
HTML here?

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



Active tab on tab panel not being highlighted.

2011-08-26 Thread Rich
I have a GWT 2.3.0 application and when run in the debugger the active tab 
of a tab panel highlights when that tab is selected.  However in the 
deployed application it does not highlight.  Not sure what to look at.  Any 
suggestions?  (This behavior is the same across browsers.)

-- 
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/-/HdQAGM1htrYJ.
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 do JUnit testing for a composite widget created using UIBinder?

2011-08-26 Thread Eric Metcalf
You want a GWT test: 
http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html


On Aug 25, 2:18 pm, BM  wrote:
> I have created a stand alone custom widget using GWT UIBinder with the
> help of GWT Designer.
>
> The two files which I have are :
>
> MultipleListBoxCustomWidget.java
> MultipleListBoxCustomWidget.ui.xml
>
> I use this widget is my GWT application which I use activites and
> places framework and all my views are created using UIBinders.
>
> I use this widget in one of my view with UIBinder tag referencing the
> package name of the directory as the name spaces.
>
> Question:
> How do I Unit testing my widget code as it is all self-contained. The
> functionality of the widget is show two list boxes on the screen with
> 4 buttons on the center. Each of these buttons are  ">", "<", ">>" and
> "<<" . This means I can move items from the list to another list
> depending on which buttons are clicked. I kept the code as self-
> contained and reusable so that I can pass any two different ArrayList
> to my widget as two separate methods calls inside the widget and those
> methods basically populates respective Listbox items inside the
> widget. I also gave getter methods to return the changed item
> arrangement of the ListBox items as ArrayList object as part of two
> separate method calls.
>
> Since the widget code is self-contained, my click handlers are inside
> this java file MultipleListBoxCustomWidget.java for example -
>
> @UiHandler("leftToRightButton")
> void onLeftToRightButtonClick(ClickEvent event) {.}
>
> So testing is getting difficult. There is no controller because I
> can't have a self-contained widget with MVP activities and places
> inside to be used in another web applications which is designed using
> activities and places.
>
> Any advise?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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: Clojure on the back end / suggestions before I get started?

2011-08-26 Thread BST
https://groups.google.com/forum/#!forum/clojure

I am guessing guys at this forum might give u a better idea of how to 
design. It is interesting to know about Clojure. Probably you also should 
explore if you can make it run on a server to service requests and you can 
use it with GWT RPC..

-- 
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/-/RXu_NfGPVRYJ.
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: Using GWT Designer with UIBinder and Internaltionalization

2011-08-26 Thread Mike Dee
I'm having the same problem. The "external strings" button is missing
when working with a uibinder XML file.

On Jul 11, 10:55 am, Greg  wrote:
> Hi,
> I'm trying to start a new application using the new UIBinder with help
> of GWT Designer. Moreover, the application needs to support a few
> locales, so I'm trying to use theInternationalizationfeature.
> The problem is that in the gwt designer the icon for 
> theinternationalizationwindow is not available when building a UiBinder
> composite. My questions:  is this a missing feature in GWT Designer?
> If yes, will it be available soon? or am I doing something wrong?
> 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwt-earth - adding controls to the plugin?

2011-08-26 Thread veganjay
Does anyone know if it is possible to add controls to the Google Earth
plugin?
For a simple example, I'd like to create a GWT PushButton and add it
to the window.

For the 2D Google Maps, there is a method MapWidget.addControl(), but
I don't see anything
similar with the Google Earth plugin.  And most examples seem to place
the controls on a separate panel.

Thanks,
Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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 RPC with other server possible?

2011-08-26 Thread jernejk
Dear all,

I am total noob in GWT and just need to develop a few concepts
(urgently of course).
I'd like to display data from a separate server in GWT app running on
another server. I'm looking into GWT RPC and it looks as if it *might*
work,
but if I configure endpoit like this
((ServiceDefTarget)stockPriceSvc).setServiceEntryPoint("http://
localhost:7101/Project2/stockwatcher/stockPrices");
I get exception. In the http analyzer I see that http OPTION request
is send to my server in this case, but just a regular POST if I use
embedded Jetty.

Is my use case possible at all or should I consider other options?

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: Pros & Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Magno Machado
>It was also a bit of a pain getting integrated with Spring and Guice,
though I'm sure that >pain will be alleviated as the releases progress.
I don't know about Spring, but integrating RF and Guice is not that hard and
works very well

On Fri, Aug 26, 2011 at 12:40 PM, Brian Lough  wrote:

> After digging into both, I'm moving towards GWTEventservice:
> http://code.google.com/p/gwteventservice/.
>
> RequestFactory seems best fitted to CRUD operations on specific model
> entities and does offer much "under the covers" in supporting those
> operations.  Combined with UIBinder and Editors, it's pretty painless
> creating small-scale, simple apps.  For large-scale projects, IMHO, *far *too
> much scaffolding code just to move POJOs back and forth.  It was also a bit
> of a pain getting integrated with Spring and Guice, though I'm sure that
> pain will be alleviated as the releases progress.
>
> http://code.google.com/p/spring4gwt/ -- this may be of interest if you're
> Spring-based.  May be of interest even if not. :-)
>
> If you're dealing with one application, particularly a small one, I'd go
> with RequestFactory.  I have to deal with 6 rather large applications, with
> 5 different databases.  Even though I don't use any two at the same time
> (JTA), I'm finding neither Guice Persist nor RequestFactory really fits well
> and failover is still problematic.  As a result, I find it best to simply
> push POJO events back and forth between the UI and the Server.  SOC for me.
>
> --
> 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/-/AxZRy4vSZTgJ.
>
> 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.
>



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



Re: Sending a value from a celltable to a view

2011-08-26 Thread Sandney Farias
For example  you get the String   "*RootPlace:banco/123*" I got the string 
and extract "123", but when I'll use it in the line *
Datastore.query(banco).filter(banco.key.equal(key)).asSingle(); *
the key have to be a object of *KEY* type and isn't possible cast a 
*String*type to a 
*Key* type.

Thank`s again.

-- 
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/-/zeD9Ef2FdtkJ.
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: Pros & Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Brian Lough
After digging into both, I'm moving towards GWTEventservice: 
http://code.google.com/p/gwteventservice/.

RequestFactory seems best fitted to CRUD operations on specific model 
entities and does offer much "under the covers" in supporting those 
operations.  Combined with UIBinder and Editors, it's pretty painless 
creating small-scale, simple apps.  For large-scale projects, IMHO, *far *too 
much scaffolding code just to move POJOs back and forth.  It was also a bit 
of a pain getting integrated with Spring and Guice, though I'm sure that 
pain will be alleviated as the releases progress.

http://code.google.com/p/spring4gwt/ -- this may be of interest if you're 
Spring-based.  May be of interest even if not. :-)

If you're dealing with one application, particularly a small one, I'd go 
with RequestFactory.  I have to deal with 6 rather large applications, with 
5 different databases.  Even though I don't use any two at the same time 
(JTA), I'm finding neither Guice Persist nor RequestFactory really fits well 
and failover is still problematic.  As a result, I find it best to simply 
push POJO events back and forth between the UI and the Server.  SOC for me.

-- 
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/-/AxZRy4vSZTgJ.
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 customization (CSS) by web designer

2011-08-26 Thread Paul Robinson

I have the home page of my app and some other resources generated on-the-fly by 
pulling the data out of the database. This lets you have user-defined CSS 
post-production.

- Create a new servlet that extends HttpServlet to handle your dynamic resources
- Override doGet() and intercept requests to files you want to be dynamic, and 
fulfill the request from the database
- Ideally, remember when the user-defined css was last modified, and provide 
the necessary etag and last-modified headers, then respond with not-modified 
when appropriate to avoid sending css every time.
- Change your web.xml so that the dynamic resources are mapped to your new 
servlet
- add  or similar to your gwt.xml
- make sure this css is the last one specified by your gwt.xml (so its contents 
will override everything else)

Instead of loading from the database, you could make your sevlet load from a 
file if you want.

Paul

On 26/08/11 12:00, Otto Chrons wrote:

We are trying out GWT 2.3 for the first time to develop a web
application for professional users (not consumers).

What is the best way to enable a web designer to work on customizing
the UI, especially CSS, without having him work through the full GWT
compile/package scheme? Ideally we would just compile the production
version of the app, deploy it and the designer could then work with
the "static" deployment and directly edit CSS files so that changes
could be seen just by reloading the web page.

- Otto



--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
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: Pros & Cons for RequestFactory Vs GWT RPC mechanism

2011-08-26 Thread Brian Lough
That's a little misleading in that RequestFactory useage requires a 
considerable amount of scaffolding code. 

-- 
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/-/8rYh7qQBQlkJ.
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: Application Behaving Differently On Glassfish

2011-08-26 Thread opn
Hey,

can't help you with your specific problem, sorry.
But have you ever tried the"-noserver" option? This way I'm developing
with nearly the same setup than the productive machine has. I don't
know if you mean that in your first post where you're saying that you
can not get remote deployment working.

This way you would be able to debug the code on client side and the
server side with a glassfish server.

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

my settings (in intellij though) are:
-noserver -port 8080 -bindAddress 0.0.0.0 (as dev mode parameters)

Regards,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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 Developer Plugin for Firefox 6

2011-08-26 Thread Chris Conroy
That's more or less it to build against existing source and plugin sdks.

Upgrading to a new version is certainly more involved due to the repackaging
of the original SDK, updating the makefile, manifest, and rdf install
template in the easy case. In the hard case it involves dealing with
breaking API changes from the new version :P

Though, if you just care about building a single platform locally, that
takes away most of the repackaging headaches. It sounds like there may be
sufficient demand for instructions for this use case (e.g. when we are
lagging a release), so I'll mark that as a TODO for me to write up a wiki
entry on this subject.

On Fri, Aug 26, 2011 at 4:26 AM, Thomas Broyer  wrote:

> Is anything more than
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/README.txt
>  and
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/README.txt
>  needed?
>
>
> --
> 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/-/iavfWWhp1xoJ.
>
> 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.



GWT customization (CSS) by web designer

2011-08-26 Thread Otto Chrons
We are trying out GWT 2.3 for the first time to develop a web
application for professional users (not consumers).

What is the best way to enable a web designer to work on customizing
the UI, especially CSS, without having him work through the full GWT
compile/package scheme? Ideally we would just compile the production
version of the app, deploy it and the designer could then work with
the "static" deployment and directly edit CSS files so that changes
could be seen just by reloading the web page.

- Otto

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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: Insane RPC Serialization Error.

2011-08-26 Thread Gianluigi
Thanks for all the answers. 
Actually the insane part it's related that rpc It works PERFECTLY in hosted 
mode or in web dev plugin mode...

the serialization of complex objects in RPC fails completely in web mode 
without dev plugin...

The funny part is that I have found only this similar issue...
http://code.google.com/p/google-web-toolkit/issues/detail?id=6229


so weird...



Da: dreamer 
A: Google Web Toolkit 
Inviato: Lunedì 22 Agosto 2011 15:36
Oggetto: Re: Insane RPC Serialization Error.

I had similar issues, all pointed back to some defensive coding.
As all calls are aync , behavior will be some what unexpected in few
situations.

Here are some tricks I played to such errors.

1) try in different browsers.
2) Load the app instance, then  try, meaning use once, and second,
third, is problem persistent.
2) In your loginConfig file, if is client side code, check for
"nullability" of the object you are casting, sure, what ever object ,
you are
    are casting to is null, depending, how implemented the call, async
call might be delaying.
    One trick, test for "null" and throw "Window.alert("blah blah
object is null at line and class" - till you resolve these issues.
3) I had the habit of coding "this.variable=param" - "this" thew null
pointer exception in IE9, I removed all "this.variable"
    and named "params" with non-conflicting name. Obviously
"javascript" is not as robust as java, so we have code very
defensively.
4) I found, rather I coded more procedural way than forcing all OO
concepts in to code, this gave small footprint and performance. GWT
likes procedure code.
5) Client side, I did not spend much time but "Window.alert" is
working great for me. These are the things I should not see, if shows,
code broke some where, even I kept these in app engine uploaded, of-
course I don't have 1000's of users right now.

These are my experiences, You can experiment and find what works in
your situation.

-venu
http:schoolk12.appspot.com


On Aug 22, 6:48 am, Jambi  wrote:
> Could you post the class contents? Maybe we can see something in your
> code.
>
> On 22 Aug., 15:08, Stefan Ollinger  wrote:
>
>
>
>
>
>
>
> > Some days ago I had a similar problem. Development version worked fine,
> > but the compiled version gave those errors. What I did to resolve them,
> > was to build my project from scratch. At the end I had a compiled and
> > working version, having the same codebase like before.
>
> > In the progress of resolving the error I also changed some eclipse settings:
>
> > - Google Plugin for Eclipse -> Default GWT Version from 2.2 to 2.3
> > - Updated Maven Dependencies: GWT 2.2. to 2.3.0, GWT Maven Plugin 2.2 to
> > 2.3.0-1
>
> > Finally I cannot say where this behaviour results from, but this is how
> > I solved the problem.
>
> > Regards,
> > Stefan
>
> > Am 22.08.2011 14:16, schrieb J.Ganesan:
>
> > > Any anonymous inner class you have ? That could be a problem.
>
> > > J.Ganesan
> > >www.DataStoreGwt.com
>
> > > On Aug 22, 4:38 pm, Gianluigi  wrote:
> > >> The problem is that the serialization behaviour is different from web 
> > >> and hosted mode...
> > >> I don't know how I should resolve this...
>
> > >> 
> > >> Da: Gianluigi
> > >> A: Google Web Toolkit
> > >> Inviato: Luned 22 Agosto 2011 10:30
> > >> Oggetto: Insane RPC Serialization Error.
>
> > >> Hi to all,
>
> > >> It's several days I'm struggling with this error.
> > >> I make a rpc call from GWT client to a server passing an object.
>
> > >> This pojo contain several data ... and a String with some JSON stuff.
>
> > >> The call in DEBUG mode works absolutely fine. Not only in debug mode, 
> > >> but when I use the application connected with the GWT browser plugin.
>
> > >> In production mode... the seralization fails!!! Nothing on server side. 
> > >> I investigate the call in firebug... and the output is:
>
> > >> Fri Aug 19 18:13:11 GMT+100 2011 
> > >> com.google.gwt.logging.client.LogConfiguration
> > >> SEVERE: null java.lang.ClassCastException: null
>
> > >> at Unknown.collect_0(Unknown Source)
> > >> at Unknown.createStackTrace_0(Unknown Source)
> > >> at
> > >>   Unknown.fillInStackTrace_0(Unknown Source)
> > >> at Unknown.fillInStackTrace(Unknown Source)
> > >> at Unknown.$fillInStackTrace(Unknown Source)
> > >> at Unknown.$$init_14(Unknown Source)
> > >> at Unknown.Throwable_0(Unknown Source)
> > >> at Unknown.Exception_0(Unknown Source)
> > >> at Unknown.RuntimeException_0(Unknown Source)
> > >> at Unknown.ClassCastException_0(Unknown Source) at 
> > >> Unknown.dynamicCast(Unknown Source)
> > >> at Unknown.makeValue(Unknown Source)
> > >> at Unknown.makeValue_0(Unknown Source)
> > >> at Unknown.$extractField(Unknown Source)
> > >> at Unknown.extractField(Unknown Source)
> > >> at Unknown.$extractData_0(Unknown Source)
> > >> at Unknown.$makeObject(Unknown Source)
> > >> at Unknown.makeValue(Unknown Source)
> > >> at Unknown.writeObject(Unknown Source)

JFace with GWT for client apps

2011-08-26 Thread Avi Sengupta

Hi,

Does GWT client side support JFace? I've looked at the uFace links but 
it seems like it is no longer being actively developed.


Regards,
Avi

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



Re: Google Plugin for Eclipse 3.4

2011-08-26 Thread myTrx
Hello!

Same problem here.
It seems that the download is defect.

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


On 5 Aug., 22:06, JohnJ  wrote:
> I am having trouble installing the plugin for Eclipse3.4.  I have
> installed it in the past.  In those cases on the "Available Software"
> it always showed a selection of the components to be installed, and
> once a component is selected the Install button is enabled.  Now, no
> components are listed and the Install button is not being enabled.   I
> have tried it on three different Eclipse installs on three different
> PCs.  I have also tried installing from the zip download with the same
> result.  Has anyone else experienced this problem recently?

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

2011-08-26 Thread Bruno Sandivilli
Hi, i want i esay and clean way to integrate GWT with Facebook. Any
ideas? 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.



Handle OnClick of GWT SuggestBox ?

2011-08-26 Thread Santosh kumar
Hi,

*onClick of the SuggestBox* i want to display some of the default
suggestions. Some how i am managing to get response from the server.

@Override
public void onClick(ClickEvent event) {
   -
   -
   -
   -
 // here some how i am managing to get the default suggestions from
the server.
   -
   -
   -
   -
// but my problem is how do i say *callback.onSuggestionsReady(req,
resp);* because callback is not available here ?

// *So, my work around was:* i just created a *new Callback*, and
after getting the response from the server i am calling
//  callback.onSuggestionsReady(req, resp);

Callback callback = new Callback() {

@Override
public void onSuggestionsReady(Request request,
com.google.gwt.user.client.ui.SuggestOracle.Response response) {
// *my question is, how do i Override* *onSuggestionsReady*
*and display the suggestions ??* *because control is coming here.*
}
};
}

is this is the right way ? or please can any one suggest me the right way ?

Thanks in advance :)

-- 
** *S*antosh *K*umar *K* **

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

2011-08-26 Thread Nick


Ben  writes:

> 
> I'm trying to learn and work with the gwt-earth project.. started with
> the sort of hello earth program available at:
>
http://code.google.com/p/earth-api-samples/source/browse/#svn%2Ftrunk%2Fdemos%2Fgwt-earth%2Fsrc%2Fcom%2Fgoogle%253Fstate%253Dclosed
> 
> While the GEPlugin concept is fairly tricky - there is a GEWrapper
> class that encapsulates a GEPlugin class, which in turn talks to a
> class with native communication to the GEPlugin (GEPluginNative). In
> that latter class i find native methods like:
> 
>   public static native JavaScriptObject getFeatures(JavaScriptObject
> ge)/*-{
>   return ge.getFeatures();
>   }-*/;
> 
> and i'm trying to add a new one that sets up zoom controllers (etc),
> but can't seem to make it work. I've tried adding this:
> 
>   public static native void setControlsVisible(JavaScriptObject ge)/*-{
>   
> ge.getNavigationControl().setControlType(ge.NAVIGATION_CONTROL_LARGE);
>   ge.getNavigationControl().setVisibility(ge.VISIBILITY_SHOW);
>   }-*/;
> 
> and then call it via GEPlugin class:
> 
>   public void setControlsVisible()
> {GEPluginNative.setControlsVisible(ge);}
> 
> but i end up with a runtime JS error ("this.d.b is null")..
> 
> Is it possible to add controls to the gwt-earth example program? what
> am i missing?
> 
> Thanks for insight.
> 


Hi Ben,

I'm not sure if you are still in need of a solution to your problem but I would
recommend that you use the gwt-earth-3 project instead.
It provides full support for the entire Google Earth API, including the
capability that you are trying to implement.

You can find the project here:
https://code.google.com/p/gwt-earth-3/ 

Regards,
Nick

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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: Order of sub-editor setters in RequestFactoryEditorDriver

2011-08-26 Thread Thomas Broyer
If your code depends on call orders, then you'll have issues even without 
the Editor framework: as soon as you call a getter to retrieve a related 
proxy out of an edit()ed proxy, that other proxy will automatically be 
edit()ed too, so that you can write code like:

MyProxy myProxy = ctxt.edit(someProxy);
myProxy.getSubProxy().setFoo("foo");

without the need to edit(myProxy.getSubProxy()) and store it in another 
variable.

IMO, you'd rather change your assumptions on the server-side to no longer 
depend on setter's call order.

(FYI, the Editor calls edit() on each subproxy because it "walks" down the 
proxy passed as argument, which may or may not be edit()ed itself; and each 
ValueAwareEditor or LeafValueEditor is passed the "non-edit()ed" proxy, the 
edit()ed one being used only on flush())

-- 
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/-/4sZiv2mMqnsJ.
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 bytecodes on Android platforms

2011-08-26 Thread Magno Machado
You could do the communication through RequestFactory, which has a pure java
client library that you can use on Android.

On Fri, Aug 26, 2011 at 7:55 AM, freemonhuul  wrote:

> Hi. google friendlies.
>
> I have a thought about GWT and Android.
>
> I have developed some app on the GWT and Android.
>
> Now I am developing an app for android OS which should receive data
> from http server and doesn't have a web browser compatible.
>
> shortly can I use GWT's java bytecodes in my android app?
>
> any reply would be appreciated.
>
> thanks in advance.
>
> 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.
>
>


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



GWT bytecodes on Android platforms

2011-08-26 Thread freemonhuul
Hi. google friendlies.

I have a thought about GWT and Android.

I have developed some app on the GWT and Android.

Now I am developing an app for android OS which should receive data
from http server and doesn't have a web browser compatible.

shortly can I use GWT's java bytecodes in my android app?

any reply would be appreciated.

thanks in advance.

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.



Aw: Re: Aw: Generic Entity Locator

2011-08-26 Thread Jens
Should be fine. I just do 

return entitymanager.find(clazz, id).

-- 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/-/_Hip41CPKpUJ.
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: Aw: Generic Entity Locator

2011-08-26 Thread Cem Ikta
Hi Jens,

how do you write find Methode of your EntityLocator? Is my methode correct?

*   * @Override
public *EntityBase* find(Class clazz, Long id) {
   * return ?*
}

Best regards.

-- 
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/-/7o3T9tGYtAEJ.
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-RPC Unable to access servlet in web application

2011-08-26 Thread vaibhav bhalke
Hi,

I integrated my gwt module in to existing web application and deployed on
jboss.

when I trying to hit gwt_servlet then I am getting error message on failure
method of asynccallback

i.e. *The requested resource
(/warFileName/GWTAPPS/myGwtModuleName/GWTServletName) is not available.*

*
*

My war contain is as follows

*GWTAPPS* :

*myGwtModuleName*(folder) : (folder contains -->)advanced,css,gwt,images
folder and some *.cache.png files myGwtModule.html, myGwtModule.css

*WEB-INF* -> *deploy* - *myGwtModuleName*

I copied compiled gwt_servlet file into
/warFileName/GWTAPPS/myGwtModuleName/ still getting same error i.e resource
not available.

Is it necessary to crate WEB-INF/classes(copied *.class file) folder into
myGwtModuleName ?. like warfilename\GWTAPPS\mygwtmodule\WEB-INF\classes

Also getting sometime exception in deployment
java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/RemoteService

*gwt_servlet entry made in web.xml*

*This web.xml is not present in GWTmodule.*

*
*

< servlet> < servlet-name>GWTServletName< /servlet-name> <
servlet-class>ui.mygwtmodule.server.BasicUpdateServiceImpl < /servlet-class>
< /servlet> < servlet-mapping >

< servlet-name>GWTServletName< /servlet-name>
< url-pattern>/GWTServletName< /url-pattern>
< /servlet-mapping>

 also used url pattern like myGwtModuleName/GWTServletName

*RemoteServiceRelativePath added in BasicUpdateService*

@RemoteServiceRelativePath("GWTServletName")

public interface BasicUpdateService extends RemoteService

*Created a remote service proxy to talk to the server-side GWTMassUpdate
service.*

private final BasicUpdateServiceAsync basicUpdateService = GWT
.create(BasicUpdateService.class);

*Server call*

basicMassUpdateService.makeServreCall("vaibhav", new AsyncCallback() {

@Override
public void onSuccess(String result) {
  Window.alert("Result = "+result);
}

@Override
public void onFailure(Throwable caught) {
 Window.alert("On Failure  :"+caught);
//  No resource available :-|
}
});

Any help or guidance in this matter would be appreciated


-- 
Best Regards,
Vaibhav Bhalke



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

2011-08-26 Thread Hareen Bejjanki
Hi Karim Duran

I don't know any thing about GWT servlet.
Could you please provide me an elaborated example for the same, and where
can I get the plugins for it.

On Thu, Aug 25, 2011 at 10:46 PM, karim duran  wrote:

> Hi Hareen,
>
> Could you be more precise. I don't understand what you mean 
>
> What do you want to do, generate dynamically an image with a servlet ?
> What kind of servlet ? a J2EE standard servlet or a GWT servlet ?
>
> So, imagine that in your WebApp, your user is logged and you have store
> userID in session as a String.
> Imagine you use doGet(HttpServletRequest req, HttpServletResponse resp)
> servlet method (GET HTTP action)
>
> 1) to retrieve information in session in standard J2EE servlet class just
> do that :
> String userID = (String)req.getSession().getAttribute("userID"); // return
> the userID already stored in session
>
> So, imagine that you get imageID as a request parameter named imageid
> 2) to serve an image from your servlet just do that :
> String imageID = req.getParameter("imageid"); // retrieve the request
> parameter imageid
> resp.setContentType("image/png"); // you want to serve a PNG image
>
> 3) proceed to serve the image in HTTP outputstream
> .../.. get image data in byte array byte[] imageBytes .../...
> ServletOutputStream out = resp.getOutputStream();
> out.write(imageBytes);
> out.close();
>
> 4) Register your servlet "getimage" in web.xml in order the J2EE container
> knows it exists
>
> 5) call your servlet with a url link in your web page :
> /getimage?imageid=123456
>
> That's all.
>
> If you send me more information about what you want to do, i can help you
> more.
> GWT servlet extends standard HttpServlet, so methods are still available.
>
> I hope it helps.
>
> Regards.
> Karim Duran
>
>
>
> 2011/8/25 Hareen Bejjanki 
>
>> Can any one please suggest me a way to link an image to a HttpServlet,
>> where I can use sessions, requests and etc..
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> 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.
>



-- 
Thanks & Regards
Hareen Bejjanki

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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: Custom internationalization with gwt

2011-08-26 Thread mariyan nenchev
Any help with this, please?

On Thu, Aug 25, 2011 at 4:19 PM, mariyan nenchev
wrote:

> Hi,
>
> I want to make custom internationalization for my gwt app. What does this
> means? Imagine that my app must be internationalized for men and women.
> (id=men, id=women).
> is it possible to make two different .properties files like
> MyAppMessages_men_en.properties
> MyAppMessages_women_en.properties
>
> MyAppMessages_men_fr.properties
> MyAppMessages_men_fr.properties
>
> etc...
>
> and my app host page will be accessed like this for example
> http://blabla/MyAppHostPage.html?locale=en&id=men
> and this must load english version for men.
>
> 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: format dates in specific timezone

2011-08-26 Thread mariyan nenchev
I don't want to make mappings manually.

It's very funny that such thing can't be done with gwt.

On Thu, Aug 25, 2011 at 11:05 PM, Sydney  wrote:

> If you want to use GMT+1 timezone style I guess you need to do some kind of
> mapping.
>
> --
> 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/-/VadH7rLAvHUJ.
>
> 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: Aw: Application Cache Events

2011-08-26 Thread Thomas Broyer
See also http://code.google.com/p/gwt-mobile-webkit/wiki/AppCacheDesign and 
http://code.google.com/p/gwt-mobile-webkit/source/browse/trunk/gwt-mobile-webkit/applicationcache/
(work in progress, according to the project's home page, though it hasn't 
changed much for some time: 
http://code.google.com/p/gwt-mobile-webkit/source/browse/trunk/gwt-mobile-webkit/applicationcache/
 )

-- 
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/-/70UJVrSz6TIJ.
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.



Aw: Application Cache Events

2011-08-26 Thread Jens
To see what variables/methods/events are available on the ApplicationCache 
take a look at: http://www.w3.org/TR/html5/offline.html#applicationcache 
A small example how to use it in native JavaScript can be found 
here: http://www.html5rocks.com/en/tutorials/appcache/beginner/

So you should be able to write some JSNI methods to access the application 
cache programmatically through GWT. Also take a look at the javascript 
property "window.navigator.onLine".

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



CellTable needs overflow set

2011-08-26 Thread Al Forbes
Hi,

I have a pretty standard CellTable setup with the center of a
DockLayoutPanel, but the table is never visible. I can fix it by setting if
set the DockLayout properties overflowX and overflowY to visible.

The sample
(com/google/gwt/sample/dynatablerf/client/widgets/SummaryWidget.java) shipped
with GWT 2.3 also sets the property:
 dock.getWidgetContainerElement(table).getStyle().setProperty("overflowY",
"visible");

Is this a problem with my layout/CSS, a GWT bug, or something else? Any
hints appreciated...

The generated html looks like this:



http://groups.google.com/group/google-web-toolkit?hl=en.



Application Cache Events

2011-08-26 Thread StrongSteve
Hello,

I am currently experimenting with the application cache.
After creating a appcache.manifests for the different browser versions
I am wondering if there is a way to listen for the application cache
events inside GWT?

Using Chrome Dev Tools you see a lot what is going on with the
application cache.
For example things like:

Document was loaded from Application Cache with manifest XXX
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 43) XXX
...
Application Cache UpdateReady event

Any chance to capture these events inside GWT?
My further goal is to detect dynamically if my application is on- or
offline.

Thanks in Advance!
Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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 Developer Plugin for Firefox 6

2011-08-26 Thread Thomas Broyer
Is anything more than 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/README.txt
 and 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/README.txt
 needed?

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



Aw: Code Split

2011-08-26 Thread Jens
Have you compiled your app and used Firebug to see what is loaded? If not do 
so, because in dev mode code behind a split point is not loaded 
asynchronously via a ajax call. This only happens when you have compiled 
your app and don't use dev mode.

-- 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/-/HmfNnUwwhA8J.
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: native implementation of com.google.gwt.core.client.JavaScriptObject

2011-08-26 Thread Alain Ekambi
Ctrl + Shift + T  (Windows, Eclipse)
Then type JavaScriptObject

2011/8/26 Raja Shekhar 

> Hi,
>
> Could anyone please provide me the location where i can the implementation
> of com.google.gwt.core.client.JavaScriptObject in GWT?
>
> Or
>
> I would like to create MOCK implementation
> for com.google.gwt.core.client.JavaScriptObject, please guide me on how to
> do this?
>
> --
> Thanks,
> Raja
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> 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://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: Inherited exceptions in GWT-RPC

2011-08-26 Thread Paul Robinson

You shouldn't need to do anything. It should work as you thought. That is, you 
can throw any subclass of the declared exception(s).

Is there something about BException and CException that stops them from being 
gwt-serializable?

Alternatively, maybe it's because AException extends RuntimeException, and is 
therefore not a checked exception. It could be that, being an unchecked 
exception, GWT silently drops it (or rather, its subclasses) from the list of 
exceptions to expect.

Try "AException extends Exception" instead.

HTH
Paul

On 25/08/11 21:09, Ryan wrote:

My understanding is that in GWT-RPC, if a service throws an exception
declared in the signature, then GWT will report that exception back to
the client as-is.  If it's any other exception that's thrown, then GWT
wraps it in an InvocationException.

I have a hierarchy of exceptions that could get thrown in my
application.  For example:

class AException extends RuntimeException {}
class BException extends AException {}
class CException extends AException {}

If I declare AException in the client, and throw it in the server,
then the onFailure() method gets called with AException as expected.
However, if I declare AException in the client, but throw either of
the two child classes in the server, GWT wraps it in an
InvocationException.

What is the best way to intercept ALL the child exceptions?  The only
thing I can see so far is declaring each possible child exception in
the service signature, but that seems very brittle to me.

Thanks,
Ryan



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

2011-08-26 Thread Raphaël Brugier
Hi,

To get information on how your code is split you can use the soyc (story of 
your compile) flag, see:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html

To get information on when your splitted code is loaded, use the speed 
tracer plugin for chrome:
http://code.google.com/webtoolkit/speedtracer/index.html


Regards,
Raphaël Brugier.

-- 
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/-/eJAUT95yEucJ.
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 Developer Plugin for Firefox 6

2011-08-26 Thread Olivier Hoareau
I second that!

On 25 août, 16:48, Tony Rah  wrote:
> GWT Team,
> Perhaps it would help if you posted a white paper on how to build the
> pluggin and then the community could keep up with the new release
> schedule until the official ones are available.
>
> On Aug 25, 7:07 am, JB  wrote:
>
>
>
>
>
>
>
> > Just confirming I applied the patch linked by Thomas above and re-
> > built gwt-dev-plugin.xpi with:
> >  BROWSER=ff06; make
>
> > And the plugin works (tested on Linux-x86).
>
> > This should make it very soon now!
>
> > On Aug 24, 12:49 pm, Thomas Broyer  wrote:
>
> > > I bet it shouldn't be long:http://gwt-code-reviews.appspot.com/1523805/

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