Re: iTunes-type display widget

2011-01-01 Thread Gal Dolber
Sure, you can do that with the new CellTable.

Best

On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote:

 http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826

 Does anyone know if GWT already has a way to display cells the way
 iTunes does (see image in link above)?

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




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



Re: UmbrellaException containing JavaScriptException

2011-01-01 Thread cmarsh...@avenue100.com
After writing code to catch the UmbrellaException and log it's stack
trace this problem was caused by the PlaceController invoking the
setWidget with a null widget.  The code I wrote extending LayoutPanel
did not check for this and invoked the LayoutPanel.add() method with
the null widget.  Modifying the my code to catch this and not invoke
the add() method when the widget is null fixed the problem.

Chris Marshall

On Dec 29 2010, 11:44 am, cmarsh...@avenue100.com
cmarsh...@avenue100.com wrote:
 We are currently starting to experiment with GWT and are considering
 using the MVP design pattern that has been described in the Google
 documentation for GWT.  Our intended application is an internal portal
 that will be implemented over time with different functions to be
 implemented independently.  My first attempt at possible structure is
 resulting in an UmbrellaException.

 The structure we are trying, is to have a TabLayoutPanel that is
 essentially the top level of the UI for the portal.  Then have
 individual GWT modules for each tab so that they can be easily
 developed independently and they can be assembled in different
 combinations for different purposes.  Everything worked until I
 attempted to use a DockLayoutPanel in one of the tabs.  At first I
 tried continuing with the SimplePanel that is set as the display in
 the ActivityManager which of course didn't work.  I created a new
 class that sub-classed SimplePanel and that implements ProvidesResize
 and RequiresResize expecting this to work but the DockLayoutPanel
 comes up blank.

 The next thing tried was to create a class that sub-classes
 LayoutPanel and implements AcceptsOneWidget to replace the SimplePanel
 that I originally was using (AcceptsOneWidget is required by the
 ActivityManager).  Doing this has the DockLayoutPanel displaying
 correctly, so far good!  The center panel has several CellTable(s) in
 it, one of which has buttons to implement a drill-through to
 additional information.  Clicking on one of the buttons causes the
 goto method in the Activity/Presenter to be invoked which in turn
 invokes the goto method in the PlaceController.  The PlaceController
 appears to invoke something related to the SimpleEventBus that then
 produces the UmbrellaException.  There appears to be a null value
 somewhere that is causing the issue.  The message in the
 JavaScriptException has (TypeError): w is null.

 Any suggestions on how to track this down?  Is there a way of getting
 the DockLayoutPanel display correctly when inside a SimplePanel?

 thanks,
 Chris Marshall

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



Re: Autobean frozen problem when reusing editors

2011-01-01 Thread Mike Guo
I am trying to reproduce this in a small example. However, it seems 
that this does not happen, when the ListEditor manages a list of 
LeafValueEditors, which is not the case in my application. I am a 
little bit confused about the whole LeafValueEditor-concept. Should my 
ListEditor always be composed of LeafValueEditors?
-of course not, i think it can be composed of ANY Editors
 Can i put a more 
complex editor for an entity with multiple editable properties in a 
LeafValueEditor? 
yes you can
The documentation says LeafValueEditor is used for non-object, 
immutable, or any type that the Editor framework should not descend 
into. 
However the whole ListEditor seems to be designed around it, 
especially HasDataEditor, so either ListEditor/HasDataEditor in its 
current state is bugged and not very useful when it comes to complex, 
mutable entities, or LeafValueEditor can be somehow wrapped around the 
complexity. Could someone clarify this? 
ListEditor is a kind of CompositeEditor, the doc said: the 
ListEditoreclipse-javadoc:%E2%98%82=expenses-TRUNK/D:%5C/sunguo%5C/.m2%5C/repository%5C/com%5C/google%5C/gwt%5C/gwt-servlet%5C/2.1.1%5C/gwt-servlet-2.1.1.jar%3Ccom.google.gwt.editor.client(CompositeEditor.class%E2%98%83CompositeEditor%E2%98%82com.google.gwt.editor.client.adapters.ListEditortype
 is a CompositeEditorListT, 
T, E extends EditorT; that is, ListEditor will accept a ListT and will 
edit some unknown number of T's using the Editor type E. 

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



Multiple leftover fragments with a tree of code split points?

2011-01-01 Thread Ed
I am about to migrate 3 gwt app's to one gwt app. All gwt app's
contain code split points, and I want to connect them with 3 code
split points.

I am a bit concerned about the left over fragment. From the
documentation I understand that I only have one leftovers code
fragment, which isn't very ideal I think in my situation.

The code split points after migration:
main app
   1 split point: login app
  1a, 1b, 1c, .. split points in the login app.

   2 split point: profile app
  2a, 2b, 2c, .. split points in the profile app.

   3 split point: declare app
  3a, 3b, 3c, .. split points in the declare app.

I am afraid that my leftover code fragment becomes rather large, where
I would love to have several leftover fragments that belong only to
1), 2), or 3).
Is that possible? How does gwt deal with this?

From the documentation I read that code are put in the leftover code
fragment if it's not unique to one split point. Ok, I understand that
but in my case it's unique to the parent split point. Example: I have
leftover code that is used in 1a and 1b split points, but is unique to
1), so I would guess that 1) has his own unique leftover.

Can somebody please give some details on this, on how gwt deals with
these kind of nested split point situations?

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



Re: Multiple editors for the same object

2011-01-01 Thread Mike Guo
Editor can be flexible, it can be embedded, assembled and multiple editors 
for the same object is also possible. but first of all you have to organized 
it clearly, the key is separate the data from a view.

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



How to disable a custom widget and its click handlers

2011-01-01 Thread Matthew Hill
Hi. I'm making a custom button widget.

This button has a setEnabled method. When the button is disabled, clicking 
on the button must do nothing. How do I achieve this behavior? 

I've tried adding a Click Handler like so, to no avail:

@Override

public void onClick(ClickEvent event) {

if (!isEnabled()) {

event.stopPropagation();

event.preventDefault();

return;

}

}

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



Re: Happy New Year

2011-01-01 Thread Duong BaTien
Happy New Year to all participants in GWT, GAE and Objectify.


On Fri, Dec 31, 2010 at 12:33 PM, Jeff Schwartz jefftschwa...@gmail.comwrote:

 Happy New Year to you all!

 --
 *Jeff Schwartz*

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




-- 
Dr. Duong BaTien
DBGROUPS  BudhNet

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



Re: Eclipse 3.7 and GWT plugin

2011-01-01 Thread Mark Renouf
Hi,

I just happened across this thread because I'm testing Eclipse 3.7M4 and 
attempted to install GPE. I'm really glad you guys are on top of this now. I 
completely understand that it's too much effort to begin supporting 
Milestone builds. However, an RC build would be greatly appreciated, when 
things begin to stabilize.

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



Re: iTunes-type display widget

2011-01-01 Thread jaybose
Great, do you have an example?

The GWT showcase doesn't have anything like this.
I looked and looked, didn't see any pure GWT demos that had this.


On Jan 1, 3:22 am, Gal Dolber gal.dol...@gmail.com wrote:
 Sure, you can do that with the new CellTable.

 Best



 On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote:
 http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826

  Does anyone know if GWT already has a way to display cells the way
  iTunes does (see image in link above)?

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

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



Re: I18N - How to set locale per code?

2011-01-01 Thread andrew_d_mackenzie
I'd like to add my 2cents to the original question.

Is there no other way to change locale than adding parameter to url
and doing a refresh?

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



Re: iTunes-type display widget

2011-01-01 Thread Gal Dolber
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler

On Sat, Jan 1, 2011 at 1:24 PM, jaybose onyeje.b...@gmail.com wrote:

 Great, do you have an example?

 The GWT showcase doesn't have anything like this.
 I looked and looked, didn't see any pure GWT demos that had this.


 On Jan 1, 3:22 am, Gal Dolber gal.dol...@gmail.com wrote:
  Sure, you can do that with the new CellTable.
 
  Best
 
 
 
  On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote:
  http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826
 
   Does anyone know if GWT already has a way to display cells the way
   iTunes does (see image in link above)?
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




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



Re: Transactions in Request Factory

2011-01-01 Thread Daghan
I have the same problem... I am going to google a solution but if I can't 
find one, I'll try to return a boolean for my persist() calls and try to 
delete the entities manually even they don't all succeed
I guess I am just saying that I'll be mimicing the transaction logic on the 
client side... I don't like it

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



Re: Happy New Year

2011-01-01 Thread gopal bhalala
Happy New Year to all

Best Regards  Thanking you,
Gopal Dhanjibhai Bhalala


On Sat, Jan 1, 2011 at 9:27 PM, Duong BaTien duong.bat...@gmail.com wrote:

 Happy New Year to all participants in GWT, GAE and Objectify.


 On Fri, Dec 31, 2010 at 12:33 PM, Jeff Schwartz 
 jefftschwa...@gmail.comwrote:

 Happy New Year to you all!

 --
 *Jeff Schwartz*

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




 --
 Dr. Duong BaTien
 DBGROUPS  BudhNet

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


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



Re: Transactions in Request Factory

2011-01-01 Thread Y2i
This is interesting.  Could you please share a more specific example?

I haven't run into this problem yet. When I need to update multiple
entities, I enable their parent for editing and then persist the
parent.  The children are persisted transitively, as described below:

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

Are you editing multiple un-related entities?


On Jan 1, 10:43 am, Daghan dag...@gmail.com wrote:
 I have the same problem... I am going to google a solution but if I can't
 find one, I'll try to return a boolean for my persist() calls and try to
 delete the entities manually even they don't all succeed
 I guess I am just saying that I'll be mimicing the transaction logic on the
 client side... I don't like it

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



Re: Any clues on why my gwt project's compilation is so slow?

2011-01-01 Thread Thomas Broyer
It might be this: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5773

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



Re: requestfactory don't allow appengine parent relationship ?

2011-01-01 Thread Thomas Broyer


On Friday, December 31, 2010 12:18:44 AM UTC+1, Simon Majou wrote:

 I am using GAE and when I create an entity having parents with Request 
 Factory, I get this exception:

 com.googlecode.objectify.NotFoundException: No entity was found matching 
 the key: Key{kindClassName=com.pipo.MyEntity, parent=null, id=2}

 This exception is launched when calling:

 public static MyEntity findMyEntity(Long id) {
 return ObjectifyService.begin().get(MyEntity.class, id);
 }

 Obviously the parent ID is missing from this method. But requestfactory 
 requires this method with this exact signature ...


Actually, not at all!
RequestFactory mandates (if you're not using a locator) that you have a 
static findMyEntity method that returns a MyEntity instance and takes as 
argument an ID for MyEntity.
I don't know Objectify but from the little I saw in the javadoc, your ID 
would have to be a Key? if you want the parent relationship, and not a 
Long. This means your getId accessor would have to return a Key too. It also 
means you have to map the Key class to a ValueProxy (same as EntityProxy but 
without the getId/getVersion/findXxx constraints).
 


 So I think I need to inject by myself the parent id into that method.

 To do that I should use the ServiceLayer API right ?


No. 

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



Re: uibinder widget creation time

2011-01-01 Thread Thomas Broyer
FYI, what initializes the emailAddressBox field is not initWidget (which has 
nothing to do with UiBinder), but createAndBindUi.

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



Re: session in gwt

2011-01-01 Thread Thomas Broyer
And both RemoteServiceServlet and RequestFactoryServlet have a 
getThreadLocalRequest static method...

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



Re: Transactions in Request Factory

2011-01-01 Thread Y2i
Ok, it looks as if I ran into this problem too.

A parent has a lot of children.

I query a few children using some criteria instead of accessing them
through a relationship.

Can I edit 2 children and persist them using a single request?

Any advice on how to deal with this would be greatly appreciated.

On Jan 1, 11:31 am, Y2i yur...@gmail.com wrote:
 This is interesting.  Could you please share a more specific example?

 I haven't run into this problem yet. When I need to update multiple
 entities, I enable their parent for editing and then persist the
 parent.  The children are persisted transitively, as described below:

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

 Are you editing multiple un-related entities?

 On Jan 1, 10:43 am, Daghan dag...@gmail.com wrote:







  I have the same problem... I am going to google a solution but if I can't
  find one, I'll try to return a boolean for my persist() calls and try to
  delete the entities manually even they don't all succeed
  I guess I am just saying that I'll be mimicing the transaction logic on the
  client side... I don't like it

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



Re: Happy New Year to the GWT team

2011-01-01 Thread Thomas Lefort
Yep, Prospero Ano Nuevo from Spain! keep on expanding GWT in 2011!
It's great!

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



Re: Use of GWT (+ JTS) + JPA + Postgis

2011-01-01 Thread Thomas Lefort
Hi Thanks for your reply,

The point is I have created a map based web application using and
retrieving Spatial data (Points, Polylines and Polygons) from a
PostGis database. I developed it using PHP/JS and it quickly got
unmanageable. So I decided to switch to JEE (at least the servlet
container side + JPA) and GWT.
I used to retrieve all the spatial data (Geometries) using direct SQL
queries and send the data to teh client with JSON.
Now I am using EclipseLink as a JPA provider but there is no support
for the geometry type, as well I am using RPC for the client server
talks and there is no out of the box classes for Geometry support that
can be serialised on both ends.
I read some people have used Hibernate Spatial for the Spatially
enabled ORM. I have never found anything about an ORM + GWT end to end
solution for my problem. I was just wondering if anybody had faced
this problem before and how they had solved it.

Cheers and happy new year to all,

Thomas

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



Re: How to disable a custom widget and its click handlers

2011-01-01 Thread rjcarr
If you are adding multiple handlers to your button then there isn't a
propagation ... they are all sibling actions.  So, what you're trying
to do wouldn't work.

I'm fairly sure the 'onBrowserEvent()' method is the initial event
handling method.  You would need to override this in your custom
button class and do something like this:

@Override
public void onBrowserEvent(...) {
 if(enabled) super.onBrowserEvent(...);
}

Good luck!

On Jan 1, 5:46 am, Matthew Hill matt2...@gmail.com wrote:
 Hi. I'm making a custom button widget.

 This button has a setEnabled method. When the button is disabled, clicking
 on the button must do nothing. How do I achieve this behavior?

 I've tried adding a Click Handler like so, to no avail:

 @Override

 public void onClick(ClickEvent event) {

 if (!isEnabled()) {

 event.stopPropagation();

 event.preventDefault();

 return;



 }
 }

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



Re: WebSocket support in GWT

2011-01-01 Thread rjcarr
I'm pretty sure websockets is an HTML5 feature that needs to be
supported in the browser.  Since it isn't yet well supported it likely
isn't worth spending the time implementing it in GWT.

If you're looking to implement push notifications then it is fairly
trivial to do in GWT.  I'm sure if you search on push notifications
or comet you'll get some good guidance.

On Dec 31 2010, 11:54 am, EMan eric.nis...@gmail.com wrote:
 anyone know if Google plans on having (or already has) websocket
 support in GWT?  I cannot find any documentation on it if it already
 exists.  Anyone done anything successfully with websockets and GWT
 that they would recommend?

 Thanks.

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



Re: How to disable a custom widget and its click handlers

2011-01-01 Thread Matthew Hill
That worked brilliantly.

Thanks!

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



Re: iTunes-type display widget

2011-01-01 Thread jaybose
Gal, I was not clear.

I'm asking about displaying images, as in the way the album art is
displayed in the following link.

http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826



On Jan 1, 11:34 am, Gal Dolber gal.dol...@gmail.com wrote:
 http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler



 On Sat, Jan 1, 2011 at 1:24 PM, jaybose onyeje.b...@gmail.com wrote:
  Great, do you have an example?

  The GWT showcase doesn't have anything like this.
  I looked and looked, didn't see any pure GWT demos that had this.

  On Jan 1, 3:22 am, Gal Dolber gal.dol...@gmail.com wrote:
   Sure, you can do that with the new CellTable.

   Best

   On Sat, Jan 1, 2011 at 2:18 AM, jaybose onyeje.b...@gmail.com wrote:
   http://picasaweb.google.com/onyeje.bose/12302010#5557097507546443826

Does anyone know if GWT already has a way to display cells the way
iTunes does (see image in link above)?

--
You received this message because you are subscribed to the Google
  Groups
Google Web Toolkit group.
To post to this group, send email to
  google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com

.
For more options, visit this group at
   http://groups.google.com/group/google-web-toolkit?hl=en.

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

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



Request results with different resulting columns

2011-01-01 Thread jeremy rose
I'm using RequestFactory.  My Proxy and Locator are mapped to a DTO.
Things are fine until I start subclassing my DTO to contain more or
less fields of the underlying JPA entity.For example, I change
some of the static methods in my Locator to return BasicDTO which is a
superclass of FullDTO with fewer fields from the underlying JPA entity
than FullDTO.After struggling through the resulting error
messages, I’m starting to believe this is not how RequestFactory was
intended to be used.

So,

1) What is the appropriate pattern for providing query results (i.e.
request results) with varying sets of columns in the resulting
objects depending on the specific request being made?

The MVP example (Contacts) mentions a realistic application would have
many more fields in the model but I haven't found a sample or
explanation for how to handle returning results with different sets of
fields based on the request even though many of these requests map to
the same underlying JPA entity in the domain model.

2) … or more likely, why is this a bad idea and how are client/server
interactions intended to operate?

Thanks,
Jeremy

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



Re: Request results with different resulting columns

2011-01-01 Thread jeremy rose
I changed my approach to use ValueProxy for the related subsets of
columns instead of inheritance and this seems to be working.  That is,
instead of FullDTO extending SimpleDTO, FullDTO has a SimpleColumnsSet
which is a value object for a subset of columns I want to retrieve
together.

I'd still be interested in any opinions regarding this approach.

On Jan 1, 3:22 pm, jeremy rose jeremy.rosenb...@gmail.com wrote:
 I'm using RequestFactory.  My Proxy and Locator are mapped to a DTO.
 Things are fine until I start subclassing my DTO to contain more or
 less fields of the underlying JPA entity.    For example, I change
 some of the static methods in my Locator to return BasicDTO which is a
 superclass of FullDTO with fewer fields from the underlying JPA entity
 than FullDTO.    After struggling through the resulting error
 messages, I’m starting to believe this is not how RequestFactory was
 intended to be used.

 So,

 1) What is the appropriate pattern for providing query results (i.e.
 request results) with varying sets of columns in the resulting
 objects depending on the specific request being made?

 The MVP example (Contacts) mentions a realistic application would have
 many more fields in the model but I haven't found a sample or
 explanation for how to handle returning results with different sets of
 fields based on the request even though many of these requests map to
 the same underlying JPA entity in the domain model.

 2) … or more likely, why is this a bad idea and how are client/server
 interactions intended to operate?

 Thanks,
 Jeremy

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



Re: onResize issue with IE 7

2011-01-01 Thread mike b
Thanks for posting such good information.  I started to apply your code 
snippet to my project, but I have one additional problem:  
StackLayoutPanel.  

It uses a LayoutPanel internally, so I can't call forceLayout on that.  Any 
ideas there?

I'm about to download gwt source so that I can modify the StackLayoutPanel 
and get to the layoutPanel it has.  

Thanks in advance, 
Mike b

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



checkbox in celltable header

2011-01-01 Thread Vagner Araujo
http://snipt.net/araujo921/checkbox-in-gwt-celltable-header

-- 
*
Vagner Araujo

O PLANETA É O MEU PAÍS, E A CIÊNCIA É A MINHA RELIGIÃO ! INDO AO INFINITO E
ALÉM... !!

[image: logo.gif]
*

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

logo.gif

Re: onResize issue with IE 7

2011-01-01 Thread mike b
Doh!  Looks like the above mentioned Issue link supplies a native javascript 
method to call the forceLayout().

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



Having multiple semi-autonomous .html pages vs single page with multiple Places ?

2011-01-01 Thread zixzigma
Hello Everyone,

normally GWT apps are consisted of only one HTML page.
this html page loads one or more scripts.
User navigation is through manipulating the history tokens/Places.

what if someone decided to implement the approach below:

instead of having only one HTML page for entire application,
have one HTML page per functional area (workspace/section).

for example, if an application has

Employee Management section ,
Document Management section,
AccountSettings section,
Message/Notification section,

what if, these four different part of the application,
were in fact in four separate HTML files.

and navigating from one section to other,
was done in traditional sense.

each section, in its own page,
showing widgets/interacting with user,
loading data/ etc 
basically an independent application on its own
and once user decides to navigate away to different part of
an application, it is basically a different gwt .html page.

to summarize, partitioning our big application
into semi-autonomous sections, with their own .html file.
and linking these sections through a href= 

after all, these gwt main html files, are basically empty,
just loading a script, so it is not like we are loading a heavyweight
html page.

what is wrong with this design ?
what are the implications ?

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



Re: iTunes-type display widget

2011-01-01 Thread Matthew Hill
That's called CoverFlow.

No, there isn't a built-in widget like that. You'd have either to find one 
on the internet or make your own.

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



Re: session in gwt

2011-01-01 Thread junaid
can you please provide me some example of this ,i ve searched it but didnt
found any ,if you can please provide
thanks

On Sat, Jan 1, 2011 at 8:58 PM, Thomas Broyer t.bro...@gmail.com wrote:

 And both RemoteServiceServlet and RequestFactoryServlet have a
 getThreadLocalRequest static method...

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


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



Re: problem while saving entity with collection while using RequestFactory :sideEffects:{DELETE

2011-01-01 Thread Smithimage
Has anyone had any progress in regard to this issue?
I am my self experiencing something similar (using 2.1.1)

Thanks!


On Nov 19 2010, 3:47 pm, will0 willtemper...@gmail.com wrote:
 Hi

 I'm having the same problem. I have a class named Survey which
 contains a list of SurveyReplicates (see code below).  My app edits
 both the Survey and the SurveyReplicates then sends the whole lot to
 the server.

 @Entity
 public class Survey {
         .

         @OneToMany(mappedBy=survey, fetch=FetchType.EAGER)
         public ListSurveyReplicate getSurveyReplicates() {
                 return surveyReplicates;
         }

 }

 Much like the OP, when persist is called on the parent object Survey,
 none of the survey replicates are persisted.  A little debugging shows
 that none of the updates arrive in the SurveyReplicates in the
 persist() method on Survey, however the JSON sent to the server
 contains the updates to the SurveyReplicates.  Updates to the Survey
 do arrive.

 I wonder if anyone could tell me if persisting object graphs with one-
 to-many relationships is supported?
 I'm using GWT tip-of-trunk, but saw the same behaviour in 2.1.0.

 Thanks

 Will Temperley

 On Nov 11, 2:49 pm, agi agata.p...@gmail.com wrote:







  Hello,

  I've started to useRequestFactoryin my project, but I have following
  problem.

  I have  Classes

  class Professor
  {
  @ManyToMany(...)
   ListSubject subjects;
  ///setters getters etc

  }

  I  have created all needed architecture (Proxys, Requests etc)

  In my application I do :
  1) I am fetching List of all Subjects  from the database.
   final SubjectRequest request =requestFactory.subjectRequest();
    request.findAll().fire( new ReceiverListSubjectProxy() ...

  It works just fine.

  2) Then I am creating new instance of Professor

        request =requestFactory.professorRequest();
        professor = request.create( ProfessornProxy.class );
       professor.setSubjects(new ArrayListSubject());

       // subject is taken from the list which was downloaded before
      professor.getSubjects().add(subject);

  3) then i want to save it into database

  request.save().using( professor ).fire( new ReceiverVoid() ...

  4) Unfortunately the list of subjects isn't propagated to the server
  side.. When I look on Professor class in the debug on the server side
  I see only empty array. So the  Professor is saved into database but
  without any dependencies to Subjects

  Besides on FireBug console in POST Responce I see message

  {result:null,sideEffects:{DELETE:[{!
  id:org.test.subjectpr...@185}]},related:{}}

  Can somebody tell me what I am doing wrong? and how to save Professor
  class properly with all lists?
  I have also tried to use with(subjects) but it didn't help..

  greetings,
  agata

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



Re: GWT with JPA located in a separate project

2011-01-01 Thread paxdei

Hello,

you will probably need a separate gwt.xml module definition that
points to the source package of your pojos

I use to do it this way:

1. Create a Pojo.gwt.xml in your gwt project/org/mysite/core that
contains a source path=model/ tag
2. In your main module definition, inherit this new
org.mysite.core.Pojo module

The gwt compiler will now be able to find the sources of your classes
in org.mysite.core.model


On 30 Dez. 2010, 19:10, Sagadon sagadongafri...@gmail.com wrote:
 I'm trying to get GWT to pass POJOs created by MyBatis.  The data
 objects are in a separate project, due to overall application
 complexity, and I'm trying to use the data objects on the client
 side.  What this means is the source code for the data objects is not
 within the same project as GWT, and the gwtc ant target fails.  The
 error I get is:
 No source code is available for type org.mysite.core.model.Person;
 did you forget to inherit a required module?

 How can I setup the ant target / IntelliJ project so that it
 recognizes either: a) the model jar file contains the source code, or
 b) the relative path to the source folder for the other project?

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



Re: Events not firing or caught, though handlers created successfully

2011-01-01 Thread paxdei
I suspect that the button widget is not properly added to the widget
tree through parentHasWidgets.add(buttonWidget)

Doing something like
parentDomElement.appendChild(buttonWidget.getElement()) will display
the button correctly but without any dom events being registered.

regards

On 31 Dez. 2010, 01:58, UseTheFork jvers...@gmail.com wrote:
 Hi,

 I am implementing a small GWT application containing a couple of
 buttons. I take most of my inspiration from the contact tutorial.

 I fire the button events with something like this:

         display.getCreditsButton().addClickHandler(new ClickHandler()
 {
             @Override
             public void onClick(ClickEvent event) {
                 Window.confirm(Firing CREDITS);
                 Singletons.EVENT_BUS.fireEvent(new
 DisplayCreditsEvent());
                 display.getLabel().setText(Firing CREDITS);
             }
         });

 I have added extra debugging code (Window  Label).

 I sink the button events with code like this:

         Singletons.EVENT_BUS.addHandler(DisplayCreditsEvent.TYPE,
             new DisplayCreditsEventHandler() {
                 @Override
                 public void onDisplayCreditsEvent(DisplayCreditsEvent
 event) {
                     Window.confirm(Sinking CREDIT);
                     History.newItem(Credits);
                     display.displayCredits();
                 }
         });

 I am 100% sure this code is executed, because I have set debugging
 Window.confirm(...) statements all over the place and they pop-up
 successfully.

 Unfortunately, the onClick(...) and onDisplayCreditsEvent(...) methods
 are never called when I click on button. The application compiles
 successfully and runs on Tomcat.

 What could I be doing wrong? What could I be missing? I am using GWT
 2.1.0 and Firefox 3.6.13.

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



Re: I18N - How to set locale per code?

2011-01-01 Thread paxdei
Static string internationalization means that the gwt compiler
generates extra permutations for every locale/browser combination, and
changing the locale on the client means replacing the currently loaded
permutation with a different one, so I guess there is no other way.

Anyway, you should be able to ease the pain of double loading by
defining a split points

On 1 Jan., 18:28, andrew_d_mackenzie and...@mackenzie-serres.net
wrote:
 I'd like to add my 2cents to the original question.

 Is there no other way to change locale than adding parameter to url
 and doing a refresh?

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



Force RequestFactory to use different base url

2011-01-01 Thread Rohit Ghatol
Hi All,
I am trying to use RequestFactory (http://code.google.com/webtoolkit/
doc/trunk/DevGuideRequestFactory.html) in my GWT Application. This
application would be hosted at xyz.com (actually its embedded inside
an Android client and loaded by Android's WebView using
file://assets/ApplicationScaffold.html), now I want to force Request
Factory to do make calls to abc.com instead of xyz.com (where the
actual web app is loaded).

Safely assume Single Origin Policy does not apply to my browser, so
how to I provide a different url to RequestFactory.

Cheers,
Rohit


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



Re: session in gwt

2011-01-01 Thread leonardo britez

I needs a example, please.
--- El dom, 1/2/11, junaid juna...@gmail.com escribió:

De: junaid juna...@gmail.com
Asunto: Re: session in gwt
A: google-web-toolkit@googlegroups.com
Fecha: domingo, 2 de enero de 2011, 12:15 am

can you please provide me some example of this ,i ve searched it but didnt 
found any ,if you can please provide 
thanks


On Sat, Jan 1, 2011 at 8:58 PM, Thomas Broyer t.bro...@gmail.com wrote:

And both RemoteServiceServlet and RequestFactoryServlet have a 
getThreadLocalRequest static method... 



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

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






-- 

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.


For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.






  

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



Re: Activity vs Presenter division of responsibility for Data Access/Server communication ?

2011-01-01 Thread Y2i


On Dec 31 2010, 8:17 pm, zixzigma zixzi...@gmail.com wrote:
 Lets say we have an Activity which has a number of WidgetPresenters.
 [*]

 who should be responsible for using RequestFactory for server
 communication ?
 is it the responsibility of Activity or the Presenters ?

I follow the guidelines described here:
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html#Activities

My activities implement presenter interfaces, so I don't have this
problem.

GWT does not require an activity to be a presenter.  If I had multiple
presenters per a single activity, I would probably kept an activity
responsible for RPC.

In older guidelines presenters were responsible for RPC:
http://code.google.com/webtoolkit/articles/mvp-architecture-2.html
(see. Complex UIs - Dumb Views)

But these guidelines were written at the time when there was no
activity concept.

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



Re: session in gwt

2011-01-01 Thread Y2i
In any of your methods implemented by a sub-class of
RemoteServiceServlet, just call

HttpSession session = getThreadLocalRequest().getSession()



On Jan 1, 9:46 pm, leonardo britez britez_2...@yahoo.com wrote:
 I needs a example, please.
 --- El dom, 1/2/11, junaid juna...@gmail.com escribió:

 De: junaid juna...@gmail.com
 Asunto: Re: session in gwt
 A: google-web-toolkit@googlegroups.com
 Fecha: domingo, 2 de enero de 2011, 12:15 am

 can you please provide me some example of this ,i ve searched it but didnt 
 found any ,if you can please provide
 thanks

 On Sat, Jan 1, 2011 at 8:58 PM, Thomas Broyer t.bro...@gmail.com wrote:

 And both RemoteServiceServlet and RequestFactoryServlet have a 
 getThreadLocalRequest static method...

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

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

 --

 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.

 To post to this group, send email to google-web-tool...@googlegroups.com.

 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.

 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

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



Is there a way to avoid the colon(:) sign in a Place's prefix ???

2011-01-01 Thread karthik reddy
.#prefix:token  Vs ...#prefix   


I am trying to achieve the latter. Is there a way to do it??? 

Making prefix empty using @Prefix() does not seem to cut it.

FYI:   The new google groups UI which seems to have to been built using GWT, 
is successfully able to do this but am not able to figure out how.

https://groups.google.com/forum/?fromgroups#!forum/google-web-toolkit


Would appreciate any thoughts/ideas

thanks

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



[gwt-contrib] Re: Adds Event.ONINPUT (issue 4549). (issue1248801)

2011-01-01 Thread jdougla


http://gwt-code-reviews.appspot.com/1248801/diff/1/6
File user/src/com/google/gwt/user/client/Event.java (right):

http://gwt-code-reviews.appspot.com/1248801/diff/1/6#newcode280
user/src/com/google/gwt/user/client/Event.java:280: * Note: This event
is emnot/em supported on Internet Explorer.
The nearest IE equivalent would be onpropertychange.
http://www.greywyvern.com/?post=282

http://gwt-code-reviews.appspot.com/1248801/diff/1/2
File user/src/com/google/gwt/user/client/impl/DOMImpl.java (right):

http://gwt-code-reviews.appspot.com/1248801/diff/1/2#newcode95
user/src/com/google/gwt/user/client/impl/DOMImpl.java:95: case input:
return 0x800;
http://code.google.com/webtoolkit/makinggwtbetter.html#codestyle
No tabs at all, anywhere.

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

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


[gwt-contrib] Re: Adds Event.ONINPUT (issue 4549). (issue1248801)

2011-01-01 Thread jdougla


http://gwt-code-reviews.appspot.com/1248801/diff/1/6
File user/src/com/google/gwt/user/client/Event.java (right):

http://gwt-code-reviews.appspot.com/1248801/diff/1/6#newcode280
user/src/com/google/gwt/user/client/Event.java:280: * Note: This event
is emnot/em supported on Internet Explorer.
The nearest IE equivalent would be onpropertychange.
http://www.greywyvern.com/?post=282

http://gwt-code-reviews.appspot.com/1248801/diff/1/2
File user/src/com/google/gwt/user/client/impl/DOMImpl.java (right):

http://gwt-code-reviews.appspot.com/1248801/diff/1/2#newcode95
user/src/com/google/gwt/user/client/impl/DOMImpl.java:95: case input:
return 0x800;
http://code.google.com/webtoolkit/makinggwtbetter.html#codestyle
No tabs at all, anywhere.

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

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