Re: GWT StackLayoutPanel: how to change header background color

2012-02-28 Thread chris
trying to work a similar issue. The theme selection in the the gwt.xml 
seems to be loaded after my cssresources, so overrides mine. Probably need 
to read the docs another time


On Friday, 24 February 2012 18:11:02 UTC+11, doruk wrote:

 Helo; 
 StackLayoutPanel default calor is light blue and I want to change 
 using css. I tried this code : 

 view plaincopy to clipboardprint? 
 .gwt-StackLayoutPanel { 
 background-color: #114E74; 
 } 

 But nothing has changed. Please can you explain how can I do that?

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



the output of DialogBox is very strange

2012-02-28 Thread tong123123
I just want to show a dialogbox when press a button. the code is very
simple:
final SimpleSearchResultPanel test = new SimpleSearchResultPanel();
btnTest.addClickHandler(new ClickHandler(){

@Override
public void onClick(ClickEvent event) {
// TODO Auto-generated method stub
test.setSize(1000px, 800px);
test.setGlassEnabled(true);
test.center();
test.show();
}

});

and SimpleSearchResultPanel is a DialogBox
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DialogBox;
public class SimpleSearchResultPanel extends DialogBox {

SimpleSearchResultPanel(){
super();
this.setGlassEnabled(true);
}
}

but when the dialog box is shown, it is very strange, it has many
line, strange image that do not know where is come from!!
the application is run in IE8.
anyone know what happens?

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

2012-02-28 Thread tong123123
I found that even using the gwt stockwatcher sample code and add a
button to show the DialogBox also has this problem

StockWatcher.java in GWT tutorial
private Button showDialogBox = new Button(show);

showDialogBox.addClickHandler(new ClickHandler(){
...
addPanel.add(showDialogBox);
..
@Override
public void onClick(ClickEvent event) {
// TODO Auto-generated method stub
DialogBox1 dialogBox1 = new DialogBox1();
dialogBox1.setSize(1000px, 800px);
dialogBox1.center();
dialogBox1.show();
}

the dialogbox1 is just a DialogBox object as follow:
package com.google.gwt.sample.stockwatcher.client;

import com.google.gwt.user.client.ui.DialogBox;

public class DialogBox1 extends DialogBox{

public void onLoad(){
this.setAnimationEnabled(true);
this.setGlassEnabled(true);
}

}

before click the show button, everything is normal, the DialogBox is
not shown yet.
After click the show button, the DialogBox shown is very strange, with
strange line occur in the DialogBox.
this time I try to use Firefox 5.0 and IE8 and both have this
problem!!

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



GWT Application throws JavascriptException on Windows 7 IE 8

2012-02-28 Thread Vibhas Zanpure
Hello All,

We recently migrated from PCs having Windows XP to Windows 7 64-bit in
our organization.

My machine has Windows 7 64bit, IE 8 (both 32-bit and 64-bit)  GWT
2.4.0.

Our Application used to work perfectly on Windows XP (before
migration) and the app uses fair amount of GwtExt as well. However,
the same app is not working on Windows 7 in some strange situations.

E.g. In a panel, we have a close button (with a cross image) on the
panel header which closes the panel. When I click on this button, it
throws a Java script error in IE as follows :-

Error : Object doesn't support this property or method
File : hosted.html


Also, I get a weird JavascriptException thrown in the stacktrace of
GWT HostedMode screen as follows :-


00:02:45.090 [ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
error.  number: -2147467259  description: Unspecified error.
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237)at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
129)at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java)at
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)  at
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43) at java.lang.reflect.Method.invoke(Method.java:601) at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71) at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)at java.lang.Thread.run(Thread.java:722)



I searched about this a lot on the net, found a few threads, but none
could help. I am using JDK 7 64-bit and IE 32 bit with GWTDevPluginx86
installed. I DON'T HAVE CHROME FRAME INSTALLED AS WELL.

Any help would be appreciated as this is an urgent issue. Thanks in
advance :)

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



Re: uibinder for mobile

2012-02-28 Thread Luke
is there any technique that make existing uibinder that we use for
viewing with computer 960px and show it nicely on mobile?

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

2012-02-28 Thread R.K.P. Pisters
What would you expect to see? It looks like you're missing a call to
DialogBox.setWidget. You're not telling the DialogBox what to display.

By the way, you don't have to subclass DialogBox for very simple
cases:

DialogBox dialogBox = new DialogBox(false, true); // or any other
values for autohide/modal
dialogBox.setText(getMyCaption());
dialogBox.setWidget(getMyContentWidget());
dialogBox.setSize(1000px, 800px);
dialogBox.setGlassEnabled(true);
dialogBox.setAnimationEnabled(true);
dialogBox.show();

Hope this helps,
Ralf

On Feb 28, 1:42 pm, tong123123 tong123...@gmail.com wrote:
 I found that even using the gwt stockwatcher sample code and add a
 button to show the DialogBox also has this problem

 StockWatcher.java in GWT tutorial
     private Button showDialogBox = new Button(show);

     showDialogBox.addClickHandler(new ClickHandler(){
     ...
     addPanel.add(showDialogBox);
     ..
             @Override
             public void onClick(ClickEvent event) {
                 // TODO Auto-generated method stub
                 DialogBox1 dialogBox1 = new DialogBox1();
                 dialogBox1.setSize(1000px, 800px);
                 dialogBox1.center();
                 dialogBox1.show();
             }

 the dialogbox1 is just a DialogBox object as follow:
     package com.google.gwt.sample.stockwatcher.client;

     import com.google.gwt.user.client.ui.DialogBox;

     public class DialogBox1 extends DialogBox{

         public void onLoad(){
             this.setAnimationEnabled(true);
             this.setGlassEnabled(true);
         }

     }

 before click the show button, everything is normal, the DialogBox is
 not shown yet.
 After click the show button, the DialogBox shown is very strange, with
 strange line occur in the DialogBox.
 this time I try to use Firefox 5.0 and IE8 and both have this
 problem!!

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



Re: User visible urls

2012-02-28 Thread Adolfo Panizo Touzon
Hi all,

In the next weeks I'm going to start a new app, and I am really interested
in this question.

The solution that @Thomas has proposed is really interested. But I don't
know exactly how it works.

The question is, could you provide me an simple simple example? Or link?

Thank you,

Adolfo.

2012/2/27 Carlos Aguayo carlos.agu...@gmail.com

 works like a sharm! thanks buddy!


 On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:

 On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:

 Hi Thomas, could you share the one that you wrote to use pushState?
 Thanks!


 Here's a skeleton implementation: 
 https://gist.**github.com/1883821https://gist.github.com/1883821

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/OjZDD6XpY5gJ.

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




-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

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



Re: Additional plugins are required to display all the media on this page - Firefox 10.0.2

2012-02-28 Thread Tony Edgin
Maybe I misunderstood you earlier.  What plugin do Firefox and Chrome
say is missing?

On Mon, Feb 27, 2012 at 04:19, Jee sundarra...@gmail.com wrote:
 Thanks Edgin.

 When I attempt to load my gwt application in firefox 10.0.2. I got plugin
 missing (Additional plugins are required to display all the media on this
 page) error message in top of the page, the same message shown for chrome
 browser also but not happened for IE browser.
 How could we solve that an issue using gwt coding level?



 On Friday, February 24, 2012 9:46:04 PM UTC+5:30, Tony Edgin wrote:

 The plugin is only for development mode.  The deployed app does not
 use it, so your users won't ever be asked to install it.

 Cheers.
 Tony

 On Fri, Feb 24, 2012 at 03:40, Jee sundarra...@gmail.com wrote:
  Thanks Broyer.
 
  Do we have any possible way to deal this an issue with gwt program
  level.
  Because we don't want user press button(Install missing button) for
  every
  firefox browser.
  Strictly we planning to avoid this kind of issue with browser. Is there
  any
  possibility better approach to avoid plugin issues before loading gwt
  application.
 
  Thanks
  -Jee
 
  --
  You received this message because you are subscribed to the Google
  Groups
  Google Web Toolkit group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/google-web-toolkit/-/hYECccy8NwkJ.
 
  To post to this group, send email to
  google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Tony Edgin
 Software Architecture and Design Leader
 LBT Observatory
 933 N. Cherry Ave., Tucson AZ 85721-0065
 p:520-626-8951, c:520-419-8821, f:520-626-9333


 On Friday, February 24, 2012 9:46:04 PM UTC+5:30, Tony Edgin wrote:

 The plugin is only for development mode.  The deployed app does not
 use it, so your users won't ever be asked to install it.

 Cheers.
 Tony

 On Fri, Feb 24, 2012 at 03:40, Jee sundarra...@gmail.com wrote:
  Thanks Broyer.
 
  Do we have any possible way to deal this an issue with gwt program
  level.
  Because we don't want user press button(Install missing button) for
  every
  firefox browser.
  Strictly we planning to avoid this kind of issue with browser. Is there
  any
  possibility better approach to avoid plugin issues before loading gwt
  application.
 
  Thanks
  -Jee
 
  --
  You received this message because you are subscribed to the Google
  Groups
  Google Web Toolkit group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/google-web-toolkit/-/hYECccy8NwkJ.
 
  To post to this group, send email to
  google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Tony Edgin
 Software Architecture and Design Leader
 LBT Observatory
 933 N. Cherry Ave., Tucson AZ 85721-0065
 p:520-626-8951, c:520-419-8821, f:520-626-9333

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/J2UssvTCkBMJ.

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



-- 
Tony Edgin
Software Architecture and Design Leader
LBT Observatory
933 N. Cherry Ave., Tucson AZ 85721-0065
p:520-626-8951, c:520-419-8821, f:520-626-9333

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

2012-02-28 Thread Deepak Singh
Hi All,

Label la = new label();

The above line when converted to java script generates into div. What i
want is it should be converted in span.
How can i achieve it ?

Thanks
Deepak Singh

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

2012-02-28 Thread Hilco Wijbenga
On 28 February 2012 10:56, Deepak Singh deepaksingh...@gmail.com wrote:
 Label la = new label();

 The above line when converted to java script generates into div. What i
 want is it should be converted in span.
 How can i achieve it ?

Use InlineLabel or simply add display:inline.

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

2012-02-28 Thread Deepak Singh
Thanks a lot. It worked fine.

On Wed, Feb 29, 2012 at 1:19 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote:

 On 28 February 2012 10:56, Deepak Singh deepaksingh...@gmail.com wrote:
  Label la = new label();
 
  The above line when converted to java script generates into div. What i
  want is it should be converted in span.
  How can i achieve it ?

 Use InlineLabel or simply add display:inline.

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




-- 
Deepak Singh

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



sql query builder widget

2012-02-28 Thread salk31
This is my first attempt at a re-usable GWT widget. The idea is that
it allows normal users to do intermediate level queries without
needing to know SQL. The widget just needs to be fed meta data to
generate SQL...

I've knocked together a demo:
http://redquerybuilder.appspot.com/

Would this be useful to anybody? What are the biggest features missing/
broken?

Basically I'm wondering if it is worth me bothering with cleaning up
the code etc

Cheers

Sam

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

2012-02-28 Thread Rob
Hi,

These links might also be of interest:

- http://code.google.com/p/oryx-editor/
- http://code.google.com/p/signavio-core-components/

- http://www.signavio.com/en.html

Cheers
Rob

On Feb 28, 3:11 pm, keven keven.tru...@gmail.com wrote:
 David Vree david.h.vree@... writes:

  Does anyone know of a GWT-based diagramming tool for creating visio-
  like diagrams?

  I found a javascript library called mxGraph, which *seems* perfect:

 http://www.jgraph.com/mxgraph.html

  But it doesn't have a GWT wrapper and in their documentation they say
  this:

  In summary, consider GWT for simpler projects, but be careful of
  placing to much emphasis on it as a tool that avoids having to learn
  JavaScript properly.

  Not making me feel warm and fuzzy there.  And the $6k price tag is
  a bit much

 You can use draw2d and gef(eclipse Graphical Editing Framework) to develop 
 your
 GWT Diagram App Now.
 look at this:http://code.google.com/p/trufun-webrcp/
 the GWT framework with completely open source based on html5 technology, is 
 used
 to transplant eclipse RCP to GWT WEB.

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

2012-02-28 Thread tong123123
thanks for the reply.
I found the problem seems related to Dialogbox.setsize(), if call this
method, the dialogBox will be very strange, just try the following to
simulate:

public class GWTTest1 implements EntryPoint, ClickHandler {

  private static class MyDialog extends DialogBox {

public MyDialog() {
  // Set the dialog box's caption.
  setText(My First Dialog);

  // Enable animation.
  setAnimationEnabled(true);

  // Enable glass background.
  setGlassEnabled(true);

  // DialogBox is a SimplePanel, so you have to set its widget
property to
  // whatever you want its contents to be.
  ScrollPanel scrollPanel1 = new ScrollPanel();
  //scrollPanel1.setSize(1800px, 500px);
  setWidget(scrollPanel1);
  Button ok = new Button(OK);

  ok.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
  MyDialog.this.hide();
}
  });
  scrollPanel1.add(ok);

}
  }

  public void onModuleLoad() {
Button b = new Button(Click me);
b.addClickHandler(this);

RootPanel.get().add(b);
  }

  public void onClick(ClickEvent event) {
// Instantiate the dialog box and show it.
MyDialog myDialog1 = new MyDialog();
// if myDialog1.setSize(), will throw very strange result!!
myDialog1.setSize(1800px, 500px);
myDialog1.show();
  }
}

if comment out the statement myDialog1.setSize(1800px, 500px);
and uncomment the statement //scrollPanel1.setSize(1800px, 500px);
everything is ok.
so I think the DialogBox.setSize() has some problem.

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



Re: GWT application freezes when new version is deployed while using it

2012-02-28 Thread coderinabstract
Experiencing a similar problem and this seems to be very frustrating for 
user experience management especially if you are doing agile build life 
cycle with frequent releases.

The situation is that AsyncCallback failure is NOT firing and when we have 
code split points and there are ONLY User interface changes i.e. ux 
changes, and a user has navigated on all pages of the previous version of 
the app, even with the cache control header (with a servlet filter), the 
failure does not fire i.e. the old UI works fine with the services and 
cannot detect the new UI client on the server unless the user explicitly 
refreshes UI does not refresh.

Any thoughts... examples, best practice. I sincerely hope I am missing 
something as this is very tricky trapping all the what if scenarios when 
there is a new app.

Cheers and Thanks

On Wednesday, January 11, 2012 8:56:59 AM UTC-5, Kyle Baley wrote:

 We've gone Thomas's original suggest route of informing the user. But in 
 our original pass at this, we threw up a dialog with an OK button on it. It 
 said something to the effect of There's a new version. Please log in 
 again. Clicking OK is intended to log the user out and forcibly refresh 
 the page.

 What we're finding is that for the code-splitting case, the dialog does 
 indeed come up but the whole page becomes unresponsive afterward. That is, 
 you can't click the OK button. I've verified that this happens regardless 
 of whether we put a dialog up or not. Nothing on the page is clickable at 
 all. Wondering if this is what others see as well and if so, if there's a 
 way around it.


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



what is gwt.codesvr=127.0.0.1:9997 used for ?

2012-02-28 Thread YuHong Yang
gwt compiles java to bytecode and javascript, does the browser send
the debug info to this address?

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



using GWT to simplify a big stack of data transformation

2012-02-28 Thread Domenico
Hi,
I'm trying to simplify the stack of a web application (based on J2EE)
that takes an XML profile from backend convert it in a POJO (with some
XML data binding tool) and then throughout several data
transformations it becomes a view bean and then presented in
JavaScript. The idea is to simplify this stack using XMLBeans to
generate automatically the POJO and using directly this POJO in the
GWT application (without any intermediate transformation). Do you
think is it possible to use this strategy, in particular using a
normal POJO in the GWT application?

Thanks a lot for your help

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



Re: GWT Application throws JavascriptException on Windows 7 IE 8

2012-02-28 Thread Vibhas Zanpure
Guys, any workaround ?

On Feb 28, 7:53 pm, Vibhas Zanpure vibhas.zanp...@gmail.com wrote:
 Hello All,

 We recently migrated from PCs having Windows XP to Windows 7 64-bit in
 our organization.

 My machine has Windows 7 64bit, IE 8 (both 32-bit and 64-bit)  GWT
 2.4.0.

 Our Application used to work perfectly on Windows XP (before
 migration) and the app uses fair amount of GwtExt as well. However,
 the same app is not working on Windows 7 in some strange situations.

 E.g. In a panel, we have a close button (with a cross image) on the
 panel header which closes the panel. When I click on this button, it
 throws a Java script error in IE as follows :-

 Error : Object doesn't support this property or method
 File : hosted.html

 Also, I get a weird JavascriptException thrown in the stacktrace of
 GWT HostedMode screen as follows :-

 00:02:45.090 [ERROR] Uncaught exception escaped
 com.google.gwt.core.client.JavaScriptException: (Error): Unspecified
 error.  number: -2147467259  description: Unspecified error.
 at
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
 237)    at
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
 129)    at
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
 561)    at
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
 269)    at
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
 91)     at com.google.gwt.core.client.impl.Impl.apply(Impl.java)        at
 com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)      at
 sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)    at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
 43)     at java.lang.reflect.Method.invoke(Method.java:601)     at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
 71)     at
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
 157)    at
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
 281)    at
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
 531)    at
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
 352)    at java.lang.Thread.run(Thread.java:722)

 I searched about this a lot on the net, found a few threads, but none
 could help. I am using JDK 7 64-bit and IE 32 bit with GWTDevPluginx86
 installed. I DON'T HAVE CHROME FRAME INSTALLED AS WELL.

 Any help would be appreciated as this is an urgent issue. Thanks in
 advance :)

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




Google Plugin for Eclipse : offline installation

2012-02-28 Thread Celinio
Hello,

I want to install GWT Designer (UIBinder), which is part of the Google
Plugin for Eclipse.
I cannot install it at work through Eclipse due to some proxy restrictions.

http://code.google.com/eclipse/docs/download.html

Where can I download the plugin for an offline installation ?

I cannot find the files anywhere. Why is that ?

Thanks for helping.

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

2012-02-28 Thread John Tamplin
On Tue, Feb 28, 2012 at 12:02 PM, Deepak Patil deepakpati...@gmail.comwrote:

 any comments about this ?


Sorry, digging through the generated JS code is hard to follow, and there
are library functions referenced but not included that would help clarify a
few things.

If I understand correctly, the gist is to pass a state variable to each
callback, and by that value it knows which piece of code to execute, is
that correct?  That would also mean having to wrap all calls from
non-generated code, which is what I assume those missing library functions
do.

If that is correct, it is an interesting approach, though it does have some
cost.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors