Re: Dev Plugin for Firefox 5

2011-07-14 Thread tdk
On 14 Jul., 15:16, Thomas Broyer  wrote:
> The latest version of the plugin is compatible with Firefox 5. I use it every 
> working day.

what's the version number of the plugin?
Mine is 1.0.10401 and when I installed FF 5 it complained that this
plugin is not compatible with FF 5 and the disabled it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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 Editor with dynamic ListBox problem

2011-07-14 Thread vinayak kulkarni
Hi,
Problem: How to use dynamic listbox with editor framework
I have the simple use case to display a List in the listbox.
Then, the selected item in the listbox needs to be flushed from the
UI.
The values of the listbox are not static, they come from the DB during
runtime.

I wanted to implement it with editor mechanism.
But, the problem is, the input is - List  to show all the
values in the listbox
  the output is just String -  to be
flushed by the editor framework.

Previously, i used LeafValueEditor with getValue() and
setValue().
getValue() --> flushes the selected value to the editor driver
setValue() --> unimplemented since it cannot accept the String
I implemented one more method setAllValues() to show the dropdown
values.

How, to handle this situation? when the getValue() and setValue() are
not of the same type?

I could think of ValueListBox with setAcceptablevalues(). But, how
does editor make a call to it?

Here is the flow:
  Model
 -- List listValues
 .. other objects

ModelView implements Editor
   .. Model attributes with direct mapping
  MyListBox listValues

MyListBox implements LeafValueEditor
getValue()
setValue()

Presenter
  -- Get model
  -- editor driver.edit(model object)
  set to view
 => The view is updated with model object

Let me know if there is any other way to make MyListBox widget to be
editor compliant and accepts List but gives out String

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



Cloning an array?

2011-07-14 Thread Adrian Blakey
What do I have to do to get gwtc to translate something like: String[] foo =
(String[])bar.clone();?

gwtc ouputs: [ERROR] Line nn: Cannot invoke clone() on the array type
String[]

I understand that clone is implemented by the java compiler for all arrays
and there isn't a method on a java class that can be emulated. I tried a
couple of things to get this to work by emulation but gwtc barfs with other
errors.

Is the only work around to change the code to System.arraycopy and then
supply a js emulation for arraycopy?

Adrian Blakey
adrianbla...@gmail.com
skype: adrianblakey
facetime: adrianbla...@gmail.com
(510) 747-8057

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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 gwt-sample. Integrate Spring, JPA2.

2011-07-14 Thread Craig Mitchell
This is the active thread:  
https://groups.google.com/forum/#!topic/google-web-toolkit/kZwRAds9two

-- 
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/-/VQX5J8RFZycJ.
To post 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 TextResources in UiBinder

2011-07-14 Thread Isaac Truett
I want to include a block of text from a ClientBundle's TextResource in a
UiBinder template.

Logically, I want this:

http://dl.google.com/gwt/DTD/xhtml.ent";>


{res.myTextResource.getText}



But this just prints the literal "{res.myTextResource.getText}". And yet
this:

http://dl.google.com/gwt/DTD/xhtml.ent";>





... yields the content of myTextResource in the ID of the div.

So, is there some voodoo hidden somewhere that allows me to use {res.foo}
notation outside of an attribute? All of the examples shown in "Declarative
Layout with UiBinder" are for setting attributes. If this isn't currently
possible, is there a reason not to allow what I'm trying to do? Or is there
a better approach that is equally or more concise?

Thanks,
Isaac

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Maven repo with GWT snapshots or RCs

2011-07-14 Thread Alexander Orlov
On Jul 15, 12:57 am, David Chandler  wrote:
> I plan to push 2.4.0-rc1 to Maven Central tomorrow. Found a couple issues

Very nice!

> today while smoke testing so need to rebuild. Requestfactory-* libs will be
> pushed separately with a different groupId after more testing, probably
> early next week as the new groupId (com.google.web.bindery) will likely hold
> things up first time out.

A different groupId makes sense as RF isn't GWT-specific.

-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 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread David Chandler
FYI, bobv updated the RF developer guide yesterday with a separate section
on "transportable types", discussion of polymorphic type-mapping rules, and
slight re-wording of the Overview section.

http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

/dmc

On Thu, Jul 14, 2011 at 4:24 PM, Aidan O'Kelly  wrote:

> I'm using RequestFactory for a 'non-data-orientated' app and its works
> very nicely.
>
> Chained method invocation:
>
> MyServiceRC serviceRequest = appRequestFactory.MyServiceRC();
> serviceRequest.giveMeAString().to(stringReceiver);
> if (needPojo == true)
>serviceRequest.giveMeAPojo().to(pojoReceiver); // Pojo would be a
> ValueProxy for example.
>
> // Now fire both methods in one RPC request, and do whatever
> processing we want once both completed.
> serviceRequest.fire(processStringAndPojoReceiver);
>
> A pretty nice way to call server side methods. You are certainly not
> restricted just to persisting and retrieving datastore objects with
> RequestFactory.
>
>
>
>
>
> On Thu, Jul 14, 2011 at 10:36 AM, Michel Jonker
>  wrote:
> > Hi,
> > This is a cross post from the AppEngine group, but since I got no
> > response there, I want to try this group.
> >
> > I am trying to figure out the best practise to consume my App Engine
> > services from both Android and GWT.
> > Since the services are not that data oriented, I first considered GWT-
> > RPC.
> > But given the fact that the GPE 2.4 sample project voor Android comes
> > with
> > RequestFactory, I am leaning towards this approach.
> > I was hoping someone could validate this 'best practise' :
> > When you have both Android and GWT consumers of your App Engine
> > service,
> > apply the RequestFactory pattern.
> >
> > TIA
> >
> > Michel Jonker
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> > To post 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.
>
>


-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Re: Maven repo with GWT snapshots or RCs

2011-07-14 Thread Alexander Orlov
Working with the SYSTEM scope isn't the nice way to work with Maven.
Also I don't want JARs in my Git repo.

-Alex

On Jul 15, 12:49 am, Juan Pablo Gardella 
wrote:
> You can dowload the sources and compile in last instances.
>
> 2011/7/14 Alexander Orlov 
>
>
>
>
>
>
>
> > Is there a Maven repo with GWT snapshots or at least GWT milestones or
> > RCs? Also I haven't found any repo with gwt-servlet-deps or
> > requestfactory-* libs.
>
> > Every hint is appreciated!
>
> > -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.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Maven repo with GWT snapshots or RCs

2011-07-14 Thread David Chandler
I plan to push 2.4.0-rc1 to Maven Central tomorrow. Found a couple issues
today while smoke testing so need to rebuild. Requestfactory-* libs will be
pushed separately with a different groupId after more testing, probably
early next week as the new groupId (com.google.web.bindery) will likely hold
things up first time out.

/dmc

On Thu, Jul 14, 2011 at 6:48 PM, Alexander Orlov
wrote:

> Is there a Maven repo with GWT snapshots or at least GWT milestones or
> RCs? Also I haven't found any repo with gwt-servlet-deps or
> requestfactory-* libs.
>
> Every hint is appreciated!
>
> -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.
>
>


-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Re: Maven repo with GWT snapshots or RCs

2011-07-14 Thread Juan Pablo Gardella
You can dowload the sources and compile in last instances.

2011/7/14 Alexander Orlov 

> Is there a Maven repo with GWT snapshots or at least GWT milestones or
> RCs? Also I haven't found any repo with gwt-servlet-deps or
> requestfactory-* libs.
>
> Every hint is appreciated!
>
> -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.
>
>

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



Maven repo with GWT snapshots or RCs

2011-07-14 Thread Alexander Orlov
Is there a Maven repo with GWT snapshots or at least GWT milestones or
RCs? Also I haven't found any repo with gwt-servlet-deps or
requestfactory-* libs.

Every hint is appreciated!

-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: RPC Timeout because of delay at server side

2011-07-14 Thread Alfredo Quiroga-Villamil
Hello Aidan:

I wouldn't personally suggest increasing the timeout value. Instead you can
do one or two things:

1. Poll the server every X amount of time and create a mechanism in the
backend server to let you know when the process/es completed.
2. Implement Server Push (Take a look at Jetty Continuations).

Regards,

Alfredo

On Thu, Jul 14, 2011 at 5:12 PM, Aidan O'Kelly  wrote:

> > How can I increase the RPC timeout to infinite, so that it never
> > timesout.
> >
>
> FYI, 'Read Timeout' is being caused by the OS's TCP stack, so you
> cannot/should not hope to increase this time-out from GWT client code,
> you must use one of the methods suggested. (keep-alive's or polling
> the server to check for completion )
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post 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.
>
>


-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: best architecture for GWT + Spring

2011-07-14 Thread t.dave
i'd also agree with going the route of #2, and keeping GWT-RPC for
convenience.  yes, it's nice architecturally to say your client and
server are loosely coupled via JSON, but in practice writing JSNI
objects to read the JSON is hard to debug and can be rather tedious.

i did that previously with a grails backend, and because grails at
that point was unproven to me wanted to be able to swap it out for
something later and not even tie myself into a java backend.  i
wouldn't recommend it.  unless you have requirements that you can't
have a java backend or really don't think it's going to last, i'd keep
GWT-RPC and have that attach to spring as the previous poster
mentioned.

you might also have requirements of different (non-GWT) clients
calling your restful server side and still want to go with JSON, but
again i'd think about having multiple input/output formats (GWT-RPC,
JSON, XML, etc) all calling into the same services layer instead of
trying to standardize on one input/output data format.

hope that helps!


ps. only my $.02, not necessarily an expert opinion.  :)



On Jul 14, 8:04 am, cri  wrote:
> Definitely #2 for the reasons you mentions, with the GWT RPC server
> side attaching to the Spring application context.
>
> On Jul 14, 6:15 am, Ernesto Reig  wrote:
>
>
>
>
>
>
>
> > Hello everybody.
> > I have been discussing this topic with some collegues and we would like to
> > know the "GWT community" expert opinion :)
> > As the title says, the discussion is about the best architecture (or best
> > practices) for building enterprise web applications with GWT and Spring, and
> > the different options available are:
>
> >  - GWT MVP front-end + Spring MVC + Spring architecture back-end*.
> >  - GWT MVP front-end + Spring architecture back-end*.
> >  - Spring MVC + GWT components inside html´s and JSP´s + Spring architecture
> > back-end*.
>
> > *Spring architecture back-end is composed of several different maven
> > modules/projects (separated by functionality) each one made with Spring.
>
> > From my point of view, the best option is the second one. With that option
> > you are not mixing concepts nor using two design patterns together for the
> > same thing (GWT MVP and Spring MVP), which I think is nonsense. Also you can
> > develop the GWT part completely independent with the back-end part (with no
> > Spring MVC in the middle). So you can make the front-end part with GWT, thus
> > using the GWT best practices and features like Activities, Places,
> > RequestFactory, etc. And the back-end part focusing on every module
> > independently, using the technologies you want (Spring in this case) for
> > each one.
>
> > What do you think about this? Every point is appreciated.
>
> > Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: RPC Timeout because of delay at server side

2011-07-14 Thread Aidan O'Kelly
> How can I increase the RPC timeout to infinite, so that it never
> timesout.
>

FYI, 'Read Timeout' is being caused by the OS's TCP stack, so you
cannot/should not hope to increase this time-out from GWT client code,
you must use one of the methods suggested. (keep-alive's or polling
the server to check for completion )

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Many problems with designer LoginManager tutorial

2011-07-14 Thread Eric Clayberg
The tutorial you are referencing assumes that you are creating a GWT Java 
based app rather than a UiBinder app. It also assumes that you are using the 
full version of GWT Designer and have installed the GWT SDK somewhere 
specific. To answer your questions above...

1) The path would be the directory you unzipped the SDK to. If you are using 
the GPE, this step is not needed (GWT Designer will just use the SDK 
included with the GPE).

2) A Composite is standard GWT Java component used as a container for other 
widgets. The Composite wizard is part of the full GWT Designer tool. 

3) FlexTable only accepts children when used in a GWT Java class. It does 
not accept children in a UiBinder context.

4) A widgets "variable" property refers to its Java variable name (field or 
local variable).

5) The CSS editor is currently available only in the GWT Java context. That 
will be coming to the UiBinder editor soon.

The basic problem here is that the tutorial is entirely written from the POV 
of a GWT Java app and not a UiBinder app. By going down the UiBinder path, 
the rest of the tutorial does not apply. You need the full version of GWT 
Designer installed and you need to access the GWT Java Composite wizard in 
step #2.

-- 
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/-/uWhODOTen6EJ.
To post 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.



Failed to read file /._.jar - What could be wrong?

2011-07-14 Thread Ingert Doe
Hi! I want to use the google-api-java-client on the server-side in a
GWT/GAE project but I keep getting strange errors in the console when
I do a test run of my code.

To rule out any other factors, I'v created a new GWT/GAE project (with
the GWT project sample). I added references to the google-api-java-
client (project->properties->java build path-> libraries in eclipse).
I also set the "Source attachment" to the source jars, as mentioned on
the google-api-java-client setup page (http://code.google.com/p/google-
api-java-client/wiki/Setup) and copied the required jars to the war/
lib directory.

I then added the simple youtube example (http://code.google.com/p/
google-api-java-client/wiki/SampleProgram) to my GreetingServiceImpl
method and tweaked it to return the answer of the query to the client.
When I select "Debug as -> Web Application" I get a series of (to me)
strange warnings in the console that I hope someone here can help me
solve.

Notice that all warnings follow a simular pattern:
1) All libraries pertaining to google-api-java-client are affected
(nothing else)
2) The warnings say they can't open ._.jar which is the thing
that confuses me the most, does anyone know what this means?

--- snip ---

[WARN] Failed to read file: /Volumes/PROJECTS/workspace/GApiTest/war/
WEB-INF/lib/._google-api-client-1.4.1-beta.jar
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:127)
at java.util.jar.JarFile.(JarFile.java:135)
at java.util.jar.JarFile.(JarFile.java:99)
at
org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(TagLibConfiguration.java:
174)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1247)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:
186)
at
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:
162)
at
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:
172)
at
com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java:
119)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
at com.google.gwt.dev.DevMode.main(DevMode.java:309)

--- snip ---

Warnings continue for all jars in the google-api-java-client package
(including all dependencies)

._google-api-client-extensions-1.4.1-beta.jar
._google-api-client-googleapis-1.4.1-beta.jar
._google-api-client-googleapis-extensions-1.4.1-beta.jar
._commons-codec-1.3.jar
._commons-logging-1.1.1.jar
._gson-1.6.jar
._guava-r09.jar
._httpclient-4.0.3.jar
._httpcore-4.0.1.jar
._jackson-core-asl-1.6.7.jar
._jsr305-1.3.9.jar
._junit-4.8.2.jar
._servlet-api-2.5.jar
._transaction-api-1.1.jar
._xmlParserAPIs-2.6.2.jar
._xpp3-1.1.4c.jar


Note the code actually works fine and I get no errors/warnings in the
console after the app has launched, but these initial warnings confuse
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.



Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Aidan O'Kelly
I'm using RequestFactory for a 'non-data-orientated' app and its works
very nicely.

Chained method invocation:

MyServiceRC serviceRequest = appRequestFactory.MyServiceRC();
serviceRequest.giveMeAString().to(stringReceiver);
if (needPojo == true)
serviceRequest.giveMeAPojo().to(pojoReceiver); // Pojo would be a
ValueProxy for example.

// Now fire both methods in one RPC request, and do whatever
processing we want once both completed.
serviceRequest.fire(processStringAndPojoReceiver);

A pretty nice way to call server side methods. You are certainly not
restricted just to persisting and retrieving datastore objects with
RequestFactory.





On Thu, Jul 14, 2011 at 10:36 AM, Michel Jonker
 wrote:
> Hi,
> This is a cross post from the AppEngine group, but since I got no
> response there, I want to try this group.
>
> I am trying to figure out the best practise to consume my App Engine
> services from both Android and GWT.
> Since the services are not that data oriented, I first considered GWT-
> RPC.
> But given the fact that the GPE 2.4 sample project voor Android comes
> with
> RequestFactory, I am leaning towards this approach.
> I was hoping someone could validate this 'best practise' :
> When you have both Android and GWT consumers of your App Engine
> service,
> apply the RequestFactory pattern.
>
> TIA
>
> Michel Jonker
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post 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: A gwt-sample. Integrate Spring, JPA2.

2011-07-14 Thread Juan Pablo Gardella
An interensting related thread, GWT 2.4: RequestFactory versus GWT-
RPC: 
http://groups.google.com/group/google-appengine-java/browse_thread/thread/d68fa207e1e36e7e


On 12 jul, 15:18, Kayode Odeyemi  wrote:
> Thanks Juan. I hit a road block on this sometime ago. It's good to have this
> online. I only saw this implementation in the book Google App Engine Java
> and
> GWT Application Development for the Connectr App sample.
>
> Thanks a lot.
>
> On Tue, Jul 12, 2011 at 5:23 PM, Adolfo Panizo Touzon <
>
>
>
>
>
>
>
>
>
> adolfo.pan...@gmail.com> wrote:
> > Interesting! Thanks!.
>
> > 2011/7/12 Juan Pablo Gardella 
>
> >> Hi folks,
>
> >> I update the sample. I add an Hibernate Filter, an alternative to DTOs
> >> or Gilead to the solve the problem of serialization in GWT-RPC
> >> comunication. See
> >>http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html.
>
> >> With this filter, proxys are put to null and initialize collection
> >> convert to java collections frameworks implementation. For example
> >> PersistenSet to HashSet. With this filter can solve LIE.
>
> >> Is an alternative to Gilead or DTOs. Other alternatives, I think are
> >> intrusive (Gilead) or generate a lot of duplicate code (DTOs). Is
> >> tested with GWT 2.3.0. Or more complicate as RF. RF is better I
> >> suppose, but to me, more complicated.
>
> >> Best regards,
> >> Juan
>
> >> On May 27, 4:06 pm, Juan Pablo Gardella 
> >> wrote:
> >> > Hi folks,
>
> >> > I wanna contribute to the communitiy with a little sample. I put
> >> inhttps://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
>
> >> > Features:
>
> >> >    - JPA 2.
> >> >    - gin.
> >> >    - gwt-dispatch. Handlers are spring managed beans.
> >> >    - jsr-330 in client and server side.
> >> >    - Spring.
> >> >    - Spring Security.
> >> >    - H2 database.
> >> >    - Build by maven.
> >> >    - Runnable by jetty (mvn jetty:deploy-war).
> >> >    - Autogenerate database by reading domain classes.
>
> >> > Use activity and places.
>
> >> > Regards,
> >> > Juan
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google Web Toolkit" group.
> >> To post 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.
>
> > --
> > El precio es lo que pagas. El valor es lo que recibes.
> > Warren Buffet
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post 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.
>
> --
> Odeyemi 'Kayode O.http://www.sinati.com. t: @charyorde

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: rpc with multiple data objects

2011-07-14 Thread Juan Pablo Gardella
Check this 
thread.
Hope helps

2011/7/14 fchas 

> my I'm writing a mysql persisted gwt app and I have several data
> objects that I want shared to the UI for crud operations but I'm
> confused about how to represent the objects in the service.  the
> online examples use one data object and I don't know how to map
> multiple objects in the service.  do I need one service and servlet
> mapping per object or is there a better way?  i'm new to java servlets
> so please pardon my complete ignorance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post 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.



rpc with multiple data objects

2011-07-14 Thread fchas
my I'm writing a mysql persisted gwt app and I have several data
objects that I want shared to the UI for crud operations but I'm
confused about how to represent the objects in the service.  the
online examples use one data object and I don't know how to map
multiple objects in the service.  do I need one service and servlet
mapping per object or is there a better way?  i'm new to java servlets
so please pardon my complete ignorance.

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

2011-07-14 Thread iPeel
I've had so many of these which are nothing to do with serialization
errors themselves, but references to null objects or null objects
within the object class.



On Jul 14, 6:22 am, richip  wrote:
> We're coming up with a SerializationException for an RPC call DTO that
> we can't seem to resolve. Essentially, I've added an instance of a
> class that extends ArrayList (where VStruct is a Serializable
> class) and contains one Serializable field. Does someone know what our
> problem might be? If not, are there tips on how to debug /.
> troubleshoot these SerializationException problems?

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

2011-07-14 Thread richip
I've figured it out, but am not sure how to fix it. The List that I'm
using uses a class that has a field that uses generic types. In the
above case, VStruct has one field (fieldType) that's of type
FieldType. So I'm guessing it has nothing to do with Lists but
rather that one type. So what's the rule with generics? Should I use a
field of type FieldType?

On Jul 14, 11:04 am, cri  wrote:
> Just a wild guess. Is this problem happening in Chrome? If so,
> completely clear your browser cache and retry.
>
> On Jul 14, 9:06 am, richip  wrote:
>
>
>
>
>
>
>
> > Not originally, but I added it (not the first time I got bit by this)
> > and it's still giving me a SerializationException:
>
> > com.google.gwt.user.client.rpc.SerializationException
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(Serialize 
> > rBase.java:
> > 153)
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase 
> > .java:
> > 125)
> >     at
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.seriali 
> > ze(ClientSerializationStreamWriter.java:
> > 179)
> >     at
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write 
> > Object(AbstractSerializationStreamWriter.java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase 
> > .serialize(Map_CustomFieldSerializerBase.java:
> > 52)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer 
> > .serialize(HashMap_CustomFieldSerializer.java:
> > 40)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.seria 
> > l(HashMap_FieldSerializer.java:
> > 23)
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase 
> > .java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.seriali 
> > ze(ClientSerializationStreamWriter.java:
> > 179)
> >     at
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write 
> > Object(AbstractSerializationStreamWriter.java:
> > 126)
> >     at
> > com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldS 
> > erializer.java:
> > 20)
> >     at
> > com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSeri 
> > alizer.java:
> > 33)
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase 
> > .java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.seriali 
> > ze(ClientSerializationStreamWriter.java:
> > 179)
> >     at
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write 
> > Object(AbstractSerializationStreamWriter.java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase 
> > .serialize(Map_CustomFieldSerializerBase.java:
> > 52)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer 
> > .serialize(HashMap_CustomFieldSerializer.java:
> > 40)
> >     at
> > com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.seria 
> > l(HashMap_FieldSerializer.java:
> > 23)
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase 
> > .java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.seriali 
> > ze(ClientSerializationStreamWriter.java:
> > 179)
> >     at
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write 
> > Object(AbstractSerializationStreamWriter.java:
> > 126)
> >     at
> > com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldS 
> > erializer.java:
> > 20)
> >     at
> > com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSeri 
> > alizer.java:
> > 33)
> >     at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase 
> > .java:
> > 126)
> >     at
> > com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.seriali 
> > ze(ClientSerializationStreamWriter.java:
> > 179)
> >     at
> > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write 
> > Object(AbstractSerializationStreamWriter.java:
> > 126)
> >     at
> > com.enabil.vega.gwt.client.VegaService_Proxy.createShellAccount(VegaService 
> > _Proxy.java:
> > 61)
> >     at
> > com.enabil.vega.gwt.client.task.accountcreation.core.AccountCreationCreateS 
> > hellAccountController.handleAppTaskFinished(AccountCreationCreateShellAccou 
> > ntController.java:
> > 67)
> >     at
> > com.enabil.vega.gwt.client.task.navwizard.core.VegaNavigationWizard.onNavFi 
> > nishedEvent(VegaNavigationWizard.java:
> > 342)
> >     at
> > com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNa 
> > vEvent.java:
> > 32)
> >     at
> > com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNa 
> > vEvent.java:
> > 1)
> >     at com.google.gwt.event.shar

Re: GWT client server communication

2011-07-14 Thread soetommy
Hi,

Can you tell me how you implemented the client and server codes for gwt for 
tcp connection to server?

Thanks a lot!

Soe


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: RPC Timeout because of delay at server side

2011-07-14 Thread Jens
Maybe when you start your long running job your server should just notify 
the client that it has received the job request and that it gets started. 
Once that is done the client could ask the server periodically (using a GWT 
Timer) if the job is done or if something went wrong during job execution.

-- 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/-/jUx__3k94lEJ.
To post 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: Serialization Exception

2011-07-14 Thread cri
Just a wild guess. Is this problem happening in Chrome? If so,
completely clear your browser cache and retry.

On Jul 14, 9:06 am, richip  wrote:
> Not originally, but I added it (not the first time I got bit by this)
> and it's still giving me a SerializationException:
>
> com.google.gwt.user.client.rpc.SerializationException
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:
> 153)
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
> 125)
>     at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
> 179)
>     at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize(Map_CustomFieldSerializerBase.java:
> 52)
>     at
> com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize(HashMap_CustomFieldSerializer.java:
> 40)
>     at
> com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.serial(HashMap_FieldSerializer.java:
> 23)
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
> 179)
>     at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> 126)
>     at
> com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldSerializer.java:
> 20)
>     at
> com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSerializer.java:
> 33)
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
> 179)
>     at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize(Map_CustomFieldSerializerBase.java:
> 52)
>     at
> com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize(HashMap_CustomFieldSerializer.java:
> 40)
>     at
> com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.serial(HashMap_FieldSerializer.java:
> 23)
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
> 179)
>     at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> 126)
>     at
> com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldSerializer.java:
> 20)
>     at
> com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSerializer.java:
> 33)
>     at
> com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
> 126)
>     at
> com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
> 179)
>     at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> 126)
>     at
> com.enabil.vega.gwt.client.VegaService_Proxy.createShellAccount(VegaService_Proxy.java:
> 61)
>     at
> com.enabil.vega.gwt.client.task.accountcreation.core.AccountCreationCreateShellAccountController.handleAppTaskFinished(AccountCreationCreateShellAccountController.java:
> 67)
>     at
> com.enabil.vega.gwt.client.task.navwizard.core.VegaNavigationWizard.onNavFinishedEvent(VegaNavigationWizard.java:
> 342)
>     at
> com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNavEvent.java:
> 32)
>     at
> com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNavEvent.java:
> 1)
>     at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
>     at
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:
> 193)
>     at
> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:
> 88)
>     at
> com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
> 127)
>     at
> com.enabil.vega.gwt.client.task.navwizard.core.VegaNavigationWizard
> $2.onClick(VegaNavigationWizard.java:236)
>     at
> com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:
> 98)
>     at
> com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:
> 1)
>     at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
>     at
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:
> 193)
>   

Re: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread cri
Sure. That works fine. It's GWT Designer properties panel that is
having the issue.

On Jul 14, 9:22 am, dreamer  wrote:
> edit xml file directly in source mode, instead  in design mode , see
> if it accepts.
>
> On Jul 14, 5:58 am, cri  wrote:
>
>
>
>
>
>
>
> > Sorry, Venu, I don't understand what you are asking me to do. What do
> > you mean by "going to source" and what do you mean by "adding, if
> > supported, bring up at '.' " Thanks. -Chuck
>
> > On Jul 14, 6:10 am, dreamer  wrote:
>
> > > Can you please try going to source and adding, if supported, brings up
> > > at ".".
> > > -Venuhttp://schoolk12.appspot.com/
>
> > > On Jul 13, 8:10 am, cri  wrote:
>
> > > > I posted this issue before but didn't get any help so trying again...
> > > > Using GWT Designer, when looking at a UiBinder *.ui.xml file in the
> > > > "Design" tab, the "setStyle" property doesn't appear in the
> > > > "Properties" window. Shouldn't the property be there? The docs seem to
> > > > indicate that it should be. Thanks
>
> > > > Chuck

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: RPC Timeout because of delay at server side

2011-07-14 Thread Jeff Chimene
On 07/14/2011 05:32 AM, Rock wrote:
> Hi Guys,
> I have a GWT application which I used for Installation of multiple
> servers using PERL scripts. These installation scripts can take as
> long as 2-3 hours to execute, because of this the client requests
> times out, after around 1 hour, with the following response in the
> onFailure() method:
Your scripts need to communicate with the client on a regular basis.
Look at the gwtupload project for some ideas on this topic.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Jens
If your services are not that data oriented pure JSON may be enough? 

Using Google's AutoBeans you could easily define bean-like interfaces to 
transport some information between client and server. AutoBeans are 
internally used by RequestFactory and if you use them directly you won't 
have that data oriented feel of RequestFactory. AutoBeans are just an easy 
way to serialize/deserialize bean-like interfaces (you even do not have to 
implement them) to/from JSON. 

Your server part could then be something like simple REST web services and 
if you ever want to use a third front end beside Android/GWT you just have 
to deal with simple JSON.

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



Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Thomas Broyer
With ValueProxy, you can with RequestFactory do everything you would with 
GWT-RPC (well, with the major exception of polymorphism –though this will be 
fixed soon– and "transportable types" –which don't include java.util.Map for 
instance, though once again will be fixed in due time–).
GWT-RPC can also be a real pain (particularly with non-web apps) as the 
client and server must be compiled from the exact same code or they won't be 
able to deserialize what the other end point sent. And I can assure you'll 
likely hit those even while developing your app! RF on the other hand makes 
migrations easier (no serialization policy files, to begin with).
But honestly, if you want to build an Android app, I wonder why you 
hesitate: support for GWT-RPC from Java is not official, and likely to break 
with a future version of GWT, whereas Android is officially a target plaform 
for RF. Just use ValueProxy all over the place if you don't need 
EntityProxy, it'll be just like 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/-/2EmtzJM4fHwJ.
To post 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 for samsung smart TV, maple browser

2011-07-14 Thread Jeff Chimene
On 07/14/2011 06:30 AM, Dominic wrote:
> Our company made a google TV application with GWT, and we want to port
> it to the samsung smart TV.
> Samsung TV uses the maple browser.
> When we run the apps, I think the browser detection fails, and the app
> doesn't seem to run.
> Is there a compile setting I should add to make it work with that
> browser? Is it supported?
> 
> Thanks,
> Dominic
> 

Short answer: no. Long answer: maybe, but you have to pick a browser
work-alike and extensively test the results. The work-alike fails to
adequately support your application, you may have to customize the
generated Javascript. You'll also want to find out what rendering agent
the maple browser uses.

There are probably other comments about this topic in the group
archives. ISTR that you want to create a custom definition to select a
fall-back user agent among those that are supported.

Start with /com/google/gwt/user/UserAgent.gwt.xml

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



Re: GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Juan Pablo Gardella
If you use GWT-RPC and JPA (with Hibernate provider) you will have
serialization
problems.
To solution this, you have this alternatives:

1) Use DTO
2) Use Gilead
3) Use a 
Filter.
You can read this
too
and 
hereyou
have a sample implementation with GWT 2.3.0.

With RF you will no have this problem and is efficient. But as you said, is
oriented to data services and (to me) is more complicated. GWT-RPC is more
general and you will write less code.

Hope helps to decide.




2011/7/14 Michel Jonker 

> Hi,
> This is a cross post from the AppEngine group, but since I got no
> response there, I want to try this group.
>
> I am trying to figure out the best practise to consume my App Engine
> services from both Android and GWT.
> Since the services are not that data oriented, I first considered GWT-
> RPC.
> But given the fact that the GPE 2.4 sample project voor Android comes
> with
> RequestFactory, I am leaning towards this approach.
> I was hoping someone could validate this 'best practise' :
> When you have both Android and GWT consumers of your App Engine
> service,
> apply the RequestFactory pattern.
>
> TIA
>
> Michel Jonker
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post 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: Internal Compiler Error / Xerces

2011-07-14 Thread Juan Pablo Gardella
I think is a classpath issue. You have more than a SAX Parser in your
classpath and this is the problem. I have a similar problem and resolve (in
maven, not in eclipse). See this
thread

2011/7/14 Jörn Gersdorf 

> Hi all,
>
> we have a GWT project which is suddenly not compiling anymore but
> failing with an INternal Compiler error at
>
> com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
> 128).
>
> This happens since a collegue of mine has made some changes
> (unfortunately he's two weeks on vacation so I can't ask him what
> could have caused the problem). I experienced the problem with GWT 2.2
> and also the same error after upgrading to 2.3. I'm compiling using
> the GWT plugin in Eclipse.
>
> I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
> 2.3.0.r36v201105191508
> com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
> Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
> com.google.gdt.eclipse.suite.e36.feature.feature.group.
>
> I appreciate any help on this. Thank you very much.
>
> Kind regards,
> Jörn
>
> The error is as follows:
>
>   [WARN] Configuration property
> UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
> is off, leaving your users more vulnerable to cross-site scripting
> attacks. This property will default to true in future releases of GWT.
>   [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
> LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
> view/mqcrud/MQCrudView.java'
>  [ERROR]  Internal compiler error
> java.lang.AbstractMethodError:
> org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
> String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
> Object;
>at
>
> com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
> 128)
>at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
>at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
>at org.apache.xerces.impl.XMLNSDocumentScannerImpl
> $NSContentDispatcher.scanRootElementHook(Unknown Source)
>at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDispatcher.dispatch(Unknown Source)
>at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>at
> com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
> 64)
>at
>
> com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:
> 178)
>at
>
> com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:
> 148)
>at
>
> com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:
> 126)
>at
>
> com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
> 48)
>at
>
> com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
> 60)
>at
>
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
> 681)
>at
> com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
> 41)
>at com.google.gwt.dev.shell.StandardRebindOracle
> $Rebinder.rebind(StandardRebindOracle.java:74)
>at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 285)
>at
>
> com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
> 274)
>at
>
> com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
> 91)
>at
>
> com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
> 106)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.process(AbstractCompiler.java:251)
>at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
> 444)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:170)
>at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
> $CompilerImpl.compile(AbstractCompiler.java:285)
>at
> com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
> $400(AbstractCompiler.java:139)
>at
> com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.j

Re: entry point being ignored

2011-07-14 Thread Dennis Haupt
did you put a Window.alert in your entry point so you can check if it's
called at all?
did you register the moved entry point in your main gwt .xml?

2011/7/14 Benjamin 

> Hi All,
>
> I was happily coding away in IntelliJ and moved a large chunk of code
> into another module, and then added that module to my main GWT project
> as a dependency. Everything works perfectly in dev mode when I run the
> debugger etc. When I deploy to app engine it's as if my Entry Point
> module is never called.  The HTML welcome page loads but the entry
> point doesn't do anything. No errors or anything - it's very hard to
> debug since i can't even get my java to run.
>
> any thoughts?!
>
> Ben
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post 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.



entry point being ignored

2011-07-14 Thread Benjamin
Hi All,

I was happily coding away in IntelliJ and moved a large chunk of code
into another module, and then added that module to my main GWT project
as a dependency. Everything works perfectly in dev mode when I run the
debugger etc. When I deploy to app engine it's as if my Entry Point
module is never called.  The HTML welcome page loads but the entry
point doesn't do anything. No errors or anything - it's very hard to
debug since i can't even get my java to run.

any thoughts?!

Ben

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



Internal Compiler Error / Xerces

2011-07-14 Thread Jörn Gersdorf
Hi all,

we have a GWT project which is suddenly not compiling anymore but
failing with an INternal Compiler error at
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
128).

This happens since a collegue of mine has made some changes
(unfortunately he's two weeks on vacation so I can't ask him what
could have caused the problem). I experienced the problem with GWT 2.2
and also the same error after upgrading to 2.3. I'm compiling using
the GWT plugin in Eclipse.

I'm on Eclipse Helios, running Google Web Toolkit SDK 2.3.0
2.3.0.r36v201105191508
com.google.gwt.eclipse.sdkbundle.e36.feature.feature.group and
Google Plugin for Eclipse 3.6   2.3.2.r36v201106211634
com.google.gdt.eclipse.suite.e36.feature.feature.group.

I appreciate any help on this. Thank you very much.

Kind regards,
Jörn

The error is as follows:

   [WARN] Configuration property
UiBinder.useSafeHtmlTemplates is false! UiBinder SafeHtml integration
is off, leaving your users more vulnerable to cross-site scripting
attacks. This property will default to true in future releases of GWT.
   [ERROR] Errors in 'file:/C:/workspaces/LIQ/DEVELOPMENT/
LoanIQ_EventManagerWAR/src/main/java/eventmanager/support/admin/client/
view/mqcrud/MQCrudView.java'
  [ERROR]  Internal compiler error
java.lang.AbstractMethodError:
org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/
String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/
Object;
at
com.google.gwt.uibinder.rebind.W3cDocumentBuilder.startElement(W3cDocumentBuilder.java:
128)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl
$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at
com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:
64)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:
178)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:
148)
at
com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:
126)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:
48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:
60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
681)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
285)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
274)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:
91)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:
106)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:251)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:170)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:285)
at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
$400(AbstractCompiler.java:139)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:
587)
at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:
124)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:
54)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
525)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
35)
at com.google.gwt.dev.Precompile.precompile(Precompil

GWT 2.4: RequestFactory versus GWT-RPC

2011-07-14 Thread Michel Jonker
Hi,
This is a cross post from the AppEngine group, but since I got no
response there, I want to try this group.

I am trying to figure out the best practise to consume my App Engine
services from both Android and GWT.
Since the services are not that data oriented, I first considered GWT-
RPC.
But given the fact that the GPE 2.4 sample project voor Android comes
with
RequestFactory, I am leaning towards this approach.
I was hoping someone could validate this 'best practise' :
When you have both Android and GWT consumers of your App Engine
service,
apply the RequestFactory pattern.

TIA

Michel Jonker

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



RPC Timeout because of delay at server side

2011-07-14 Thread Rock
Hi Guys,
I have a GWT application which I used for Installation of multiple
servers using PERL scripts. These installation scripts can take as
long as 2-3 hours to execute, because of this the client requests
times out, after around 1 hour, with the following response in the
onFailure() method:

com.google.gwt.user.client.rpc.StatusCodeException: http://www.w3.org/TR/
html4/loose.dtd">

ERROR: The requested URL could not be retrieved

ERRORThe requested URL could not be
retrieved
While trying to retrieve the URL:
[no URL]The following error was
encountered:
Read TimeoutThe system returned:
[No Error]
A Timeout occurred while waiting to read data from the network.  The
network
or server may be down or congested.  Please retry your request.
Your cache administrator is mailto:webmaster";>webmaster.

Generated Tue, 12 Jul 2011 07:12:18 GMT by tklcnis (squid/
2.5.STABLE9)


Although the code at my server end keeps on running even after the
timeouts and the installations are completed successfully, but when I
return the data from server function saying "installation completed",
the request is already outdated/stale and nothing happens as it has
already declared request as failed.

How can I increase the RPC timeout to infinite, so that it never
timesout.

Using Tomcat 6.0 and GWT: 1.7

Please Help

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



Re: How to run development mode on a separate web server

2011-07-14 Thread Sohaib
You can use myeclipse ide for seperate servers if you want. 

www.myeclipseide.com

-- 
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/-/aeTERC0m7D4J.
To post 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 for samsung smart TV, maple browser

2011-07-14 Thread Dominic
Our company made a google TV application with GWT, and we want to port
it to the samsung smart TV.
Samsung TV uses the maple browser.
When we run the apps, I think the browser detection fails, and the app
doesn't seem to run.
Is there a compile setting I should add to make it work with that
browser? Is it supported?

Thanks,
Dominic

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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 + Tomcat + Realm FORM authentication

2011-07-14 Thread Jose María Zaragoza

Hi:

I would like to use realm FORM authentication in my GWT application,
running on Tomcat 7.x

I got it working using by FormPanel ( with target = "_top" ) and
web.xml configuration as


/login.jsp
/error.jsp


As I said, all works fine.

But there is a problem: I loss the advantages of asynchrononus calls
and during the login process doesn't look like a GWT app.

I would like my login page calls asynchrononusly to j_security_check
(realm) and process the response.
So, if I try to access to protected resource ( 
http://localhost:8080/protected/file.html),
Tomcat redirect to login page

I can to do this with RequestBuilder , but , if user/credentials are
right , the response.getText()  contains the content of the protected
resource ( file.html), but I don't know how "to paint" this content in
web browser.
This content can be a HTML file, or a PNG image, or a XML file. I want
to show the protected content as I do it with the FormPanel widget
( and target = "_top" )

Furthermore, with RequestBuilder , I loss the protected URL (http://
localhost:8080/protected/file.html) in browser's URL bar

Did anyone do it ? Any ideas ?

Thanks and 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: SEVERE: The Cell Widget is attempting to render itself within the render loop

2011-07-14 Thread Christian Goudreau
It seems to happen when I have editable checkbox column and a selection 
handler.

-- 
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/-/PbLqUPpHxHQJ.
To post 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: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread dreamer
edit xml file directly in source mode, instead  in design mode , see
if it accepts.

On Jul 14, 5:58 am, cri  wrote:
> Sorry, Venu, I don't understand what you are asking me to do. What do
> you mean by "going to source" and what do you mean by "adding, if
> supported, bring up at '.' " Thanks. -Chuck
>
> On Jul 14, 6:10 am, dreamer  wrote:
>
>
>
>
>
>
>
> > Can you please try going to source and adding, if supported, brings up
> > at ".".
> > -Venuhttp://schoolk12.appspot.com/
>
> > On Jul 13, 8:10 am, cri  wrote:
>
> > > I posted this issue before but didn't get any help so trying again...
> > > Using GWT Designer, when looking at a UiBinder *.ui.xml file in the
> > > "Design" tab, the "setStyle" property doesn't appear in the
> > > "Properties" window. Shouldn't the property be there? The docs seem to
> > > indicate that it should be. Thanks
>
> > > Chuck

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

2011-07-14 Thread richip
Not originally, but I added it (not the first time I got bit by this)
and it's still giving me a SerializationException:

com.google.gwt.user.client.rpc.SerializationException
at
com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:
153)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
125)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
179)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at
com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize(Map_CustomFieldSerializerBase.java:
52)
at
com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize(HashMap_CustomFieldSerializer.java:
40)
at
com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.serial(HashMap_FieldSerializer.java:
23)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
126)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
179)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at
com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldSerializer.java:
20)
at
com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSerializer.java:
33)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
126)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
179)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at
com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize(Map_CustomFieldSerializerBase.java:
52)
at
com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize(HashMap_CustomFieldSerializer.java:
40)
at
com.google.gwt.user.client.rpc.core.java.util.HashMap_FieldSerializer.serial(HashMap_FieldSerializer.java:
23)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
126)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
179)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at
com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serialize(VStruct_FieldSerializer.java:
20)
at
com.enabil.vega.gwt.shared.VStruct_FieldSerializer.serial(VStruct_FieldSerializer.java:
33)
at
com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:
126)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize(ClientSerializationStreamWriter.java:
179)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at
com.enabil.vega.gwt.client.VegaService_Proxy.createShellAccount(VegaService_Proxy.java:
61)
at
com.enabil.vega.gwt.client.task.accountcreation.core.AccountCreationCreateShellAccountController.handleAppTaskFinished(AccountCreationCreateShellAccountController.java:
67)
at
com.enabil.vega.gwt.client.task.navwizard.core.VegaNavigationWizard.onNavFinishedEvent(VegaNavigationWizard.java:
342)
at
com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNavEvent.java:
32)
at
com.enabil.vega.gwt.client.task.navwizard.core.VegaNavEvent.dispatch(VegaNavEvent.java:
1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at
com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:
193)
at
com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:
88)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
127)
at
com.enabil.vega.gwt.client.task.navwizard.core.VegaNavigationWizard
$2.onClick(VegaNavigationWizard.java:236)
at
com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:
98)
at
com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:
1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at
com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:
193)
at
com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:
88)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
127)
at
com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce

Re: Dev Plugin for Firefox 5

2011-07-14 Thread Thomas Broyer
The latest version of the plugin is compatible with Firefox 5. I use it 
every working day.

-- 
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/-/Obm36r-ndH0J.
To post 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.



jetty 6 vs tomcat 6 ?

2011-07-14 Thread Elhanan
hi..

is there any preferred server between the 2  (from development
perspective) , when the production server would be websphere 7 (we
don't have rads, just websphere developer edition)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: best architecture for GWT + Spring

2011-07-14 Thread cri
Definitely #2 for the reasons you mentions, with the GWT RPC server
side attaching to the Spring application context.

On Jul 14, 6:15 am, Ernesto Reig  wrote:
> Hello everybody.
> I have been discussing this topic with some collegues and we would like to
> know the "GWT community" expert opinion :)
> As the title says, the discussion is about the best architecture (or best
> practices) for building enterprise web applications with GWT and Spring, and
> the different options available are:
>
>  - GWT MVP front-end + Spring MVC + Spring architecture back-end*.
>  - GWT MVP front-end + Spring architecture back-end*.
>  - Spring MVC + GWT components inside html´s and JSP´s + Spring architecture
> back-end*.
>
> *Spring architecture back-end is composed of several different maven
> modules/projects (separated by functionality) each one made with Spring.
>
> From my point of view, the best option is the second one. With that option
> you are not mixing concepts nor using two design patterns together for the
> same thing (GWT MVP and Spring MVP), which I think is nonsense. Also you can
> develop the GWT part completely independent with the back-end part (with no
> Spring MVC in the middle). So you can make the front-end part with GWT, thus
> using the GWT best practices and features like Activities, Places,
> RequestFactory, etc. And the back-end part focusing on every module
> independently, using the technologies you want (Spring in this case) for
> each one.
>
> What do you think about this? Every point is appreciated.
>
> Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread cri
Sorry, Venu, I don't understand what you are asking me to do. What do
you mean by "going to source" and what do you mean by "adding, if
supported, bring up at '.' " Thanks. -Chuck

On Jul 14, 6:10 am, dreamer  wrote:
> Can you please try going to source and adding, if supported, brings up
> at ".".
> -Venuhttp://schoolk12.appspot.com/
>
> On Jul 13, 8:10 am, cri  wrote:
>
>
>
>
>
>
>
> > I posted this issue before but didn't get any help so trying again...
> > Using GWT Designer, when looking at a UiBinder *.ui.xml file in the
> > "Design" tab, the "setStyle" property doesn't appear in the
> > "Properties" window. Shouldn't the property be there? The docs seem to
> > indicate that it should be. Thanks
>
> > Chuck

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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 I/Should I test my *ServiceImpl class? (GAE+GWT+MVP)

2011-07-14 Thread Drew Spencer
Hey coders,

I wonder if anyone can help me. I'm still learning GAE+GWT and trying to get 
into unit testing as I go along. I have finally managed to get my head 
around MVP and have written some basic tests to test my presenters, using 
mock objects for the view and server-side service. All good.

My question is this: *How can I test whether my RPC calls are working? 
Should I even be trying to test them?*

For example, in my ServiceImpl class I have a function fillDatastore() that 
populates it with some dummy data - I would like to be able to run this on 
the datastore stub, using LocalServiceTestHelper, a bit like this test, but 
using my server side code instead of putting the actual insert code into the 
test itself: 
http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_and_Memcache_Tests

As far as I understand it - I can't use GWT.create() to make a real rpc 
service in a TestCase (have to mock it), and I can't create a datastore stub 
inside a GwtTest. If anyone can point me in the right direction, tell me 
where I'm confused I would appreciate it greatly.

Cheers,

Drew

-- 
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/-/ZSdzjFFXD3kJ.
To post 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.



Dev Plugin for Firefox 5

2011-07-14 Thread tdk
Is the Developer Plugin for Firefox 5 available somewhere?

I would like to upgrade my Firefox (it keeps pestering to do so ;),
but without the GWT Developer Plugin I can't really work...

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

2011-07-14 Thread tdk
thanx for helping, I've given up on it, too much hassle and I don't
think it's worth it for what I need...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Changing extension of compiler generated .html files

2011-07-14 Thread Magno Machado
I don't know if there's an easier way (perhaps manualy changing the file
names and patching the app.nocache.js?), but maybe it can be done with a
custom linker

On Thu, Jul 14, 2011 at 5:29 AM, Nitin  wrote:

> Is there a way I can tell GWT Compiler to generate .cache.html
> files with some other extension.
> For eg. I want file generated should be something like
> .cache.htm
>
> (.htm instead of .html)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
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: best architecture for GWT + Spring

2011-07-14 Thread dmen
I have been using the first option, with Spring MVC acting as a
restful web service layer. See for example:
http://blog.springsource.com/2010/01/25/ajax-simplifications-in-spring-3-0/

The upside is that the server side is completely unaware of the client
side technology. Indeed I have been reusing some common services with
either GWT, ExtJS and jQuery in different applications.

The downside is that you loose all the GWT RPC convenience.

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



best architecture for GWT + Spring

2011-07-14 Thread Ernesto Reig
Hello everybody.
I have been discussing this topic with some collegues and we would like to
know the "GWT community" expert opinion :)
As the title says, the discussion is about the best architecture (or best
practices) for building enterprise web applications with GWT and Spring, and
the different options available are:

 - GWT MVP front-end + Spring MVC + Spring architecture back-end*.
 - GWT MVP front-end + Spring architecture back-end*.
 - Spring MVC + GWT components inside html´s and JSP´s + Spring architecture
back-end*.

*Spring architecture back-end is composed of several different maven
modules/projects (separated by functionality) each one made with Spring.

>From my point of view, the best option is the second one. With that option
you are not mixing concepts nor using two design patterns together for the
same thing (GWT MVP and Spring MVP), which I think is nonsense. Also you can
develop the GWT part completely independent with the back-end part (with no
Spring MVC in the middle). So you can make the front-end part with GWT, thus
using the GWT best practices and features like Activities, Places,
RequestFactory, etc. And the back-end part focusing on every module
independently, using the technologies you want (Spring in this case) for
each one.

What do you think about this? Every point is appreciated.

Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-14 Thread dreamer
Can you please try going to source and adding, if supported, brings up
at ".".
-Venu
http://schoolk12.appspot.com/

On Jul 13, 8:10 am, cri  wrote:
> I posted this issue before but didn't get any help so trying again...
> Using GWT Designer, when looking at a UiBinder *.ui.xml file in the
> "Design" tab, the "setStyle" property doesn't appear in the
> "Properties" window. Shouldn't the property be there? The docs seem to
> indicate that it should be. Thanks
>
> Chuck

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

2011-07-14 Thread Thomas Broyer
Given that DateJS changes the built-in Date object, I wouldn't be surprised 
that it doesn't work cross-window/cross-frame (changing built-in types is 
considered bad practice anyway). Using  (beware: 
deprecated) might be the only workaround.

-- 
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/-/bamr0xNCj3EJ.
To post 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: Playing MP3 and AVI in GWT application

2011-07-14 Thread dreamer
Hi,

We don't have to build the page entirely using GWT widgets,
if playing these in any html is possible, it should be possible even
with GWT.
with HTML5 it is snap to implement this, but GWT does not prevent to
launch player and play anything you want.

Even you can mix Flash with GWT.

You can build your site almost with 99% with pure HTML and just WITH
one or two GWT widgets.
Still  it is GWT app.

GWT is just a javascript, how much you want in your page, that is up
to you.
My wish is to go 100% and develop like in Visual Basic using GWT
designer. May be couple of more years to realize this.

Even add RPC/actions to buttons, should be under the hood, developer
should add method, and just
should declare, if it is client or server. GWT should take care. I
have to come up with whole new proxy pattern to achieve this, to mask
my client code.


-Venu
http://schoolk12.appspot.com/


On Jul 14, 1:44 am, Rob Coops  wrote:
> Then there is only one real solution, Adobe Flash...
>
> Pretty much everyone and their mother has a Flash Player installed (for
> those that do not use HTML5 (Apple iStuff is the main group there without
> Flash)). If you set the system to prefer HTML5 and then switch back to Flash
> if this is not available you are future proof and able to deal with what
> ever way that coin will flip.
>
> For the widget simply use two and load which ever one the users browser will
> support. If the users browser is capable to deal with HTML5 like Chrome or
> Firefox you simply load the HTML5 widget, if you are being visited by an
> older IE version simply push the Flash version over.
>
> Using MVP you would simply have to views and a few lines of code to decide
> which one to show the user not unlike deciding to show the user the mobile
> version of the view instead of the full fledged desktop version.
>
> Regards,
>
> Rob
>
>
>
>
>
>
>
> On Thu, Jul 14, 2011 at 10:12 AM, shahid  wrote:
> > The trouble is HTML 5 is not supported on majority of the user's
> > browser. Also what do you do for backward compatibility?
>
> > On Jul 13, 5:45 pm, David Chandler  wrote:
> > > HTML5 to the rescue...
>
> > >http://www.slideshare.net/turbomanage/gwt-plus-html-5
>
> > >http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
>
> > >http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
>
> > > The APIs are changing slightly in GWT 2.4 to enable you to more easily
> > > specify multiple formats.
>
> > > /dmc
>
> > > On Wed, Jul 13, 2011 at 12:10 PM, shahid  wrote:
> > > > What is the best way to support playing MP3(audio) and AVI (video)
> > > > files in a GWT application. We have gone a long way into developing
> > > > our application on top of GWT and now we have a requirement to support
> > > > playing mp3 and avi files. However I can't find a widget or player
> > > > that I can use with GWT to support both of these formats. Has anyone
> > > > used this functionality in your application and how? What is the best
> > > > practice ?
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Web Toolkit" group.
> > > > To post 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, GWT+GAE
> > > w:http://code.google.com/
> > > b:http://turbomanage.wordpress.com/
> > > b:http://googlewebtoolkit.blogspot.com/
> > > t: @googledevtools
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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 run development mode on a separate web server

2011-07-14 Thread Thomas Broyer
Did you follow these instructions? 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's

If you're using the Google Plugin for Eclipse, simply right-click your 
project → Run As → Web Application (running on an external server).
Or you can edit an existing launch configuration: uncheck "run built-in 
server" (equivalent to -noserver) in the Server tab, and set the -startupUrl 
value to your server's address (e.g. http://test-server/myapp/) in the 
Arguments tab (you can actually even use -startupUrl several times).

-- 
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/-/UbPqI2ND9IQJ.
To post 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.



R: Re: R: Re: Re: Can't install "Google Web Toolkit Developer Plugin" under Chrome

2011-07-14 Thread Vlad
Nope, I try to install the plugin from a folder where it has been 
extracted...

Il giorno mercoledì 13 luglio 2011 17:45:40 UTC+2, Chak Lai ha scritto:
>
> You may want to try the offline installation
> Chrome - https://dl.google.com/dl/gwt/plugins/chrome/gwt-dev-plugin.crx
>

Is there anywhere a log for reading a and eventually find what's going on?

 

-- 
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/-/IRE_20aMuMcJ.
To post 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.



ListDataProvider.getList does not return a list

2011-07-14 Thread gwernol
I'm using the ListDataProvider. I can write code like:

public class MyListPanel extends VerticalPanel {
private TextCell textCell = new TextCell();
private CellList cellList = new CellList(textCell);
private ListDataProvider dataProvider = new
ListDataProvider();

private void createUI() {
ScrollPanel scrollPanel = new ScrollPanel();
scrollPanel.setSize("100%", "5em");

dataProvider.addDataDisplay(cellList);

scrollPanel.setWidget(cellList);
add(scrollPanel);
}

public List getList() {
return dataProvider.getList();
}

public addToList(String item) {
System.out.println("addToList: item=" + item);
dataProvider.getList().add(item);
System.out.println("item is now " +dataProvider.getList());
}
}

If I call myListPanel.addToList("dan"), then the list is updated as
expected, but, the System output is something like:

addToList: item=dan
addToList: list is now com.google.gwt.view.client.ListDataProvider
$ListWrapper@7755c16a

Note that dataProvider.getList() is returning a ListWrapper not a
List.

Elsewhere my code calls myListPanel.getList() and puts the returned
"array" into a List field an object that I pass back to the
server. This of course results in a Serialization Exception, as the
object should contain a List but actually contains a
ListWrapper.

The JavaDoc says that:

public java.util.List getList()
Get the list that backs this model. Changes to the list will be
reflected in the model.

This is clearly not true. Is this bug going to be fixed? At the very
least the documentation should be updated asap as its misleading right
now.

Thanks,

Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Playing MP3 and AVI in GWT application

2011-07-14 Thread Rob Coops
Then there is only one real solution, Adobe Flash...

Pretty much everyone and their mother has a Flash Player installed (for
those that do not use HTML5 (Apple iStuff is the main group there without
Flash)). If you set the system to prefer HTML5 and then switch back to Flash
if this is not available you are future proof and able to deal with what
ever way that coin will flip.

For the widget simply use two and load which ever one the users browser will
support. If the users browser is capable to deal with HTML5 like Chrome or
Firefox you simply load the HTML5 widget, if you are being visited by an
older IE version simply push the Flash version over.

Using MVP you would simply have to views and a few lines of code to decide
which one to show the user not unlike deciding to show the user the mobile
version of the view instead of the full fledged desktop version.

Regards,

Rob

On Thu, Jul 14, 2011 at 10:12 AM, shahid  wrote:

> The trouble is HTML 5 is not supported on majority of the user's
> browser. Also what do you do for backward compatibility?
>
> On Jul 13, 5:45 pm, David Chandler  wrote:
> > HTML5 to the rescue...
> >
> > http://www.slideshare.net/turbomanage/gwt-plus-html-5
> >
> > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
> >
> > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
> >
> > The APIs are changing slightly in GWT 2.4 to enable you to more easily
> > specify multiple formats.
> >
> > /dmc
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Jul 13, 2011 at 12:10 PM, shahid  wrote:
> > > What is the best way to support playing MP3(audio) and AVI (video)
> > > files in a GWT application. We have gone a long way into developing
> > > our application on top of GWT and now we have a requirement to support
> > > playing mp3 and avi files. However I can't find a widget or player
> > > that I can use with GWT to support both of these formats. Has anyone
> > > used this functionality in your application and how? What is the best
> > > practice ?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post 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, GWT+GAE
> > w:http://code.google.com/
> > b:http://turbomanage.wordpress.com/
> > b:http://googlewebtoolkit.blogspot.com/
> > t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post 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: Playing MP3 and AVI in GWT application

2011-07-14 Thread Alain Ekambi
You still can fallback to Flash if the HTML5 features are not supported i
would say.

2011/7/14 shahid 

> The trouble is HTML 5 is not supported on majority of the user's
> browser. Also what do you do for backward compatibility?
>
> On Jul 13, 5:45 pm, David Chandler  wrote:
> > HTML5 to the rescue...
> >
> > http://www.slideshare.net/turbomanage/gwt-plus-html-5
> >
> > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
> >
> > http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
> >
> > The APIs are changing slightly in GWT 2.4 to enable you to more easily
> > specify multiple formats.
> >
> > /dmc
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Jul 13, 2011 at 12:10 PM, shahid  wrote:
> > > What is the best way to support playing MP3(audio) and AVI (video)
> > > files in a GWT application. We have gone a long way into developing
> > > our application on top of GWT and now we have a requirement to support
> > > playing mp3 and avi files. However I can't find a widget or player
> > > that I can use with GWT to support both of these formats. Has anyone
> > > used this functionality in your application and how? What is the best
> > > practice ?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post 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, GWT+GAE
> > w:http://code.google.com/
> > b:http://turbomanage.wordpress.com/
> > b:http://googlewebtoolkit.blogspot.com/
> > t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 

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.



Changing extension of compiler generated .html files

2011-07-14 Thread Nitin
Is there a way I can tell GWT Compiler to generate .cache.html
files with some other extension.
For eg. I want file generated should be something like
.cache.htm

(.htm instead of .html)

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



Re: Playing MP3 and AVI in GWT application

2011-07-14 Thread shahid
The trouble is HTML 5 is not supported on majority of the user's
browser. Also what do you do for backward compatibility?

On Jul 13, 5:45 pm, David Chandler  wrote:
> HTML5 to the rescue...
>
> http://www.slideshare.net/turbomanage/gwt-plus-html-5
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...
>
> The APIs are changing slightly in GWT 2.4 to enable you to more easily
> specify multiple formats.
>
> /dmc
>
>
>
>
>
>
>
>
>
> On Wed, Jul 13, 2011 at 12:10 PM, shahid  wrote:
> > What is the best way to support playing MP3(audio) and AVI (video)
> > files in a GWT application. We have gone a long way into developing
> > our application on top of GWT and now we have a requirement to support
> > playing mp3 and avi files. However I can't find a widget or player
> > that I can use with GWT to support both of these formats. Has anyone
> > used this functionality in your application and how? What is the best
> > practice ?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post 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, GWT+GAE
> w:http://code.google.com/
> b:http://turbomanage.wordpress.com/
> b:http://googlewebtoolkit.blogspot.com/
> t: @googledevtools

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