Re: GWT 2.1 vs GWT 2.2 and this forum

2011-04-29 Thread nino ekambi
Well that s not true :)
Thomas Broyer is everywhere in this forum. He might not be "officially" from
the GWT Team. But  he s contributor.
Did you had any issue that  could not be answered ?

2011/4/29 Javier 

>
> In my honest opinion the participation of the GWT team in this forum
> is dissapointing. Some more attention would be appreciated.
>
> On 29 abr, 00:24, David Chandler  wrote:
> > We announced the 2.2 RC here, but evidently posted the 2.2 release
> > announcement only on the blog:
> http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclips...
> >
> > I'll announce here when 2.3 is available and update the sticky post.
> >
> > Thanks,
> > /dmc
> >
> >
> >
> > On Thu, Apr 28, 2011 at 4:02 PM, pohl  wrote:
> > > GWT 2.2 has been out for a while now, and I haven't seen an
> > > announcement for it here.  The old announcement for GWT 2.1 is still
> > > pinned to the top of the page.
> >
> > > It still looks like a lot of libraries haven't released jars that work
> > > with 2.2 yet, either.
> >
> > > Is 2.2 just a release candidate?  Did someone forget to announce 2.2
> > > here?  Has this forum been abandoned by the GWT team?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email 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, Google Web Toolkit
> > w:http://code.google.com/
> > b:http://googlewebtoolkit.blogspot.com/
> > t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

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



Re: CellTree with CellTable nodes

2011-04-29 Thread johan

When I use a classic Tree widget, it works fine with my CellTable as a
TreeItem. I'll go that way...


On Apr 28, 4:29 pm, johan  wrote:
> Hi,
>
> We have to implement a tree that contains some table nodes at third
> level(leaf).
> To achieve that, I have used a CellTree and a custom cell, which
> renders a CellTable (using GWT 2.1).
> It worked fine but now we have to make some cells of the CellTable
> clickable.
> I managed to do it outside of the tree context(standalone table), but
> once the table is used inside a tree node, the table's events are not
> managed.
>
> Do you have any idea about how I could fix this ?
>
> Notes:
>
> With EventBug(a Firebug extension), I can see that a click handler is
> registered on the table element in the first case, while it is not in
> the second case (inside the tree).
> I have also noticed that the events are sunk in the Widget.onAttach()
> method. However that method is invoked only in the first case.
>
> class ATMTableCell extends AbstractCell> {
>
>     // Contains the CellTable
>     ATMTableWidget atmTable;
>
>     public ATMTableCell() {
>         atmTable = new ATMTableWidget(false);
>     }
>
>     @Override
>     public void render(com.google.gwt.cell.client.Cell.Context
> context, List data, SafeHtmlBuilder sb) {
>
>         atmTable.setData(data);
>
> sb.append(SafeHtmlUtils.fromTrustedString(atmTable.getElement().getInnerHTML()));
>
>     }
>
> }
>
> Thx

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



Re: GWT 2.1 vs GWT 2.2 and this forum

2011-04-29 Thread Javier
I agree that Thomas is very supportive but I miss more participation
from other GWT members. If you look to the group information you can
see that the GWT member (appart from Thomas) who has published more
messages in the last month is David (Chandler) with 16. The GWT team
is free to participate or not in the forum, but I believe that an
active community is really important for a technology to be
successful.

Compared to other programming groups, GWT has a reduced number of
messages per day (maybe 20-30?). Despite of that, I see many
interesting questions not being answered.

That is just my opinion.

Regards

On 29 abr, 09:14, nino ekambi  wrote:
> Well that s not true :)
> Thomas Broyer is everywhere in this forum. He might not be "officially" from
> the GWT Team. But  he s contributor.
> Did you had any issue that  could not be answered ?
>
> 2011/4/29 Javier 
>
>
>
>
>
> > In my honest opinion the participation of the GWT team in this forum
> > is dissapointing. Some more attention would be appreciated.
>
> > On 29 abr, 00:24, David Chandler  wrote:
> > > We announced the 2.2 RC here, but evidently posted the 2.2 release
> > > announcement only on the blog:
> >http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclips...
>
> > > I'll announce here when 2.3 is available and update the sticky post.
>
> > > Thanks,
> > > /dmc
>
> > > On Thu, Apr 28, 2011 at 4:02 PM, pohl  wrote:
> > > > GWT 2.2 has been out for a while now, and I haven't seen an
> > > > announcement for it here.  The old announcement for GWT 2.1 is still
> > > > pinned to the top of the page.
>
> > > > It still looks like a lot of libraries haven't released jars that work
> > > > with 2.2 yet, either.
>
> > > > Is 2.2 just a release candidate?  Did someone forget to announce 2.2
> > > > here?  Has this forum been abandoned by the GWT team?
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to
> > google-web-toolkit@googlegroups.com.
> > > > To unsubscribe from this group, send email 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, Google Web Toolkit
> > > w:http://code.google.com/
> > > b:http://googlewebtoolkit.blogspot.com/
> > > t: @googledevtools
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
>
> GWT API for  non Java based 
> platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/

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



Re: GWT 2.1 vs GWT 2.2 and this forum

2011-04-29 Thread nino ekambi
I agree with you
maybe they will see this and react ?

2011/4/29 Javier 

> I agree that Thomas is very supportive but I miss more participation
> from other GWT members. If you look to the group information you can
> see that the GWT member (appart from Thomas) who has published more
> messages in the last month is David (Chandler) with 16. The GWT team
> is free to participate or not in the forum, but I believe that an
> active community is really important for a technology to be
> successful.
>
> Compared to other programming groups, GWT has a reduced number of
> messages per day (maybe 20-30?). Despite of that, I see many
> interesting questions not being answered.
>
> That is just my opinion.
>
> Regards
>
> On 29 abr, 09:14, nino ekambi  wrote:
> > Well that s not true :)
> > Thomas Broyer is everywhere in this forum. He might not be "officially"
> from
> > the GWT Team. But  he s contributor.
> > Did you had any issue that  could not be answered ?
> >
> > 2011/4/29 Javier 
> >
> >
> >
> >
> >
> > > In my honest opinion the participation of the GWT team in this forum
> > > is dissapointing. Some more attention would be appreciated.
> >
> > > On 29 abr, 00:24, David Chandler  wrote:
> > > > We announced the 2.2 RC here, but evidently posted the 2.2 release
> > > > announcement only on the blog:
> > >http://googlewebtoolkit.blogspot.com/2011/02/google-plugin-for-eclips.
> ..
> >
> > > > I'll announce here when 2.3 is available and update the sticky post.
> >
> > > > Thanks,
> > > > /dmc
> >
> > > > On Thu, Apr 28, 2011 at 4:02 PM, pohl 
> wrote:
> > > > > GWT 2.2 has been out for a while now, and I haven't seen an
> > > > > announcement for it here.  The old announcement for GWT 2.1 is
> still
> > > > > pinned to the top of the page.
> >
> > > > > It still looks like a lot of libraries haven't released jars that
> work
> > > > > with 2.2 yet, either.
> >
> > > > > Is 2.2 just a release candidate?  Did someone forget to announce
> 2.2
> > > > > here?  Has this forum been abandoned by the GWT team?
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Google Web Toolkit" group.
> > > > > To post to this group, send email to
> > > google-web-toolkit@googlegroups.com.
> > > > > To unsubscribe from this group, send email 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, Google Web Toolkit
> > > > w:http://code.google.com/
> > > > b:http://googlewebtoolkit.blogspot.com/
> > > > t: @googledevtools
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> >
> > GWT API for  non Java based platformshttp://
> 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.
>
>


-- 

GWT API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.com/

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



Re: can I send something like upload finished answere from HTTP servlet to my application ?

2011-04-29 Thread Alan Chaney
See FormPanel and  FileUpload in the java docs. The FormPanel.onSubmitCompleteHandler does exactly 
what you want. When your file has finished uploading the browser generates this event, and you can 
use it to hide your upload panel.

*
com.google.gwt.user.client.ui.FileUpload*

http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/index.html

Regards

Alan




On 4/28/2011 10:50 PM, Manvel Saroyan wrote:

Hi
  please tell me can I send something like upload finished answere from
HTTP servlet to my application ?
I want to create a loader when user upload the file and hide that
uploader when the upload finishes. Please tell me is there a way  to
make this trick ?




--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: RF for CRUD and RPC for others?

2011-04-29 Thread Diego Lovison
how I can @Inject using RF?
for RPC http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/
and I can @Inject my EJB too...


Using RF I will @Inject my EJB on Entity? how?

On 29 abr, 01:56, Juan Pablo Gardella 
wrote:
> RF perhaps is better to tools, like Roo
>
> 2011/4/28 -sowdri- 
>
>
>
>
>
>
>
> > In fact RF is simple compared to RPC!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email 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.



Extending Google GWT plugin

2011-04-29 Thread amos
Hello,
is there any way how to extend or build upon Google GWT Eclipse
plugin? I want to create some support in Eclipse that would in fact
need to create and maintain GWT project plus some additional features
(probably also having own Project Nature). Is there some API provided
by Google GWT Plugin that I could use? I have found some Extension
points in Eclipse provided by the plugin, but there is no
documentation for it.

Thanks for answer

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: RF for CRUD and RPC for others?

2011-04-29 Thread Juan Pablo Gardella
For example? What do you want to do?

2011/4/29 Diego Lovison 

> how I can @Inject using RF?
> for RPC http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/
> and I can @Inject my EJB too...
>
>
> Using RF I will @Inject my EJB on Entity? how?
>
> On 29 abr, 01:56, Juan Pablo Gardella 
> wrote:
> > RF perhaps is better to tools, like Roo
> >
> > 2011/4/28 -sowdri- 
> >
> >
> >
> >
> >
> >
> >
> > > In fact RF is simple compared to RPC!
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email 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.
>
>

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



Re: Application works locally, but not from remote server?

2011-04-29 Thread Karl Meiser
Bob,

Does your hosting service provide Tomcat or something similar? The HTML
won't just work by itself unfortunately.

I can try to help you more but I need more information.

Karl

On Thu, Apr 28, 2011 at 1:32 PM, BobWirka  wrote:

> I've created a GWT Java Application from the wizard (the one with the
> Click Me! button). It compiles, and if I open the html file from
> Firefox, all is good; the button appears as does the popup dialog box
> when the button is clicked.
>
> However, when the files are ftp'd to my web hosting service the button
> does not appear. The web page is found and loaded, but the GWT button
> does not display.
>
> Windows Internet Explorer behaves the same way.
>
> Google Chrome will not even display the button locally, though the
> page does load.
>
> There are no elements in the html , as I'd like to generate a
> purely javaScript html element to be a part of a larger html page.
>
> Would anyone know why this may be happening? I've transferred the
> whole war directory to the web host, but no luck yet.
>
> Thanks,
>
> Bob Wirka
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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.



URLs in Jetty

2011-04-29 Thread Tyo
I'm novice in GWT.
I'd make simple application and I'm tryig to test in in dev mode using
Jetty.
Strange thing: when I run URL http://127.0.0.1:/Maas.html my
application works properly, but when running correct URL
http://127.0.0.1:/Maas.html?gwt.codesvr=127.0.0.1:9997 browser
shows nothing but blank screen. And the same moment I see something
like "waiting for http://gwt.google.com/missing-plugin..."; in IE's
bottom panel.
What may be the course?

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



Deferred Binding error when upgrading to GWT 2.0.0

2011-04-29 Thread stockloser
I've finally hit a wall on trying to resolve this error and decided to
post here to reach out for some advice/help.

I have a GWT 1.5.3 application that works with Stripes 1.4.2
framework. In that configuration, the application compiles/runs
successfully. However, I am attempting to upgrade the application to
GWT 2.2.0 and have been running into the Deferred Binding compile
error in all post GWT 2.0 versions. I did not receive the error in any
of the pre 2.0 versions.

My setup is the following:

gwt-maven-plugin - 1.2
gwt - 2.0
stripes - 1.4.2

The specific error I receive when compiling using the maven plugin is:

[INFO][ERROR] Errors in 'jar:file:/C:/Users/Kevin/.m2/repository/
mil/whs/eccs/eccs-commons-client/4.0/eccs-commons-client-4.0-
sources.jar!/mil/whs/eccs/model/gwt/organization/service/
GwtOrganizationServiceWrapper.java'
[INFO]   [ERROR] Line 19:  Failed to resolve
'mil.whs.eccs.model.gwt.organization.service.GwtOrganizationService'
via deferred binding
[INFO][ERROR] Cannot proceed due to previous errors

The application has 7 GWT modules in the POM. The really bizarre part
of this whole issue is that the error appears randomly. Sometimes all
7 compile with no errors, other times, 5 compile, and sometimes it
fails before the first compile. So it is hard to imagine it is
actually a deferred binding exception and not something else.

I am wondering if it could be an issue between GWT 2.0 and stripes but
I am not sure. I would appreciate any help in resolving this issue.

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



GWT 2.2 canvas not working in IE9

2011-04-29 Thread Ulas
Hi,

I've recently been experimenting with the new canvas functionality in
GWT 2.2. My software is supposed rotate an image, which works fine in
all the (supposedly) supported browsers except IE9. More exactly the
Canvas.isSupported() method call returns false in IE9.

Has anyone else come across this problem or does anyone know why IE9
behaves this way?

Thanks!
/Ulas

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



Adding custom styles to CellTable

2011-04-29 Thread tomo2
Hello,

I have added a new style class to a row in a CellTable.  When I looked
in Firebug, the style name is being obfuscated in the generated CSS.
I have the following:

Source:
 interface MyTableResources extends CellTable.Resources {
@Source({CellTable.Style.DEFAULT_CSS, "mytest.css"})
TableStyle cellTableStyle();
  }

  interface TableStyle extends CellTable.Style
  {
  public String mytest1();
  }


  class MyRowStyle implements RowStyles
{
@Override
public String getStyleNames(ItemBuildDTO row, int rowIndex)
{
// if something...
return "mytest1";
}
}

mytest.css:
.mytest1 { font-size : 33px }


In Firebug, if I look at the HTML, the table row looks like this:



In the CSS, I cannot find a "mytest1" class anywhere, however I did
find the font-size:33px, which looks like this:

.GMHF14MCPF {
  font-size: 33px;
}


The style class is turning up as an obfuscated name.  I don't
understand why this is happening.  Any help is much appreciated.

Thanks.



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



GWT help

2011-04-29 Thread Jinal Shah
I am trying to access Box.net api in GWT. I want to know how do I send
a request to it.

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: URLs in Jetty

2011-04-29 Thread Juan Pablo Gardella
If you debug inside eclipse works?

2011/4/29 Tyo 

> I'm novice in GWT.
> I'd make simple application and I'm tryig to test in in dev mode using
> Jetty.
> Strange thing: when I run URL http://127.0.0.1:/Maas.html my
> application works properly, but when running correct URL
> http://127.0.0.1:/Maas.html?gwt.codesvr=127.0.0.1:9997 browser
> shows nothing but blank screen. And the same moment I see something
> like "waiting for http://gwt.google.com/missing-plugin..."; in IE's
> bottom panel.
> What may be the course?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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: Deferred Binding error when upgrading to GWT 2.0.0

2011-04-29 Thread Juan Pablo Gardella
You must upgrade to gwt-maven-plugin - 2.2

2011/4/29 stockloser 

> I've finally hit a wall on trying to resolve this error and decided to
> post here to reach out for some advice/help.
>
> I have a GWT 1.5.3 application that works with Stripes 1.4.2
> framework. In that configuration, the application compiles/runs
> successfully. However, I am attempting to upgrade the application to
> GWT 2.2.0 and have been running into the Deferred Binding compile
> error in all post GWT 2.0 versions. I did not receive the error in any
> of the pre 2.0 versions.
>
> My setup is the following:
>
> gwt-maven-plugin - 1.2
> gwt - 2.0
> stripes - 1.4.2
>
> The specific error I receive when compiling using the maven plugin is:
>
> [INFO][ERROR] Errors in 'jar:file:/C:/Users/Kevin/.m2/repository/
> mil/whs/eccs/eccs-commons-client/4.0/eccs-commons-client-4.0-
> sources.jar!/mil/whs/eccs/model/gwt/organization/service/
> GwtOrganizationServiceWrapper.java'
> [INFO]   [ERROR] Line 19:  Failed to resolve
> 'mil.whs.eccs.model.gwt.organization.service.GwtOrganizationService'
> via deferred binding
> [INFO][ERROR] Cannot proceed due to previous errors
>
> The application has 7 GWT modules in the POM. The really bizarre part
> of this whole issue is that the error appears randomly. Sometimes all
> 7 compile with no errors, other times, 5 compile, and sometimes it
> fails before the first compile. So it is hard to imagine it is
> actually a deferred binding exception and not something else.
>
> I am wondering if it could be an issue between GWT 2.0 and stripes but
> I am not sure. I would appreciate any help in resolving this issue.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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: GWT 2.2 canvas not working in IE9

2011-04-29 Thread David Chandler
Ulas,

IE9 support is being added in GWT 2.3. With GWT 2.2, this is expected
behavior since GWT would select the ie8 permutation, for which
Canvas.isSupported() returns false. You can try it out with the 2.3
milestone release available from the GWT downloads page.

/dmc

On Fri, Apr 29, 2011 at 3:36 AM, Ulas  wrote:

> Hi,
>
> I've recently been experimenting with the new canvas functionality in
> GWT 2.2. My software is supposed rotate an image, which works fine in
> all the (supposedly) supported browsers except IE9. More exactly the
> Canvas.isSupported() method call returns false in IE9.
>
> Has anyone else come across this problem or does anyone know why IE9
> behaves this way?
>
> Thanks!
> /Ulas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Re: URLs in Jetty

2011-04-29 Thread khiem nguyen
u need to install gwt-plugin to work in dev-mode

On Fri, Apr 29, 2011 at 2:43 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> If you debug inside eclipse works?
>
>
> 2011/4/29 Tyo 
>
>> I'm novice in GWT.
>> I'd make simple application and I'm tryig to test in in dev mode using
>> Jetty.
>> Strange thing: when I run URL http://127.0.0.1:/Maas.html my
>> application works properly, but when running correct URL
>> http://127.0.0.1:/Maas.html?gwt.codesvr=127.0.0.1:9997 browser
>> shows nothing but blank screen. And the same moment I see something
>> like "waiting for http://gwt.google.com/missing-plugin..."; in IE's
>> bottom panel.
>> What may be the course?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: URLs in Jetty

2011-04-29 Thread David Chandler
To run GWT development mode (?gwt.codesvr=...), you need to install the GWT
dev mode plugin for the browser. Ordinarily, the browser will prompt you to
do this automatically via the missing-plugin page you see in your error
message. Once this page comes up for you, just follow the prompts.

http://gwt.google.com/missing-plugin/MissingPlugin.html

HTH,
/dmc

On Fri, Apr 29, 2011 at 5:51 AM, Tyo  wrote:

> I'm novice in GWT.
> I'd make simple application and I'm tryig to test in in dev mode using
> Jetty.
> Strange thing: when I run URL http://127.0.0.1:/Maas.html my
> application works properly, but when running correct URL
> http://127.0.0.1:/Maas.html?gwt.codesvr=127.0.0.1:9997 browser
> shows nothing but blank screen. And the same moment I see something
> like "waiting for http://gwt.google.com/missing-plugin..."; in IE's
> bottom panel.
> What may be the course?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Re: CellTable with AsyncDataProvider and sortable column

2011-04-29 Thread Opal
Thanks, that is what I was looking for.

On Apr 27, 3:46 pm, Soon Fatt Hoo  wrote:
> Take a look 
> inhttp://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html
> at the ColumnSorting with AsyncDataProvider.
>
> On Apr 27, 4:42 am, Opal  wrote:
>
>
>
>
>
>
>
> > Hi,
> > What I need to do is to implement column sorting functionality with
> > CellTable. AFAIK in GWT 2.2 such functionality is already implemented
> > but   could be used only with ListDataProvider. I need to use an
> > AsyncDataProvider (because of an large amount of data). Does anybody
> > have any ideas or an example? Any help would be appreciated.

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



CellTable with SuggestBoxCell

2011-04-29 Thread Opal
Hi,
I need a widget similar to SuggestBox that will be used with CellTable
(e.g. when EditTextCell is edited). Does anybody know such component?
Any help would be appreciated.

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



Trying to send image to server

2011-04-29 Thread Patssay
Hi,

I am trying to send an image from client to server.
I have used ImageResources on client side to load images.
but now i want to send the image to server side and send mail
from the server side?

I tried creating class on client side and made it seriablizable.
but it throws errors.

aused by: java.lang.ClassNotFoundException:
umd.hci.greetingcardmaker.client.Email
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
352)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
337)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
700)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:290)
... 22 more


Email is my defined client side class.


Thanks
Sayali

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Trying to send image to server

2011-04-29 Thread Alan Chaney
You need to make sure that your client class is in the *server's* classpath. The exception below 
indicates that its not.



I make it a practice to have a 'shared' package hierarchy parallel to my client packages and ensure 
that:


A. shared is declared in the module gwt.xml file

B. shared is also available to the server C/P



HTH

Alan


On 4/29/2011 6:25 AM, Patssay wrote:

Hi,

I am trying to send an image from client to server.
I have used ImageResources on client side to load images.
but now i want to send the image to server side and send mail
from the server side?

I tried creating class on client side and made it seriablizable.
but it throws errors.

aused by: java.lang.ClassNotFoundException:
umd.hci.greetingcardmaker.client.Email
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
352)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
337)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
700)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:290)
... 22 more


Email is my defined client side class.


Thanks
Sayali




--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.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.



additional web application on hosted mode jetty server

2011-04-29 Thread cri
we have a web application that's separate from our gwt web
application. the gwt web application makes server calls (rest) to this
separate application. can anyone tell me how me how I can deploy this
separate war file to the gwt embedded jetty server used in development
mode? I'd like to do this for the convenience of it while doing
development. thanks

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



Re: Web page and Html parsing

2011-04-29 Thread riasol
If You are totally novice   try gwtquery, on   gwt side try ex:
NodeList nodes =
Document.get().getElementById(containerId).getChildNodes();
On Apr 28, 11:48 am, fillky  wrote:
> what is the best way to connect to any web page and parse data from it
> in GWT?? Please give some advice like trusted gwt api, classes. Thanks

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



Re: additional web application on hosted mode jetty server

2011-04-29 Thread khiem nguyen
if u dont want to debug both of them at the same time, i think the quickest
way is to deploy it in an separate servlet-container

On Fri, Apr 29, 2011 at 3:39 PM, cri  wrote:

> we have a web application that's separate from our gwt web
> application. the gwt web application makes server calls (rest) to this
> separate application. can anyone tell me how me how I can deploy this
> separate war file to the gwt embedded jetty server used in development
> mode? I'd like to do this for the convenience of it while doing
> development. thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: additional web application on hosted mode jetty server

2011-04-29 Thread Juan Pablo Gardella
See http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin the
section Running
Multiple Webapps


2011/4/29 cri 

> we have a web application that's separate from our gwt web
> application. the gwt web application makes server calls (rest) to this
> separate application. can anyone tell me how me how I can deploy this
> separate war file to the gwt embedded jetty server used in development
> mode? I'd like to do this for the convenience of it while doing
> development. thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: com.google.gwt.user.client.rpc.SerializationException

2011-04-29 Thread Nisha
Hi All,

Thanks for your response. I changed the exception class as suggested.
It now implements Serializable interface and now that error has gone.
But still I get this error which is kind of vague.
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.util.List
org.finra.aep.client.AdminService.getFirmNames() throws
org.finra.aep.shared.ServiceException' threw an unexpected exception:
java.lang.IllegalArgumentException: node to traverse cannot be null!
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:
150)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:
168)
at
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
49)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
874)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
808)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
523)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
463)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)



Please help. Any suggestions are appreciated. Thanks

On Apr 28, 5:41 pm, Nisha  wrote:
> Hi All,
> I am working on GWT+Spring+Hibernate integration. But I am getting the
> following error. Could any any one please help.
>
> java.lang.RuntimeException:
> com.google.gwt.user.client.rpc.SerializationException: Type
> 'java.lang.IllegalArgumentException' was not assignable to
> 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a
> custom field serializer.For security purposes, this type will not be
> serialized.: instance = 
> java.lang.IllegalArgumentException:nodetotraversecannotbenull!
>         at
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServic 
> eExporter.java:
> 150)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi 
> ceServlet.java:
> 248)
>         at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract 
> RemoteServiceServlet.java:
> 62)
>         at
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServ 
> iceExporter.java:
> 168)
>         at
> org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRe 
> questHandlerAdapter.java:
> 49)
>         at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServ 
> let.java:
> 874)
>         at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServl 
> et.java:
> 808)
>         at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSe 
> rvlet.java:
> 523)
>         at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.ja 
> va:
> 463)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 362)
>         at
> or

Re: com.google.gwt.user.client.rpc.SerializationException

2011-04-29 Thread Juan Pablo Gardella
Perhaps are you have an error in a query? See
http://www.zkoss.org/forum/listComment/14349

2011/4/29 Nisha 

> Hi All,
>
> Thanks for your response. I changed the exception class as suggested.
> It now implements Serializable interface and now that error has gone.
> But still I get this error which is kind of vague.
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract java.util.List
> org.finra.aep.client.AdminService.getFirmNames() throws
> org.finra.aep.shared.ServiceException' threw an unexpected exception:
> java.lang.IllegalArgumentException: node to traverse cannot be null!
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:
> 150)
>at
>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
> 248)
>at
>
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> 62)
>at
>
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:
> 168)
>at
>
> org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:
> 49)
>at
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
> 874)
>at
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
> 808)
>at
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
> 523)
>at
>
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
> 463)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 362)
>at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 181)
>at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 729)
>at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>at
> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
> 49)
>at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>at org.mortbay.jetty.Server.handle(Server.java:324)
>at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 505)
>at org.mortbay.jetty.HttpConnection
> $RequestHandler.content(HttpConnection.java:843)
>at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 395)
>at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:488)
>
>
>
> Please help. Any suggestions are appreciated. Thanks
>
> On Apr 28, 5:41 pm, Nisha  wrote:
> > Hi All,
> > I am working on GWT+Spring+Hibernate integration. But I am getting the
> > following error. Could any any one please help.
> >
> > java.lang.RuntimeException:
> > com.google.gwt.user.client.rpc.SerializationException: Type
> > 'java.lang.IllegalArgumentException' was not assignable to
> > 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a
> > custom field serializer.For security purposes, this type will not be
> > serialized.: instance =
> java.lang.IllegalArgumentException:nodetotraversecannotbenull!
> > at
> >
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServic
> eExporter.java:
> > 150)
> > at
> >
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi
> ceServlet.java:
> > 248)
> > at
> >
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract
> RemoteServiceServlet.java:
> > 62)
> > at
> >
> org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServ
> iceExporter.java:
> > 168)
> > at
> >
> org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRe
> questHandlerAdapter.java:
> > 49)
> > at
> >
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServ
> let.java:
> > 874)
> > at
> >
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServl
> et.java:
> > 808)
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSe
> rvlet.java:
> > 523)
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.ja
> va:
> > 4

Re: Application works locally, but not from remote server?

2011-04-29 Thread Bob Wirka
Karl,

The application is under the root, too; so you can go to
http://www.rtcworks.com/TestModule.html and see it working.

Bob

On Thu, Apr 28, 2011 at 5:56 PM, Karl Meiser  wrote:

> Bob,
>
> Does your hosting service provide Tomcat or something similar? The HTML
> won't just work by itself unfortunately.
>
> I can try to help you more but I need more information.
>
> Karl
>
> On Thu, Apr 28, 2011 at 1:32 PM, BobWirka  wrote:
>
>> I've created a GWT Java Application from the wizard (the one with the
>> Click Me! button). It compiles, and if I open the html file from
>> Firefox, all is good; the button appears as does the popup dialog box
>> when the button is clicked.
>>
>> However, when the files are ftp'd to my web hosting service the button
>> does not appear. The web page is found and loaded, but the GWT button
>> does not display.
>>
>> Windows Internet Explorer behaves the same way.
>>
>> Google Chrome will not even display the button locally, though the
>> page does load.
>>
>> There are no elements in the html , as I'd like to generate a
>> purely javaScript html element to be a part of a larger html page.
>>
>> Would anyone know why this may be happening? I've transferred the
>> whole war directory to the web host, but no luck yet.
>>
>> Thanks,
>>
>> Bob Wirka
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email 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.
>

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



Re: GWT 2.1 vs GWT 2.2 and this forum

2011-04-29 Thread Thomas Broyer
If you look at recent participation, sure, I guess they're all working hard 
to be ready for I/O (2 weeks from now!), and they've all been working very 
hard for the whole past year (places and activities, Cell widgets, request 
factory, editor framework, safehtml!).
John Labanca however regularly answers about Cell widgets, and Eric Clayberg 
about the GPE and GWT Designer.
There's a LOT of activity in the GWT-Contributors group though, they're all 
working very hard (and recently, the Orkut team has been contributing very 
actively to UiBinder fwiw).
People in charge of "public relations" (i.e. developer advocates, like David 
Chandler) are maybe more than others busy preparing I/O.
Philippe Beaudoin having joined Google this week <
https://profiles.google.com/philippe.beaudoin/posts/PaMzvBmHEVs> maybe he'll 
dedicate some time to the GWT community (I mean, in addition to the GWTP 
one); but he'll probably not be working on GWT, so maybe not... (who knows?)

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



Re: Application works locally, but not from remote server?

2011-04-29 Thread Bob Wirka
Karl,

Don't mean to pester, but interestingly the subdirectory setup works on one
of my local machines running Boa (a small web server).

So, *some* web servers can handle the subfolder location.

Thanks again,

Bob

On Thu, Apr 28, 2011 at 5:56 PM, Karl Meiser  wrote:

> Bob,
>
> Does your hosting service provide Tomcat or something similar? The HTML
> won't just work by itself unfortunately.
>
> I can try to help you more but I need more information.
>
> Karl
>
> On Thu, Apr 28, 2011 at 1:32 PM, BobWirka  wrote:
>
>> I've created a GWT Java Application from the wizard (the one with the
>> Click Me! button). It compiles, and if I open the html file from
>> Firefox, all is good; the button appears as does the popup dialog box
>> when the button is clicked.
>>
>> However, when the files are ftp'd to my web hosting service the button
>> does not appear. The web page is found and loaded, but the GWT button
>> does not display.
>>
>> Windows Internet Explorer behaves the same way.
>>
>> Google Chrome will not even display the button locally, though the
>> page does load.
>>
>> There are no elements in the html , as I'd like to generate a
>> purely javaScript html element to be a part of a larger html page.
>>
>> Would anyone know why this may be happening? I've transferred the
>> whole war directory to the web host, but no luck yet.
>>
>> Thanks,
>>
>> Bob Wirka
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: com.google.gwt.user.client.rpc.SerializationException

2011-04-29 Thread prajakta samant
Hi,

Check that your Hibernate files are placed in the src folder as Dolly had
mentioned.
We were working on a similar project and got similar error

Also confirm if your RPC service method can return a List as you are getting
an error in List coz for our project we colud return only a string object as
returning a list gave errors

Furthermore, writing a Query in hibernate and GWT is slightly different.I am
sending you an example of my server side query,check if you find it useful:

Query query=session.createQuery("select Empname from Addmemberserv where
Empname like :param1 and Passwd like :param2");

  query.setString("param1", input1);

  query.setString("param2", input2);



 Addmemberserv is my table name input1 and input2 are my textboxes

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Trying to send image to server

2011-04-29 Thread Patssay
Hi,

Thanks.
So I should have the Email class in the shared folder?
Also should the module.gwt.xml file be updated?

Actually I am trying to implement the functionality of sending email
from my gwt application.
I have the functionality up and running on the server. All it needs is
the
email addresses from the client and the image that should be sent from
the client to the server.
Hence the need for class email which has all these attributes
enclosed.
>From what I read gwt allows the user defined classes to be sent to the
server provided they are serialized.
Really appreciate your help.

Cheers,
Sayali

On Apr 29, 8:36 am, Alan Chaney  wrote:
> You need to make sure that your client class is in the *server's* classpath. 
> The exception below
> indicates that its not.
>
> I make it a practice to have a 'shared' package hierarchy parallel to my 
> client packages and ensure
> that:
>
> A. shared is declared in the module gwt.xml file
>
> B. shared is also available to the server C/P
>
> HTH
>
> Alan
>
> On 4/29/2011 6:25 AM, Patssay wrote:
>
>
>
>
>
>
>
>
>
> > Hi,
>
> > I am trying to send an image from client to server.
> > I have used ImageResources on client side to load images.
> > but now i want to send the image to server side and send mail
> > from the server side?
>
> > I tried creating class on client side and made it seriablizable.
> > but it throws errors.
>
> > aused by: java.lang.ClassNotFoundException:
> > umd.hci.greetingcardmaker.client.Email
> >    at java.lang.ClassLoader.findClass(Unknown Source)
> >    at java.lang.ClassLoader.loadClass(Unknown Source)
> >    at java.lang.ClassLoader.loadClass(Unknown Source)
> >    at
> > org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java 
> > :
> > 352)
> >    at
> > org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java 
> > :
> > 337)
> >    at java.lang.Class.forName0(Native Method)
> >    at java.lang.Class.forName(Unknown Source)
> >    at
> > com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
> > 700)
> >    at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:290)
> >    ... 22 more
>
> > Email is my defined client side class.
>
> > Thanks
> > Sayali
>
> --
> Alan Chaney
> CTO and Founder, Mechnicality, Inc.www.mechnicality.com

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



Re: Application works locally, but not from remote server?

2011-04-29 Thread David Chandler
Bob, someone else on the forum recently had an issue with GoDaddy hosting,
too. If you want to try to debug, have a look at

http://code.google.com/webtoolkit/doc/2.2/DevGuideOrganizingProjects.html

Otherwise may I recommend Google App Engine? ;-)

/dmc

On Fri, Apr 29, 2011 at 11:42 AM, Bob Wirka  wrote:

> Karl,
>
> Don't mean to pester, but interestingly the subdirectory setup works on one
> of my local machines running Boa (a small web server).
>
> So, *some* web servers can handle the subfolder location.
>
> Thanks again,
>
> Bob
>
> On Thu, Apr 28, 2011 at 5:56 PM, Karl Meiser  wrote:
>
>> Bob,
>>
>> Does your hosting service provide Tomcat or something similar? The HTML
>> won't just work by itself unfortunately.
>>
>> I can try to help you more but I need more information.
>>
>> Karl
>>
>> On Thu, Apr 28, 2011 at 1:32 PM, BobWirka  wrote:
>>
>>>  I've created a GWT Java Application from the wizard (the one with the
>>> Click Me! button). It compiles, and if I open the html file from
>>> Firefox, all is good; the button appears as does the popup dialog box
>>> when the button is clicked.
>>>
>>> However, when the files are ftp'd to my web hosting service the button
>>> does not appear. The web page is found and loaded, but the GWT button
>>> does not display.
>>>
>>> Windows Internet Explorer behaves the same way.
>>>
>>> Google Chrome will not even display the button locally, though the
>>> page does load.
>>>
>>> There are no elements in the html , as I'd like to generate a
>>> purely javaScript html element to be a part of a larger html page.
>>>
>>> Would anyone know why this may be happening? I've transferred the
>>> whole war directory to the web host, but no luck yet.
>>>
>>> Thanks,
>>>
>>> Bob Wirka
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email 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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



mvp complex model

2011-04-29 Thread bhomass
usually, the model in mvp is the DTO, in case the model is complex,
for example, when the validation of user input is elaborate, do you
put the validation methods in the DTO, or the presenter, or another
group of dedicated model behavior classes?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Trying to send image to server

2011-04-29 Thread Alan Chaney

On 4/29/2011 9:17 AM, Patssay wrote:

Hi,

Thanks.
So I should have the Email class in the shared folder?

Yes

Also should the module.gwt.xml file be updated?

Yes - it should have:



it it.

But mainly, you need to make sure that your server-side classpath contains the file, because the 
server must be able to instantiate it.


That's what your original error seemed to imply. GWT de-serializes classes on the server by looking 
for the classname as a string in the RPC payload and then doing a 'Class.forName'. Thus the class 
must be available to the server classloader. To be honest, I don't understand why yours isn't if you 
are using eclipse, because the typical GWT project setup adds all the classes in the src folder to 
the classpath. Are you getting this problem when you are running under the debugger in Eclipse? or 
only when you deploy. If its the later, you should check that the *client* and *shared* .class files 
are present under WEB-INF/war/classes folder.




HTH

Alan



Actually I am trying to implement the functionality of sending email
from my gwt application.
I have the functionality up and running on the server. All it needs is
the
email addresses from the client and the image that should be sent from
the client to the server.
Hence the need for class email which has all these attributes
enclosed.
 From what I read gwt allows the user defined classes to be sent to the
server provided they are serialized.
Really appreciate your help.

Cheers,
Sayali

On Apr 29, 8:36 am, Alan Chaney  wrote:

You need to make sure that your client class is in the *server's* classpath. 
The exception below
indicates that its not.

I make it a practice to have a 'shared' package hierarchy parallel to my client 
packages and ensure
that:

A. shared is declared in the module gwt.xml file

B. shared is also available to the server C/P

HTH

Alan

On 4/29/2011 6:25 AM, Patssay wrote:










Hi,
I am trying to send an image from client to server.
I have used ImageResources on client side to load images.
but now i want to send the image to server side and send mail
from the server side?
I tried creating class on client side and made it seriablizable.
but it throws errors.
aused by: java.lang.ClassNotFoundException:
umd.hci.greetingcardmaker.client.Email
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java :
352)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java :
337)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
700)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:290)
... 22 more
Email is my defined client side class.
Thanks
Sayali

--
Alan Chaney
CTO and Founder, Mechnicality, Inc.www.mechnicality.com



--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.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.



Session timeouts

2011-04-29 Thread Vik
Hie

How to detect session timeout and show a pop to user to relogin? My app is
GWT +GAE.


Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Session timeouts

2011-04-29 Thread David Chandler
See
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/src/main/java/com/google/gwt/sample/gaerequest/

/dmc

On Fri, Apr 29, 2011 at 12:59 PM, Vik  wrote:

> Hie
>
> How to detect session timeout and show a pop to user to relogin? My app is
> GWT +GAE.
>
>
> Thankx and Regards
>
> Vik
> Founder
> http://www.sakshum.org
> http://blog.sakshum.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Synchronizing editor data

2011-04-29 Thread Bill T
I am using GWT 2.2.0 with RequestFactory and the Editor framework.
What is the recommended way to keep to 2 editors in sync with a shared
proxy object attribute (the same object attribute is displayed in 2
editors)?  I tried the following but ran into a few issues:

Using RequestFactoryEditorDriver I have an Editor that contains a
TabPanel with 2 tabs and contains 2 sub-editors (one for each tab).
Each sub-editor has a TextBox editor that edits MyProxy.xyz.  I tried
the following:

- added a ValueChangeHandler for the TextBox on tab 1,
onValueChange update the proxy object attribute with the value in the
TextBox and then fire an EntityProxyChange UPDATE event on the
eventBus.

- Have the sub-editor on tab 2 implement ValueAwareEditor and
subscribe() via the EditorDelegate.

This seems to work. The TextBox on the second tab was updated with the
value entered in the TextBox on the first tab. However there are a
couple of side effects:

1) When the sub-editor gets the event from the eventBus, it internally
fires a RequestFactory call to find the proxy by id from the database.
It seems that it should not need to do this but rather just refresh
the editors with the fully populated proxy object in memory. This is
why I am questioning if I am using the right approach of creating
EntityProxyChange events and subscribing.

2) Was getting an IllegalStateException: A request is already in
progress exception why I tried to do an update request later on. It
was due to a SubscriptionReceiver getting called as a result of the
update response via the EntityProxyChange UPDATE event. The
SubscriptionReceiver was referening to the current
RequestFactoryEditorDelegate that had the RequestContext from the
update request that was just fired and is now locked.  OnSuccess() in
the Receiver() was not called yet so I was not able to call edit() on
the driver which would create a new RequestFactoryEditorDelegate with
a new RequestContext passed in. To get around this I removed the
handler on the sub-editor in the flush() method since I did not need
to handle the event at that point.  Again, seems like my approach is
more complicated than it should be.

Question 1) Is there a better way to do this, essentially flush and
refresh the editors without making a request to the server? Am I
missing something?

Question 2) I followed this same pattern with a display only CellTable
editor as part of the sub-editor, but it did not get updated when the
proxy event was sent.  Is there something that needs to be done to
support the CellTable? The data was initially set correctly in the
CellTable by the driver, but it does not get updated like the other
editors.

public class SubEditor2 extends Composite implements
ValueAwareEditor{

private CellTable table = new CellTable();

// this does not get refreshed correctly but is initially displayed
correctly
@Path("someProxyList")
HasDataEditor tableEditor = HasDataEditor.of(table);

private TextBox textBox2 = new TextBox();

// this gets refreshed correctly
@Path("xyz")
final HasTextEditor xyzEditor = HasTextEditor.of(textBox2);

Thanks!

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



GWT RPC

2011-04-29 Thread yamit c
Hi, I'm new in the group and I have a problem with GWT, I would like
to decouple the implementation of business services and graphics
application, that is to have the services exposed in a different jar
and deploy it to another machine, I imagine something similar to when
RMI deploys a server, this is possible? or maybe I'm wrong in the
philosophy of GWT and RPC?

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



http error:503

2011-04-29 Thread katew523
I have just started using GWT and i am getting this error every time i
run my application on the web browser
plz help

HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/gwtproj.html

Powered by jetty://

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: move or not to move to Firefox 4 for GWT development

2011-04-29 Thread Tim Goeke
I am using FF4 on Mac OS X (in development mode) and I have found that
text entry boxes are broken.  When setting input focus, the
StockWatcher application does not set focus to the text box.
Furthermore, when hitting return, the char code returned is zero, not
13 as expected.  These seem to be some significant flaws in early
testing.

I have not had a chance to try FF4 under Windows.



On Mar 23, 10:46 am, Jeff Chimene  wrote:
> On 03/23/2011 07:52 AM, Jens wrote:
>
> > I did it today and so far it works. Just make sure FF4 installs the
> > latest GWT Plugin.
>
> I did find that I had to remove the plugin & reinstall via the "missing
> plugin" page. But, it might have been a quirk of the moment, as there
> was an active session.
>
> Noticeably faster.
>
> Linux AMD-64

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: http error:503

2011-04-29 Thread David Chandler
What do you see in the server console log?

On Fri, Apr 29, 2011 at 12:37 PM, katew523  wrote:

> I have just started using GWT and i am getting this error every time i
> run my application on the web browser
> plz help
>
> HTTP ERROR: 503
> SERVICE_UNAVAILABLE
> RequestURI=/gwtproj.html
>
> Powered by jetty://
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email 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, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



Dev mode in ie8/vista32 - always see "Development Mode requires the Google Web Toolkit Developer Plugin"

2011-04-29 Thread Benju
When I try to use dev mode on my machien with ie8/vista32 I
continually see

"Development Mode requires the Google Web Toolkit Developer
Plugin" (the download plugin option).  I was prompted once to "allow
addon to run" via the security bar but no longer and nothing loads.

How do I troubleshoot this?  I have tried 
http://gwt.google.com/missing-plugin/MissingPlugin.html
but it did not work at all.  I am on GWT 2.2.0 via maven central.

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



Re: Dev mode in ie8/vista32 - always see "Development Mode requires the Google Web Toolkit Developer Plugin"

2011-04-29 Thread Benju
FYI I have a related stack overflow question here...

http://stackoverflow.com/questions/5786312/troublshooting-guide-for-gwt-plugin

On Apr 29, 11:39 am, Benju  wrote:
> When I try to use dev mode on my machien with ie8/vista32 I
> continually see
>
> "Development Mode requires the Google Web Toolkit Developer
> Plugin" (the download plugin option).  I was prompted once to "allow
> addon to run" via the security bar but no longer and nothing loads.
>
> How do I troubleshoot this?  I have 
> triedhttp://gwt.google.com/missing-plugin/MissingPlugin.html
> but it did not work at all.  I am on GWT 2.2.0 via maven central.

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



Re: GWT Not Working for Higher Screen Resolutions

2011-04-29 Thread Trevor Skaife
That wouldn't have anything to do with GWT. It would have everything
to do with the styles and what html has been created by GWT, which you
programmed. Best thing to do is to inspect the page in the browser to
see what is causing the page to not look right. Then you should be
able to figure out what panel or table you need to change in order for
you page to flow correctly.

On Apr 28, 3:53 am, Lakshitha  wrote:
> Hello Everyone,
>
> I have an application developed using GWT.
> For screen resolutions higher than 1400x1050, panels are not alligning
> properly.
>
> Any idea why this is happening ?

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



Many injections of same css

2011-04-29 Thread dazz
In many ui binder files I have

  

If I have 20 ui binder files all referencing this global.css file I
end up with 20 copies of global.css injected into the html. How to
stop GWT from injecting global.css 20 times?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 : Re: move or not to move to Firefox 4 for GWT development

2011-04-29 Thread Thomas Broyer


Le vendredi 29 avril 2011 17:55:08 UTC+2, Tim Goeke a écrit :
>
> Furthermore, when hitting return, the char code returned is zero, not 
> 13 as expected.  These seem to be some significant flaws in early 
> testing.


That one is a known "issue" (it's a Firefox issue that GWT does not take 
care of): http://code.google.com/p/google-web-toolkit/issues/detail?id=5558 

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



How to update CellTable's Header Cell based on action in data table

2011-04-29 Thread Jason
Hey everyone!  I have a question that I cannot seem to find the right
answer to.  I'm using a 2 cell tables, one for a fixed header with one
row that scrolls with the other which holds my main data rows.
Basically, I want to implement a tri-state checkbox in one of the
column headers.  I was successfully able to create a new
TriStateCheckboxCell that extends AbstractCell and it is wrapped by a
Header.  Using this class I render either an unchecked input
(checkbox) when no rows in the main table are selected, a checked
input when all the rows in the main table are selected, or an img that
represents an intermediate state of a checkbox when only some of the
rows in the main table are selected.  Using a ValueUpdater I can
select all or none of the rows in the main table when the Header's
TriStateCheckboxCell is clicked.  All of this works fine.  My problem
comes when the user selects a row in the main table and I want to set
the Header's checkbox to the intermediate state.  This calls for me to
update or re-render the contents of the Header Cell when the selection
model has been changed.  So in my SelectionModel's
SelectionChangeEvent onSelectionChange method I need to update the
cell.  This would involve calling it's onBrowserEvent or setValue
method, both of which take the parent Element as a parameter.  Only,
Cell does not contain a reference to or extend the Element class.  The
problem is that in order to re-render the Cell, I need it's parent
Element.  Obtaining this Element is not straightforward to me.  I was
able to get it by manually traversing the DOM via the
CellTable.getElement and going down, however this is not ideal.  Is
there other methodology that I am not aware of?  Am I thinking about
this the wrong way?  Thanks!

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



GWT Visualization Performance/Optimization

2011-04-29 Thread wayne.b...@viasat.com
I've been using the Google Visualization XY Scatter Chart.  We want to
graph several thousand points on the chart.   I've run several
experiments now by setting up the DATA Table with various block sizes
of data.   The problem is that once there are more than a hundred
points it takes a very long time to render the graph.  I tried 2000
points and the browser locked up.

What can I do to solve this problem?   Compiler Optimization?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: http error:503

2011-04-29 Thread sneha21
Hey you should probably check your web.xml file in the war folder.
There must be some error in your servlet or servlet-mapping tag

On Apr 29, 9:37 pm, katew523  wrote:
> I have just started using GWT and i am getting this error every time i
> run my application on the web browser
> plz help
>
> HTTP ERROR: 503
> SERVICE_UNAVAILABLE
> RequestURI=/gwtproj.html
>
> Powered by jetty://

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Deferred Binding error when upgrading to GWT 2.0.0

2011-04-29 Thread stockloser
gwt-maven-plugin 2.2 is not compatible with gwt 2.0

But I did try upgrading gwt to 2.2.0 and used the 2.2.0 plugin as
well. I still received the same error.

I believe the issue lies in a change in GWT.create() in post 2.0
versions of GWT. Somehow the generated proxy is not able to locate the
RemoteServiceServlet. In our environment the RemoteServiceServlet is
implemented by a Stripes ActionBean that extends the Servlet.

In pre 2.0 implementations this was not an issue.

On Apr 29, 8:44 am, Juan Pablo Gardella 
wrote:
> You must upgrade to gwt-maven-plugin - 2.2
>
> 2011/4/29 stockloser 
>
> > I've finally hit a wall on trying to resolve this error and decided to
> > post here to reach out for some advice/help.
>
> > I have a GWT 1.5.3 application that works with Stripes 1.4.2
> > framework. In that configuration, the application compiles/runs
> > successfully. However, I am attempting to upgrade the application to
> > GWT 2.2.0 and have been running into the Deferred Binding compile
> > error in all post GWT 2.0 versions. I did not receive the error in any
> > of the pre 2.0 versions.
>
> > My setup is the following:
>
> > gwt-maven-plugin - 1.2
> > gwt - 2.0
> > stripes - 1.4.2
>
> > The specific error I receive when compiling using the maven plugin is:
>
> > [INFO]    [ERROR] Errors in 'jar:file:/C:/Users/Kevin/.m2/repository/
> > mil/whs/eccs/eccs-commons-client/4.0/eccs-commons-client-4.0-
> > sources.jar!/mil/whs/eccs/model/gwt/organization/service/
> > GwtOrganizationServiceWrapper.java'
> > [INFO]       [ERROR] Line 19:  Failed to resolve
> > 'mil.whs.eccs.model.gwt.organization.service.GwtOrganizationService'
> > via deferred binding
> > [INFO]    [ERROR] Cannot proceed due to previous errors
>
> > The application has 7 GWT modules in the POM. The really bizarre part
> > of this whole issue is that the error appears randomly. Sometimes all
> > 7 compile with no errors, other times, 5 compile, and sometimes it
> > fails before the first compile. So it is hard to imagine it is
> > actually a deferred binding exception and not something else.
>
> > I am wondering if it could be an issue between GWT 2.0 and stripes but
> > I am not sure. I would appreciate any help in resolving this issue.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email 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.



How do I use Tomcat rather than built-in in Development mode

2011-04-29 Thread Rob Tanner
Hi,

Code that I'm writing has to talk to a number of different servers and
I have test servers that replicate the production servers the code
will eventually interact with.  Especially with regard to long term
maintenance, I would rather not have to change the various DB, LDAP,
etc pointers every time I move a copy into production.  All the
pertinent pointers (URLs, etc) are stored as context parameters in
web.xml and with Tomcat in server.xml I can override the various of
the context parameters on my development station so I point to my test
servers and no changes would then be required when I move the code
into production.

So my question is: how do I configure GWT (the Eclipse plugin) to use
the locally installed Tomcat rather than the built-in server.  Or is
there a better was to accomplish the above while still using the built-
in server?

Thanks,

Rob Tanner
Linfield College

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 do I use Tomcat rather than built-in in Development mode

2011-04-29 Thread Thomas Broyer
Read the doc? ;-)
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's
The "noserver" in GPE can be set by unchecking the "run built-in server" box 
in the "server" tab of the Web Application launcher configuration

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



Re: GWT and PS3

2011-04-29 Thread Excell
I rewrote the whole property provider, forcing PS3 pick up IE6
implementation, so even sample GWT have not being executed



Any other inputs to consider is highly appreciated.

On Apr 28, 4:27 pm, Excell  wrote:
> user.agent for PS3 is Mozilla/5.0 (PLAYSTATION 3; 1.00)
>
> so, do you mean that I have to add something like that
>
> 
>
> or am I missing something here?
>
> On Apr 20, 6:39 am, jhulford  wrote:
>
>
>
> > The user agent detection is defined in the UserAgent.gwt.xml module
> > definition file (http://code.google.com/p/google-web-toolkit/source/
> > browse/trunk/user/src/com/google/gwt/user/UserAgent.gwt.xml).  You can
> > actually override that provider in your own module file by making your
> > own  in it.  If you figure out
> > what the PS3's user agent is and map it to any of the user agents that
> > are currently utilized in GWT.  That won't mean everything will
> > necessarily work if the PS3 browser doesn't actual work like the
> > browser you're mapping it to, but it will get you past the hump of
> > getting the PS3 browser to run your GWT code.
>
> > On Apr 19, 7:45 pm, Excell  wrote:
>
> > > Is anyone achieve loading GWT compiled app in PlayStation 3 (Netfront)
> > > browser. I have tried to compile IE6 only permutation, but PS3 did not
> > > pick it up. Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 injections of same css

2011-04-29 Thread Thomas Broyer
Using  you're creating a new CssResource (each time) 
with @Source("resources/global.css"). The rules in global.css are processed 
for each CssResource and generate different obfuscated class names (this is 
important as each CssResource could add other rules for the same class 
names, and you wouldn't want conflicts between your CssResources).
If you want to share definitions, you should use a single CssResource, 
either one that you reuse (e.g. include in a ClientBundle, and then use that 
bundle using  in UiBinder), a @Shared one that you inherit from 
(use  to point to it or an interface that extends it), 
or an @ImportedWithPrefix CssResource that you then @Import in another 
CssResource (or  in a UiBinder template).

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 update CellTable's Header Cell based on action in data table

2011-04-29 Thread Thomas Broyer
You might be looking for the 
CellTable#redrawHeaders()method.
 In your SelectionHandler, you would update the internal value of 
your Header (whatever is returned by its getValue method) and then 
redrawHeaders() to update the display.
(just an idea, never ever tried)

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



@UiFactory resource injection

2011-04-29 Thread rv
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource

shows how to use @UiFactory to provide a ClientBundle instance and
indicates

"You can make resources available to your template via the 
element, but at the cost of having them instantiated for you."

If  element is specified along with @UiFactory, does GWT
resort to using the factory method, or will it invoke GWT.create on
the type specified ?




-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 do I use Tomcat rather than built-in in Development mode

2011-04-29 Thread Rob Tanner
On Apr 29, 2:01 pm, Thomas Broyer  wrote:
> Read the doc? 
> ;-)http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...
> The "noserver" in GPE can be set by unchecking the "run built-in server" box
> in the "server" tab of the Web Application launcher configuration

Thanks!  It took a little finagling with the arguments list to get it
all right but now it works
like a charm.  All my overrides in server.xml are overriding as they
should and life is good (or
at least a little easier).

~ Rob

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



Controlled shutdown of dev mode in Eclipse

2011-04-29 Thread Alan Chaney

Hi

Does anyone know a way to get Jetty to shutdown in a more orderly fashion? When you press the red 
square in the Development Mode UI, it just stops dead - consequently some of my server shutdown 
scripts don't run.


I'd like to be able to detect the servlet context listener contextDestroyed 
event.

TIA

Alan

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



Does GWT 2.2 Canvas support transparency like GWTCanvas?

2011-04-29 Thread Amir
CssColor doesn't have an alpha value like Color does with GWTCanvas.

So how do I handle transparency with GWT 2.2 Canvas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Does GWT 2.2 Canvas support transparency like GWTCanvas?

2011-04-29 Thread Amir
I tried using an rgba(...) string.  This works with Firefox but not Chrome, 
Safari, nor Opera.

So GWT 2.2 Canvas doesn't support colors with alpha values?  How come 
GWTCanvas does?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Does GWT 2.2 Canvas support transparency like GWTCanvas?

2011-04-29 Thread Amir
Please ignore.  The rgba(...) string approach works.

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



DialogBox.center does not center correctly

2011-04-29 Thread Magnus
Hi,

I have a problem with centering a DialogBox.

I create it, add some widgets (the size of which I set at the same
time!), and call center:
(Pseudecode)

DialogBox d = new DialogBox ();
AbsolutePanel t = new AbsolutePanel();
t.setSize("1000px","700px");
d.add(t);
d.center();

However, the DialogBox is not centered correctly. It's placed too much
to the right. (If its size is smaller, it's placed too much to the
left. #-))

I wondered if i should call forceLayout, but there is no such method
in DialogBox.

What can I do?

Thanks
Magnus

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