Re: CellTable needs overflow set

2011-08-29 Thread Sudhakar Abraham


On Aug 26, 2:26 pm, Al Forbes forbes...@googlemail.com wrote:
 Hi,

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

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

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

 The generated html looks like this:

 div style=position: absolute;   left: 0ex; top: 6ex; right: 0ex; bottom:
 0ex; 
 table __gwtcellbasedwidgetimpldispatchingfocus=true
 __gwtcellbasedwidgetimpldispatchingblur=true cellspacing=0 .

 The style (as shown in firebug)
 element.style {
 position: absolute;
 *overflow-x: hidden;*
 *overflow-y: hidden;*
 left: 0ex;
 top: 6ex;
 right: 0ex;
 bottom: 0ex;

 }

 With the overflow set and table displaying correctly:
 div style=position: absolute; overflow-x: visible; overflow-y: visible;
 left: 0ex; top: 6ex; right: 0ex; bottom: 0ex; 
 table __gwtcellbasedwidgetimpldispatchingfocus=true
 __gwtcellbasedwidgetimpldispatchingblur=true cellspacing=0 .

 Thanks

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



Re: CellTable needs overflow set

2011-08-29 Thread Sudhakar Abraham
Do not set overflow in CSS for DockLayoutPanel. Instead,  add your
celltable in ScrollPanel and set your scrollPanel object in DockLayout
panel . Try the following code.

Example code

ScrollPanel scrollPanel = new ScrollPanel();
scrollPanel.add(cellTable);
DockLayoutPanel dock = new DockLayoutPanel(Unit.PX);
dock.add(scrollPanel);

S. Abraham
www.DataStoreGwt.com


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



Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread Alex Dobjanschi
I can understand your point of view (having some generalized/simplified way 
to use storage + RPC), but I would not do that. Internal data-structure 
could change between versions, and you need a way to inject the data at 
the bottom-level of RPC mechanism (right when the bytes get off wire).

My 2 cents,
Alex.

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



Re: Help! Some confusing problems about gwt rpc with generics!

2011-08-29 Thread Alex Dobjanschi
Are you sure you need a generic RemoteService? Like Jeff stated, RPC 
proxyCreator needs to ensure all subtypes of the types specified in your 
RemoteService need to be serialized (that way, server  client can 
communicate without problems). This will bloat the size of generated code. 
Moreover, having T  K can only reduce the code-size by 100 bytes or so, 
like this:

public interface GenericsRpcServiceT,K extends RemoteService{ 
  T callServer(ListK id); 
  T callServer(K id); 
} 

*public interface UserRpcService extends GenericsRpcServiceUser, Long {*
*  // Other (additional methods).*
*}*
*
*
Notice the 2 methods from GenericsRpcService are already present in the 
subinterface. This is the only advantage you can get. Besides, you need a 
type literal for *GWT.create *so there's no way to call *GWT.create 
(GenericRpcServiceA, B.class) *(same goes with dependency injection -- you 
can't bind a generics interface).

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



Re: RequestFactory - Working with Enums

2011-08-29 Thread Ido
Thanks for the reply.

We indeed created new gwt module which contains RF classes. Our RF module 
contains proxies, services and servlet to populate Spring services through 
RF.

Then we have other gwt projects then import the above RF module. we can't 
really import the packages with the enum definition as they won't be able to 
be serialized into javascript.

I'm thinking about droping the use of enums on the backends and use ids 
instead. Enums will be defined in client side only.

Was just wondering if there is any way to define a Proxy like type for 
enums, apparently not.

Thanks a lot!
Ido

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



Re: MVP + GIN + Storing User Data in client Code?

2011-08-29 Thread Alex Dobjanschi
You should not build your Ginjector until you read user role/permissions.

App {
 show_some_loading_ui ();
 rpc_get_user_and_permissions (callback {
   success (..) {
 // hide some_loading_ui.
 // use a DeferredCommand to load the app (#see onModuleLoad2 -P).
   }

   failure (..) {
 // show guest?
   }
 });
}

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



Re: RPC Serialize: set filter at runtime to select fields to serialize

2011-08-29 Thread Alex Dobjanschi
I would go with DTO. From your post, I get that you don't want lazy-load -- 
if that's so, why don't you disable it? 
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/performance.html#performance-fetching

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



Re: multi pages in gwt

2011-08-29 Thread Marko Borges
Thanks for your answer. This looks like a little complicated and confusing.
Isnt there a easier way? I will have many pages.

Thanks,
Mark

2011/8/25 Sandney Farias sandneyfar...@gmail.com

 Mark,

 Try this link
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
 I think that it can help you.

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


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



Re: UiBinder custom panel

2011-08-29 Thread Kurtt
Oh, brilliant. GWT should really develop an UiChild version what can
directly associate to a method like addWidgetToColomn( Widget w, int
i).
Thank you ~
:)

On Aug 28, 5:22 pm, Thomas Broyer t.bro...@gmail.com wrote:
 Yes, simply annotate a method with 
 @UiChildhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl
 In your case though, you'd have to have one method per tag name:

 @UiChild(tagname=column_1)
 void addWidthToFirstColumn(Widget w) { addWidgetToColumn(w, 0); }

 @UiChild(tagname=column_2)
 void addWidthToSecondColumn(Widget w) { addWidgetToColumn(w, 1); }

 and so on.

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



Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread Thomas Broyer
GWT-RPC is not a symmetric protocol, so you can't use the existing 
serializer/deserializer code, you'd have to port the server-side ones to 
client-side and choose one of the two serialization format.

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



Re: RequestFactory - Working with Enums

2011-08-29 Thread Thomas Broyer
No, Enums have to be available on the client-side. If you have them as 
top-level classes, or if their containing class is translatable, then you 
can easily make them accessible to the client-side using a gwt.xml module 
with a source path=include name=Status.java //source in it (with 
one include/ per file defining an Enum).
That's what we're doing and it works great.

If your Enums are nested and the containing class is not translatable, then 
you'll have to provide an emulated version of your Enums and containing 
classes, using a super-source/ in your module pointing to a subfolder 
where you'll put your emulated classes (the containing class would be empty, 
serving only as a container, and you'll copy your Enum definition there; the 
GWT Compiler –thus, the client-side code– would use the super-source, 
whereas the server-side code would use the actual classes).

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



Re: RequestFactory - Working with Enums

2011-08-29 Thread Ido
Sounds good. We will use top level classes to store the enums and sourced 
them in the gwt.xml module.

Thanks a lot for your replies!
Ido

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



Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread J.Ganesan
Reflect the classes in the server. Request for  the reflection
information from the client. The reflection information should have
version information too. With the reflection information, custom-
serialize the objects in the client and save/read  locally. The custom-
serialization will be hard if your objects have data structures like
HashMap or have circular references.
Hope it helps.

J.Ganesan
www.DataStoreGwt.com

On Aug 29, 10:11 am, -sowdri- sow...@gmail.com wrote:
 Hi,

 For utilizing HTML5 storage, we have to serialize/de-serialize object(s) on
 the client. But the output need not be necessarily human readable, so is it
 possible to utilize GWT-RPC serializer/de-serializer for this purpose, such
 that we could serialize RPC-serializable types, (including Google
 Collections) painlessly??

 Any thoughts on this??

 Thanks,

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



Re: multi pages in gwt

2011-08-29 Thread Marko Borges
By the way I am trying to work with gwt-multipage jar that looks simple but
had to update gwt and smartgwt and everything is crashing now...

Baah



2011/8/29 Marko Borges markoborge...@gmail.com

 Thanks for your answer. This looks like a little complicated and confusing.
 Isnt there a easier way? I will have many pages.

 Thanks,
 Mark


 2011/8/25 Sandney Farias sandneyfar...@gmail.com

 Mark,

 Try this link
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
 I think that it can help you.

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




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



Disable panel with a translucent dark mask

2011-08-29 Thread Ahmed
I am programming the authentication system of the application I am
working on. When the application loads for the first time, it asks the
user for a username and a password. The login credentials are entered
by the user using a form inside a gwt Window. This window is shown
over the application interface (with its own layout).

Then, I want to mask the underlying application interface so that the
user can barely see the gui, but is not allowed to use any of its
widgets. The effect I want to create is to put an dark translucent
layer between the login window and the main application gui. In
conclusion: I want to attain the same effect as the one shown when an
alert MessageBox is displayed.

Is it possible to do that? Thank you in advance.

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



create Junit Test case for my Presentation

2011-08-29 Thread Manish
I am trying to create Junit Test case for my Presentation Layer ,
while creating Presentation instance in setup method of Junit it goes
througn GWT.Create at this point it fails saying

java.lang.ExceptionInInitializerError
.
.
Caused by: java.lang.UnsupportedOperationException: ERROR:
GWT.create() is only usable in client code! It cannot be called, for
example, from server code. If you are running a unit test, check that
your test case extends GWTTestCase and that GWT.create() is not called
from within an initializer or constructor.
at com.google.gwt.core.client.GWT.create(GWT.java:91)
at com.google.gwt.user.client.ui.UIObject.clinit(UIObject.java:188)
... 24 more

and when I add following line to deal with GWT.Create case

@BeforeClass
public static void disarm() {
GWTMockUtilities.disarm();
}

@AfterClass
public static void rearm() {
GWTMockUtilities.restore();
}

it gives Null pointer exception .. will be thankful to any help.

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



how to create a portlet

2011-08-29 Thread yashujn
Hi all,

I hope after this post my problem will solved.
 I am very new in gwt and i dont knw from where to start. i read the
tutorial provided by gwt but my problem is


i want to create a page like igoogle but i dont knw how to strt i mean
i am unable to get that portlet(i mean that small drag and drop
windows with 3 maxmize,minimize, and help button)

plz guide me in this matter i need tht 3 coloumn layout and that
portlet windows.

i search on net so much but i didnt get any proper document which
provide all information

if anybdy can give me some sample portlet window code and thier
settings it will be really helpful.

this is very importent for me as my degree completion plz plz plz 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-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.



Conditional CSS Updates

2011-08-29 Thread rth
Hi,

I have a Conditional CSS block that calls isPortrait() at runtime and
correctly renders the right rule based on its return value. My problem
is that I cannot figure out how to get the condition to be reevaluated
in the future (e.g., when the orientation changes, I would like to
have the conditional CSS evaluated again and the page rendered with
the new CSS). My sample CSS is below.

@if (org.foo.Application.isPortrait()) {
.stats {
border: 3px solid red;
}
} @else {
.stats {
border: 3px solid blue;
}
}

The docs (http://code.google.com/webtoolkit/doc/latest/
DevGuideClientBundle.html#Conditional_CSS) states that these
conditions are evaluated at runtime (which I can confirm), so I am
hoping I can somehow force the re-evaluation to happen again.

Any pointers would be greatly appreciated.

--rth

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



Re: Conditional CSS Updates

2011-08-29 Thread Juan Pablo Gardella
Interesting... +1

2011/8/29 rth rthol...@gmail.com

 Hi,

 I have a Conditional CSS block that calls isPortrait() at runtime and
 correctly renders the right rule based on its return value. My problem
 is that I cannot figure out how to get the condition to be reevaluated
 in the future (e.g., when the orientation changes, I would like to
 have the conditional CSS evaluated again and the page rendered with
 the new CSS). My sample CSS is below.

 @if (org.foo.Application.isPortrait()) {
.stats {
border: 3px solid red;
}
 } @else {
.stats {
border: 3px solid blue;
}
 }

 The docs (http://code.google.com/webtoolkit/doc/latest/
 DevGuideClientBundle.html#Conditional_CSS) states that these
 conditions are evaluated at runtime (which I can confirm), so I am
 hoping I can somehow force the re-evaluation to happen again.

 Any pointers would be greatly appreciated.

 --rth

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



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



GWT Designer+maven in Eclipse = error GWT widgets can be used only in client package of GWT module

2011-08-29 Thread Timas
In Eclipse i imported project with import -existing maven projects.
I tried to use GWT Designer and got error GWT widgets can be used
only in client package of GWT module. I can make new GWT Java
Project, where GWT Designer work OK.
What i have do that my existing maven projects work with GWT Designer?
i think i have to some settings in project, but what?

-- 
You received 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.



Request Factory and extra proxy attributes

2011-08-29 Thread navrc
Hi,
I'm trying RequestFactory and have one problem. I have this entity:

public class Album {

  private String name;
  private ListPhoto photos;
  ...
  // getters/setters
  ...
}


public class Photo {

  private String description;
  private string src;
  
   // getters/setters
  ...
}

and the Proxys:

@ProxyFor(value = Album.class)
public interface AlbumProxy extends EntityProxy {
  String getName();
  ListPhotoProxy getPhotos();
  
}

@ProxyFor(value = Photo.class)
public interface PhotoProxy extends EntityProxy {
  String getDescription();
  String getSrc();
  
}

On the client side I need to display albums names with count of photos
in the album. I want to transfer all infos about photos with:

RequestAlbumProxy req =
factory.context().getAlbum(albumId).with(photos);

and than call size() on the recived list of photos. I want to change
my entities and add there methods getPhotosCount()

In RPC I used DTO with extra attribute int photosCount; Is it possible
with RF adding to the proxy extra method getPhotosCount() and map it
on the server side to some service method or exists another solution
for this problem?

Thanks Pavel

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



Re: multi pages in gwt

2011-08-29 Thread Cristian Rinaldi
What is the reason to have multiple pages? (HTML Pages)
Ajax applications respond to the pattern Sinlge Page.
You can manage the content to be displayed using MVP (Place / Activities).


A.U.S Cristian Rinaldi

2011/8/29 Marko Borges markoborge...@gmail.com

 By the way I am trying to work with gwt-multipage jar that looks simple but 
 had to update gwt and smartgwt and everything is crashing now...
 Baah


 2011/8/29 Marko Borges markoborge...@gmail.com

 Thanks for your answer. This looks like a little complicated and confusing. 
 Isnt there a easier way? I will have many pages.
 Thanks,
 Mark

 2011/8/25 Sandney Farias sandneyfar...@gmail.com

 Mark,
 Try this 
 link http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
  I think that it can help you.

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


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

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



Re: Request Factory and extra proxy attributes

2011-08-29 Thread Thomas Broyer
Technically, you can (or you should be able to, I'm not so sure after the 
recent changes in RF in GWT 2.4), but it might sound like using a sledge 
hammer to crack a nut: it'd require using ServiceLayerDecorator on the 
server-side (and annotate your getter in your proxy with 
@SkipInterfaceValidation).

It'd be far easier to add a getPhotosCount to your server-side object too:

   public int getPhotosCount() { return getPhotos().size(); }

Oh, and of course, you can also define a 
getAlbumPhotosCount(albumId)→RequestInteger in your RequestContext and 
implement it in your associated service.

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



Re: Disable panel with a translucent dark mask

2011-08-29 Thread Sean
You may want to check out the DialogBox with setGlassEnabled() to true. 

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



Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread -sowdri-
@Thomas

 GWT-RPC is not a symmetric protocol, ...

Guess, we cant straight away use the existing serializer/de-serializer! 

Any plans for official support for serializer/de-serializer for the purpose 
of HTML5 storage??

Thanks,


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



Re: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread Thomas Broyer
RequestFactory and AutoBeans are the way to go. GWT-RPC will continue to be 
maintained, and its performance and security be worked on, but I don't think 
they'll enhance it anymore.
DeRPC was supposed to be a better RPC but has finally been dropped (in 
favor of RequestFactory).

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



Re: create Junit Test case for my Presentation

2011-08-29 Thread Michael Vogt
Hello.

 I am trying to create Junit Test case for my Presentation Layer ,
 while creating Presentation instance in setup method of Junit it goes
 througn GWT.Create at this point it fails saying

To test your presentation layer, you need to use GwtTestCase instead
of plain JUnit:
http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html


Hope this helps,
Michael

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



Re: multi pages in gwt

2011-08-29 Thread Marko Borges
Cause i am doing a project migration and i dont wanna loose the structure.
I know that GWT applications have a single page as pattern but I would like
to use multiple pages.

In case I change my mind and wanna use MVP, does anyone have a complete
example, cause in case of menus and complex widgets how would MVP work?

2011/8/29 Cristian Rinaldi cristian.rina...@logikas.com

 What is the reason to have multiple pages? (HTML Pages)
 Ajax applications respond to the pattern Sinlge Page.
 You can manage the content to be displayed using MVP (Place / Activities).


 A.U.S Cristian Rinaldi

 2011/8/29 Marko Borges markoborge...@gmail.com
 
  By the way I am trying to work with gwt-multipage jar that looks simple
 but had to update gwt and smartgwt and everything is crashing now...
  Baah
 
 
  2011/8/29 Marko Borges markoborge...@gmail.com
 
  Thanks for your answer. This looks like a little complicated and
 confusing. Isnt there a easier way? I will have many pages.
  Thanks,
  Mark
 
  2011/8/25 Sandney Farias sandneyfar...@gmail.com
 
  Mark,
  Try this link
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
 I think that it can help you.
 
  --
  You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
  To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/nKFb_l7W81UJ.
  To post to this group, send email to
 google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
  --
  You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

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



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



Re: Can't display wide HTML in Dialog

2011-08-29 Thread Sudhakar Abraham
 Add your HTML contents in VerticalPanel and add VerticalPanel to
DialogBox. For Dialogbox, set the size attribute in CSS .
Hope it solves your problem.

S. Abraham
www.DataStoreGwt.com

On Aug 27, 5:55 am, dhoffer dhoff...@gmail.com wrote:
 I'm starting with the sample GWT 2.3.0 app that just shows a dialog
 after making an RPC call, I've added more wide content to the
 VerticalPanel but it gets truncated, i.e. the right side of the dialog
 is missing...so is the Close button.  Why can't I show wide content as
 HTML here?

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



GWT plugin update site problems

2011-08-29 Thread Sleeveen
I've been trying to install a new eclipse setup on a new machine and
have been having problems with the GWT plugin update site: it doesn't
appear to be available.

I've been using the GWT plugin for a couple of years and have never
seen this problem.

If you try to access:

http://dl.google.com/eclipse/plugin/3.5
http://dl.google.com/eclipse/plugin/3.6

Or the archive locations:

http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest-updatesite.zip
http://dl.google.com/eclipse/plugin/3.6/zips/gpe-e36-latest-updatesite.zip

They are toast.

Earlier versions appear to be okay.

Any assistance would be appreciated.

Cheers!

Peter

-- 
You received 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.



New Windows and panels

2011-08-29 Thread jose felix estevez
good friends, will be possible to open a new window and create panels in
that window.

-- 
Jose F.Estevez H.
T.S.U. en Analisis y Diseño de Sistemas
Consultor Staff I
Tecnology Consulting Solutions - TCS

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



Re: Disable panel with a translucent dark mask

2011-08-29 Thread redjhawk
If you want to do it manually, you can add a layer (called B) over the
layer you want to hide (called A). Create also a CSS property similar
to:

.blackBackground
{
  background-color:black;
  filter: alpha(opacity=70);
  opacity:0.7;
}

Then, when the layer A should be hidden, add the property
blackBackground to the layer B

I use this and it works. I use all float panels so I can control the
exact position of each one but I'm sure it works with any kind of
panel.


On Aug 29, 1:40 pm, Ahmed ahmed.zar...@gmail.com wrote:
 I am programming the authentication system of the application I am
 working on. When the application loads for the first time, it asks the
 user for a username and a password. The login credentials are entered
 by the user using a form inside a gwt Window. This window is shown
 over the application interface (with its own layout).

 Then, I want to mask the underlying application interface so that the
 user can barely see the gui, but is not allowed to use any of its
 widgets. The effect I want to create is to put an dark translucent
 layer between the login window and the main application gui. In
 conclusion: I want to attain the same effect as the one shown when an
 alert MessageBox is displayed.

 Is it possible to do that? Thank you in advance.

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



Setting default value for DateItem()

2011-08-29 Thread mohit ranjan
Using Smart GWT

I am having a DynamicForm with
 Code:

final DateItem dateFromFormItem = new DateItem();
{
dateFromFormItem.setTitle(Date from);
dateFromFormItem.setName(dateFrom);
}

final DateItem dateToFormItem = new DateItem();
{
dateToFormItem.setTitle(Date to);
dateToFormItem.setName(dateTo);
}


I want default value of dateToFormItem to be 24 hr from now (next day), but
could not find any related method.
dateToFormItem default value is current time only as required.

Any hint/help for this will be highly appreciated.

Mohit Ranjan
http://www.flipkart.com

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



Re: Setting default value for DateItem()

2011-08-29 Thread Tom Carchrae
dateItem.setDefaultValue(new Date(System.currentTimeMillis() + (24L * 60L *
60L * 1000L)));


On Mon, Aug 29, 2011 at 8:26 AM, mohit ranjan shoonya.mo...@gmail.comwrote:

 Using Smart GWT

 I am having a DynamicForm with
  Code:

 final DateItem dateFromFormItem = new DateItem();
 {
 dateFromFormItem.setTitle(Date from);
 dateFromFormItem.setName(dateFrom);
 }

 final DateItem dateToFormItem = new DateItem();
 {
 dateToFormItem.setTitle(Date to);
 dateToFormItem.setName(dateTo);
 }


 I want default value of dateToFormItem to be 24 hr from now (next day), but
 could not find any related method.
 dateToFormItem default value is current time only as required.

 Any hint/help for this will be highly appreciated.

 Mohit Ranjan
 http://www.flipkart.com

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


-- 
You received 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.



Maps v3 + GWT using JSNI - Map showing problem -

2011-08-29 Thread Alberto
Hi everybody!

I need to use maps v3 API with GWT, but I've a problem on map showing.
I created a custom map (with a custom image) in this way:

public class MapContainer{

public native JavaScriptObject creaImageMap(Element e, String
path, String imageName, int zoomMax, int zoomStart, boolean navMap,
boolean draggable, boolean zooming, boolean controls) /*-{

function ImageProjection() {};

ImageProjection.prototype.fromLatLngToPoint = function(latlng) {

var origine=256/2;
var pplon=256/360.0;
var pplat=256/180.0;
var x=Math.round(((origine)+(latlng.lng()*pplon)));
var y=Math.round(((origine)-(latlng.lat()*pplat)));
return new $wnd.google.maps.Point(x, y);
};

ImageProjection.prototype.fromPointToLatLng = function(point) {

var origine=256/2;
var glonpp=360/(256);
var glatpp=180/(256);
var lat=((origine)-point.y)*(glatpp);
var lon=(((-1)*(origine))+point.x)*(glonpp);
return new $wnd.google.maps.LatLng(lat, lon);
};
var imageMap;
var imageMapType = new $wnd.google.maps.ImageMapType({
getTileUrl: function(coord, zoom) {
var tiles = 1  zoom;  // è equivalente a 
2^zoom

// Don't wrap tiles
if (coord.y  0 || coord.y = tiles) {
return null;
}

if (coord.x  0 || coord.x = tiles) {
return null;
}

var x = coord.x;

var y=coord.y;
var nome=t;
for(k=0;kzoom;k++){
  tiles=tiles/2;
  if(ytiles){
  if(xtiles){
  nome+=q;
  }
  else{
  nome+=r;x-=tiles;
  }
  }
  else{
  if(xtiles){
  nome+=t;y-=tiles;
  }
  else{
  nome+=s;x-=tiles;y-=tiles;
  }
  }
}

var 
immagine=percorso+nomeImage+'-tiles/'+nome+'.jpg';

return immagine;
},


tileSize: new $wnd.google.maps.Size(256, 256),
isPng: true,
minZoom: 0,
maxZoom: zoomMax,
name: 'Image'
});

imageMapType.projection = new ImageProjection();

if(navMap){
var omcOptions={
opened: true,
}

var mapOptions = {
backgroundColor:#00,
zoom: zoomStart,
center: new 
$wnd.google.maps.LatLng(0,0),
overviewMapControl: true,
overviewMapControlOptions: omcOptions,
draggable: draggable,
disableDoubleClickZoom: !zooming,
scrollwheel: zooming,
zoomControl: controls,
panControl: controls,
mapTypeControl: controls,
mapTypeControlOptions: {
mapTypeIds: ['imageMap']
}
};
}
else{
var mapOptions = {
backgroundColor:#00,
zoom: zoomStart,
center: new 
$wnd.google.maps.LatLng(0,0),
draggable: draggable,
disableDoubleClickZoom: !zooming,

Test web toolkit

2011-08-29 Thread pjmorce
Hello

I am trying to install google web toolkit to test it.

I am using Eclipse Galileo. However, when I try to install the toolkit
using the http://dl.google.com/eclipse/plugin/3.5; location it does
not work.

So, I am trying using the other way: downloading the zip file and
installing it in local. However, when I try to download it (http://
code.google.com/eclipse/docs/install-from-zip.html), i get a page
with XML with the following message: MessageThe specified key does
not exist./Message.

The website is on maintenance or something like that?

Thank for your help

Regards

Paulo

-- 
You received 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.



Could not find http://dl.google.com/eclipse/plugin/3.6 neither download zip file

2011-08-29 Thread Nicolas Garnil
I just can't install Google Plugin from eclipse helios (3.6)

Adding update site http://dl.google.com/eclipse/plugin/3.6 site  returns 
Could not find  http://dl.google.com/eclipse/plugin/3.6;

I also tried downloading the zip files but the following error is displayed 
on the page:

http://dl.google.com/eclipse/plugin/3.6/zips/gpe-e36-latest-updatesite.zip

Error
CodeNoSuchKey/Code
MessageThe specified key does not exist./Message
/Error

Regards,

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



Deferred Binding in gwt

2011-08-29 Thread Tarnakin Sergey
Hi, I have to compile different code for safari and chrome browsers.
The problem is when I use code like
this
replace-with
class=org.raccoon.hit.client.ui.balancenew.BalanceViewImplChrome
when-type-is
class=org.raccoon.hit.client.ui.balance.BalanceViewImplAll/
any
when-property-is name=user.agent value=safari/
/any
 /replace-
with
property user.agent is the same for safari and chrome.

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



Re: multi pages in gwt

2011-08-29 Thread Bruno Sandivilli
I have the same doubt a months ago, my project had to use clean urls. To
solve this i did like i think twitter dows. i put a hash tag listener in my
page, so the urls looks like www.myapp.com/#!/user , and i catch the events
on there. But im asking me now, theres another beuatfull way to achive clean
url's in GWT?

2011/8/29 Marko Borges markoborge...@gmail.com

 Cause i am doing a project migration and i dont wanna loose the structure.
 I know that GWT applications have a single page as pattern but I would like
 to use multiple pages.

 In case I change my mind and wanna use MVP, does anyone have a complete
 example, cause in case of menus and complex widgets how would MVP work?

 2011/8/29 Cristian Rinaldi cristian.rina...@logikas.com

 What is the reason to have multiple pages? (HTML Pages)
 Ajax applications respond to the pattern Sinlge Page.
 You can manage the content to be displayed using MVP (Place / Activities).


 A.U.S Cristian Rinaldi

 2011/8/29 Marko Borges markoborge...@gmail.com
 
  By the way I am trying to work with gwt-multipage jar that looks simple
 but had to update gwt and smartgwt and everything is crashing now...
  Baah
 
 
  2011/8/29 Marko Borges markoborge...@gmail.com
 
  Thanks for your answer. This looks like a little complicated and
 confusing. Isnt there a easier way? I will have many pages.
  Thanks,
  Mark
 
  2011/8/25 Sandney Farias sandneyfar...@gmail.com
 
  Mark,
  Try this link
 http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html.
 I think that it can help you.
 
  --
  You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
  To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/nKFb_l7W81UJ.
  To post to this group, send email to
 google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
  --
  You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
  To post to this group, send email to
 google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

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


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


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



Re: Maps v3 + GWT using JSNI - Map showing problem -

2011-08-29 Thread Alberto
If I use it directly in onModuleLoad method, in this way it looks
right:
***

private MapContainer mapContainer=null;
private SimplePanel container=new SimplePanel();
private JavaScriptObject mappa=null;

container.setSize(400px, 400px);
mappa=mapContainer.creaDipintoMap(container.getElement(),/
path/,image,4, 0, true, true, true, true);
DockLayoutPanel layout=new DockLayoutPanel(Unit.EM);
layout.add(container);
RootLayoutPanel.get().add(layout);


But if I use another class that returns a panel containing a map in
this way:


public class getPanel {

public VerticalPanel getPanelMethod(String image){
VerticalPanel a=new VerticalPanel();
VerticalPanel container=new VerticalPanel();
MapWidget mc=new MapWidget();
container.setSize(400px, 400px);
JavaScriptObject 
mappa=mc.creaDipintoMap(container.getElement(),/
path/, image,4, 0, true, true, true, true);
a.add(container);
return a;
}

}
__
RootLayoutPanel.get().add(new getPanel().getPanelMethod(imageName));


my map doesn't work.



I also realized that in the second panel there is a listbox for the
map types and zoom control doesn't work.

How can I solve this problem?
Thanks for your help!!!

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



Re: Setting default value for DateItem()

2011-08-29 Thread mohit ranjan
Thanks Tom.
It's working.

Mohit


On Mon, Aug 29, 2011 at 9:10 PM, Tom Carchrae t...@carchrae.net wrote:


 dateItem.setDefaultValue(new Date(System.currentTimeMillis() + (24L * 60L *
 60L * 1000L)));


 On Mon, Aug 29, 2011 at 8:26 AM, mohit ranjan shoonya.mo...@gmail.comwrote:

 Using Smart GWT

 I am having a DynamicForm with
  Code:

 final DateItem dateFromFormItem = new DateItem();
 {
 dateFromFormItem.setTitle(Date from);
 dateFromFormItem.setName(dateFrom);
 }

 final DateItem dateToFormItem = new DateItem();
 {
 dateToFormItem.setTitle(Date to);
 dateToFormItem.setName(dateTo);
 }


 I want default value of dateToFormItem to be 24 hr from now (next day),
 but could not find any related method.
 dateToFormItem default value is current time only as required.

 Any hint/help for this will be highly appreciated.

 Mohit Ranjan
 http://www.flipkart.com

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


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


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



Re: Google logo's to brighten up the app.

2011-08-29 Thread Rohan Chandiramani
Just a friendly bump, i would really like to know.

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



Aw: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread joergviola
I used JSON for that purpose.
But you have to write the serializers by yourself.

Or you could take a look at https://code.google.com/p/mobile-objects/, which 
is brand-new and currently in alpha, but capable of storing GWT Objects 
transparently to HTML5 database or storage, whatever available.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/gXv6Sj8otJMJ.
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.



custom celltable loading indicator

2011-08-29 Thread al76
Anyone able to point me in the right direction on how to implement a
light weight loading indicator for celltable, ideally like the yui
datatable.

e.g.  
http://developer.yahoo.com/yui/examples/datatable/dt_clientpagination_clean.html

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



HTML5 local object persistence for GWT

2011-08-29 Thread joergviola
Hello,
I want to announce a new lib for HTML5 gwt apps:

https://code.google.com/p/mobile-objects/

Using it, you can directly persist objects to local HTML5 storage or 
database, whatever is available.
Moreover, synchronisation to a server is possible, currently to GAE using 
objectify.

GWT generators are used to generate class descriptors for the persistent 
classes.
At runtime, these descriptors are used to create JSON for storage or an SQL 
for database persistence.

The persistence model currently is quite simple and modelled after the 
objectify API.

I would be happy if someone just could check the concept and tell whether 
this lib would be useful.

Thanks a lot, Joerg

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



Re: Google logo's to brighten up the app.

2011-08-29 Thread Sean
Just use Google Image search to get the logos. As long as you don't say you 
drew it or its your product, you can use them.

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



Re: Manipulate a div section in the html page

2011-08-29 Thread Kevin Courtney
Hello,

As a followup, I'm having a heck of a time trying to find an example
and figure out the syntax and values for the properties to set.

I've tried this:

DivElement divIntroPageElement =
DivElement.as(Document.get().getElementById(introPage));

//divIntroPageElement.setPropertyString(visibility,
hidden);
//divIntroPageElement.setPropertyString(display, none);
divIntroPageElement.setPropertyString(style.display,
none);

...and none of them work.

Do any of you any of you have any insights on what I should pass to
the setPropertyString method (assuming that is the method I should be
using).?

Thanks,

Kevin

On Aug 28, 5:40 pm, Kevin Courtney kevinjcourt...@gmail.com wrote:
 Thanks Jeff, exactly what I'm looking for,

 Kevin

 On Aug 28, 1:23 pm, Jeff Chimene jchim...@gmail.com wrote:







  On 08/28/2011 12:09 PM, Kevin Courtney wrote:

   Hello,

   In my default html page that drives my GWT app, I would like to have
   some html text, etc. within a div section.  Then in GWT be able to
   make that div section invisible and visible.

   Is this possible and if so, what is the syntax?

  There are a variety of ways to do this. I'm sure others will provide
  their solutions.

  Here's one to get you started:
  Attach an id to the div tag, then in the GWT, use
  DivElement divElement =
  DivElement.as(Document.get().getElementById(theId));

  Although this will give you the hook you need, you probably want to just
  delete the element from the DOM, then replace it with one or more GWT
  widgets.

   My goal is to have my home page intro text and images in the HTML page
   so that the search engine robots will parse it but then once the user
   is using the site, hide the section and replace it with the content
   from the GWT code.

   Thanks,

   Kevin Courtney
  http://www.beatlessongsandvideos.com/

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



Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Alfredo Quiroga-Villamil
All:

We are really happy to announce the addition of GWT4Titanium Mobile to
our suite of available products.

With a 100% implementation of the Appcelerator's API for Titanium
Mobile, it has never been easier to develop cross platform mobile
applications and all from the convenience of your Titanium Studio IDE
in Java. Reuse all the GWT techniques you are already familiar with.

- Write native applications for Android and IOS in Java using GWT and
Titanium.
- I18N Support.
- GWT-RPC, RequestFactory as well as RequestBuilder for your Ti Mobile
Apps.
- Dependency Injection support via GIN.
- JSON and XML to POJOs support.
- Event Bus support.

Would you like to find out more? Visit us at:

http://www.emitrom.com/gwt4timobile

Happy Coding from the Emitrom Team!

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread leandro borbosa
Is nt this the same as in the
gwt4air(http://code.google.com/p/gwt4air/) project
?

2011/8/29 Alfredo Quiroga-Villamil alfr...@emitrom.com

 All:

 We are really happy to announce the addition of GWT4Titanium Mobile to
 our suite of available products.

 With a 100% implementation of the Appcelerator's API for Titanium
 Mobile, it has never been easier to develop cross platform mobile
 applications and all from the convenience of your Titanium Studio IDE
 in Java. Reuse all the GWT techniques you are already familiar with.

 - Write native applications for Android and IOS in Java using GWT and
 Titanium.
 - I18N Support.
 - GWT-RPC, RequestFactory as well as RequestBuilder for your Ti Mobile
 Apps.
 - Dependency Injection support via GIN.
 - JSON and XML to POJOs support.
 - Event Bus support.

 Would you like to find out more? Visit us at:

 http://www.emitrom.com/gwt4timobile

 Happy Coding from the Emitrom Team!

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



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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Alfredo Quiroga-Villamil
Hello Leandro:

Yes, Emitrom is the commercial arm of our products. We offer both open
source as well as support now.

Regards,

Alfredo

On Mon, Aug 29, 2011 at 12:50 PM, leandro borbosa 
leandrob...@googlemail.com wrote:

 Is nt this the same as in the gwt4air(http://code.google.com/p/gwt4air/) 
 project
 ?


 2011/8/29 Alfredo Quiroga-Villamil alfr...@emitrom.com

 All:

 We are really happy to announce the addition of GWT4Titanium Mobile to
 our suite of available products.

 With a 100% implementation of the Appcelerator's API for Titanium
 Mobile, it has never been easier to develop cross platform mobile
 applications and all from the convenience of your Titanium Studio IDE
 in Java. Reuse all the GWT techniques you are already familiar with.

 - Write native applications for Android and IOS in Java using GWT and
 Titanium.
 - I18N Support.
 - GWT-RPC, RequestFactory as well as RequestBuilder for your Ti Mobile
 Apps.
 - Dependency Injection support via GIN.
 - JSON and XML to POJOs support.
 - Event Bus support.

 Would you like to find out more? Visit us at:

 http://www.emitrom.com/gwt4timobile

 Happy Coding from the Emitrom Team!

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


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




-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Thomas Broyer
So, just to make things clear: Namor Kambo from your about page == Alain 
Ekambi == nino ?

BTW, forcing people to create an account (what for?) so they're allowed to 
download a product is not really the best way to get them involved; 
particularly if the mail containing the password isn't delivered within the 
next 5 minutes.

Oh, and the source code for the TiMobileLinker is missing (which violates 
the GPL).

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Alfredo Quiroga-Villamil
Hello Thomas:

Yes indeed, long story; but yes it's a running joke here between us. We are
talking about Alain.

Bear with us as we will slowly try to make things easier and better. We
truly appreciate you catching up that we missed the linker class, it was
under a different package and we simply just missed it in the build. Nothing
fancy there, it'll be included right away.

Please feel free to reach out if you have any other concerns or suggestions.

Regards,

Alfredo

On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.com wrote:

 So, just to make things clear: Namor Kambo from your about page == Alain
 Ekambi == nino ?

 BTW, forcing people to create an account (what for?) so they're allowed
 to download a product is not really the best way to get them involved;
 particularly if the mail containing the password isn't delivered within the
 next 5 minutes.

 Oh, and the source code for the TiMobileLinker is missing (which violates
 the GPL).

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

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




-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

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



Request implementation couldn't be found.

2011-08-29 Thread Nik
When starting my application it fails on firing the request. Debug
mode says RatesRequestImpl.findrates(int a, int b) source couldn't be
found. Where findrates is one of my methods. Struggling with this
problem really long, checked all possible places of the app and no
solution found. I will appreciate any help, because it is already
driving me crazy.

Development mode stack is (after the Stack i will also post the
console) :

19:29:52.641 [ERROR] [ratesexchange] Uncaught exception escaped

com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full set in UmbrellaException#getCauses
at
com.google.gwt.requestfactory.shared.impl.AbstractRequestContext.fail(AbstractRequestContext.java:
608)
at com.google.gwt.requestfactory.shared.impl.AbstractRequestContext
$4.onTransportFailure(AbstractRequestContext.java:955)
at com.google.gwt.requestfactory.client.DefaultRequestTransport
$1.onResponseReceived(DefaultRequestTransport.java:146)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
at com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
326)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
207)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
132)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Server Error 500 lt;htmlgt;
lt;headgt;
lt;meta http-equiv=quot;Content-Typequot; content=quot;text/html;
charset=ISO-8859-1quot;/gt;
lt;titlegt;Error 500 INTERNAL_SERVER_ERRORlt;/titlegt;
lt;/headgt;
lt;bodygt;lt;h2gt;HTTP ERROR 500lt;/h2gt;
lt;pgt;Problem accessing /gwtRequest. Reason:
lt;pregt;INTERNAL_SERVER_ERRORlt;/pregt;lt;/pgt;lt;hr /
gt;lt;igt;lt;smallgt;Powered by Jetty://lt;/smallgt;lt;/igt;lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;
lt;br/gt;

lt;/bodygt;
lt;/htmlgt;

at
com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:
41)
at
com.google.gwt.requestfactory.shared.impl.AbstractRequest.onFail(AbstractRequest.java:
118)
at
com.google.gwt.requestfactory.shared.impl.AbstractRequestContext.fail(AbstractRequestContext.java:
588)
at com.google.gwt.requestfactory.shared.impl.AbstractRequestContext
$4.onTransportFailure(AbstractRequestContext.java:955)
at com.google.gwt.requestfactory.client.DefaultRequestTransport
$1.onResponseReceived(DefaultRequestTransport.java:146)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
at com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at

Re: Manipulate a div section in the html page

2011-08-29 Thread Jeff Chimene
On 08/29/2011 09:38 AM, Kevin Courtney wrote:
 Hello,
 
 As a followup, I'm having a heck of a time trying to find an example
 and figure out the syntax and values for the properties to set.
 
 I've tried this:
 
 DivElement divIntroPageElement =
 DivElement.as(Document.get().getElementById(introPage));
 
 //divIntroPageElement.setPropertyString(visibility,
 hidden);
 //divIntroPageElement.setPropertyString(display, none);
 divIntroPageElement.setPropertyString(style.display,
 none);
 
 ...and none of them work.
 
 Do any of you any of you have any insights on what I should pass to
 the setPropertyString method (assuming that is the method I should be
 using).?
 
 Thanks,
 
 Kevin

Try wrapping the DIV in an HTML tag and using setVisible
See

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/HTML.html#wrap%28com.google.gwt.dom.client.Element%29

So, it would be

HTML.wrap(Document.get().getElementById(theId)).setVisible(false);

To reiterate, this probably is not what you really want to be doing.

 
 On Aug 28, 5:40 pm, Kevin Courtney kevinjcourt...@gmail.com wrote:
 Thanks Jeff, exactly what I'm looking for,

 Kevin

 On Aug 28, 1:23 pm, Jeff Chimene jchim...@gmail.com wrote:







 On 08/28/2011 12:09 PM, Kevin Courtney wrote:

 Hello,

 In my default html page that drives my GWT app, I would like to have
 some html text, etc. within a div section.  Then in GWT be able to
 make that div section invisible and visible.

 Is this possible and if so, what is the syntax?

 There are a variety of ways to do this. I'm sure others will provide
 their solutions.

 Here's one to get you started:
 Attach an id to the div tag, then in the GWT, use
 DivElement divElement =
 DivElement.as(Document.get().getElementById(theId));

 Although this will give you the hook you need, you probably want to just
 delete the element from the DOM, then replace it with one or more GWT
 widgets.

 My goal is to have my home page intro text and images in the HTML page
 so that the search engine robots will parse it but then once the user
 is using the site, hide the section and replace it with the content
 from the GWT code.

 Thanks,

 Kevin Courtney
 http://www.beatlessongsandvideos.com/
 

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



CSS

2011-08-29 Thread Sandeep D
Hi,

I'm doing a web project using JSP-TOMCAT-DB2. And i have applied CSS
stylesheet for every page. My pc's screen resolution is 1360 x 768 px.
But when i run the same project in other computers(less resolution),
my pages get widened. Please help me so that my CSS should fit for
every resolution.

Thanks,
Sandeep

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



Re: CSS

2011-08-29 Thread Juan Pablo Gardella
Use percent and not px, perhaps with this you can fix it.

2011/8/29 Sandeep D sandeep.dattar...@gmail.com

 Hi,

 I'm doing a web project using JSP-TOMCAT-DB2. And i have applied CSS
 stylesheet for every page. My pc's screen resolution is 1360 x 768 px.
 But when i run the same project in other computers(less resolution),
 my pages get widened. Please help me so that my CSS should fit for
 every resolution.

 Thanks,
 Sandeep

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



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



GWT 2.3

2011-08-29 Thread Markus
Hello!

I developed for years with struts and tomcat, but I wanted to start
with gwt. I want to use GWT only with JDBC and not with GAE. Can
anybody explain me how I configure a Connection Pool like in tomcat
with JNDI?

I Tomcat I just need to configure the Context

Context 

Resource
name=kunde auth=Container
type=javax.sql.DataSource 
driverClassName=org.postgresql.Driver
url=jdbc:postgresql://127.0.0.1:5432/XXX
username=XXX password=XXX maxActive=20 maxIdle=10
maxWait=-1/

/Context


Thanks for help!

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



Re: Request implementation couldn't be found.

2011-08-29 Thread Thomas Broyer


On Monday, August 29, 2011 7:42:08 PM UTC+2, Nik wrote:

 Console says : 

 [ERROR] Could not find matching method in 
 synlogistics.ratesexchange.server.domain.Rate. 
 Possible matches: 
   synlogistics.ratesexchange.server.domain.Rate 
 findRate(java.lang.Long )


Your method findRates in your RatesRequest request context has no 
corresponding findRates method in the Rate service class on the server.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/j1f-avPSpxAJ.
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.



RequestFactory cannot find Entity

2011-08-29 Thread Rud
I have been experiencing something strange with ReuqestFactory. Some
detials:

Helios Eclipse
GWT 2.3 / GAE 1.5.1
JDK 1.6

I have a Person with PersonProxy and PersonRequest. These use the
simple @ProxyFor(Person.class) and @Service(Person.class).

I started up Eclipse and before doing anything else ran the
application. It ran fine. I've been trying to get something working on
the server side so added a jar to the Refed libs and copied it to the
WAR.

I get the meesage that PersonProxy and PersonRequest (they are in
us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are
compile errors, not run-time errors.  That worked fine a minute ago.

I move Person to us.k5rud.shared. It works but I've been experiencing
this issue at other times so want to know why it occurs so try
us.k5rud.shared.domain.Person. Can't find when it runs or if I do a
compile. Move it back to just us.k5rud.shared. That doesn't work until
I do a compile.

I have done Project | clean on each of these. Also shut down the
running development mode instance and restarted a fresh version.

Sometimes the Proxy  Request classes cannot find the entity with the
auto build and I get errors then. Sometimes it doesn't show up until I
run the app. It is just very flaky so anyone have ideas?

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



Re: Manipulate a div section in the html page

2011-08-29 Thread Thomas Broyer


On Monday, August 29, 2011 8:03:21 PM UTC+2, jchimene wrote:

 HTML.wrap(Document.get().getElementById(theId)).setVisible(false);


I didn't follow the thread, but you should wrap an element in a widget just 
to call a few methods. For setVisible, use the static method in UIObject:

UIObject.setVisible(Document.get().getElementById(theId), false); 

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



Re: Request implementation couldn't be found.

2011-08-29 Thread Nik
The problem is it definitely has one in the Rate class (my Entity
class, all annotations set and checked everywhere)
Defined as :

@SuppressWarnings(unchecked)
public static ListRate findRates(int first, int max){
EntityManager em = EMF.get().createEntityManager();
try{
Query query = em.createQuery(select o from Rate o);
query.setFirstResult(first);
query.setMaxResults(max);
ListRate list = query.getResultList();
list.size();
return list;
}

finally {
em.close();
}
}

On 29 Aug., 20:53, Thomas Broyer t.bro...@gmail.com wrote:
 On Monday, August 29, 2011 7:42:08 PM UTC+2, Nik wrote:

  Console says :

  [ERROR] Could not find matching method in
  synlogistics.ratesexchange.server.domain.Rate.
  Possible matches:
    synlogistics.ratesexchange.server.domain.Rate
  findRate(java.lang.Long )

 Your method findRates in your RatesRequest request context has no
 corresponding findRates method in the Rate service class on the server.

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Alain Ekambi
Hi Thomas, Hi Leandro, Hi all

Indeed i joined forces with the Emitrom team to provide not only  better
products in the future but also the professional support that s goes with
it.
@Emitrom we trully believe in Open Source that a why all our products are
open and free to use under GPL.


Like Fredo said before sorry about the missing code in the Linker. This
shoud be fixed now.

We have more new things coming in the next days/weeks and we are looking
forward to get your inputs.

Cheers,

Alain


2011/8/29 Alfredo Quiroga-Villamil laww...@gmail.com

 Hello Thomas:

 Yes indeed, long story; but yes it's a running joke here between us. We are
 talking about Alain.

 Bear with us as we will slowly try to make things easier and better. We
 truly appreciate you catching up that we missed the linker class, it was
 under a different package and we simply just missed it in the build. Nothing
 fancy there, it'll be included right away.

 Please feel free to reach out if you have any other concerns or
 suggestions.

 Regards,

 Alfredo


 On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.com wrote:

 So, just to make things clear: Namor Kambo from your about page == Alain
 Ekambi == nino ?

 BTW, forcing people to create an account (what for?) so they're allowed
 to download a product is not really the best way to get them involved;
 particularly if the mail containing the password isn't delivered within the
 next 5 minutes.

 Oh, and the source code for the TiMobileLinker is missing (which violates
 the GPL).

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

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




 --
 Alfredo Quiroga-Villamil

 AOL/Yahoo/Gmail/MSN IM:  lawwton


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




-- 

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

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



Custom implementation of the EventBus

2011-08-29 Thread Stefan
Hello Everybody

From what I see the application developer is not suppose to be able to
create a custom implementation of the EventBus type. The main reasons
are the protected void dispatch(H handler) and packaged void
setSource(Object source) methods of the GwtEvent type. What is the
rational behind this? After all do you expect the default
implementation SimpleEventBus to be sufficient for everybody ?

A somewhat related discussion
http://groups.google.com/group/google-web-toolkit/browse_frm/thread/1626a088f0d09ffc/335d4ff7202bb2e4?tvc=1q=SimpleEventBus#335d4ff7202bb2e4


Thanks
Stefan

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



Re: GWT 2.3

2011-08-29 Thread Juan Pablo Gardella
This is out of gwt. Check in your server how do this.

2011/8/29 Markus ad...@thandaro.com

 Hello!

 I developed for years with struts and tomcat, but I wanted to start
 with gwt. I want to use GWT only with JDBC and not with GAE. Can
 anybody explain me how I configure a Connection Pool like in tomcat
 with JNDI?

 I Tomcat I just need to configure the Context

 Context 

Resource
name=kunde auth=Container
type=javax.sql.DataSource
 driverClassName=org.postgresql.Driver
url=jdbc:postgresql://127.0.0.1:5432/XXX
username=XXX password=XXX maxActive=20 maxIdle=10
 maxWait=-1/

 /Context


 Thanks for help!

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



-- 
You received 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.



NumberFormat format with all available decimal digits

2011-08-29 Thread Raziel
Hi, I would like to be able to call the NumberFormat format method
with a Double and get in the string all the digits available in the
Double value.

It seems to me that you have to forcefully specify in the patter one
digit per decimal you want to display (i.e. #.# for 5 decimal
digits, #.## for 2, #.### for 7, etc.), or otherwise the
format method would round it up.

Is there any way or pattern where I can specify the formatter to show
all available decimals in the passed double value? Something like
#.#*

Any help will be greatly appreciated.

Thanks

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Gal Dolber
This still have a great problem, we need to compile on every change, and we
cannot debug in java.

I am not even sure if its possible to solve that problems.

Any plans?

On Mon, Aug 29, 2011 at 4:58 PM, Alain Ekambi
jazzmatad...@googlemail.comwrote:

 Hi Thomas, Hi Leandro, Hi all

 Indeed i joined forces with the Emitrom team to provide not only  better
 products in the future but also the professional support that s goes with
 it.
 @Emitrom we trully believe in Open Source that a why all our products are
 open and free to use under GPL.


 Like Fredo said before sorry about the missing code in the Linker. This
 shoud be fixed now.

 We have more new things coming in the next days/weeks and we are looking
 forward to get your inputs.

 Cheers,

 Alain


 2011/8/29 Alfredo Quiroga-Villamil laww...@gmail.com

 Hello Thomas:

 Yes indeed, long story; but yes it's a running joke here between us. We
 are talking about Alain.

 Bear with us as we will slowly try to make things easier and better. We
 truly appreciate you catching up that we missed the linker class, it was
 under a different package and we simply just missed it in the build. Nothing
 fancy there, it'll be included right away.

 Please feel free to reach out if you have any other concerns or
 suggestions.

 Regards,

 Alfredo


 On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.comwrote:

 So, just to make things clear: Namor Kambo from your about page ==
 Alain Ekambi == nino ?

 BTW, forcing people to create an account (what for?) so they're allowed
 to download a product is not really the best way to get them involved;
 particularly if the mail containing the password isn't delivered within the
 next 5 minutes.

 Oh, and the source code for the TiMobileLinker is missing (which violates
 the GPL).

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

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




 --
 Alfredo Quiroga-Villamil

 AOL/Yahoo/Gmail/MSN IM:  lawwton


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




 --

 GWT API for  non Java based platforms

 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

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

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



Re: Deferred Binding in gwt

2011-08-29 Thread Tarnakin Sergey
?

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



Re: Custom implementation of the EventBus

2011-08-29 Thread Hilco Wijbenga
On 29 August 2011 13:03, Stefan sbara...@gmail.com wrote:
 Hello Everybody

 From what I see the application developer is not suppose to be able to
 create a custom implementation of the EventBus type. The main reasons
 are the protected void dispatch(H handler) and packaged void
 setSource(Object source) methods of the GwtEvent type. What is the
 rational behind this? After all do you expect the default
 implementation SimpleEventBus to be sufficient for everybody ?

If you use the same package as SimpleEventBus then you should be fine.
That's what I did anyway and it's working well. So I guess the current
SimpleEventBus does not work for everybody. I.e., until somebody can
explain to me how I'm using events incorrectly and why this
firingDepth thing is necessary/useful. :-)

 A somewhat related discussion
 http://groups.google.com/group/google-web-toolkit/browse_frm/thread/1626a088f0d09ffc/335d4ff7202bb2e4?tvc=1q=SimpleEventBus#335d4ff7202bb2e4


 Thanks
 Stefan

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



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



Re: GWT Developer Plugin for Firefox 6

2011-08-29 Thread comzine
I switched from Chrome to FF under Linux cause of annoying windows
telling me the GWT web page is unresponsive during debugging. This bug
is already known, but should be more important and easier to fix than
solving problems with FF Changelog due Chrome is also built by Google!
Please help me! There's no comfortable way to debug my GWT projects.

On Aug 26, 4:50 pm, Chris Conroy con...@google.com wrote:
 That's more or less it to build against existing source and plugin sdks.

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

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







 On Fri, Aug 26, 2011 at 4:26 AM, Thomas Broyer t.bro...@gmail.com wrote:
  Is anything more than
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugi...
   and
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugi...needed?

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

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

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Alain Ekambi
Well this is part of the things coming in the next days/weeks.
Stay tuned  :)

2011/8/29 Gal Dolber gal.dol...@gmail.com

 This still have a great problem, we need to compile on every change, and we
 cannot debug in java.

 I am not even sure if its possible to solve that problems.

 Any plans?


 On Mon, Aug 29, 2011 at 4:58 PM, Alain Ekambi jazzmatad...@googlemail.com
  wrote:

 Hi Thomas, Hi Leandro, Hi all

 Indeed i joined forces with the Emitrom team to provide not only  better
 products in the future but also the professional support that s goes with
 it.
 @Emitrom we trully believe in Open Source that a why all our products are
 open and free to use under GPL.


 Like Fredo said before sorry about the missing code in the Linker. This
 shoud be fixed now.

 We have more new things coming in the next days/weeks and we are looking
 forward to get your inputs.

 Cheers,

 Alain


 2011/8/29 Alfredo Quiroga-Villamil laww...@gmail.com

 Hello Thomas:

 Yes indeed, long story; but yes it's a running joke here between us. We
 are talking about Alain.

 Bear with us as we will slowly try to make things easier and better. We
 truly appreciate you catching up that we missed the linker class, it was
 under a different package and we simply just missed it in the build. Nothing
 fancy there, it'll be included right away.

 Please feel free to reach out if you have any other concerns or
 suggestions.

 Regards,

 Alfredo


 On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.comwrote:

 So, just to make things clear: Namor Kambo from your about page ==
 Alain Ekambi == nino ?

 BTW, forcing people to create an account (what for?) so they're
 allowed to download a product is not really the best way to get them
 involved; particularly if the mail containing the password isn't delivered
 within the next 5 minutes.

 Oh, and the source code for the TiMobileLinker is missing (which
 violates the GPL).

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

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




 --
 Alfredo Quiroga-Villamil

 AOL/Yahoo/Gmail/MSN IM:  lawwton


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




 --

 GWT API for  non Java based platforms

 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

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




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




-- 

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

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



CellTables and fileupload help!!

2011-08-29 Thread jose felix estevez
good friends I'm trying to create a column that is the typefileupload any 
ideas?

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



Re: Trouble with List Editors

2011-08-29 Thread Maiku
It's unfortunate no one has further input on this. For the time being,
it looks to me like a limitation that you cannot use UIBinder for the
editors that are created by the ListEditor. Can anyone confirm this?

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



Re: How to do JUnit testing for a composite widget created using UIBinder?

2011-08-29 Thread BM
So you are saying I should have three files for a custom composite
widget using UIBinder?

.java file
.ui.xml file
Presenter file ?




On Aug 28, 5:22 am, Alex Dobjanschi alex.dobjans...@gmail.com wrote:
 IMO You should not do unit testing for views. All you could test is what,
 that they look ok? Or they respond to app events? Or rather generate an app
 event, based on user input? While those cases are indeed valid, testing them
 by hand is very very easy. You should however have a Presenter/Mediator for
 that specific view, which acts in-between that view and the rest of
 application. It makes more sense to test that that presenter/mediator,
 making sure it works within app's context (generating events, responding to
 events).

 But again, this is just my opinion.
 My 2 cents,
 Alex.

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



Re: Google logo's to brighten up the app.

2011-08-29 Thread karim duran
Hi Sean

If you want a Google-logo-like for your app or product :

http://neswork.com/logo-generator/google-font

Regards
Karim Duran

2011/8/29 Sean slough...@gmail.com

 Just use Google Image search to get the logos. As long as you don't say you
 drew it or its your product, you can use them.

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

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


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



Re: GWT Developer Plugin for Firefox 6

2011-08-29 Thread Chris Conroy
Just run a Firefox binary that's supported by the plugin.

For chrome, you can always launch a separate instance with
--disable-hang-monitor to get rid of that popup behavior. I recommend doing
this with a separate --user-data-dir as well for a devmode only profile
since you want that popup when you are just on a random site that gets into
an infinite js loop.

On Mon, Aug 29, 2011 at 4:22 PM, comzine comz...@gmail.com wrote:

 I switched from Chrome to FF under Linux cause of annoying windows
 telling me the GWT web page is unresponsive during debugging. This bug
 is already known, but should be more important and easier to fix than
 solving problems with FF Changelog due Chrome is also built by Google!
 Please help me! There's no comfortable way to debug my GWT projects.

 On Aug 26, 4:50 pm, Chris Conroy con...@google.com wrote:
  That's more or less it to build against existing source and plugin sdks.
 
  Upgrading to a new version is certainly more involved due to the
 repackaging
  of the original SDK, updating the makefile, manifest, and rdf install
  template in the easy case. In the hard case it involves dealing with
  breaking API changes from the new version :P
 
  Though, if you just care about building a single platform locally, that
  takes away most of the repackaging headaches. It sounds like there may be
  sufficient demand for instructions for this use case (e.g. when we are
  lagging a release), so I'll mark that as a TODO for me to write up a wiki
  entry on this subject.
 
 
 
 
 
 
 
  On Fri, Aug 26, 2011 at 4:26 AM, Thomas Broyer t.bro...@gmail.com
 wrote:
   Is anything more than
  http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugi.
 ..
and
  
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugi...needed
 ?
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To view this discussion on the web visit
  https://groups.google.com/d/msg/google-web-toolkit/-/iavfWWhp1xoJ.
 
   To post to this group, send email to
 google-web-toolkit@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

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



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



Re: Google logo's to brighten up the app.

2011-08-29 Thread karim duran
Hi Rohan

If you want a Google-logo-like for your app or product :

http://neswork.com/logo-generator/google-font

Regards
Karim Duran

2011/8/29 Rohan Chandiramani masterxr...@gmail.com

 Just a friendly bump, i would really like to know.

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


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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread gwt.user
I personally rather have an official company backing up a project then
open person running a free time project.
I also wont mind  registering if the product is worth it.

I said id before this is a really interesting GWT module and i ll
definitly took a look at it.

@Alain
I ve been following you work since gwt4air 1.0 and i really admire the
stuff you are coming up with.
It s the work of people like you that makes GWT an unique and the best
framework out there.
I mean who could have thought that we will be able to write native IOS
and Android apps with Java(GWT) one day  :) ?

Keep up the good work.

Cheers,

Alain

On Aug 29, 10:27 pm, Alain Ekambi jazzmatad...@googlemail.com wrote:
 Well this is part of the things coming in the next days/weeks.
 Stay tuned  :)

 2011/8/29 Gal Dolber gal.dol...@gmail.com









  This still have a great problem, we need to compile on every change, and we
  cannot debug in java.

  I am not even sure if its possible to solve that problems.

  Any plans?

  On Mon, Aug 29, 2011 at 4:58 PM, Alain Ekambi jazzmatad...@googlemail.com
   wrote:

  Hi Thomas, Hi Leandro, Hi all

  Indeed i joined forces with the Emitrom team to provide not only  better
  products in the future but also the professional support that s goes with
  it.
  @Emitrom we trully believe in Open Source that a why all our products are
  open and free to use under GPL.

  Like Fredo said before sorry about the missing code in the Linker. This
  shoud be fixed now.

  We have more new things coming in the next days/weeks and we are looking
  forward to get your inputs.

  Cheers,

  Alain

  2011/8/29 Alfredo Quiroga-Villamil laww...@gmail.com

  Hello Thomas:

  Yes indeed, long story; but yes it's a running joke here between us. We
  are talking about Alain.

  Bear with us as we will slowly try to make things easier and better. We
  truly appreciate you catching up that we missed the linker class, it was
  under a different package and we simply just missed it in the build. 
  Nothing
  fancy there, it'll be included right away.

  Please feel free to reach out if you have any other concerns or
  suggestions.

  Regards,

  Alfredo

  On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.comwrote:

  So, just to make things clear: Namor Kambo from your about page ==
  Alain Ekambi == nino ?

  BTW, forcing people to create an account (what for?) so they're
  allowed to download a product is not really the best way to get them
  involved; particularly if the mail containing the password isn't 
  delivered
  within the next 5 minutes.

  Oh, and the source code for the TiMobileLinker is missing (which
  violates the GPL).

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

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

  --
  Alfredo Quiroga-Villamil

  AOL/Yahoo/Gmail/MSN IM:  lawwton

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

  --

  GWT API for  non Java based platforms

 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/

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

  --
  Guit: Elegant, beautiful, modular and *production ready* gwt applications.

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

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

 --

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

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 

Re: Google logo's to brighten up the app.

2011-08-29 Thread Rohan Chandiramani
Thank you Sean and karim33, both you're comments have been great help!

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



Re: RequestFactory cannot find Entity

2011-08-29 Thread Thomas Broyer


On Monday, August 29, 2011 8:54:12 PM UTC+2, Rud wrote:

 I have been experiencing something strange with ReuqestFactory. Some 
 detials: 

 Helios Eclipse 
 GWT 2.3 / GAE 1.5.1 
 JDK 1.6 

 I have a Person with PersonProxy and PersonRequest. These use the 
 simple @ProxyFor(Person.class) and @Service(Person.class). 

 I started up Eclipse and before doing anything else ran the 
 application. It ran fine. I've been trying to get something working on 
 the server side so added a jar to the Refed libs and copied it to the 
 WAR. 

 I get the meesage that PersonProxy and PersonRequest (they are in 
 us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are 
 compile errors, not run-time errors.  That worked fine a minute ago.


You might be experiencing 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5587 but you 
can safely ignore the error.

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



Re: Trouble with List Editors

2011-08-29 Thread Thomas Broyer
I can confirm you *can* use any kind of sub-editor with ListEditor. More 
often than not our sub-editors are built using UiBinder (we do use 
RequestFactoryEditorDriver, but that really shouldn't matter; UiBinder is an 
implementation detail).

Is the error happening in DevMode or using GWT Designer?

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



Re: Request implementation couldn't be found.

2011-08-29 Thread Thomas Broyer
Sorry, as the error says, this is not about findRates (plural), but findRate 
(singular).

You can try downloading 
requestfactory-apt-2011-08-18.jarhttp://google-web-toolkit.googlecode.com/svn/tools/lib/requestfactory/requestfactory-apt-2011-08-18.jarand
 configuring it in Eclipse; it's more accurate, and points the exact 
method directly in the code: see 
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

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



Re: RequestFactory cannot find Entity

2011-08-29 Thread Rud
No, the error cannot be ignored. The app will not run when the error
is generated. The error occurs not only with auto-build but also when
running the app or doing a GWT compile.

On Aug 29, 4:41 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On Monday, August 29, 2011 8:54:12 PM UTC+2, Rud wrote:

  I have been experiencing something strange with ReuqestFactory. Some
  detials:

  Helios Eclipse
  GWT 2.3 / GAE 1.5.1
  JDK 1.6

  I have a Person with PersonProxy and PersonRequest. These use the
  simple @ProxyFor(Person.class) and @Service(Person.class).

  I started up Eclipse and before doing anything else ran the
  application. It ran fine. I've been trying to get something working on
  the server side so added a jar to the Refed libs and copied it to the
  WAR.

  I get the meesage that PersonProxy and PersonRequest (they are in
  us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are
  compile errors, not run-time errors.  That worked fine a minute ago.

 You might be 
 experiencinghttp://code.google.com/p/google-web-toolkit/issues/detail?id=5587but
  you
 can safely ignore the error.

-- 
You received 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.



Why doesn't my custom widget work in chrome but perfectly in firefox?

2011-08-29 Thread Ingert Doe
Hello, Today I ran into some problems with a custom widget. I created
a new GWT project and made a small test widget to narrow down the
problem. Here is the test widget I wrote:

public class MyWidget extends Composite implements MouseOverHandler,
MouseOutHandler {
private final HTML widget;

public MyWidget() {
widget = new HTML(divHello/div);
widget.addDomHandler(this, MouseOverEvent.getType());
widget.addDomHandler(this, MouseOutEvent.getType());
initWidget(widget);
}

@Override
public void onMouseOver(MouseOverEvent event) {
widget.setHTML(divMouse over/div);
}

@Override
public void onMouseOut(MouseOutEvent event) {
widget.setHTML(divBye mouse!/div);
}
}



In firefox, this code works as expected. When I hover the cursor over
the div, the text changes to Mouse over, when I remove the cursor
from the div, the text changes to Bye mouse!.

In Chrome, only the onMouseOver handler is executed. To be perfectly
clear: When I hover the cursor over the div, the text changes to
Mouse over, but when I remove the cursor from the div, the text does
Not change to Bye mouse!.
If I comment out the addDomHandler for MouseOver, the MouseOut works.

I have also tried (as suggested on different forums) to only implement
the HasMouseOverHandlers and HasMouseOutHanders on my widget,
overriding the addMouse*Handler and using a separate class for
implementing the MouseOverHander/MouseOutHandler but I get the same
results here. Works perfectly in ff but only one handler works in
chrome.

Am I doing anything wrong in the code above? Is there another way I
can write the code to get the it more cross-browser compliant?

Thank you!

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



Re: RequestFactory cannot find Entity

2011-08-29 Thread Thomas Broyer
But can't you bypass the error and continue with the DevMode launch?

Workaround: replace @ProxyFor with @ProxyForName.

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



GWT 2.3 with Jetty Datasource NameNotFoundException

2011-08-29 Thread Markus
Hello!

I try to use GWT without GAE and I will use a normal Datasource. But I
always get an NameNotFoundException.

My jetty-env.xml under WEB-INF:

?xml version=1.0?
!DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN
http://jetty.mortbay.org/configure.dtd;

Configure id=myapp class=org.mortbay.jetty.webapp.WebAppContext

New id=DSTest class=org.eclipse.jetty.plus.jndi.Resource
ArgRef id=myapp //Arg
Argjdbc/DSTest/Arg
Arg
New class=org.apache.commons.dbcp.BasicDataSource
Set 
name=driverClassNameorg.postgresql.Driver/Set
Set 
name=urldbc:postgresql://localhost:5432/xxx/Set
Set name=usernamepostgres/Set
Set name=passwordxxx/Set
/New
/Arg
/New

/Configure


My Web.xml

resource-ref
descriptionMy DataSource Reference/description
res-ref-namejdbc/DSTest/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref


And the Java-Code:

try {

Context env = (Context) new 
InitialContext().lookup(java:comp/env/
jdbc/DSTest);
DataSource ds = ((DataSource)env);
Connection con = ds.getConnection();
} catch(Exception ex) {
ex.printStackTrace();
}

Anybody an idea? I used Tomcat with Datasources and with the jetty
server it will not run :(


Here the full exception:

javax.naming.NameNotFoundException; remaining name 'env/jdbc/DSTest'
at org.mortbay.naming.NamingContext.lookup(NamingContext.java:634)
at org.mortbay.naming.NamingContext.lookup(NamingContext.java:665)
at org.mortbay.naming.NamingContext.lookup(NamingContext.java:680)
at
org.mortbay.naming.java.javaRootURLContext.lookup(javaRootURLContext.java:
112)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at de.test.Test.doGet(Test.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)


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



Re: Custom implementation of the EventBus

2011-08-29 Thread Stefan Ollinger

Why do you want to create your own event bus?

Am 29.08.2011 22:21, schrieb Hilco Wijbenga:

On 29 August 2011 13:03, Stefansbara...@gmail.com  wrote:

Hello Everybody

 From what I see the application developer is not suppose to be able to
create a custom implementation of the EventBus type. The main reasons
are the protected void dispatch(H handler) and packaged void
setSource(Object source) methods of the GwtEvent type. What is the
rational behind this? After all do you expect the default
implementation SimpleEventBus to be sufficient for everybody ?

If you use the same package as SimpleEventBus then you should be fine.
That's what I did anyway and it's working well. So I guess the current
SimpleEventBus does not work for everybody. I.e., until somebody can
explain to me how I'm using events incorrectly and why this
firingDepth thing is necessary/useful. :-)


A somewhat related discussion
http://groups.google.com/group/google-web-toolkit/browse_frm/thread/1626a088f0d09ffc/335d4ff7202bb2e4?tvc=1q=SimpleEventBus#335d4ff7202bb2e4


Thanks
Stefan

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




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



Re: GWT 2.3 with Jetty Datasource NameNotFoundException

2011-08-29 Thread Thomas Broyer
I believe the embedded Jetty has been initialized with support for JNDI. I 
don't think it's meant to support this kind of setup though.

You'd better deploy to a distinct server (Tomcat if you want) and run the 
DevMode in -noserver 
modehttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's.
 
FYI, that's what we do at work (with a complex setup using Jetty) and it 
works like a charm. To make things easier when developing, our webapp points 
to our Eclipse workspace, so we only have to touch a file to have Jetty 
reload the webapp and use the modified classes/files, without the need to 
package and deploy a WAR file. We only package a WAR in production mode, 
i.e. in the build run by Jenkins, which is then deployed to 2 test servers.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/5Oua9zpNQI4J.
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.



compilation time issue with only 1 permutation

2011-08-29 Thread Marcin Biegan
Hello,

I've recenty seen High-performance GWT talk from Google IO 2011 and
during the part about compiler options David Chandler said that large
GWT projects can take several minutes to compile.

My current project takes about 1h to compile on average machine (i5
2.4GHz, 8GB ram, SSD drive, ~80k lines of code). We have 3 modules:
a) only 1 language so 6 permutation
b) and c) each 26 languages so 2*156 permutations

Is it normal to reach so high compilation times with similar
configuration?

Second issue is the fact that the part of compilation before
permutation generation is taking quite a lot. It takes about 3-5
minutes before the first permutation starts and I belive that it
should be a lot faster.  When I set compiler log level to more chatty
I can see what is going on, but there are no timestamps (is it easy to
add timestamps?) and I don't really know how much time which part
should take anyway. Does anyone have an idea how to debug the problem?

BR
Marcin

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



Re: Custom implementation of the EventBus

2011-08-29 Thread Hilco Wijbenga
On 29 August 2011 15:32, Stefan Ollinger stefan.ollin...@gmx.de wrote:
 Why do you want to create your own event bus?

Read my email and the discussion that your namesake linked to.

 Am 29.08.2011 22:21, schrieb Hilco Wijbenga:

 On 29 August 2011 13:03, Stefansbara...@gmail.com  wrote:

 Hello Everybody

  From what I see the application developer is not suppose to be able to
 create a custom implementation of the EventBus type. The main reasons
 are the protected void dispatch(H handler) and packaged void
 setSource(Object source) methods of the GwtEvent type. What is the
 rational behind this? After all do you expect the default
 implementation SimpleEventBus to be sufficient for everybody ?

 If you use the same package as SimpleEventBus then you should be fine.
 That's what I did anyway and it's working well. So I guess the current
 SimpleEventBus does not work for everybody. I.e., until somebody can
 explain to me how I'm using events incorrectly and why this
 firingDepth thing is necessary/useful. :-)

 A somewhat related discussion

 http://groups.google.com/group/google-web-toolkit/browse_frm/thread/1626a088f0d09ffc/335d4ff7202bb2e4?tvc=1q=SimpleEventBus#335d4ff7202bb2e4


 Thanks
 Stefan

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



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



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



Re: Using a CellTable with individual Cell selection

2011-08-29 Thread jsano
Thanks Sudhakar!
This code works perfectly.

On Aug 19, 5:12 pm, Sudhakar Abraham s.abra...@datastoregwt.com
wrote:
 In celltable css change the properties of cellTableOddRowCell:hover
 and cellTableEventRowCell:hover set the border properties.

 Here is a sample code.

 package com.college.client;
 import java.util.Arrays;
 import java.util.List;
 import com.college.client.StudentListEditor.TableResources;
 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.user.cellview.client.CellTable;
 import com.google.gwt.user.cellview.client.TextColumn;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.view.client.ListDataProvider;
 public class CellTableExample implements EntryPoint
 {
   interface TableResources extends CellTable.Resources
   {
     @Source(value = { CellTable.Style.DEFAULT_CSS,
 CellTableStyle.css })
     CellTable.Style cellTableStyle();
   }
    @Override
   public void onModuleLoad()
   {
     CellTableContact table = new CellTableContact(15,
 GWT.TableResources create(TableResources.class));
     TextColumnContact nameColumn = new TextColumnContact() {
       @Override
       public String getValue(Contact contact) {
         return contact.name;
       }
     };
     TextColumnContact addressColumn = new TextColumnContact() {
       @Override
       public String getValue(Contact contact) {
         return contact.address;
       }
     };
     table.addColumn(nameColumn, Name);
     table.addColumn(addressColumn, Address);
     ListDataProviderContact dataProvider = new
 ListDataProviderContact();
     dataProvider.addDataDisplay(table);
     ListContact list = dataProvider.getList();
     for (Contact contact : CONTACTS) {
       list.add(contact);
     }
     RootPanel.get().add(table);
   }
   private static class Contact {
     private final String address;
     private final String name;

     public Contact(String name, String address) {
       this.name = name;
       this.address = address;
     }
   }
   private static ListContact CONTACTS = Arrays.asList(new
 Contact(John,
   123 Fourth Road), new Contact(Mary, 222 Lancer Lane), new
 Contact(
   Zander, 94 Road Street));

 }

 CellTableStyle.css

 .cellTableCell {
     height: 25px;
     cursor: pointer;
     padding: 2px 25px;}

 .cellTableHeader {
         height: 25px;
         padding: 3px 25px;
     text-align: left;
     color: #4b4a4a;
     text-shadow: #ddf 1px 1px 0;
     overflow: hidden;
     background: #BAC2CD;}

 .cellTableEvenRow {
         background: #fffaf0;}

 .cellTableEvenRow:hover{
            color: black;
         }
 .cellTableEvenRowCell {
     border: 2px solid #fffaf0;}

 .cellTableOddRowCell {
     border: 0px solid red;}

 .cellTableEvenRowCell{
          border: 0px solid blue;
         }
 .cellTableOddRowCell:hover {
     border: 2px solid red;}

 .cellTableEvenRowCell:hover{
          border: 2px solid blue;
         }

 S. Abrahamwww.DataStoreGwt.com

 On Aug 18, 6:12 am, Sander Smith smit...@sericontech.com wrote:







  I need to create a table of records where each row in the table is
  selectable. I'm using a CellTable which works very nice, and allows me
  to select and act on rows.

  However, there's a cosmetic side-effect that I don't like. When
  anything in the table is clicked on, it seems like the cell that was
  clicked on is being selected. It does this by highlighting the text in
  the cell and putting a frame around that cell.

  How do I retain the functionality of this widget, but avoid this
  cosmetic behavior?

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



Re: GWTCanvas alternatives

2011-08-29 Thread AThinerCoin
Context2d was exactly what I needed.  Thanks for all the help!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/R7D1Fr6MeNIJ.
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.



Access static file from onModuleLoad() method

2011-08-29 Thread AThinerCoin
I'd like to access a static file, let's say config.xml from my onModuleLoad 
method.  

It says on this webpage, that config.xml should live in the public sibling 
dir of my .gwt.xml file, but I've tried that and onModuleLoad function still 
gives me the error below.

It also suggests that I add a line to the .gwt.xml file like   public 
path='public'/  but that isn't working for me either.

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

I've tried searching for an example, but I don't see one.

com.google.gwt.xml.client.impl.DOMParseException: Failed to parse: error on 
line 1 at column 1: Document is empty

at 
com.google.gwt.xml.client.impl.XMLParserImplSafari.throwDOMParseException(XMLParserImplSafari.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:167)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at 
com.google.gwt.xml.client.impl.XMLParserImplSafari.parseImpl(XMLParserImplSafari.java)
at 
com.google.gwt.xml.client.impl.XMLParserImpl.parse(XMLParserImpl.java:278)
at com.google.gwt.xml.client.XMLParser.parse(XMLParser.java:47)
at com.java2s.gwt.client.client.GWTClient.loadConfig(GWTClient.java:56)
at 
com.java2s.gwt.client.client.GWTClient.onModuleLoad(GWTClient.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:680)

Thank you for your help!

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



Re: RequestFactory cannot find Entity

2011-08-29 Thread Rud
Yes, I could bypass the error but when the app attempts to perform the
RequestFactory activities it throws exceptions that Person cannot be
found. The Person data is not saved or retrieved.

I'll try the other version of the annotation. Of course, since posting
this message it has behaved itself.

On Aug 29, 5:10 pm, Thomas Broyer t.bro...@gmail.com wrote:
 But can't you bypass the error and continue with the DevMode launch?

 Workaround: replace @ProxyFor with @ProxyForName.

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



Re: GWT 2.3 with Jetty Datasource NameNotFoundException

2011-08-29 Thread Markus
Thanks for ur reply. But I don't want to use another Servlet Container
and I think that jetty has JNDI Support.

So I just find the bug in my config..

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



Re: Aw: HTML5 Storage: Is it possible to expose/use the serializer/de-serializer used by GWT-RPC internally on the client??

2011-08-29 Thread -sowdri-
I completely agree with the fact that RequestFactory is the way to go!  I 
use RF in all my projects. But I also use RPC along side, esp. when it comes 
to Google Collections (Table DS for instance). 

Or to put the question other way around: 

*Is it possible to make ValueProxies, which can embed Guava - GWT 
Serializable 
typeshttp://guava-libraries.googlecode.com/svn/trunk/javadoc/com/google/common/collect/Table.html
?? *

## 

And regarding serializing the EntityProxies, I use AutoBeans directly. I 
tried using RF ProxySerializer with no luck. 

To create a self-contained message that encapsulates a proxy:

// taken from the javadocs

 RequestFactory myFactory = ...;
 MyFooProxy someProxy = ...;
 
 DefaultProxyStore store = new DefaultProxyStore();
 ProxySerializer ser = myFactory.getSerializer(store);
 // More than one proxy could be serialized
 String *key* = ser.serialize(someProxy);
 // Create the flattened representation
 String payload = store.encode();
 

To recreate the object:

 ProxyStore store = new DefaultProxyStore(payload);
 ProxySerializer ser = myFactory.getSerializer(store);
 MyFooProxy someProxy = ser.deserialize(MyFooProxy.class, *key*);


*In that case, should we store the key seperately. Or am I missing 
something??*


Regards,  

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



[gwt-contrib] Re: Integrating Peng's recent API changes to CellTableBuilder into HeaderCreator. HeaderCreator now... (issue1533804)

2011-08-29 Thread jlabanca

http://gwt-code-reviews.appspot.com/1533804/

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


[gwt-contrib] Re: Integrating Peng's recent API changes to CellTableBuilder into HeaderCreator. HeaderCreator now... (issue1533804)

2011-08-29 Thread jlabanca

Since we seem to be in agreement (or at least acceptance), I changed
HeaderCreator to HeaderBuilder.  I also separated the FooterBuilder
interface as Brian suggested.


http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
File user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
(right):

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java#newcode715
user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java:715:
private static SafeHtml tableSectionToSafeHtml(TableSectionBuilder
section, String tag) {
On 2011/08/27 03:42:02, skybrian wrote:

@param tag: the expected tag (thead or tfoot)


Done.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java#newcode718
user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java:718:
HeaderCreator must return a builder of type HtmlTableSectionBuilder);
On 2011/08/27 03:42:02, skybrian wrote:

Does this need to be a runtime check, or should we change the type in
HeaderCreator to match?


Eventually, we want to relax this restriction and allow any
implementation TableSectionBuilder, such as DomTableSectionBuilder.
This is a temporary runtime check until we support any builder.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java
File user/src/com/google/gwt/user/cellview/client/HeaderCreator.java
(right):

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode22
user/src/com/google/gwt/user/cellview/client/HeaderCreator.java:22: *
Creates the DOM elements for the header or footer section of a
CellTable.
On 2011/08/27 03:42:02, skybrian wrote:

Also provides queries on elements in the last DOM subtree that it

created.



Done.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode27
user/src/com/google/gwt/user/cellview/client/HeaderCreator.java:27: *
builder's state should be reset.
On 2011/08/27 03:42:02, skybrian wrote:

It's unclear what sort of state you mean. I think this is probably

covered by

saying that the query methods have to work on DOM elements from the

most recent

call to buildHeader().



Done.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode42
user/src/com/google/gwt/user/cellview/client/HeaderCreator.java:42:
public interface HeaderCreatorT {
On 2011/08/27 03:42:02, skybrian wrote:

 From a type system point of view, Headers are not normally

interchangeable with

Footers (and we make sure of this at runtime), so it's weird that they

are the

same type. (This is a hack that's okay for implementation but not so

great for a

public API.) I would arrange the type hierarchy like this:



AbstractHeaderOrFooterBuilder



DefaultHeaderOrFooterBuilder
   extends AbstractHeaderOrFooterBuilder
   implements HeaderBuilder, FooterBuilder



That is, each subclass of AbstractHeaderOrFooterBuilder should declare

whether

it's a header, footer, or both. These interfaces would be the same

except that

one declares buildHeader() and the other declares buildFooter().



This would be a clearer API when looking at GWT code in google3

because you

could look at all the subclasses of HeaderBuilder to find headers and

all the

subclasses of FooterBuilder to find footers.


Done.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode45
user/src/com/google/gwt/user/cellview/client/HeaderCreator.java:45: *
Build the entire header table, resetting any state associated with the
On 2011/08/27 03:42:02, skybrian wrote:

How about: Builds the DOM subtree for this header or footer. The root

of the

subtree must be a THEAD or TFOOT element, as appropriate. This method

may be

called multiple times and should return a new DOM subtree each time.


Done.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode58
user/src/com/google/gwt/user/cellview/client/HeaderCreator.java:58: *
Return the column containing an element.
On 2011/08/27 03:42:02, skybrian wrote:

Given an element in the DOM subtree returned by the most recent call

to {@link

#buildHeader}, returns the Column that should be the target of any

button clicks

or other events on that element, or null if the events should be

discarded.


(That's assuming that the parameter is only allowed to be one of those

in the

subtree. Is that actually true?)


Done.

Its true, and its a good idea to call it out.

http://gwt-code-reviews.appspot.com/1533804/diff/1/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java#newcode66

Re: [gwt-contrib] maven source jars

2011-08-29 Thread Daniel Bell
Hey Guys,

I just noticed this thread, and wanted to suggest Maven Ant Tasks (
http://maven.apache.org/ant-tasks/index.html). It includes Ant tasks for
installing build artifacts to local Maven repositories, or deploying them to
remote Maven repositories, both with arbitrary POMs. It can also generate
POMs with given dependencies, and download/manage dependencies using Maven.

It seems like a good road to take, given that it integrates better than
tools/scripts/maven_script.sh with the existing build (Ant scripts), and
means that you wouldn't have to store your dependencies in source control
(apart from the patched/rebased ones, though you could deploy them to
Central too). It could also replace your script that deploys to the remote
Maven repository (I haven't seen that one, but I'm assuming it's a shell
script too:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4853#c12), and
allow you to automate the deployment to Sonatype's repo (and consequently to
Central). If the plan was to eventually try to remove the dependencies and
manage them with Maven, this would be a step in that direction too.

Cheers,
Daniel

On 29 August 2011 20:00, Thomas Broyer t.bro...@gmail.com wrote:

 It's actually just a slight improvement over the already existing
 maven_script.shhttp://code.google.com/p/google-web-toolkit/source/browse/trunk/tools/scripts/maven_script.sh
  (using
 pre-written POMs rather than generating them)

 That's actually not enough though, because GWT jars are created with a
 JarIndex, and a JarIndex contains the name of the JAR, so renaming it
 without regenerating or stripping the JarIndex (META-INF/INDEX.LIST)
 generates spurious exceptions in DevMode (caught internally, but very
 annoying if you suspend executions on unhandled exceptions when launching
 DevMode with a debugger attached: the CompilingClassLoader looks up classes
 in a gwt-user.jar instead of the gwt-user-2.4-SNAPSHOT.jar).
 Removing the JarIndex, or regenerating it, is easy, but still.

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


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

[gwt-contrib] [google-web-toolkit] r10589 committed - removing tag for respin of 2.4.0

2011-08-29 Thread codesite-noreply

Revision: 10589
Author:   mrruss...@google.com
Date: Mon Aug 29 09:22:57 2011
Log:  removing tag for respin of 2.4.0
http://code.google.com/p/google-web-toolkit/source/detail?r=10589

Deleted:
 /tags/2.4.0

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


[gwt-contrib] [google-web-toolkit] r10590 committed - Tag 2.4.0 release

2011-08-29 Thread codesite-noreply

Revision: 10590
Author:   mrruss...@google.com
Date: Mon Aug 29 09:34:15 2011
Log:  Tag 2.4.0 release
http://code.google.com/p/google-web-toolkit/source/detail?r=10590

Added:
 /tags/2.4.0

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


  1   2   >