How can I access a window object in hand written java script in GWT

2010-03-24 Thread Muthu
Hi,

I have a java script that I use from a third party. I needed to do
some modification and as part of that I need to access the window
object.

Whenever I say window.something I get an error saying window is not
defined. Any idea??

Thanks,
Muthu Shanmugam.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Thanks a lot. I will try it this way.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Server side: start independent Thread at deploy on server

2010-03-24 Thread piXi
1. I need this thread at server side not client.
2. I'm allready using RPC interface async etc.
3. But I dont know what is proper way to start socket server at Server
side.
Via Modulu or something like that

On 23 mar., 18:05, dolcra...@gmail.com dolcra...@gmail.com wrote:
 I think you need to review GWT and the official tutorials.
 1. You cannot use threads on the clientside as javascript is single
 threaded.
 2. Review the RPC mechanism in GWT as it requires a service interface,
 an asynchronous interface, a servlet implementing the service, and
 some client code to create and bind the service.

 On Mar 23, 10:04 am, piXi slop...@gmail.com wrote:

  Hellow,

  I'm trying to develop an aplication with GWT.
  And have came across with a problem, but first what I wish to
  develop.

  And GWT application that will server user data, data will be get over
  RPC and hibernate.
  Now I need thread that will start up socket server and listen incoming
  connection from so called agents.

  Do I need to create new module or ?

  One solution that works but its not nice solution is :

  at EntryPoint in constructor I create a singletone and start the
  Thread.  Next time page is loaded I just return.
  Instance to singleton.

  I have tested and it works.

  But i do not like getInstance call every time page will refresh.

  From tutorials GWT looks very nice, but  I know that I still need much
  of understanding GWT.

  Best regards Primoz

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Server side: start independent Thread at deploy on server

2010-03-24 Thread rudolf michael
Server Push?
check gwteventservice project, it has a Comet Servlet in order to keep the
client and server connected.

On Wed, Mar 24, 2010 at 9:27 AM, piXi slop...@gmail.com wrote:

 1. I need this thread at server side not client.
 2. I'm allready using RPC interface async etc.
 3. But I dont know what is proper way to start socket server at Server
 side.
Via Modulu or something like that

 On 23 mar., 18:05, dolcra...@gmail.com dolcra...@gmail.com wrote:
  I think you need to review GWT and the official tutorials.
  1. You cannot use threads on the clientside as javascript is single
  threaded.
  2. Review the RPC mechanism in GWT as it requires a service interface,
  an asynchronous interface, a servlet implementing the service, and
  some client code to create and bind the service.
 
  On Mar 23, 10:04 am, piXi slop...@gmail.com wrote:
 
   Hellow,
 
   I'm trying to develop an aplication with GWT.
   And have came across with a problem, but first what I wish to
   develop.
 
   And GWT application that will server user data, data will be get over
   RPC and hibernate.
   Now I need thread that will start up socket server and listen incoming
   connection from so called agents.
 
   Do I need to create new module or ?
 
   One solution that works but its not nice solution is :
 
   at EntryPoint in constructor I create a singletone and start the
   Thread.  Next time page is loaded I just return.
   Instance to singleton.
 
   I have tested and it works.
 
   But i do not like getInstance call every time page will refresh.
 
   From tutorials GWT looks very nice, but  I know that I still need much
   of understanding GWT.
 
   Best regards Primoz

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Determining Permutation on Server

2010-03-24 Thread mmoossen
+1
great idea, i think caching has to be handled carefully but there
should not be any stoppers.

Michael

On Mar 23, 5:15 pm, Nathan Wells nwwe...@gmail.com wrote:
 Ooo good point... but couldn't you just set caching headers on the
 result? I guess I'm not clear on the intricacies of how each browser
 would handle this, but you could keep track of whether the app was
 modified on the server. If it hasn't been modified, then send 304.

 Or am I missing something?

 On Mar 23, 9:25 am, Ian Bambury ianbamb...@gmail.com wrote:

  How would you determine if the current code had been cached on the client or
  not?

  Ian

 http://examples.roughian.com

  On 23 March 2010 14:41, Nathan Wells nwwe...@gmail.com wrote:

   Is there a reason you wouldn't want to determine which permutation to
   send on the server rather than the client? What I'm thinking is that
   you could eliminate the need for the selector script entirely if you
   had a smart enough server. You could even auto generate the code using
   a linker, I would think.

   So, is there a reason why you wouldn't want to do it?

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



problem with GWT and maven

2010-03-24 Thread zizou84
hi
i have started with my first maven gwt project(GWT 2.0)
the first thing i have noticed is that the application generated by my
maven plugin doesn't contain the server package or the web.xml file.
my application works fine without rpc call
but when i tryed to add rpc, i added the web.xml file into the folder
war/WEB-INF
but when running the application, the rpc service doesn't work and i
have this warning:

00:00:00,359 [WARN] Unable to process 'file:/C:/Documents%20and
%20Settings/poste01/myworkspace/myapplication/war/WEB-INF/web.xml' for
servlet validation
javax.servlet.UnavailableException: Configuration problem   at
org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:
298)at
org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:
222)at
com.google.gwt.dev.ServletValidator.create(ServletValidator.java:69)
at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:
52) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:332)   at
com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953)at
com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)at
com.google.gwt.dev.DevMode.main(DevMode.java:251)

what is the source of my 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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1

2010-03-24 Thread Randell
On Mon, Mar 22, 2010 at 10:30 PM, Rajeev Dayal rda...@google.com wrote:

 HI Randell,

 Good point - do you mind filing an issue for this?


Sure thing. How can I file an issue? I'd like to learn how since I'll
probably be encountering a lot of issues.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mariyan nenchev
Hi,

I have gwt app that uses many images for its customization. I use sprites
for most of the images, but there are about 10 images that are not in
sprite. So if the connection with the server is slow theese images are
loaded with little delay and my app is not rendered as it should be. Is it
possible to block all user interactions until every thing is loaded?

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



working with a freelancer designer on a gwt project

2010-03-24 Thread dk
Hello everyone,

I have been developing a gwt+grails application but I am not happy
with the default widget styles and the overall site design. I want to
hire a designer but he doesn't have a clue about java+eclipse+gwt
+grails view

are there anyone experienced with a similar situation? Any comment and
suggestion would be appreciated.

thank you
dogan

ps. Unfortunately, I currently work with GWT 1.7 and Grails 1.1 so GWT
2.0 features can not help me.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Server side: start independent Thread at deploy on server

2010-03-24 Thread piXi
I think I didnt explain well,

so gwt client will only show data tables etc, gwt server will serve
those data to client ( GWT RPC),  this is showing part,

server socket part will be in seperate thread and will communicate
with agents that are writen in pure java, not gwt.
I allready got communication between agent and socket server.

My problem still exist, when/ how to start server socket in seperate
thread ( on server)

Best regards Primoz

On 24 mar., 08:43, rudolf michael roud...@gmail.com wrote:
 Server Push?
 check gwteventservice project, it has a Comet Servlet in order to keep the
 client and server connected.

 On Wed, Mar 24, 2010 at 9:27 AM, piXi slop...@gmail.com wrote:
  1. I need this thread at server side not client.
  2. I'm allready using RPC interface async etc.
  3. But I dont know what is proper way to start socket server at Server
  side.
     Via Modulu or something like that

  On 23 mar., 18:05, dolcra...@gmail.com dolcra...@gmail.com wrote:
   I think you need to review GWT and the official tutorials.
   1. You cannot use threads on the clientside as javascript is single
   threaded.
   2. Review the RPC mechanism in GWT as it requires a service interface,
   an asynchronous interface, a servlet implementing the service, and
   some client code to create and bind the service.

   On Mar 23, 10:04 am, piXi slop...@gmail.com wrote:

Hellow,

I'm trying to develop an aplication with GWT.
And have came across with a problem, but first what I wish to
develop.

And GWT application that will server user data, data will be get over
RPC and hibernate.
Now I need thread that will start up socket server and listen incoming
connection from so called agents.

Do I need to create new module or ?

One solution that works but its not nice solution is :

at EntryPoint in constructor I create a singletone and start the
Thread.  Next time page is loaded I just return.
Instance to singleton.

I have tested and it works.

But i do not like getInstance call every time page will refresh.

From tutorials GWT looks very nice, but  I know that I still need much
of understanding GWT.

Best regards Primoz

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Example: (simple) Label with image?

2010-03-24 Thread Simon
I would create a widget by extending Composite and wrapping a native
Image and Label :

public class ImageLabel extends Composite {

@UiConstructor
public ImageLabel(String url, String text) {
Image image = new Image(url);
Label label = new Label(text);

HorizontalPanel panel = new HorizontalPanel();
panel.add(image);
panel.add(label);

initWidget(panel);

}

}

Hope this helps !


On 22 mar, 20:01, Ralf B ralf.bie...@gmail.com wrote:
 Is there a very very simple way to create a label with an image
 without using CSS, or is the only way to use HTML objects? I was
 hoping for a constructor like this:

 Image myImage = new Image(url);
 Label myLabel = new Label(myimage, This is the text);

 Best Regards :)

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



Making valid and accessible web pages with GWT

2010-03-24 Thread enTropy Fragment
Hi!

I am developing a web page that should be accesible. While working with GWT
I have discovered it is more focused in RIA than in creating standard and
good code. It is so open and powerfull that it still makes sense (to me) to
keep working with it so I just wanted to share with you the best practices I
found and the problems I could not solve yet to create a completely
acessible, valid and standard web. Would be nice to make this list grow as
there is almost no info about this on the Internet as far as I've found.


   - *Tables* - Almost all GWT Panels end up transformed in html tables,
   this shouldn't happen
  - Affects to: All Panels that extend
*CellPanelhttp://www.asquare.net/gwt/javadoc/1.0.21/src-html/com/google/gwt/user/client/ui/CellPanel.html#line.28
   *(this includes
DockPanelhttp://www.asquare.net/gwt/javadoc/1.0.21/com/google/gwt/user/client/ui/DockPanel.html
  , 
HorizontalPanelhttp://www.asquare.net/gwt/javadoc/1.0.21/com/google/gwt/user/client/ui/HorizontalPanel.html
  , 
VerticalPanelhttp://www.asquare.net/gwt/javadoc/1.0.21/com/google/gwt/user/client/ui/VerticalPanel.html
  )
  - Solution I found: Use other panels, for instance
*FlowPanel*http://www.asquare.net/gwt/javadoc/1.0.21/src-html/com/google/gwt/user/client/ui/FlowPanel.html#line.28(wich
  becomes an html div) + some css for each panel
   - *Missing html elements* - There are some elements that are quite
   important for creating an accessible web
  - Affects to: Ordered / Unordered lists. All the headings (tags h*)
  - Solution I found: Either implement them or use
*HTML*http://www.asquare.net/gwt/javadoc/1.0.21/src-html/com/google/gwt/user/client/ui/HTML.html#line.39
  instead
   - *Missing TAG option* for
*Image*http://www.asquare.net/gwt/javadoc/1.0.21/src-html/com/google/gwt/user/client/ui/Image.html#line.35-
   This is a mandatory attribute for html images. setTitle claims to be the way
   but in the end it becomes a title=something instead of tag=something
   so it doesn't work
  - Affects to:
*Imagehttp://www.asquare.net/gwt/javadoc/1.0.21/src-html/com/google/gwt/user/client/ui/Image.html#line.35
  *
  - Solution I found: none
   - GWT adds script tags without a *type attribute*, wich prevents the web
   pass the validation tests
   - GWT uses a *tabindex attribute* for the history iframe. This attribute
   is not valid for html4.01 transitional so the web won't validate again


Would be nice if you could share your own solutions, comment the ones I
proposed or extend the list with more problems! ^^'

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 can I access a window object in hand written java script in GWT

2010-03-24 Thread Olivier Monaco
This link may be a good start:
http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html

Olivier

On 24 mar, 07:42, Muthu muthulala...@gmail.com wrote:
 Hi,

 I have a java script that I use from a third party. I needed to do
 some modification and as part of that I need to access the window
 object.

 Whenever I say window.something I get an error saying window is not
 defined. Any idea??

 Thanks,
 Muthu Shanmugam.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Possible to set style for ScrollPanel?

2010-03-24 Thread RPB
Have a look at this thread:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cad105fb7b33c745/3ae25f73b841777e#3ae25f73b841777e

The scrollbar CSS will only work in Internet Explorer. There is no
support for the other browsers.

-Rob

On Mar 24, 5:46 am, jayalakshmi jahagirdar
jayalakshmi.jahagir...@gmail.com wrote:
 Hi,U can use the below css.

 body {

         SCROLLBAR-FACE-COLOR: #abc;;
         SCROLLBAR-HIGHLIGHT-COLOR: abc;
         SCROLLBAR-SHADOW-COLOR: #abc;
         SCROLLBAR-ARROW-COLOR: abc;
         SCROLLBAR-TRACK-COLOR: #abc;
         SCROLLBAR-DARKSHADOW-COLOR: #abc;}

 regards
 Jayalakshmi



 On Wed, Mar 24, 2010 at 11:08 AM, Sekhar sek...@allurefx.com wrote:
  Is there a way (ideally with CSS) to customize the scrollbar for
  ScrollPanel?

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

 - Show quoted text -

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mmoossen
Hi, Mariyan!

you have just to set window.onload handler in your module's entry
point, ie:
(we aware that i have not tried to compile it, and i am not sure if it
will trigger if installed after the window is actually load, which
could happen for instance when the images are in the browser cache)

public class MyEntryPoint implements EntryPoint {

  public void onModuleLoad() {
Label loadingLabel = new Label(Loading...);
RootPanel.get().add(loadingLabel);
setLoadHandler();
  }

public native void setLoadHandler() /*-{

   var oldOnload = $wnd.onload;
   $wnd.onload = function() {
  th...@mypackage.myentrypoint::onWindowLoad()();
  $wnd.onload = oldOnload;
  $wnd.onload();
   }
}-*/;

public void onWindowLoad() {

RootPanel.get().clear();
// start with your stuff here
...
}
}

HTH
Michael

ps: i had to use JSNI because i could not find any way to set a
LoadHandler on the (com.google.gwt.user.client.)Window object...

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



Incorrect XML escaping of semicolon

2010-03-24 Thread googelybear
Hi,

It seems that GWT DOES escape the semicolon character but actually
this is a valid XML character and should not be escaped according to
http://www.w3.org/TR/REC-xml/#sec-references and
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

Here's a snippet of how this error can be reproduced:
code
public static String escapeXml(String xml) {
Document document= XMLParser.createDocument();
Text textNode= document.createTextNode(xml);
return textNode.toString();
}
/code

calling this method with ; yields semi;. Semi is not defined as a
standard entity and thus produces errors in my backend.

Is this really a bug in the GWT XML parser or is my escaping method
wrong?

thanks for any feedback,

Dennis

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mariyan nenchev
I'm not sure what you are trying to do :(.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mmoossen
the point is that your EntryPoint#onModuleLoad method triggers at
document load, which is when the dom is ready, but not when the images
are ready, so you have to wait until the window load event is
triggered. that is all.

HTH
Michael

On Mar 24, 12:45 pm, mariyan nenchev nenchev.mari...@gmail.com
wrote:
 I'm not sure what you are trying to do :(.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread enTropy Fragment
He's trying to show you how to change the UI when everything is ready to be
showed. Simplifying, something like that

RootPanel.get().add(new LoadingPanel()); /* Displays a panel that shows a
Loading... message  */

// do all the stuff for loading the images, create the panels you want to
show and so
// when everything is loaded call update() method

public void update(Panel apanel){
 RootPanel.get().clear();
 RootPanel.get().add(apanel); // adds your already initialized panel :)
}

2010/3/24 mariyan nenchev nenchev.mari...@gmail.com

 I'm not sure what you are trying to do :(.

  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mariyan nenchev
Thanks. Will try it.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 app partially loaded but user can interact

2010-03-24 Thread mariyan nenchev
Hi,

i tried it, but it seems that onLoad is not triggered.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 can i make the html tag div deplacable and resizable

2010-03-24 Thread zizou84
Hi
i have my login form done with HTML code( my form looks like
div /div)
is there any way to make my HTML form deplacable and resizable ( i use
gxt )

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1

2010-03-24 Thread Rajeev Dayal
Ha, hopefully you won't encounter too many! You can file an issue via this
URL:

http://code.google.com/p/google-web-toolkit/issues/list

When choosing a category, choose EclipsePlugin.

On Wed, Mar 24, 2010 at 4:23 AM, Randell
josephrandell.benavi...@gmail.comwrote:



 On Mon, Mar 22, 2010 at 10:30 PM, Rajeev Dayal rda...@google.com wrote:

 HI Randell,

 Good point - do you mind filing an issue for this?


 Sure thing. How can I file an issue? I'd like to learn how since I'll
 probably be encountering a lot of issues.

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Server side: start independent Thread at deploy on server

2010-03-24 Thread aw4y
The server side of a GWT project is a service for your GWT
application,
interacting with RPC on demand.

I use a socket in my server side, but it communicate on RPC request.

So i think you cannot start a server socket on the service, but you
have to use
a standalone server (that implements the socket and wait for agents
communication)
that store information (on db?) and implements in the service a method
that take these data and send to the client (but always on demand).

regards


On Mar 24, 11:01 am, piXi slop...@gmail.com wrote:
 I think I didnt explain well,

 so gwt client will only show data tables etc, gwt server will serve
 those data to client ( GWT RPC),  this is showing part,

 server socket part will be in seperate thread and will communicate
 with agents that are writen in pure java, not gwt.
 I allready got communication between agent and socket server.

 My problem still exist, when/ how to start server socket in seperate
 thread ( on server)

 Best regards Primoz

 On 24 mar., 08:43, rudolf michael roud...@gmail.com wrote:

  Server Push?
  check gwteventservice project, it has a Comet Servlet in order to keep the
  client and server connected.

  On Wed, Mar 24, 2010 at 9:27 AM, piXi slop...@gmail.com wrote:
   1. I need this thread at server side not client.
   2. I'm allready using RPC interface async etc.
   3. But I dont know what is proper way to start socket server at Server
   side.
      Via Modulu or something like that

   On 23 mar., 18:05, dolcra...@gmail.com dolcra...@gmail.com wrote:
I think you need to review GWT and the official tutorials.
1. You cannot use threads on the clientside as javascript is single
threaded.
2. Review the RPC mechanism in GWT as it requires a service interface,
an asynchronous interface, a servlet implementing the service, and
some client code to create and bind the service.

On Mar 23, 10:04 am, piXi slop...@gmail.com wrote:

 Hellow,

 I'm trying to develop an aplication with GWT.
 And have came across with a problem, but first what I wish to
 develop.

 And GWT application that will server user data, data will be get over
 RPC and hibernate.
 Now I need thread that will start up socket server and listen incoming
 connection from so called agents.

 Do I need to create new module or ?

 One solution that works but its not nice solution is :

 at EntryPoint in constructor I create a singletone and start the
 Thread.  Next time page is loaded I just return.
 Instance to singleton.

 I have tested and it works.

 But i do not like getInstance call every time page will refresh.

 From tutorials GWT looks very nice, but  I know that I still need much
 of understanding GWT.

 Best regards Primoz

   --
   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: About deploying using eclipse plugin.

2010-03-24 Thread Rajeev Dayal
Can you post the contents of your appengine-web.xml file?

On Tue, Mar 23, 2010 at 10:14 AM, Jolam j.jo...@gmail.com wrote:

 My app works fine in my own machine but when I deploy it using eclipse
 plugin ,  an error occurs:

 javax.servlet.ServletContext log: UrlServiceImpl: ERROR: The
 serialization policy file '/urlshorter/
 C62BC673E99C4E252FDCF22B3898D6E7.gwt.rpc' was not found; did you
 forget to include it in this deployment?

 I checked if it the file C62BC673E99C4E252FDCF22B3898D6E7.gwt.rpc
 exists , It is in the folder mentioned above.What can i do?

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Questions about OnModuleLoad() and onPageLoad event

2010-03-24 Thread mariyan nenchev
Hi,
any luck with this. Did you manage to catch body.onload event in the gwt
entry point?

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Multi-tenancy in GWT

2010-03-24 Thread Uros Trebec
I think the best way to do this is to deploy new instance of client
application for every customer and have one instance of server
application that all client applications work with to get their data,
non-client-side business logic, etc.

We're doing it this way when we have different versions of client
application, which tends to change more often than server one. Also
works when you have a development version of client that you need to
test with the same server backend.

Regards,
Uros

On Mar 24, 2:24 am, Kyle Baley kyle.ba...@gmail.com wrote:
 Not sure I understand. I plan to filter data on the server side of
 things. But I don't know how to configure GWT to allow me to navigate
 to specific client for the entire app.

 For example, Acme Hair Salon would navigate to mysite.com/
 acmeHairSalon/myapp.html and Generic Dog Collars would navigate to
 mysite.com/genericDogCollars/myapp.html. Both URLs should map to the
 same instance of the application but in it, I'd check the URL to see
 which company was being used and filter all the data in it
 accordingly. I know how to do the filtering and can probably figure
 out how to check the URL for a company token. But I don't know how to
 configure GWT and/or GAE to use a single instance of the application
 for multiple (generic) URLs that aren't pre-defined. It sounds to me
 like something that should be done in web.xml but again, I don't know
 how.

 On Mar 23, 1:01 pm, dolcra...@gmail.com dolcra...@gmail.com wrote:

  So you can just built the ui once and always include it in the login
  page for which ever client as the server should be where you filter/
  prevent access to data that's not for the current client.

  On Mar 22, 10:41 am, Kyle Baley kyle.ba...@gmail.com wrote:

   I'm new to GWT and the Java world having been in the .NET space for
   about 10 years. Our application will be a multi-tenant one (at least,
   to the degree that I understand the definition). We'd like customers
   to be able to navigate towww.mysite.com/customerName, then log in
   from there. I think I have a handle on how to manage this from the GAE
   datastore side but am wondering how to manage this URL mapping in
   web.xml for GWT.

   Also, would like to get some opinions on how to manage the
   authentication once it's set up. Here's how I see it working:
   - User navigates towww.mysite.com/customerName
   - System retrieves company data and stores in session and displays
   login page
   - User logs in. System authenticates user
   - For all RPC calls, system verifies user is logged in *and* checks
   that the URL matches the company info in the session

   Basically, I want to guard against a user logging into one client
   site, then navigating to another.

   Thanks
   Kyle

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Incorrect XML escaping of semicolon

2010-03-24 Thread Jeff Chimene
Does this happen in all browsers, or just one? GWT uses the browser to
perform the XML document/node manipulation.

On Wed, Mar 24, 2010 at 3:34 AM, googelybear googelyb...@gmail.com wrote:

 Hi,

 It seems that GWT DOES escape the semicolon character but actually
 this is a valid XML character and should not be escaped according to
 http://www.w3.org/TR/REC-xml/#sec-references and

 http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

 Here's a snippet of how this error can be reproduced:
 code
 public static String escapeXml(String xml) {
Document document= XMLParser.createDocument();
Text textNode= document.createTextNode(xml);
return textNode.toString();
}
 /code

 calling this method with ; yields semi;. Semi is not defined as a
 standard entity and thus produces errors in my backend.

 Is this really a bug in the GWT XML parser or is my escaping method
 wrong?

 thanks for any feedback,

 Dennis

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Hi,
I got it. The solution via List works.

For the next with this problem, here is my solution:

ListTextBox trackList = new ArrayListTextBox();

for (int i = 0; i  number; i++) {
 TextBox track = new TextBox();
 trackList.add(track);
 generateEventHeadPanel.add(track);
}
...
String text = trackList.get(index).getText();

Thanks a lot.
Jochen

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Coding dynamic parts with GWT

2010-03-24 Thread Jeff Chimene
Hi Jochen:

One other item of note: you might want to eliminate the ability of the user
to enter an arbitrary value. For example, what happens if I enter -32767? or
65536 as the value for number?

Consider implementing the source of number as a listbox with a limited
size so that it't not possible to generate an absurd value for number. Is
it the case that cardinality can range from zero to (say) five?

On Wed, Mar 24, 2010 at 8:13 AM, Jochen Schnaidt j.schna...@t-online.dewrote:

 Hi,
 I got it. The solution via List works.

 For the next with this problem, here is my solution:

 ListTextBox trackList = new ArrayListTextBox();
 
 for (int i = 0; i  number; i++) {
  TextBox track = new TextBox();
  trackList.add(track);
  generateEventHeadPanel.add(track);
 }
 ...
 String text = trackList.get(index).getText();

 Thanks a lot.
 Jochen

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Coding dynamic parts with GWT

2010-03-24 Thread Jochen Schnaidt
Hi,

at the moment my 'number' is a Integer.parse of a String from a
TextBox in a try/catch with errorhandling but my layout is not
finished yet.

Thanks for the idea, I didn't thought of that until now.

On Mar 24, 4:19 pm, Jeff Chimene jchim...@gmail.com wrote:
 Hi Jochen:

 One other item of note: you might want to eliminate the ability of the user
 to enter an arbitrary value. For example, what happens if I enter -32767? or
 65536 as the value for number?

 Consider implementing the source of number as a listbox with a limited
 size so that it't not possible to generate an absurd value for number. Is
 it the case that cardinality can range from zero to (say) five?

 On Wed, Mar 24, 2010 at 8:13 AM, Jochen Schnaidt 
 j.schna...@t-online.dewrote:

  Hi,
  I got it. The solution via List works.

  For the next with this problem, here is my solution:

  ListTextBox trackList = new ArrayListTextBox();
  
  for (int i = 0; i  number; i++) {
   TextBox track = new TextBox();
   trackList.add(track);
   generateEventHeadPanel.add(track);
  }
  ...
  String text = trackList.get(index).getText();

  Thanks a lot.
  Jochen

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Server side: start independent Thread at deploy on server

2010-03-24 Thread aw4y
oh i like to contradict myself :)

i tried to make a simple tcp echo (threaded) server..started by the
service (with a call)
and it works!
obviously it dies when the session dies...but hey, it's a start!

On Mar 24, 3:39 pm, aw4y noneoft...@gmail.com wrote:
 The server side of a GWT project is a service for your GWT
 application,
 interacting with RPC on demand.

 I use a socket in my server side, but it communicate on RPC request.

 So i think you cannot start a server socket on the service, but you
 have to use
 a standalone server (that implements the socket and wait for agents
 communication)
 that store information (on db?) and implements in the service a method
 that take these data and send to the client (but always on demand).

 regards

 On Mar 24, 11:01 am, piXi slop...@gmail.com wrote:

  I think I didnt explain well,

  so gwt client will only show data tables etc, gwt server will serve
  those data to client ( GWT RPC),  this is showing part,

  server socket part will be in seperate thread and will communicate
  with agents that are writen in pure java, not gwt.
  I allready got communication between agent and socket server.

  My problem still exist, when/ how to start server socket in seperate
  thread ( on server)

  Best regards Primoz

  On 24 mar., 08:43, rudolf michael roud...@gmail.com wrote:

   Server Push?
   check gwteventservice project, it has a Comet Servlet in order to keep the
   client and server connected.

   On Wed, Mar 24, 2010 at 9:27 AM, piXi slop...@gmail.com wrote:
1. I need this thread at server side not client.
2. I'm allready using RPC interface async etc.
3. But I dont know what is proper way to start socket server at Server
side.
   Via Modulu or something like that

On 23 mar., 18:05, dolcra...@gmail.com dolcra...@gmail.com wrote:
 I think you need to review GWT and the official tutorials.
 1. You cannot use threads on the clientside as javascript is single
 threaded.
 2. Review the RPC mechanism in GWT as it requires a service interface,
 an asynchronous interface, a servlet implementing the service, and
 some client code to create and bind the service.

 On Mar 23, 10:04 am, piXi slop...@gmail.com wrote:

  Hellow,

  I'm trying to develop an aplication with GWT.
  And have came across with a problem, but first what I wish to
  develop.

  And GWT application that will server user data, data will be get 
  over
  RPC and hibernate.
  Now I need thread that will start up socket server and listen 
  incoming
  connection from so called agents.

  Do I need to create new module or ?

  One solution that works but its not nice solution is :

  at EntryPoint in constructor I create a singletone and start the
  Thread.  Next time page is loaded I just return.
  Instance to singleton.

  I have tested and it works.

  But i do not like getInstance call every time page will refresh.

  From tutorials GWT looks very nice, but  I know that I still need 
  much
  of understanding GWT.

  Best regards Primoz

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: 'Stop running this script' message in browsers

2010-03-24 Thread keyboard_samurai
Hi,

Yes the script process all the data at once because we have a
requirement that all the nodes to be expanded rather than collapsed.


Thank you!

On Mar 24, 1:24 am, Eric erjab...@gmail.com wrote:
 On Mar 23, 2:21 pm, Jeff Chimene jchim...@gmail.com wrote:



  On 03/23/2010 11:05 AM, keyboard_samurai wrote:

   Hi,

   I need to know if anyone has solved the script running too long issue
   in internet explorer. I have a requirement where we need to show a lot
   of information (in thousands) in tree structure. I was just checking
   using GWT EXT and came across this issue. The issue in detail can be
   found @http://support.microsoft.com/kb/175500. As i interpret the
   issue arises bcoz of the high volume of data to be shown is crossing
   the maximum no of statements which can be executed.

   Has anyone encountered such an issue and fixed it  ?

  Does the script process all data at once? It may need to process the
  data in batces.

 If the original poster can, just return the direct children of a node
 when the
 node is opened. If he needs to, implement paging on the server, and
 use
 IncrementalCommand to release control to the browser after each page.

 Respectfully,
 Eric Jablow

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Determining Permutation on Server

2010-03-24 Thread Nathan Wells
You're correct, in more complex environments where a more robust
property provider is necessary, my approach wouldn't do much good. But
then, I'm not talking about handling those use cases. The goal is to
not make an unnecessary request, and if I have the user agent in the
server on the initial request, I know everything that the vanilla
property-provider uses, unless I'm mistaken.

Also, when I was referring to generating the code I was talking about
at GWT compile time.

On Mar 24, 4:10 am, Olivier Monaco olivier.mon...@free.fr wrote:
 Hi Nathan,

 How do you determine the right permutation for the client? Using the
 User-Agent? What if I change it? How to provide custom property-
 provider?

 An example: we wrote a GWT/SVG library that use svgweb on browser not
 supporting SVG. We have a property-provider that determine if the
 browser support SVG using the JavaScript method
 document.implementation.hasFeature. There's no way to do it on
 server.

 Next, code can't be on-fly-generated because ~some~ compilation can
 take more than 30 seconds, even for just on permutation.

 Olivier



On 23 March 2010 14:41, Nathan Wells nwwe...@gmail.com wrote:

 Is there a reason you wouldn't want to determine which permutation to
 send on the server rather than the client? What I'm thinking is that
 you could eliminate the need for the selector script entirely if you
 had a smart enough server. You could even auto generate the code using
 a linker, I would think.

 So, is there a reason why you wouldn't want to do it?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: XML Parser error in hasAttributes()

2010-03-24 Thread pschonefeld
this was happening for me on a text node so checked that getNodeType()
was an element (1) and all was OK.

HTH

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



onSubmitComplete is not fired when response.setContentType(application/x-download)

2010-03-24 Thread Kewei
I found that the onSubmitComplete will not be fired when in the
servlet, the response's content type is set to application/x-
download. I am using GWT and FormPanel, I just wanted to download a
file generated form servlet and get a callback when the downloading
finished, how could I do that?

Thanks in advance.

Kewei

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



UiBinder Docs

2010-03-24 Thread perlmonkey2
I'm looking for detailed documentation for UiBinder.

http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html
contains some clues and the JavaDocs sometimes contain useful
examples. But I was hoping that there were detailed syntax docs
covering all possible properties which can be defined in UiBinder.

For example to declare a ListBox's multipleSelect property as false, I
looked up the JavaDoc then started guessing on the probable UiBinder
syntax. This is how I find most of the UiBinder syntax, but often
there aren't enough clues.  Thus my most sincere hope that there are
explicit lists of syntax tucked away somewhere :)

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



Passing parameter via POST

2010-03-24 Thread Vincent
Hi:

I am new to GWT so please excuse this stupid question.

I have a GWT app that I can jump from page to page.  On one page, I
want to jump to another page with a set of parameters but I do not
want to pass them via GET.  I like to use POST.  Is there a way to
redirect a page in GWT with a set of parameters?

Thanks

--V

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



best way to carry variables/parameters between GWT pages

2010-03-24 Thread VY
Hi:

I am new to GWT, and trying to find out a good way to carry
variables/parameters (HTML hidden variables)
from one GWT page to another.  What is the best way?

Thanks

--vincent

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



help integrating GWT project to an existing Web Project (on Tomcat) within Eclipse

2010-03-24 Thread aish sundar
I am a newbie to GWT and have some integrating a GWT project to an
existing web project running on Tomcat within Eclipse. It will be
great if any one of you can help out. Heres the scenario.

1) I have a separate GWT project I created using GWT plugin for
Eclipse. Lets call it TestUI
2) I already have an existing web project within eclipse, called
TestWeb, which runs on Tomcat6.0
3) Now I am somehow looking to integrate TestUI (in form of a war file
or something) into TestWeb, so that I can get to the GWT UI pages
through the tomcat server.

Is this even feasible? Could you elaborate steps required to achieve
#3 above?

Thanks,
aish

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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-GAE integration

2010-03-24 Thread laurent
I'm trying to use GWT 2.0.3 together with GAE (using the Eclipse
plugin).

I have got the following exception on the server whenever I want to
make a RPC call:

Caused by: java.lang.RuntimeException: Unable to get Unsafe instance
at
com.google.gwt.rpc.server.CommandSerializationUtil.clinit(CommandSerializationUtil.java:
443)
... 47 more

I have found a couple of posts related to this problem:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4af798cf1fc70ab9/fbf404e58ad9e86f?lnk=gstq=Unable+to+get+Unsafe+instance#fbf404e58ad9e86f

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

They seem to indicate that GWT 2.0 does not work with the current
version of GAE (1.3.1). That's surprised me a little bit ...

So Objectify is not working with GWT 2.0 using the normal RPC
workflow ?

Locally on dev mode, I have the following error:
'java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted
class.

Does some of you manage a correct setting with GWT 2, Objectify 2 and
GAE 1.3 ? Am I missing something ?

Thanks so much 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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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.0.3 + Maven2 + Eclipse

2010-03-24 Thread will0
I can confirm the instructions from Keith work. Thanks so much. I must
have spent eight hours trying to figure this out.

Will Temperley

On Mar 23, 3:37 pm, Keith Platfoot kplatf...@google.com wrote:
 Hi Bert,

 I converted the GWT starter app into a Maven project (see attachment), which
 might serve as a good starting point for you.  It uses GWT 2.0.3,
 gwt-maven-plugin 1.2, and Google Plugin for Eclipse 1.3.1.  I've also
 included an Eclipse project and launch configuration.  To import the
 project:

    - Ensure you have Eclipse for Java EE installed
    - Create a server adapter for the project (right-click in Servers via and
    select New).  I used Tomcat, which runs on port 8080 (this needs to be
    reflected in the Web Application launch configuration)
    - Create an M2_REPO classpath variable pointing to your Maven repository
    (Preferences  Java  Build Path).
    - Because the project references the GWT jars from the Maven repo instead
    of a standard GWT SDK installation, you'll probably get a spurious error on
    the project which you can suppress via Preferences  Google 
    Errors/Warnings  Project structure and SDKs  Missing SDK.

 Keith

 On Wed, Mar 17, 2010 at 11:06 AM, Bert roexb...@gmail.com wrote:
  I'm also very interested in setting up a Project like this.
  Any sample code from anyone?

  On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote:
   I think the latest gwt-maven-plugin is gwt 1.6.4.  Not 2.0.3

   On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote:

Hello everybody, I'm beginning with GWT development and I have a
problem.

 I've already configured Eclipse 3.5 with gwt plugin and m2eclipse
plugin. I create a new maven project with gwt-maven-plugin archetype,
but I'm not able to communicate client side with server side. I've
read the same problem is happened other people but no solution.

I'm trying to debug the sample application with gwt:debug goal and
then Run remote java application in Debug configuration. I don't
know if I am doing anything wrong. Any idea?

Thank you and sorry for my English.

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



  MavenAppRpc.zip
 21KViewDownload

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



Problems with AuthSub implementation on GWT + GAE app to access Google Spreadsheets.

2010-03-24 Thread tyler.nc
Hi All,

Firstly, I would like to thank anyone taking the time to read this!
I am writing a web application that will use GWT to design the GUI and
GAE as the development stack. The app needs to access each users
Google Spreadsheets account while preserving user anonymity. To do
this I have chosen to use AuthSub. So the problem begins...

I need to be able to retrieve an AuthSub session token that will be
passed around the app using URL parameters. In the future I am going
to implement an account system where the session token will persist as
long as the user has an account. I am just trying to get AuthSub to
work right now. I have tried the implementation described in the book
Google Web Toolkit Applications but it seemed to be using old
techniques...the book was written in 2008. I'm assuming there has to
be a better way to do it than is described in the book.

So far, all of my AuthSub attempts have resulted in failure. I had
AuthSub somewhat working with just a bunch of servlets (no GWT) but I
really need a fully dynamic application. The documentation that I have
looked at hasn't really helped me much. If anybody has any
documentation that would help me out, or source code examples, please
post them! I greatly appreciate the help.

Regards

Tyler C

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



JPA and GWT 2.0

2010-03-24 Thread giaros
Hello I cannot figure out how to integrate JPA with GWT.
I'm using eclipse Galileo with GWT2.0 plug-in and it seems that my
problem is with datanucleus.

Instead of using eclipselink library my project try always to use
datanucleus

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Possible to set style for ScrollPanel?

2010-03-24 Thread Sekhar
Thanks, this must be the first time I'm seeing something work only in
IE. :)

On Mar 24, 3:14 am, RPB robbol...@gmail.com wrote:
 Have a look at this 
 thread:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

 The scrollbar CSS will only work in Internet Explorer. There is no
 support for the other browsers.

 -Rob

 On Mar 24, 5:46 am, jayalakshmi jahagirdar



 jayalakshmi.jahagir...@gmail.com wrote:
  Hi,U can use the below css.

  body {

          SCROLLBAR-FACE-COLOR: #abc;;
          SCROLLBAR-HIGHLIGHT-COLOR: abc;
          SCROLLBAR-SHADOW-COLOR: #abc;
          SCROLLBAR-ARROW-COLOR: abc;
          SCROLLBAR-TRACK-COLOR: #abc;
          SCROLLBAR-DARKSHADOW-COLOR: #abc;}

  regards
  Jayalakshmi

  On Wed, Mar 24, 2010 at 11:08 AM, Sekhar sek...@allurefx.com wrote:
   Is there a way (ideally with CSS) to customize the scrollbar for
   ScrollPanel?

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

  - Show quoted text -

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



Re: Problem with the datebox : handling to value change events when setting a format

2010-03-24 Thread Youen Chene
Hi,

Still have the same problem and duplicated code.

Following the bug.

Regards,

On Wed, Mar 24, 2010 at 5:07 PM, Diego Alvarez Araujo Correia 
dal...@gmail.com wrote:

 I'm facing the same problem and have opened a bug for it:


 http://code.google.com/p/google-web-toolkit/issues/detail?id=4785q=ValueChangeEvent

 Thanks Youen


 On Dec 30 2009, 2:50 pm, Youen youen.ch...@gmail.com wrote:
  Hi,
 
  I've just detecting aproblemwith thedateboxwidget with GWT 2.0,
  the widget works well but when I set aformatto
 thedateboxtwovaluechangeeventsare handled by thedatebox.
 
  Does anyone 's got a solution or know that is a bug already known by
  the GWT team ?
 
  (Except the solution that need to write more code in using
  db.getDatePicker().addValueChangeHandler +  db.getTextBox
  ().addValueChangeHandler)
 
  Regards,
 
  A small piece of code to see the behaviour :
 
  public static
 finalFormatdateboxFormat=newDateBox.DefaultFormat
  (DateTimeFormat.getFormat(dd/MM/));
 
  [...]
 
 DateBoxdb=newDateBox();
  db.setFormat(dateboxFormat);
  fp.add(db);
 
  // After selecting a date on the datepicker popup
  db.getDatePicker().addValueChangeHandler(new
  ValueChangeHandlerDate() {
 
  @Override
  public void
 onValueChange(ValueChangeEventDate event) {
  Window.alert(datepicker);
 
  }
  });
  // After editing manually the date in the textbox
  db.getTextBox().addValueChangeHandler(new
 ValueChangeHandlerString
  () {
 
  @Override
  public void
 onValueChange(ValueChangeEventString event) {
  Window.alert(text);
 
  }
  });
  // After selecting a date on the datepicker popup
 OR editing
  manually the date in the textbox
  // Twoeventsare triggered for one datechangewhen
 a setFormat
  (...) is set to adatebox.
  db.addValueChangeHandler(new
 ValueChangeHandlerDate() {
 
  @Override
  public void
 onValueChange(ValueChangeEventDate event) {
  Window.alert(datebox); //Got it
 twice for one date editing
 
  }
  });


-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: onSubmitComplete is not fired when response.setContentType(application/x-download)

2010-03-24 Thread Thomas Broyer


On Mar 23, 6:11 pm, Kewei keweish...@gmail.com wrote:
 I found that the onSubmitComplete will not be fired when in the
 servlet, the response's content type is set to application/x-
 download.

Yes, as said in the javadoc:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/FormPanel.html#FormPanel()

 I am using GWT and FormPanel, I just wanted to download a
 file generated form servlet and get a callback when the downloading
 finished, how could I do that?

As far as I can tell, you just can't.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 Docs

2010-03-24 Thread Thomas Broyer


On Mar 24, 2:57 pm, perlmonkey2 kalebmur...@gmail.com wrote:
 I'm looking for detailed documentation for UiBinder.

 http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html
 contains some clues and the JavaDocs sometimes contain useful
 examples. But I was hoping that there were detailed syntax docs
 covering all possible properties which can be defined in UiBinder.

 For example to declare a ListBox's multipleSelect property as false, I
 looked up the JavaDoc then started guessing on the probable UiBinder
 syntax. This is how I find most of the UiBinder syntax, but often
 there aren't enough clues.  Thus my most sincere hope that there are
 explicit lists of syntax tucked away somewhere :)

Every setXxx(T arg) method can be called by setting an attribute
named xxx on the element. The attribute's value will be parsed
according to the type of the method's argument.
If a widget implements HasText, you can put plain text inside the
element's content (between the open and close tags). If a widget
implements HasHTML, you can then put HTML.

This is the general rule, in the absence of an @UiConstructor (some
attributes will be mapped to constructor arguments) or a specific
parser, in which case the JavaDoc tells you how it works (HTMLPanel
allows nested widgets, CellPanel allows g:cell children, etc.

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

2010-03-24 Thread Keith Platfoot
That's great Will, glad you found my instructions useful!  Configuring Maven
+ GWT + Eclipse did take a little while to figure out, but the good news is
it's now *much* easier to use such a configuration with the Google Plugin
for Eclipse, as of version 1.3.

Keith

On Wed, Mar 24, 2010 at 11:25 AM, will0 willtemper...@gmail.com wrote:

 I can confirm the instructions from Keith work. Thanks so much. I must
 have spent eight hours trying to figure this out.

 Will Temperley

 On Mar 23, 3:37 pm, Keith Platfoot kplatf...@google.com wrote:
  Hi Bert,
 
  I converted the GWT starter app into a Maven project (see attachment),
 which
  might serve as a good starting point for you.  It uses GWT 2.0.3,
  gwt-maven-plugin 1.2, and Google Plugin for Eclipse 1.3.1.  I've also
  included an Eclipse project and launch configuration.  To import the
  project:
 
 - Ensure you have Eclipse for Java EE installed
 - Create a server adapter for the project (right-click in Servers via
 and
 select New).  I used Tomcat, which runs on port 8080 (this needs to be
 reflected in the Web Application launch configuration)
 - Create an M2_REPO classpath variable pointing to your Maven
 repository
 (Preferences  Java  Build Path).
 - Because the project references the GWT jars from the Maven repo
 instead
 of a standard GWT SDK installation, you'll probably get a spurious
 error on
 the project which you can suppress via Preferences  Google 
 Errors/Warnings  Project structure and SDKs  Missing SDK.
 
  Keith
 
  On Wed, Mar 17, 2010 at 11:06 AM, Bert roexb...@gmail.com wrote:
   I'm also very interested in setting up a Project like this.
   Any sample code from anyone?
 
   On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote:
I think the latest gwt-maven-plugin is gwt 1.6.4.  Not 2.0.3
 
On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote:
 
 Hello everybody, I'm beginning with GWT development and I have a
 problem.
 
  I've already configured Eclipse 3.5 with gwt plugin and m2eclipse
 plugin. I create a new maven project with gwt-maven-plugin
 archetype,
 but I'm not able to communicate client side with server side. I've
 read the same problem is happened other people but no solution.
 
 I'm trying to debug the sample application with gwt:debug goal and
 then Run remote java application in Debug configuration. I
 don't
 know if I am doing anything wrong. Any idea?
 
 Thank you and sorry for my English.
 
   --
   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
 
   MavenAppRpc.zip
  21KViewDownload

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Determining Permutation on Server

2010-03-24 Thread Thomas Broyer


On Mar 24, 5:09 pm, Nathan Wells nwwe...@gmail.com wrote:
 You're correct, in more complex environments where a more robust
 property provider is necessary, my approach wouldn't do much good. But
 then, I'm not talking about handling those use cases. The goal is to
 not make an unnecessary request, and if I have the user agent in the
 server on the initial request, I know everything that the vanilla
 property-provider uses, unless I'm mistaken.

 Also, when I was referring to generating the code I was talking about
 at GWT compile time.

AFAICT, that's why Wave does. If I were to do it (and I guess that's
how they did it), I'd use a @LinkOrder(Order.PRIMARY) linker to
generate a JSP page instead of the *.nocache.js selection script.
Such a linker couldn't be generalized though, it'd have to be specific
to each project: different JSP template (could be worked around
though), different deferred binding properties, etc. though in the
simplest case (you don't introduce any new deferred binding property)
it would just work!
...with the added benefit that you can do conneg on the lang at the
same time, as you have the Accept-Language request header!

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



UI Binder and MVP

2010-03-24 Thread skippy
I am using the UI Binder to build a site.
I like the MVP design pattern shown in the contacts example.

However, when I try to put the ui binder in a view and have the
appControler construct the presenter I get a blank page when ask for
asWidget.

I think this is because both the MCP entry point and the UI Binder
creates a RootPanel.

An thoughts on this topic?

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



OOPHM memory leak?

2010-03-24 Thread Dominik Steiner
Hi there,

I'm using eclipse 3.5 on Mac OSX with the google eclipse plugin and
GWT 2.0.

What I see is that every time I reload my gwt app that I'm debugging
using the Web Application launch configuration from the plugin and
OOPHM in Firefox 3.5, the memory usage of the java process that is
being started when i start the Web Application via OOPHM is constantly
rising until reaching 400 MB where i get an OutOfMemory exception.
Basically I can thus only 4 or 5 times reload the web page until
having to close the Web Application from within eclipse and start a
new one. Besides that I'm seeing that everytime I launch a new Web
Application (having terminated the prior one) the threads in my
eclipse process is steadily rising too, so that after a while i get
like  150 threads which is bring down my eclipse performance.

I really like the way OOPHM works, but did someone else experiment the
same performance/memory problems while using it?

Thanks for any hints you can give me

Dominik

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: working with a freelancer designer on a gwt project

2010-03-24 Thread jocke eriksson
Well we let the designer team do the design in photoshop then we implement
it. Because a designer should not have to learn all does tools.

2010/3/24 dk dkberk...@gmail.com

 Hello everyone,

 I have been developing a gwt+grails application but I am not happy
 with the default widget styles and the overall site design. I want to
 hire a designer but he doesn't have a clue about java+eclipse+gwt
 +grails view

 are there anyone experienced with a similar situation? Any comment and
 suggestion would be appreciated.

 thank you
 dogan

 ps. Unfortunately, I currently work with GWT 1.7 and Grails 1.1 so GWT
 2.0 features can not help me.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: UI Binder and MVP

2010-03-24 Thread jocke eriksson
RootPanel is a singleton so that should not be the case. Could you share
some code thats shows how the view is created and attached to the RootPanel.

2010/3/24 skippy a...@2lehmans.com

 I am using the UI Binder to build a site.
 I like the MVP design pattern shown in the contacts example.

 However, when I try to put the ui binder in a view and have the
 appControler construct the presenter I get a blank page when ask for
 asWidget.

 I think this is because both the MCP entry point and the UI Binder
 creates a RootPanel.

 An thoughts on this topic?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: help integrating GWT project to an existing Web Project (on Tomcat) within Eclipse

2010-03-24 Thread aish sundar
Thats sounds gr8!! Thanks a lot. will look out for the reply

On Mar 24, 1:51 pm, Keith Platfoot kplatf...@google.com wrote:
 Hi aish,

 Yes, this type of configuration is definitely possible.  However, as of
 right now, using it with the current version of the Google Plugin for
 Eclipse requires a few hacky workarounds.  The good news is that we're
 releasing an update today or tomorrow (1.3.2) with a few surgical fixes that
 will make the process more seamless.  After we release the new version, I'll
 post back to this thread with instructions for setting up a multiple project
 configuration (projects for client code, server code, and optionally shared
 code).

 Keith

 On Tue, Mar 23, 2010 at 12:50 PM, aish sundar sunda...@gmail.com wrote:
  I am a newbie to GWT and have some integrating a GWT project to an
  existing web project running on Tomcat within Eclipse. It will be
  great if any one of you can help out. Heres the scenario.

  1) I have a separate GWT project I created using GWT plugin for
  Eclipse. Lets call it TestUI
  2) I already have an existing web project within eclipse, called
  TestWeb, which runs on Tomcat6.0
  3) Now I am somehow looking to integrate TestUI (in form of a war file
  or something) into TestWeb, so that I can get to the GWT UI pages
  through the tomcat server.

  Is this even feasible? Could you elaborate steps required to achieve
  #3 above?

  Thanks,
  aish

  --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: UI Binder and MVP

2010-03-24 Thread davidroe
the examples of the mvp4g project seem to mix MVP and UiBinder well.

http://code.google.com/p/mvp4g/

On Mar 24, 10:57 am, skippy a...@2lehmans.com wrote:
 I am using the UI Binder to build a site.
 I like the MVP design pattern shown in the contacts example.

 However, when I try to put the ui binder in a view and have the
 appControler construct the presenter I get a blank page when ask for
 asWidget.

 I think this is because both the MCP entry point and the UI Binder
 creates a RootPanel.

 An thoughts on this topic?

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

2010-03-24 Thread Sudeep S
HI Vincent,

I had a similar requirement, i've used a intermediate servlet to which the
data was posted ...the parameters were picked and stored in session and
later retrieved from gwt servlet.

had to follow this approach because gwt servlet doesnt take POST method.

Thanks
Sudeep

On Wed, Mar 24, 2010 at 2:22 AM, Vincent vyau5...@gmail.com wrote:

 Hi:

 I am new to GWT so please excuse this stupid question.

 I have a GWT app that I can jump from page to page.  On one page, I
 want to jump to another page with a set of parameters but I do not
 want to pass them via GET.  I like to use POST.  Is there a way to
 redirect a page in GWT with a set of parameters?

 Thanks

 --V

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 can I change the body's background without using external style sheets?

2010-03-24 Thread Shedokan
How can I do in GWT this:
document.body.style.background = red;

I'm trying to change the background color of the body element without
adding a special class to the body or any of that external css.

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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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.0 jars that should be part of a Web apps' class path during installation

2010-03-24 Thread jayanth
I have a question concerning GWT 2.0 jars that should be part of a web
applications' class path (WEB-INF/lib) during installation. The
application server I am targeting is WAS 6.1.

Is my understanding correct that the following jars need to be
installed and that the rest of the jars are for development alone?

===INSTALL===
gwt-servlet.jar



==DO NOT INSTALL (Development mode only) ===
gwt-dev.jar
gwt-user.jar
gwt-soyc-vis.jar
gwt-api-checker.jar

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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 can I change the body's background without using external style sheets?

2010-03-24 Thread dolcra...@gmail.com
Document.getBody().getStyle().setBackgroundColor(red);

On Mar 24, 3:48 pm, Shedokan shedok...@gmail.com wrote:
 How can I do in GWT this:
 document.body.style.background = red;

 I'm trying to change the background color of the body element without
 adding a special class to the body or any of that external css.

 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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 can I change the body's background without using external style sheets?

2010-03-24 Thread Olivier Monaco
Hi,

Did you try something like:

Document.get().getBody().getStyle().setBackgroundColor(...);

Where Document is com.google.gwt.dom.client.Document.

Olivier

On 24 mar, 20:48, Shedokan shedok...@gmail.com wrote:
 How can I do in GWT this:
 document.body.style.background = red;

 I'm trying to change the background color of the body element without
 adding a special class to the body or any of that external css.

 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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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 override Safari's default behavior when the TAB key is pressed

2010-03-24 Thread Rob Tanner
I am writing a password change/reset application.  When the user knows
his/her current password, they simply enter their uid and password and
I have a Blur handler in place that validates them as soon as the
password field looses focus.  Below that are two password entry fields
(a type your new password once and retype it kind of thing).  The two
fields are disabled until the user is validated.  Once they are
validated (a matter of milliseconds), the two fields are enabled and I
set focus to true on the first of the two fields.

On Firefox and even IE, whether they click on the mouse when they've
entered their current password or hit the TAB key, it works as
intended.  But on Safari, if the user hits the TAB key, the focus
moves immediately to the location bar.  I'm presuming that it's
because at the time the user hits the TAB, there is no other enabled
field available to focus.  But once they've validated themselves, I
enable the two other fields and set focus to true for the upper of the
two.  On the screen the two fields are clearly enabled (I can click
into them just fine), but focus remains with the location bar.   How
do I get around this apparently Safari only issue?  Any ideas?

Thanks,
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Grid uibinder

2010-03-24 Thread Tristan Slominski
Same as other widgets.

@UiField
Grid myGrid;

or

@UiField(provided = true)
Grid myGrid = new Grid(1,1);

Depending on what you're doing.

On Mar 22, 2010 9:50 AM, gadaleta.marco gadaleta.ma...@gmail.com wrote:

but if i want to use grid inside code, how can bind it with uibinder
method?

On 20 Mar, 18:33, Tristan tristan.slomin...@gmail.com wrote:
 someone said this here before, but it might be easier to use

 g:HTMLPanel
   table
tr
 
 etc...
 /g:HTMLPanel

 On Mar 20, 11:45 am, gadaleta.marco gadaleta.ma...@gmail.com
 wrote:



  Can anyone help me to usegridwidget insideuibinder?

  Thx
  Marco

--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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.0 jars that should be part of a Web apps' class path during installation

2010-03-24 Thread Sripathi Krishnan
Yes, your understanding is correct.
If you are not using RPC, you can even eliminate gwt-servlet.jar.

--Sri

On 25 March 2010 01:35, jayanth jay.sesha...@gmail.com wrote:

 I have a question concerning GWT 2.0 jars that should be part of a web
 applications' class path (WEB-INF/lib) during installation. The
 application server I am targeting is WAS 6.1.

 Is my understanding correct that the following jars need to be
 installed and that the rest of the jars are for development alone?

 ===INSTALL===
 gwt-servlet.jar



 ==DO NOT INSTALL (Development mode only) ===
 gwt-dev.jar
 gwt-user.jar
 gwt-soyc-vis.jar
 gwt-api-checker.jar

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Making valid and accessible web pages with GWT

2010-03-24 Thread kozura
I suppose it depends on your priority.  What is your purpose in GWT
generated code passing this particular html validation?  Is the
resulting application actually going to be more accessible if these
were fixed, or is it just because somewhere says its good practice?
Keep in mind the problem GWT is trying to solve, making highly
efficient js code that works the same on all browsers, which means it
uses whatever elements work best.  While it sounds good to be valid
and standard, I don't think anything listed above really matters for
an AJAX app.  That said, if there's something that needlessly violates
standards, then sure it should be fixed, but not at a high priority.

And if you don't like GWT using tables to lay things out, look at the
new LayoutPanels, which if used as shown in the documentation mostly
gets rid of tables as layout elements.

jk

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



Re: best way to carry variables/parameters between GWT pages

2010-03-24 Thread kozura
Hi Vincent,
Depends on how you define a GWT page.  If each page is a separate
GWT module with its own entry point, you could use standard URL
parameters to pass information to each new page.  However this is not
an optimal way to use GWT, which is really much better at making
single unified dynamic applications.  In such an application, a page
is just a different part of the application, in which case variables/
parameters can be passed or maintained as in any single Java
application - as method parameters, objects, whatever.  Without more
details I can't give you much more advice, but to best use GWT you
want to get out of the many separate html pages mindset.

jk

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: OOPHM memory leak?

2010-03-24 Thread kozura
Same setup, I do see a slow increase of about 10-20MB per page upload
in the Developer application.  Eventually this might lead to out of
memory exception; you could always increase the heap size for now to
avoid that for awhile longer, -Xmx512 or whatever.  I see nothing
maintained in the app that should be causing extra memory to be take
for each reload, so seems there may be a legitimate memory leak here.

I don't see the consistent thread increase, although it does seem to
go up by one occasionally on restart.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: TextBox.setFocus(true) does not work in any browser

2010-03-24 Thread kozura
The TextBox has to be loaded and visible on the page before setFocus
works.  You might use onLoad, or I just use a generic DeferredCommand
method to set focus as part of a widget's constructor:

public static void setFocus(final FocusWidget wid)
{
DeferredCommand.addCommand(new Command()
{
public void execute()
{
wid.setFocus(true);
}
});
}

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: OOPHM memory leak?

2010-03-24 Thread Dominik Steiner

Thanks kozura for your reply,

here with me I see an increase of around 40 MB on each reload, and my  
app already starts with java allocating 200 MB on the first load.


Not sure if the project size correlates with the amount of memory that  
leaks, here with me I have around 700 classes on my project?


Also not sure what eclipse is doing in the background and perhaps is  
holding the threads until garbage collecting them, but I see 3 new  
threads added each time when i relaunch the application.


Thanks again for your information

Dominik

Same setup, I do see a slow increase of about 10-20MB per page upload
in the Developer application.  Eventually this might lead to out of
memory exception; you could always increase the heap size for now to
avoid that for awhile longer, -Xmx512 or whatever.  I see nothing
maintained in the app that should be causing extra memory to be take
for each reload, so seems there may be a legitimate memory leak here.

I don't see the consistent thread increase, although it does seem to
go up by one occasionally on restart.

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



Re: Unable to Use GWT Developer Plugin with Firefox 3.6

2010-03-24 Thread J Robert Ray
The binary component of the extension (libgwt_dev_ff36.so) comes built
with a runtime dependency on libnspr4.so.0d.

On my linux system, I do not have this '0d' version, just /lib/libnspr4.so.

I was able to get the plugin to load by creating a symlink
libnspr4.so.0d - libnspr4.so in /lib.

On Mon, Mar 15, 2010 at 11:17 AM, bkbonner brian.bon...@paraware.com wrote:
 I had a problem with this with Windows XP, but I uninstalled the old
 GWT Firefox Plugin (from Tools - Addons) and reinstalled it and it
 seems to work fine -- I'm running the GWT Firefox Plugin version
 1.0.7511 without any issues on Windows XP.

 On Mar 15, 4:23 am, NUll hojen...@gmail.com wrote:
 Well, i think that they already told you the solution, I compiled to
 my plug in, in case of you don't know hoe to do it, check out my blog,
 there I wrote the steps for compiling the xpi file. Good luck
 Blog:http://devshell.blogspot.com/

 Translation:http://translate.google.com.mx/translate?u=http%3A%2F%2Fdevshell.blog...

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email 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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Making valid and accessible web pages with GWT

2010-03-24 Thread enTropy Fragment
Thanks for asking.
Didn't know about the new layouts, I'll take them a good look. I need the
web to be accessible since their target users will be people with diffrent
kinds of disabilities. I also like to work with standards. I understand
though that some errors are irrelevant.

What I really must do is avoid layout-generating tables and find a way to
associate the attribute TAG to an Image widget.

2010/3/24 kozura koz...@gmail.com

 I suppose it depends on your priority.  What is your purpose in GWT
 generated code passing this particular html validation?  Is the
 resulting application actually going to be more accessible if these
 were fixed, or is it just because somewhere says its good practice?
 Keep in mind the problem GWT is trying to solve, making highly
 efficient js code that works the same on all browsers, which means it
 uses whatever elements work best.  While it sounds good to be valid
 and standard, I don't think anything listed above really matters for
 an AJAX app.  That said, if there's something that needlessly violates
 standards, then sure it should be fixed, but not at a high priority.

 And if you don't like GWT using tables to lay things out, look at the
 new LayoutPanels, which if used as shown in the documentation mostly
 gets rid of tables as layout elements.

 jk

 --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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-GAE integration

2010-03-24 Thread Jamie Gennis
I also ran into this recently.  My understanding is that the new RPC
mechanism in GWT 2 (called deRPC or direct-eval RPC) is currently not
compatible with GAE for a couple reasons (I worked around one, but stopped
when I immediately ran into another).  However, GWT 2 still supports the
old-style RPC mechanism, and I was able to get GWT 2 and GAE to play nice
together by going back to using that.  This means using RemoteService and
RemoteServlet (old-style) rather than RpcService and RpcServlet (new-style /
deRPC).

Objectify is server-side only and should have nothing to do with RPC other
than the fact that it doesn't get in the way of sending entity objects over
GWT's RPC  transports.  It should work just fine once you the GWT deRPC /
GAE conflict.

Jamie

On Wed, Mar 24, 2010 at 7:01 AM, laurent bagno_laur...@hotmail.com wrote:

 I'm trying to use GWT 2.0.3 together with GAE (using the Eclipse
 plugin).

 I have got the following exception on the server whenever I want to
 make a RPC call:

 Caused by: java.lang.RuntimeException: Unable to get Unsafe instance
at

 com.google.gwt.rpc.server.CommandSerializationUtil.clinit(CommandSerializationUtil.java:
 443)
... 47 more

 I have found a couple of posts related to this problem:


 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4af798cf1fc70ab9/fbf404e58ad9e86f?lnk=gstq=Unable+to+get+Unsafe+instance#fbf404e58ad9e86f

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

 They seem to indicate that GWT 2.0 does not work with the current
 version of GAE (1.3.1). That's surprised me a little bit ...

 So Objectify is not working with GWT 2.0 using the normal RPC
 workflow ?

 Locally on dev mode, I have the following error:
 'java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted
 class.

 Does some of you manage a correct setting with GWT 2, Objectify 2 and
 GAE 1.3 ? Am I missing something ?

 Thanks so much 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Making valid and accessible web pages with GWT

2010-03-24 Thread kozura
I've found the new LayoutPanel stuff to be much better for making
predictable layout in any case, and, with the exception of Tree and
decoratorpanels you can do everything without tables.  You have to
switch to standards mode, so it requires switching everything at once
in a preexisting app.  
http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#LayoutPanels
talks all about it.

As for image tag attributes, you can always do something like
image.getElement().setAttribute(tag, whatever).

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: OOPHM memory leak?

2010-03-24 Thread kozura
I'm sure the project size probably does affect the amount, these are
fairly significant chunks of memory to be adding for every reload.
I've not done java leak debugging with its gc, and am not familiar
with OOPHM details enough to know what to look for, so might be a good
idea to post an issue on the memory leak.  At least bumping heap size
to 1G or somesuch should reduce the frequency you have to restart.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Exception: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser.

2010-03-24 Thread kozura
Sounds like you might still have the client app cached on your
browser, which might happen if your server isn't handling caching
correctly.  Check out the bottom of
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html.

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

2010-03-24 Thread kozura
There's no replies because there's no real answer, it depends on your
application and how much existing code you have.  If you have lots of
existing code, it may not be worth it to switch.  If your app doesn't
have a lot of static components, it may not be worth using UIBinder to
build them.  So maybe you can try using it for some small piece of
your app and decide for yourself whether it is worth using...

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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: Need robust file uploading example with GWT 1.6.4

2010-03-24 Thread kozura
I'd highly recommend using GWT the upload library, at
http://code.google.com/p/gwtupload/.  It allows users to download
multiple files, gives a nice progress bar, and there's fairly decent
documentation and examples for how to write the code.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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-GAE integration

2010-03-24 Thread Sekhar
I'm using GWT 2.0.3 with GAE 1.3.1, and RPC is working fine for me (I
didn't change anything to make it work). What problem did you have?

On Mar 24, 7:11 pm, Jamie Gennis jgen...@gmail.com wrote:
 I also ran into this recently.  My understanding is that the new RPC
 mechanism in GWT 2 (called deRPC or direct-eval RPC) is currently not
 compatible with GAE for a couple reasons (I worked around one, but stopped
 when I immediately ran into another).  However, GWT 2 still supports the
 old-style RPC mechanism, and I was able to get GWT 2 and GAE to play nice
 together by going back to using that.  This means using RemoteService and
 RemoteServlet (old-style) rather than RpcService and RpcServlet (new-style /
 deRPC).

 Objectify is server-side only and should have nothing to do with RPC other
 than the fact that it doesn't get in the way of sending entity objects over
 GWT's RPC  transports.  It should work just fine once you the GWT deRPC /
 GAE conflict.

 Jamie



 On Wed, Mar 24, 2010 at 7:01 AM, laurent bagno_laur...@hotmail.com wrote:
  I'm trying to use GWT 2.0.3 together with GAE (using the Eclipse
  plugin).

  I have got the following exception on the server whenever I want to
  make a RPC call:

  Caused by: java.lang.RuntimeException: Unable to get Unsafe instance
         at

  com.google.gwt.rpc.server.CommandSerializationUtil.clinit(CommandSerializ 
  ationUtil.java:
  443)
         ... 47 more

  I have found a couple of posts related to this problem:

 http://groups.google.com/group/google-web-toolkit/browse_thread/threa...

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

  They seem to indicate that GWT 2.0 does not work with the current
  version of GAE (1.3.1). That's surprised me a little bit ...

  So Objectify is not working with GWT 2.0 using the normal RPC
  workflow ?

  Locally on dev mode, I have the following error:
  'java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted
  class.

  Does some of you manage a correct setting with GWT 2, Objectify 2 and
  GAE 1.3 ? Am I missing something ?

  Thanks so much 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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@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-tool...@googlegroups.com.
To unsubscribe from this group, send email 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-contrib] Adds detail places to the scaffolding app (issue251801)

2010-03-24 Thread rjrjr

Reviewers: Ray Ryan, amitmanjhi,

Description:
Adds detail places to the scaffolding app


Please review this at http://gwt-code-reviews.appspot.com/251801/show

Affected files:
  A bikeshed/src/com/google/gwt/app/place/GoToPlace.java
  M bikeshed/src/com/google/gwt/app/place/PlacePicker.java
  M  
bikeshed/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java

  A bikeshed/src/com/google/gwt/sample/expenses/client/DetailsRequester.java
  M bikeshed/src/com/google/gwt/sample/expenses/client/EntityList.java
  M bikeshed/src/com/google/gwt/sample/expenses/client/EntityListView.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/EntityNameRenderer.java

  M bikeshed/src/com/google/gwt/sample/expenses/client/ExpensesScaffold.java
  M  
bikeshed/src/com/google/gwt/sample/expenses/client/ExpensesScaffoldShell.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/ListPlaceRenderer.java

  M bikeshed/src/com/google/gwt/sample/expenses/client/ListRequester.java
  M  
bikeshed/src/com/google/gwt/sample/expenses/client/TableEntityListView.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/place/EditEntityPlace.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityDetailsPlace.java
  M  
bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityListPlace.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpenseEntityPlace.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesPlace.java
  D  
bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlace.java
  D  
bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlaceFilter.java
  D  
bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlaceVisitor.java

  M bikeshed/src/com/google/gwt/sample/expenses/client/place/Places.java
  M bikeshed/src/com/google/gwt/sample/expenses/shared/EmployeeKey.java
  A bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntity.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntityFilter.java
  A  
bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntityVisitor.java

  M bikeshed/src/com/google/gwt/sample/expenses/shared/ReportKey.java
  A bikeshed/src/com/google/gwt/user/client/ui/Renderer.java
  M bikeshed/src/com/google/gwt/valuestore/shared/Values.java


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] TabLayoutPanel suggestion: Add tab-position property

2010-03-24 Thread dflorey
Hi,
I just needed a TabLayoutPanel with Tabs on the bottom instead of tabs
on the top. I copied the TabLayoutPanal and changed the orientation.
I'd like to suggest to add this feature as an option in another cstr.
It requires just 3 lines of code ;-)

Daniel

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this 
email with the words REMOVE ME as the subject.


[gwt-contrib] [google-web-toolkit] r7778 committed - Edited wiki page through web user interface.

2010-03-24 Thread codesite-noreply

Revision: 7778
Author: b...@google.com
Date: Wed Mar 24 09:46:37 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=7778

Modified:
 /wiki/CssResource.wiki

===
--- /wiki/CssResource.wiki  Wed Jan  6 07:11:38 2010
+++ /wiki/CssResource.wiki  Wed Mar 24 09:46:37 2010
@@ -606,9 +606,14 @@
 }
 }}}
 {{{
-...@external legacySelectorA, legacySelectorB;
+...@external .legacySelectorA, .legacySelectorB;
 .obfuscated .legacySelectorA {  }
 .obfuscated .legacySelectorB {  }
+
+/* @external also accepts tail-globs */
+...@external .myProject-*;
+.myProject-text {}
+.myProject-foo {}
 }}}

 In the above example, the `.obfuscated` class selector will be obfuscated,  
and the `obfuscated()` method will return the replaced name. Neither of the  
legacy selectors will be obfuscated and the `legacySelectorA()` method will  
return the unobfuscated value.  Furthermore, because the `legacySelectorB`  
is explicitly defined in the `...@external` declaration, the inaccessible  
class name will not trigger an error.


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] ...and: Add setEnabled() to menu items

2010-03-24 Thread dflorey
I've been missing that one as well.
I can provide patches if desired.

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this 
email with the words REMOVE ME as the subject.


[gwt-contrib] Re: Ignore permission denied selenium errors and don't request title after tests stop (issue264801)

2010-03-24 Thread rdayal

I think this still needs some work. I'd suggest that we meet up and
discuss the general threading pattern here; I think there could be a few
pitfalls, so let's discuss the way that we want this class to work, and
then re-work the threading/synchronization around that.


http://gwt-code-reviews.appspot.com/264801/diff/1/2
File user/src/com/google/gwt/junit/RunStyleSelenium.java (right):

http://gwt-code-reviews.appspot.com/264801/diff/1/2#newcode118
user/src/com/google/gwt/junit/RunStyleSelenium.java:118: private final
Object seleniumLock = new Object();
This also controls access to the stopped variable, right? If so,
document it.

http://gwt-code-reviews.appspot.com/264801/diff/1/2#newcode157
user/src/com/google/gwt/junit/RunStyleSelenium.java:157:
Runtime.getRuntime().addShutdownHook(new Thread() {
Ugh, it may just be me, but I'd hate to rely on shutdown hooks here. Can
we just have a cleanup step (maybe part of a shell script that runs on
the machine) that kills outstanding selenium sessions at the end of a
run/before the start of a new run?

http://gwt-code-reviews.appspot.com/264801/diff/1/2#newcode180
user/src/com/google/gwt/junit/RunStyleSelenium.java:180: public
synchronized void launchModule(String moduleName) {
Not sure if it's a good idea to have a synchronized method, and then the
seleniumLock on the inside here.  That could lead to deadlock. Why is
this method synchronized in the first place?

http://gwt-code-reviews.appspot.com/264801/diff/1/2#newcode236
user/src/com/google/gwt/junit/RunStyleSelenium.java:236: private
synchronized boolean doKeepAlives() {
Not sure if it's a good idea to have a synchronized method, and then the
seleniumLock on the inside here. That could lead to deadlock. Why is
this method synchronized in the first place? Are you protecting the
remotes variable? Why not use a separate lock for that?

http://gwt-code-reviews.appspot.com/264801/diff/1/2#newcode257
user/src/com/google/gwt/junit/RunStyleSelenium.java:257: synchronized
(wasInterruptedLock) {
Be careful here - you could run into deadlock - you're holding
seleniumLock, and trying to acquire wasInterruptedLock. Do you really
need to still be holding seleniumLock at this time?

http://gwt-code-reviews.appspot.com/264801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Adds a Precompress linker that can be used to compress public artifacts (issue254801)

2010-03-24 Thread rice

LGTM with nits


http://gwt-code-reviews.appspot.com/254801/diff/10001/11004
File user/src/com/google/gwt/util/regexfilter/RegexFilter.java (right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode31
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:31: * it
indicates that queries matching the regex should be included or excluded
Add '.' at end of sentence

Document policies determined by implementing acceptByDefault and
entriesArePositiveByDefault.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode39
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:39: * If no
pattern matches, then whether the query should be considered as an
Remove 'then'

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode64
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:64:
logger.log(TreeLogger.ERROR, Got empty blacklist entry);
'blacklist' - 'filter'

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode77
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:77:
logger.log(TreeLogger.DEBUG, Got blacklist entry ' + regex + ');
ditto

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode79
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:79:
logger.log(TreeLogger.ERROR, Got malformed blacklist entry ' + regex
ditto

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode92
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:92:
logger.log(TreeLogger.DEBUG, Considering blacklist rule 
ditto

http://gwt-code-reviews.appspot.com/254801/diff/10001/11006
File
user/test/com/google/gwt/precompress/linker/PrecompressLinkerTest.java
(right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11006#newcode256
user/test/com/google/gwt/precompress/linker/PrecompressLinkerTest.java:256:
uncompressible.js is not compressible and should have bene left alone,
been

http://gwt-code-reviews.appspot.com/254801/diff/10001/11008
File
user/test/com/google/gwt/user/rebind/rpc/BlacklistTypeFilterTest.java
(right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11008#newcode82
user/test/com/google/gwt/user/rebind/rpc/BlacklistTypeFilterTest.java:82:
private MockConfigurationProperty propRpcBlacklist = new
MockConfigurationProperty(
line wrap?

http://gwt-code-reviews.appspot.com/254801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] [google-web-toolkit] r7779 committed - Removing several old, stale feature branches that aren't needed anymor...

2010-03-24 Thread codesite-noreply

Revision: 7779
Author: sco...@google.com
Date: Wed Mar 24 13:27:29 2010
Log: Removing several old, stale feature branches that aren't needed  
anymore.



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

Deleted:
 /branches/1_6_clean_events
 /branches/1_6_datepicker
 /branches/1_6_events
 /branches/crawlability
 /branches/farewellSwt
 /branches/gflow
 /branches/htmlunit
 /branches/oophm
 /branches/opt_imgs_and_startup
 /branches/remote-ui-communication

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Adds a Precompress linker that can be used to compress public artifacts (issue254801)

2010-03-24 Thread spoon

Thanks, Dan.  I'll submit it shortly.

http://gwt-code-reviews.appspot.com/254801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Adds a Precompress linker that can be used to compress public artifacts (issue254801)

2010-03-24 Thread spoon


http://gwt-code-reviews.appspot.com/254801/diff/10001/11004
File user/src/com/google/gwt/util/regexfilter/RegexFilter.java (right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode31
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:31: * it
indicates that queries matching the regex should be included or excluded
On 2010/03/24 19:46:23, Dan Rice wrote:

Add '.' at end of sentence



Document policies determined by implementing acceptByDefault and
entriesArePositiveByDefault.


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode39
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:39: * If no
pattern matches, then whether the query should be considered as an
On 2010/03/24 19:46:23, Dan Rice wrote:

Remove 'then'


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode64
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:64:
logger.log(TreeLogger.ERROR, Got empty blacklist entry);
On 2010/03/24 19:46:23, Dan Rice wrote:

'blacklist' - 'filter'


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode77
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:77:
logger.log(TreeLogger.DEBUG, Got blacklist entry ' + regex + ');
On 2010/03/24 19:46:23, Dan Rice wrote:

ditto


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode79
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:79:
logger.log(TreeLogger.ERROR, Got malformed blacklist entry ' + regex
On 2010/03/24 19:46:23, Dan Rice wrote:

ditto


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11004#newcode92
user/src/com/google/gwt/util/regexfilter/RegexFilter.java:92:
logger.log(TreeLogger.DEBUG, Considering blacklist rule 
On 2010/03/24 19:46:23, Dan Rice wrote:

ditto


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11006
File
user/test/com/google/gwt/precompress/linker/PrecompressLinkerTest.java
(right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11006#newcode256
user/test/com/google/gwt/precompress/linker/PrecompressLinkerTest.java:256:
uncompressible.js is not compressible and should have bene left alone,
On 2010/03/24 19:46:23, Dan Rice wrote:

been


Done.

http://gwt-code-reviews.appspot.com/254801/diff/10001/11008
File
user/test/com/google/gwt/user/rebind/rpc/BlacklistTypeFilterTest.java
(right):

http://gwt-code-reviews.appspot.com/254801/diff/10001/11008#newcode82
user/test/com/google/gwt/user/rebind/rpc/BlacklistTypeFilterTest.java:82:
private MockConfigurationProperty propRpcBlacklist = new
MockConfigurationProperty(
Done.

I cannot figure out why Eclipse refuses to wrap it.  I've set it to 80
characters wide.

http://gwt-code-reviews.appspot.com/254801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Proposed Change: Allow mulitple runStyles to execute simultaneously (issue267801)

2010-03-24 Thread jlabanca

Reviewers: jat,

Description:
Currently, JUnitShell only supports running one runStyle (ex. Selenium,
RemoteWeb, HtmlUnit) at a time.  As a result, we need to run the same
tests multiple times in order to use all runStyles.

In our own build system, we use Selenium and RemoteWeb to cover all
browsers, which means that we run all tests twice. Adding HtmlUnit is
going to require a third iteration over all tests. This adds a
significant amount of time to testing.

Fix:
===
This patch updates JUnitShell to support multiple runStyles by
specifying the -runStyle program argument multiple times.

This is a slightly breaking change.  Currently, if you specify multiple
runStyles, the last one will overwrite previous runStyles. I don't think
this will affect very many people.

This patch also updates the build file to take advantage of multiple
runstyles.

Testing:
===
Manually verified that multiple runStyles, in various combinations, work
without problems.

Please review this at http://gwt-code-reviews.appspot.com/267801/show

Affected files:
  user/build.xml
  user/src/com/google/gwt/junit/JUnitShell.java
  user/src/com/google/gwt/junit/RunStyleExternalBrowser.java
  user/src/com/google/gwt/junit/RunStyleHtmlUnit.java
  user/src/com/google/gwt/junit/RunStyleManual.java
  user/src/com/google/gwt/junit/RunStyleRemoteWeb.java
  user/src/com/google/gwt/junit/RunStyleSelenium.java


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith annotation (issue268801)

2010-03-24 Thread amitmanjhi

Reviewers: Ray Ryan, kathrin, Frank,

Description:
Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith
annotation
from many tests. Classified all other failures as either HtmlUnitLayout,
HtmlUnitUnknown, or HtmlUnitBug.


Please review this at http://gwt-code-reviews.appspot.com/268801/show

Affected files:
  M dev/build.xml
  M dev/core/src/com/google/gwt/dev/shell/HostedModePluginObject.java
  M dev/core/src/com/google/gwt/dev/shell/HtmlUnitSessionHandler.java
  M eclipse/dev/.classpath
  M eclipse/user/.classpath
  M user/src/com/google/gwt/junit/JUnitShell.java
  M user/src/com/google/gwt/junit/Platform.java
  M user/src/com/google/gwt/junit/RunStyleHtmlUnit.java
  M user/test/com/google/gwt/core/client/impl/SchedulerImplTest.java
  M user/test/com/google/gwt/core/client/impl/StackTraceCreatorTest.java
  M user/test/com/google/gwt/dom/client/ElementTest.java
  M user/test/com/google/gwt/dom/client/NodeTest.java
  M user/test/com/google/gwt/dom/client/StyleInjectorTest.java
  M  
user/test/com/google/gwt/emultest/java/math/BigDecimalConstructorsTest.java

  M user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
  M user/test/com/google/gwt/http/client/RequestBuilderTest.java
  M user/test/com/google/gwt/jsonp/client/JsonpRequestTest.java
  M user/test/com/google/gwt/junit/client/GWTTestCaseTest.java
  M user/test/com/google/gwt/layout/client/LayoutTest.java
  M user/test/com/google/gwt/regexp/shared/RegExpTest.java
  M user/test/com/google/gwt/resources/client/ImageResourceTest.java
  M user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java
  M user/test/com/google/gwt/user/client/EventTest.java
  M user/test/com/google/gwt/user/client/HistoryDisabledTest.java
  M user/test/com/google/gwt/user/client/WindowTest.java
  M user/test/com/google/gwt/user/client/rpc/UnicodeEscapingTest.java
  M user/test/com/google/gwt/user/client/ui/AnchorTest.java
  M user/test/com/google/gwt/user/client/ui/DOMTest.java
  M user/test/com/google/gwt/user/client/ui/DialogBoxTest.java
  M user/test/com/google/gwt/user/client/ui/DockPanelTest.java
  M user/test/com/google/gwt/user/client/ui/FormPanelTest.java
  M user/test/com/google/gwt/user/client/ui/HTMLPanelTest.java
  M user/test/com/google/gwt/user/client/ui/HistoryTest.java
  M user/test/com/google/gwt/user/client/ui/ImageTest.java
  M user/test/com/google/gwt/user/client/ui/ListBoxTest.java
  M user/test/com/google/gwt/user/client/ui/MenuBarTest.java
  M user/test/com/google/gwt/user/client/ui/PanelTestBase.java
  M user/test/com/google/gwt/user/client/ui/PopupTest.java
  M user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
  M user/test/com/google/gwt/user/client/ui/StackPanelTest.java
  M user/test/com/google/gwt/user/client/ui/TabLayoutPanelTest.java
  M user/test/com/google/gwt/user/client/ui/TreeItemTest.java
  M user/test/com/google/gwt/user/client/ui/TreeTest.java


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: RR : Soft permutations (issue160801)

2010-03-24 Thread bobv

Ready for another round of reviews.

I rebased patch set 6 to r7776.


http://gwt-code-reviews.appspot.com/160801/diff/16001/17002
File dev/core/src/com/google/gwt/core/ext/linker/SoftPermutation.java
(right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17002#newcode25
dev/core/src/com/google/gwt/core/ext/linker/SoftPermutation.java:25:
public abstract class SoftPermutation extends ArtifactSoftPermutation
{
SoftPermutation is no longer a top-level artifact.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17003
File
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java
(right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17003#newcode419
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java:419:
protected abstract String getModuleSuffix(TreeLogger logger,
LinkerContext context)
I'll re-import the formatter settings before submitting the final thing,
but I don't want to hold this up.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17003#newcode445
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java:445:
if (result.getSoftPermutations().length  0) {
All hard permutations now implicitly contain a single soft permutation
with no additional properties that require evaluation.  This removes a
number of special-case if-statements.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17003#newcode454
dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java:454:
softMap));
Done.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17004
File
dev/core/src/com/google/gwt/core/ext/linker/impl/StandardCompilationResult.java
(right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17004#newcode121
dev/core/src/com/google/gwt/core/ext/linker/impl/StandardCompilationResult.java:121:
* This will ignore empty property maps.
It does now.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17009
File dev/core/src/com/google/gwt/dev/Permutation.java (right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17009#newcode115
dev/core/src/com/google/gwt/dev/Permutation.java:115: * together.
Done.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17009#newcode140
dev/core/src/com/google/gwt/dev/Permutation.java:140:
other.rebindAnswers.clear();
It's defensive, per the existing logic.  Moved to a destroy() method.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010
File dev/core/src/com/google/gwt/dev/Precompile.java (right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode302
dev/core/src/com/google/gwt/dev/Precompile.java:302: private static
class CollapsedPermutationKey extends StringKey {
Moved CollapsedPermutationKey to a top-level type called
CollapsedPropertyKey so the logic can be shared between Precompile and
PropertyPermutations.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode339
dev/core/src/com/google/gwt/dev/Precompile.java:339: return
collapsedPropertyMap.isEmpty() ? null
No longer special-cased.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode600
dev/core/src/com/google/gwt/dev/Precompile.java:600: // Construct a key
from the stringified map of live rebind answers.
Created a new RebindAnswersPermutationKey that handles this.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode662
dev/core/src/com/google/gwt/dev/Precompile.java:662: // No collapsed
properties in that permutation
Nothing.  Removed special case.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode686
dev/core/src/com/google/gwt/dev/Precompile.java:686:
mergeInto.putRebindAnswer(com.google.gwt.lang.CollapsedPropertyHolder,
Removed code smell.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode696
dev/core/src/com/google/gwt/dev/Precompile.java:696: }
Renumbering added.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17010#newcode759
dev/core/src/com/google/gwt/dev/Precompile.java:759:
module.getActiveLinkerNames()).size();
Added knowledge of soft-property collapsing to PropertyPermutations that
doesn't require spinning up entire Permutation objects.  Verified that a
distributed build with and without sharded generators produces expected
number of hard/soft permutations.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17011
File dev/core/src/com/google/gwt/dev/cfg/BindingProperty.java (right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17011#newcode271
dev/core/src/com/google/gwt/dev/cfg/BindingProperty.java:271: // Maps a
value to the set that contains that value
Deferring this since it's not critical to the patch.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17011#newcode272
dev/core/src/com/google/gwt/dev/cfg/BindingProperty.java:272:
MapString, SortedSetString map = new LinkedHashMapString,
SortedSetString();
Fixed.

http://gwt-code-reviews.appspot.com/160801/diff/16001/17011#newcode276
dev/core/src/com/google/gwt/dev/cfg/BindingProperty.java:276: // 

[gwt-contrib] Re: Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith annotation (issue268801)

2010-03-24 Thread amitmanjhi

On 2010/03/24 20:48:28, amitmanjhi wrote:

Even though this patch is large, the changes are fairly minor. Almost
all the changes are @DoNotRunWith annotations being deleted from test
methods and test classes.

The changes to src files (in user/src) are minor -- in response to
updates to HtmlUnit. Kathrin, can you take a look at those?




http://gwt-code-reviews.appspot.com/268801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith annotation (issue268801)

2010-03-24 Thread Katharina Probst
 The changes to src files (in user/src) are minor -- in response to
 updates to HtmlUnit. Kathrin, can you take a look at those?



 Sure.



 http://gwt-code-reviews.appspot.com/268801/show


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this 
email with the words REMOVE ME as the subject.


[gwt-contrib] Re: Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith annotation (issue268801)

2010-03-24 Thread amitmanjhi

http://gwt-code-reviews.appspot.com/268801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Adds detail places to the scaffolding app (issue251801)

2010-03-24 Thread rjrjr

Changes committed, except am not yet making missing request from
RequestDetails (faux back end doesn't do it yet), and am keeping the
ListPlaceRenderer.


http://gwt-code-reviews.appspot.com/251801/diff/8001/9011
File
bikeshed/src/com/google/gwt/sample/expenses/client/ListRequester.java
(right):

http://gwt-code-reviews.appspot.com/251801/diff/8001/9011#newcode60
bikeshed/src/com/google/gwt/sample/expenses/client/ListRequester.java:60:
final String name = listNameFilter.render(newPlace);
No, it's needed. PlacePicker doesn't know about entities, it's a
framework class.

http://gwt-code-reviews.appspot.com/251801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] [google-web-toolkit] r7780 committed - Snip bad 1.6 style use of @Override

2010-03-24 Thread codesite-noreply

Revision: 7780
Author: rj...@google.com
Date: Wed Mar 24 12:04:59 2010
Log: Snip bad 1.6 style use of @Override

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

Modified:
  
/trunk/user/test/com/google/gwt/core/ext/linker/impl/SelectionScriptLinkerUnitTest.java


===
---  
/trunk/user/test/com/google/gwt/core/ext/linker/impl/SelectionScriptLinkerUnitTest.java	 
Tue Mar 23 09:32:47 2010
+++  
/trunk/user/test/com/google/gwt/core/ext/linker/impl/SelectionScriptLinkerUnitTest.java	 
Wed Mar 24 12:04:59 2010

@@ -76,37 +76,30 @@
   }

   private static class MockLinkerContext implements LinkerContext {
-@Override
 public SortedSetConfigurationProperty getConfigurationProperties() {
   return new TreeSetConfigurationProperty();
 }

-@Override
 public String getModuleFunctionName() {
   return test;
 }

-@Override
 public long getModuleLastModified() {
   return 0;
 }

-@Override
 public String getModuleName() {
   return test;
 }

-@Override
 public SortedSetSelectionProperty getProperties() {
   return new TreeSetSelectionProperty();
 }

-@Override
 public boolean isOutputCompact() {
   return true;
 }

-@Override
 public String optimizeJavaScript(TreeLogger logger, String jsProgram) {
   return jsProgram;
 }
@@ -115,35 +108,29 @@
   private static class MockPermutationResult implements PermutationResult {
 private ArtifactSet artifacts = new ArtifactSet();

-@Override
 public void addArtifacts(Collection? extends Artifact?  
newArtifacts) {

   artifacts.addAll(newArtifacts);
 }

-@Override
 public ArtifactSet getArtifacts() {
   return artifacts;
 }

-@Override
 public byte[][] getJs() {
   return new byte[][] {
   getBytes(code for fragment 0), getBytes(code for fragment  
1)};

 }

-@Override
 public Permutation getPermutation() {
   return new Permutation(0, new StaticPropertyOracle(
   new BindingProperty[0], new String[0],
   new com.google.gwt.dev.cfg.ConfigurationProperty[0]));
 }

-@Override
 public byte[] getSerializedSymbolMap() {
   return getBytes(symbol map);
 }

-@Override
 public StatementRanges[] getStatementRanges() {
   ArrayListStatementRanges ranges = new ArrayListStatementRanges();
   for (byte[] js : getJs()) {
@@ -160,17 +147,14 @@
   this.length = length;
 }

-@Override
 public int end(int i) {
   return length;
 }

-@Override
 public int numStatements() {
   return 1;
 }

-@Override
 public int start(int i) {
   return 0;
 }

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] [google-web-toolkit] r7781 committed - Adds details place to scaffold app, and deletes unused...

2010-03-24 Thread codesite-noreply

Revision: 7781
Author: rj...@google.com
Date: Wed Mar 24 12:16:12 2010
Log: Adds details place to scaffold app, and deletes unused
EntityPlaceVisitor, EntityPlaceFilter.

Review at http://gwt-code-reviews.appspot.com/251801

Review by: amitman...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=7781

Added:
 /trunk/bikeshed/src/com/google/gwt/app/place/GoToPlaceCommand.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/DetailsRequester.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/EntityListPresenter.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/EntityNameRenderer.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/ListPlaceRenderer.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/AbstractExpensesPlace.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/EditEntityPlace.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityDetailsPlace.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpenseEntityPlace.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntityFilter.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntityKey.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/shared/ExpensesEntityVisitor.java

 /trunk/bikeshed/src/com/google/gwt/user/client/ui/Renderer.java
Deleted:
 /trunk/bikeshed/src/com/google/gwt/sample/expenses/client/EntityList.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlace.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlaceFilter.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/ExpensesScaffoldPlaceVisitor.java

Modified:
 /trunk/bikeshed/src/com/google/gwt/app/place/PlacePicker.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/EntityListView.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/ExpensesScaffold.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/ExpensesScaffoldShell.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/ListRequester.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/TableEntityListView.java
  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityListPlace.java

 /trunk/bikeshed/src/com/google/gwt/sample/expenses/client/place/Places.java
 /trunk/bikeshed/src/com/google/gwt/sample/expenses/shared/EmployeeKey.java
 /trunk/bikeshed/src/com/google/gwt/sample/expenses/shared/ReportKey.java
 /trunk/bikeshed/src/com/google/gwt/valuestore/client/ValuesImpl.java
 /trunk/bikeshed/src/com/google/gwt/valuestore/shared/Values.java

===
--- /dev/null
+++ /trunk/bikeshed/src/com/google/gwt/app/place/GoToPlaceCommand.java	Wed  
Mar 24 12:16:12 2010

@@ -0,0 +1,41 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.app.place;
+
+import com.google.gwt.user.client.Command;
+
+/**
+ * Command to change the app location.
+ *
+ * @param P the type of place managed by the {...@link PlaceController}
+ */
+public class GoToPlaceCommandP extends Place implements Command {
+  private final P place;
+  private final PlaceController? super P placeController;
+
+  /**
+   * @param place
+   * @param placeController
+   */
+  public GoToPlaceCommand(P place, PlaceController? super P  
placeController) {

+this.place = place;
+this.placeController = placeController;
+  }
+
+  public void execute() {
+placeController.goTo(place);
+  }
+}
===
--- /dev/null
+++  
/trunk/bikeshed/src/com/google/gwt/sample/expenses/client/DetailsRequester.java	 
Wed Mar 24 12:16:12 2010

@@ -0,0 +1,109 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package 

[gwt-contrib] Re: RR : Soft permutations (issue160801)

2010-03-24 Thread scottb

LGTM with nits, but Lex should double-check the CompilePerms change.


http://gwt-code-reviews.appspot.com/160801/diff/16001/17015
File dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
(right):

http://gwt-code-reviews.appspot.com/160801/diff/16001/17015#newcode240
dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java:240:
ResolveRebinds.exec(jprogram, permutation);
Actually, it doesn't. :)

http://gwt-code-reviews.appspot.com/160801/diff/70001/71022
File dev/core/src/com/google/gwt/dev/jjs/impl/ResolveRebinds.java
(right):

http://gwt-code-reviews.appspot.com/160801/diff/70001/71022#newcode197
dev/core/src/com/google/gwt/dev/jjs/impl/ResolveRebinds.java:197: for
(int i = 0, j = orderedPropertyOracles.length; i  j; i++) {
Change this to orderedRebindAnswers.length, and you don't need the
property oracles at all.

http://gwt-code-reviews.appspot.com/160801/diff/70001/71022#newcode236
dev/core/src/com/google/gwt/dev/jjs/impl/ResolveRebinds.java:236:
JExpression mosteUsedExpression = null;
moste? :)

http://gwt-code-reviews.appspot.com/160801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Re: Upgraded to a dethreaded HtmlUnit r5607. Removed @DoNotRunWith annotation (issue268801)

2010-03-24 Thread flin

LGTM
On 2010/03/24 21:13:33, amitmanjhi wrote:




http://gwt-code-reviews.appspot.com/268801/show

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.


[gwt-contrib] Ant changes in response to a stable htmlUnit. (issue269801)

2010-03-24 Thread amitmanjhi

Reviewers: jlabanca,

Description:
Ant changes in response to a stable htmlUnit.

Patch by: amitmanjhi
Review by: jlabanca


Please review this at http://gwt-code-reviews.appspot.com/269801/show

Affected files:
  M user/build.xml


Index: user/build.xml
===
--- user/build.xml  (revision 7781)
+++ user/build.xml  (working copy)
@@ -490,12 +490,11 @@
   antcall target=test.draft.selenium/
   antcall target=test.nometa.selenium/
   antcall target=test.noserver/
-  !-- TODO(jlabanca): Enable htmlunit tests when they are stable. --
-  !-- antcall target=test.dev.htmlunit/ --
-  !-- antcall target=test.emma.htmlunit/ --
-  !-- antcall target=test.web.htmlunit/ --
-  !-- antcall target=test.draft.htmlunit/ --
-  !-- antcall target=test.nometa.htmlunit/ --
+  antcall target=test.dev.htmlunit/
+  antcall target=test.emma.htmlunit/
+  antcall target=test.web.htmlunit/
+  antcall target=test.draft.htmlunit/
+  antcall target=test.nometa.htmlunit/
 /parallel
 /limit
   /target


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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words REMOVE ME as the subject.