I want to know the URL pattern in AP

2011-10-19 Thread sridevi macherla
Hi,

I want to know the URL pattern in Activities  Places.  I mean i am
wondering how to parse the string.

1. http://abc:8080/start.html?welcome

Here welcome is new place.

2. http://abc:8080/start.html?welcome:obj1=21obj2=30

This was a new place with parameterized, but the tokenizer is separated with
:

So how to parse this, any idea or thoughts and my assumptions are holding
correct.

Thanks
Sri

-- 
You received 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: is code using DateTimeFormat not testable?

2011-10-19 Thread Jesper Rønn-Jensen
In my opinion, your question is extremely relevant

 is code using DateTimeFormat not testable?

I found your thread here because I converted some code from
SimpleDateFormat to gwt DateTimeFormat. And this provoked the error
when running the tests

java.lang.NullPointerException
at
com.google.gwt.i18n.client.LocaleInfo.ensureDateTimeFormatInfo(LocaleInfo.java:
201)
at
com.google.gwt.i18n.client.LocaleInfo.getDateTimeFormatInfo(LocaleInfo.java:
159)
at
com.google.gwt.i18n.client.DateTimeFormat.getDefaultDateTimeFormatInfo(DateTimeFormat.java:
808)
at
com.google.gwt.i18n.client.DateTimeFormat.getFormat(DateTimeFormat.java:
625)


What is the best practice for having testable code to convert strings
to Date? I am looking for code that works both in client and in JUnit
tests



On Sep 23, 1:25 pm, Shawn Brown big.coffee.lo...@gmail.com wrote:
 I'm just trying to test my code that hasDateTimeFormatin it.
 However I see ...

 java.lang.ExceptionInInitializerError
         at 
 com.google.gwt.i18n.client.DateTimeFormat.getDefaultDateTimeFormatInfo(Date 
 TimeFormat.java:808)
         at 
 com.google.gwt.i18n.client.DateTimeFormat.getFormat(DateTimeFormat.java:488 )
         at 
 com.google.gwt.i18n.client.DateTimeFormat.getLongDateTimeFormat(DateTimeFor 
 mat.java:690)
          ...
 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.i18n.client.LocaleInfo.clinit(LocaleInfo.java:36)
         ... 35 more

 Is there a list of what I can not use in Tests since GWT.create
 forbids it?  This seems to be a reoccurring theme in GWT and I am
 tired of writing code that subsequently needs to be yanked as it's not
 testable.

 Shawn

-- 
You received 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 set stylesheet on a per page basis?

2011-10-19 Thread Oliver Weiler
2011/10/19 Mike Dee mdichiapp...@gmail.com

 After doing some testing, it doesn't looks like this works as
 expected.  It appears that after adding:

 ui:style src=mycss.css/

 that the CSS in that stylesheet appears in ALL pages, even though the
 above line only appears in on view's UIBinder code.


 On Oct 18, 12:53 pm, Mike Dee mdichiapp...@gmail.com wrote:
  Upon a little more investigation (ie. actually reading some
  documentation) this can be done with UIBinder, but I still need a
  little help.
 
  With UIBinder a stylesheet can be included easily, like this:
 
  ui:style src=client-specific.css /
 
  That works out nicely, especially since I'm already using UIBinder.
 
  However, the path is a little problematic.  The above example works
  because I put the CSS in the same directory as the view class and its
  ui.xml.  How can I put the CSS file in the directory with the web
  pages (war)?
 
  On Oct 18, 12:37 pm, Mike Dee mdichiapp...@gmail.com wrote:
 
 
 
 
 
 
 
   How can a stylesheet be applied for one page - not an entire module?
   Our app runs fine with a single stylesheet, but for a couple of pages
   a client specified look and feel (with CSS) are needed.  I'd like to
   apply (add) an additional stylesheet to just those.   How can that be
   done?
 
   Thanks,
   Mike

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


Put the styles which are only used in the UIBinder template DIRECTLY in the
template, put CSS which is used in many different places into a CSS file,
which is referenced by a CSSResource.

-- 
You received 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 Dialogbox Draggable icon not comes when mouse over to caption of dialogbox

2011-10-19 Thread vaibhav bhalke
GWT Dialogbox not showing draggable icon when mouse over to caption of
dialogbox.

I follow http://examples.roughian.com/index.htm#Widgets~DialogBox
Example provided in above link. works fine + draggable icon comes when mouse
over to caption of dialog-box


dialog box's Drag gable property is working fine.default draggable icon not
comes when mouse over to caption of dialog-box

-- 
Best Regards,
Vaibhav

http://about.me/vaibhavbhalke

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



Many Timer Fired after History.

2011-10-19 Thread cao min
I find in Speed Tracer that s many timers fired in an interval of
about 10 ms after History.fireCurrentState is called. every timer
event has a unique timer id, timer type: setTimeOut, interval 250ms.

Is this a bug?





-- 
You received 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 guarantee HTML-safety of the template?

2011-10-19 Thread Thomas Broyer
First: report the bug about the [ERROR] Returns interface 
com.google.gwt.safehtml.shared.SafeUri, can't be used as class 
java.lang.String !

The thing is: the warning comes from the SafeHtmlTemplates generator, while 
the error above comes from the UiBinder generator (which generates a 
SafeHtmlTemplates). UiBinder should allow SafeUri in attribute values.

Given that bug, I don't think you can do anything about this warning.

-- 
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/-/iZOKTK9BQMQJ.
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: I want to know the URL pattern in AP

2011-10-19 Thread Thomas Broyer
Are you looking for the PlaceHistoryMapper ?

(I'm sorry, I don't understand your question)

-- 
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/-/_8kop-c9gwUJ.
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: is code using DateTimeFormat not testable?

2011-10-19 Thread Thomas Broyer
I believe the right way is to use a mock of DateTimeFormat in your unit 
test.

You shouldn't be testing how DateTimeFormat behaves: are you writing tests 
checking java.util.List behavior?

-- 
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/-/_mNyW3mBpOQJ.
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: Editor doesn't show server validation errors

2011-10-19 Thread Jens
After some debugging I found that cloning is the reason why server side 
validation errors are not pushed to editors. Server side validation creates 
ConstraintViolation instances with a reference to the validated proxy. But 
as I have a cloned proxy which gets saved and thus validated the 
ConstraintViolation has a reference to that clone. The editor framework 
fails to convert ConstraintViolation to EditorError because it does now know 
the clone found inside ConstraintViolation and could not retrieve a list of 
editor delegates from its internal data structure (see: 
SimpleViolation.pushViolations(): 117).

Not quite sure if I can solve this issue. I need the clone to be able 
to continuously edit the proxy while saving it in the background.

-- J. 

-- 
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/-/PY8NXGlTK9QJ.
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.



PasswordTextBox: Making password character visible for a moment

2011-10-19 Thread Raja Shekhar
Hi,

I would like to make my PasswordTextBox shows typed character for a moment
and then change to masking character.
This behavior we generally see in Mobiles. Password Character will be shown
for small amount of time.
Is this possible in GWT ? if so, how can i do that? Can someone please
provide me a piece of code to do that.
Is there a way to change password masking char for passwordTextBox? For
example, i would like to use '#' character as masking character for my
PasswordTextBox

-- 
Thanks,
Raja

-- 
You received 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 guarantee HTML-safety of the template?

2011-10-19 Thread Thomas Broyer
Hmm, actually, it seems like this has already been done: 
http://code.google.com/p/google-web-toolkit/source/detail?r=10548

It hasn't been merged into the GWT 2.4 branch though, so you'll have to 
build GWT from trunk or wait for GWT 2.5.

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



Re: Many Timer Fired after History.

2011-10-19 Thread cao min
duplicated with
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/58e57f710118a254/2b64950ac16d5885?lnk=gst;
q=Timer+History#2b64950ac16d5885


On Oct 19, 5:10 pm, cao min caomin2...@gmail.com wrote:
 I find in Speed Tracer that s many timers fired in an interval of
 about 10 ms afterHistory.fireCurrentState is called. everytimer
 event has a uniquetimerid,timertype: setTimeOut, interval 250ms.

 Is this a bug?

-- 
You received 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: PasswordTextBox: Making password character visible for a moment

2011-10-19 Thread abhiram wuntakal
Hi Raja,

  I think the way to achieve this is by making use of the keyboard listener
functionality. This might need some explicit code. First you define a normal
textbox, then when the user types something, set a keyboard listener, and
then a timer. Then you can temporarily store the that character of the
password in some string which keeps getting appended as and when the user
keeps typing. And with every keyboard key-in, call the keyboard listener,
then the timer say for 100 ms and then replace that with a * or #. That
should get your logic working.

  Just for your info, the only reason why this was introduced in cellphones
was because, in a cellphone, each button might correspond to multiple
characters. If you implement this algorithm in normal web-pages (which I
feel would not really be needed) then you might need to have a specific
logic to distinguish between a browser-access and cellphone-access and
enable this logic only for the browser version and have a normal password
textbox for the cellphone version. Just think over!!

Regards,
Abhiram

On Wed, Oct 19, 2011 at 3:58 PM, Raja Shekhar grsvarma...@gmail.com wrote:

 Hi,

 I would like to make my PasswordTextBox shows typed character for a moment
 and then change to masking character.
 This behavior we generally see in Mobiles. Password Character will be shown
 for small amount of time.
 Is this possible in GWT ? if so, how can i do that? Can someone please
 provide me a piece of code to do that.
 Is there a way to change password masking char for passwordTextBox? For
 example, i would like to use '#' character as masking character for my
 PasswordTextBox

 --
 Thanks,
 Raja

  --
 You received 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: widget's order

2011-10-19 Thread Sudhakar Abraham
Use different  Panel in ui.xml file like DockLayoutPanel,
VerticalPanel etc.. set the size of panel properly.

S. Abraham
www.DataStoreGwt.com
Persist objects directly in Google App Engine

On Oct 19, 8:36 am, wahaha il...@yahoo.com.cn wrote:
 i declared a lots of widget in ui.xml,and they should show in the same
 place.
 how to detimine the order of them?

-- 
You received 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 set stylesheet on a per page basis?

2011-10-19 Thread Sudhakar Abraham
There are two ways to add style sheet for one page

1. In ui.xml  specify the file name of css file Ex:ui:style
src=client-specific.css /
or Inline style sheet with in ui.xml file Ex: ui:style/
ui:style

2.Generate your css file.  The css file is referenced by CssResource
interface.  Specify your Css file in Source attribute of
ClientBundle.

interface MyCss extends CssResource
 {
  String YourCssName();
 }

interface MyResources extends ClientBundle {
  @Source(my.css)
  MyCss css();
}

MyResources resources = GWT.create(MyResources.class);
Button button = new Button(Some text);
button .addStyleName(resources.css().className());


S. Abraham
www.DataStoreGwt.com
Persist objects directly in Google App Engine


On Oct 19, 12:37 am, Mike Dee mdichiapp...@gmail.com wrote:
 How can a stylesheet be applied for one page - not an entire module?
 Our app runs fine with a single stylesheet, but for a couple of pages
 a client specified look and feel (with CSS) are needed.  I'd like to
 apply (add) an additional stylesheet to just those.   How can that be
 done?

 Thanks,
 Mike

-- 
You received 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 images as Background image which are defined in client bundle

2011-10-19 Thread Kotuboy

Actually I did not want to cahnge the behaviour of standard CSS of GWT. But 
I want to to be able to manipulate it.

Therefore I created a CSS file which is identical with Standard GWT CSS 
file.

But it could not find the images defined in CSS.( i.e. 
url(images/hborder.png))

To get this effect I put the image in resources folder. No effect.  (I hava 
a maven project. )

The second way was from Prakash. It is not exactly what i want but i have no 
choice at the moment.

-- 
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/-/jkvEyEdeJRoJ.
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: widget's order

2011-10-19 Thread santlal vishwakarma
Try to put all your widget in a single ui.xml file, use proper panel for
proper alignment of widget and use external css file to arrange them in
order or to add any style to widget.

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



Adding popup on CellTable header

2011-10-19 Thread David Fernando
Add popup on cellTable header.  When I click on the header not
recognize the event. I render TextInputCell in the header of CellTable.

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



celltable and MultiSelectionModel: manual element changes (like element-title) disappear

2011-10-19 Thread divStar
Hi guys!

I'm having some strange issue - I don't know whether it's a bug or
just my own mistake.

I'm having a list of Characters (name, age, class etc.), which are
displayed using a CellTable. It all works fine except that I haven't
found a good way to add tooltips to the row elements.

In order to solve my problem, I'm doing something like this:

celltable.getRowElement(rowNumber).getCells().getItem(0).setTitle(tooltip);

I'm doing this for each column-element of a given row (e.g. name, age,
class etc.).

Now HERE comes the problem:
whenever the selection is changed (e.g. I check/uncheck the checkbox
or the classes used for styling are changed for any reason) - the
tooltip disappears.

Is there a way to preserve the set tooltip? Or if I were to reapply
the tooltip - how would I go about doing that?

Thank you guys in advance!

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



Re: Long running RPC request.

2011-10-19 Thread Sean
Yeah, make sure its the actual RPC call that's taking forever, and not how 
you handle the data when it is returned. 

-- 
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/-/AWekWJguFjsJ.
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: Question on GWT Designer license expiring

2011-10-19 Thread TBirch
This morning I was able to update the designer okay and I do not have
the expiration issue.
Thanks

On Oct 18, 4:24 pm, TBirch tjfbi...@bellsouth.net wrote:
 I have been trying all day to update the designer but with no luck. It
 hangs with errors every time. The latest is Transfer Exception
 Read timed out. I may try again tomorrow.

 On Oct 18, 11:10 am, Eric Clayberg (Google) clayb...@google.com
 wrote:







  Yes. It should work for Eclipse 3.5 or higher and GWT/GPE 2.2 and higher.

-- 
You received 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 prevent/handle 500 and 404 error

2011-10-19 Thread Kotuboy
Hi,

It is a general question to understand the logic behind rpc call.
I have many rpc interfaces like (XService, XserviceAsync), (Yservice, 
YServiceAsync)... and the service classes on the Server part.
I want to catch all errors and exceptions and show the client a meanigful 
message.

How can I do that?
Currently I get for example the following message


https://lh6.googleusercontent.com/-zfisqK-udeY/Tp7W_7z0plI/BjI/43bs6a7yA-k/s400/image88.png

-- 
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/-/l_i3UqEE8fgJ.
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 and MultiSelectionModel: manual element changes (like element-title) disappear

2011-10-19 Thread Thomas Broyer
You'd rather use a Cell that generates a title= attribute.

The reason for the title= disappearing is that CellTable redraws, and 
does so by generating the table and using innerHTML, and thus replacing the 
whole DOM subtree.

In GWT 2.5, you'll be able to provide your own CellTableBuilder (you'll 
probably subclass the DefaultCellTableBuilder) and add a title= attribute 
on any tr or td you'd like.

-- 
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/-/jDMTEKCOyM4J.
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 margin problem after upgrading to GWT 2.4

2011-10-19 Thread Deepak Singh
Some workaround is needed pls.

On Tue, Oct 18, 2011 at 9:16 PM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi,

 I have a css class for body id=container as follows

 #container {width:100%; height:auto; margin:0px auto;}

 It was working fine with 2.3 but now with 2.4 html page has equal gap/space
 left from top, left, right corners. It is almost 10px left from all sides.

 How to resolve 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: celltable and MultiSelectionModel: manual element changes (like element-title) disappear

2011-10-19 Thread divStar
Ah! Alright.. I've just inspected the AbstractCellTable class and it
also says the exact same thing you just posted (@deprecated as of GWT
2.5, use a {@link CellTableBuilder} to customize the table structure
instead). I think I'll do this then! 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: AutoBean: decoding JSON with an array at the root?

2011-10-19 Thread alexp
Hi Colin,

Thanks so much for clarifying and including those URLs.  Very good to
know!

Cheers,

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: I want to know the URL pattern in AP

2011-10-19 Thread sridevi macherla
Yes.  Thomas.

REgards
Sri

On Wed, Oct 19, 2011 at 3:08 PM, Thomas Broyer t.bro...@gmail.com wrote:

 Are you looking for the PlaceHistoryMapper ?

 (I'm sorry, I don't understand your question)

 --
 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/-/_8kop-c9gwUJ.
 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.



Develop With GWT

2011-10-19 Thread Jose Luis Urrea S.
Hi Everybody,

I'm new in GWT and right now I'm starting to develop a project with
GWT.  But I wonder, Can I develop applications that it has drop down
lists, windows popup to find records and then set to the main page,
validate forms, etc, etc.  I've been finding documentation and till
now I don't know how to develop this kind of functionality in GWT.

If you can to send me information I'd appreciate.

Warmest regards

Jose

-- 
You received 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: ui:style src attribute causes error in the Google Eclipse plugin

2011-10-19 Thread Darren Salomons
Philippe,

I have found a way to use the src/main/gwt folder work seamless between m2e, 
GPE and maven-gwt-plugin. 

When using this method src/main/gwt shows up in Eclipse as a src folder and 
nothing is excluded.  Also doing a gwt:compile and gwt:run from the command 
line worked  fine as well.  You can safely put your .gwt.xml files in this 
folder and even GPE will be able find them.

Add the following to your build plugins and make sure to install the m2e 
configurator for the plugin as well.

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
execution
idadd-source/id
phasegenerate-sources/phase
goals
goaladd-source/goal
/goals
configuration
sources
sourcesrc/main/gwt/source
/sources
/configuration
/execution
/executions
/plugin

-- 
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/-/M__Im6L2MuwJ.
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.



column header problem

2011-10-19 Thread gwt-newbie
Hi

How can i add a clickable icon in a column header without that after
calling the column sorting?
The column sorting i need too.
I have tried with:
- event.preventDefault();
- event.stopPropagation();
but to no avail:(

Is there a workaround?
Or must i wait for next GWT version?

The class DefaultHeaderOrFooterBuilder is yet in trunk.

Best Regards

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-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: Multiple view for HasData (CellTable, CellList)

2011-10-19 Thread George Agiasoglou
Have you managed to create the thumbnailView and if yes, where you able to 
use all arrows keys to shift cell focus?

Thanks, 
G

-- 
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/-/NArXzf9bT5UJ.
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 set stylesheet on a per page basis?

2011-10-19 Thread Mike Dee
If I do #1, the styles appear in all the pages (in the entire
module).  The app has several views and each view has its own UIBinder
file (.ui.xml).  In the one specific view that I want additional CSS I
added:

ui:style src=extracss.css/

When I run the app and look at the view, the styles work.

BUT, when I look at the CSS using Firebug, the styles defined in
extracss.css are in all the pages in the app.  It is like adding the
ui:style in one .ui.xml caused GWT to include it in all pages.

I can try #2.

On Oct 19, 5:32 am, Sudhakar Abraham s.abra...@datastoregwt.com
wrote:
 There are two ways to add style sheet for one page

 1. In ui.xml  specify the file name of css file Ex:ui:style
 src=client-specific.css /
     or Inline style sheet with in ui.xml file Ex: ui:style/
 ui:style

 2.Generate your css file.  The css file is referenced by CssResource
 interface.  Specify your Css file in Source attribute of
 ClientBundle.

 interface MyCss extends CssResource
  {
   String YourCssName();
  }

 interface MyResources extends ClientBundle {
   @Source(my.css)
   MyCss css();

 }

 MyResources resources = GWT.create(MyResources.class);
 Button button = new Button(Some text);
 button .addStyleName(resources.css().className());

 S. Abrahamwww.DataStoreGwt.com
 Persist objects directly in Google App Engine

 On Oct 19, 12:37 am, Mike Dee mdichiapp...@gmail.com wrote:







  How can a stylesheet be applied for one page - not an entire module?
  Our app runs fine with a single stylesheet, but for a couple of pages
  a client specified look and feel (with CSS) are needed.  I'd like to
  apply (add) an additional stylesheet to just those.   How can that be
  done?

  Thanks,
  Mike

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



DataGrid with dynamic column widths

2011-10-19 Thread Vampire
Is it possible to have a DataGrid with dynamic column widths and
without setting an explicit overall width of the DataGrid?
I'm searching for a mixture of CellTable and DataGrid.
The dynamic column width calculations according to column content,
header content and footer content of CellTable but the vertically
fixed header and footer of the DataGrid while taking as much
horizontal space as necessary to render all columns.

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



Cross domain builds

2011-10-19 Thread Luis Montes
I'm trying to get a cross domain build of my app, so I added:
add-linker name=xs /  to my module xml file

I'm getting:  [ERROR] Invalid linker name 'xs'

I found an example where I could define the linker as:
define-linker name=xs class=com.google.gwt.dev.linker.XSLinker /

but that class doesn't seem to exist in GWT 2.3


Is there a different way to do a cross domain build now?

Luis

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



JUnit testing gwt app with multiple modules

2011-10-19 Thread azuniga
I am currently using gwt 2.3 and smartgwtpower 2.5 nightly and using
Eclipse on Linux. My web app is using common code, developed in house,
and packaged to a jar called commonsmartgwt.jar. In this jar is the
entry point class and has its own gwt.xml file. In my web app's
gwt.xml file I inherit from the entry point class inherits
name=common.code.Common/ and I use the entry point is
common.code.client.Common as my web app's entry point. All my classes
in my web app extend classes in the common code. Compilation works
fine but when I try to run a test, I get the following error. Unable
to find common/code/Common.gwt.xml on your classpath; could be a typo,
or maybe you forgot to include a classpath entry for source. If I
create the folder common/code/ under classes and extract the .gwt.xml
file from the commonsmartgwt.jar and put it in that directory, I get a
different error. com.google.gwt.junit.JUnitFatalLaunchException: The
test class 'my.package.client.MyFirstTest' was not found in module
'common.client.Common'; no compilation unit for that type was seen
at
com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java:
743)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1346)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1309)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:650)
at
com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:
296)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:
130)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)
Is there a way to Unit test this application. Please let me know if my
situation is not clear.

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



Accesing context-param inside web.xml file from GWT

2011-10-19 Thread Jésica
Hi all, I've the following variable in my web.xml file:

(...)
 context-param
  param-namecredentials/param-name
  param-valuetest/param-value
 /context-param
(...)

Now I need to access that value from client code, but I'm not sure how
this can be done. Do I need to extend RemoteServiceServlet for doing
It so?.
Thanks in advance,
Jésica.

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



RequestFactory Refractory Long Id into String Id, so I can use App Engine Keys??

2011-10-19 Thread Brandon Donnelson

I think the RequestFactory ID system should be a String and not a Long so we 
can use child collections on App Engine easily. App Engine keys can be 
reflected as Entity(1)/Entity(2)/Entity(3)... . I would think this wouldn't 
require a Key serialization routine. 

Any Thoughts?

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/s6oBlhJp84IJ.
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.



Cross domain builds

2011-10-19 Thread Thomas Broyer
I didn't remember the linker being removed, but it's been deprecated for some 
time now. It's been replaced by the xsiframe linker.

-- 
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/-/GKer7N469GgJ.
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.



ConsoleLogHandler not working as expected in IE?

2011-10-19 Thread Tomi B.
We ran into an issue with console logging on IE, and we traced down to the 
isSupported() method in ConsoleLogHandler. Looks like the isSupported() 
method doesn't take into account IE's native console logging capabilities 
correctly. The method does the following check:

(typeof(window.console.log) == 'function') 

... which fails on IE as window.console.log is an object.

I did a quick search for issues, but didn't find anything related 
ConsoleLogHandler.

Has anyone run into the same issue?

Thanks,

//Tomi B.

-- 
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/-/56w55KOpQAEJ.
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 Refractory Long Id into String Id, so I can use App Engine Keys??

2011-10-19 Thread Jens
I dont know App Engine but if you implement a Locator for your entities you 
can use any type as Id. Works pretty well (I have a sample project that uses 
String UUIDs as Id for entities).

-- J.

-- 
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/-/F6FakbXVVbsJ.
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 Refractory Long Id into String Id, so I can use App Engine Keys??

2011-10-19 Thread Brandon Donnelson
I just figured I ship the Ids as string, and its working fine. I noticed the 
source was not particular to what type of ID it is. So I'll serialize the 
App Engine key. I suppose Long has more type safety. 

Thanks for commenting to that helps Jens. 

Brandon

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



celltable scrolling and dynamic loading

2011-10-19 Thread David
Hello,
I've been using teh GWT Celltable for some time but have been unable
to come up with proper scrolling that triggers additional calls for
data.
I've seen the cellList example and have incorporated into into my
celltable however the sample calls for data only when the scrollbar
reaches the bottom.   This produces an undesirable  water pump
affect.

For example , consider the possibility of  10,000 candidate rows for
which only 100 will be returned with any given call for data.  In the
current sample(ShowMorePagerPanel) , the size of the scrollbar is
determined from the 100 rows initially returned and then shrinks
accordingly as additional groups of 100 rows are added.

What I would like to see is a scrollbar size that reflects the 10,000
candidate rows and to have the triggering of new data occur upon
scrolling a small segment of the scrollbar.   That way I can quickly
scroll to the last 100 of the 10,000 rows by just scrolling to the
bottom once.

thanks
David

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



Enforcing sequencing of asynchronous event handling code

2011-10-19 Thread Grant Rettke
Hi,

Our Goal:

On the client side, events on the bus should be processed one at a
time by their handler, in order, FIFO.

Details:

Just took over a pretty involved GWT/Spring/Hibernate/Gilead system.
App
works great; it is super fast, snappy, and responsive. One problem
sitting
in the backlog, though, results from the fact that some single-
threaded
server side code is entered by multiple threads working on the same
piece
of data. End result is that the data gets stomped on. When we add
uniqueness constraints we see that a duplicate key exception is
occurring,
so we know something is happening that should not.

From a user perspective, this should never happen, because they
move along on their way using the app, clicking on things, in
sequence,
and that sequence makes sense, and in doing so it adds events to the
event bus... basically EVT_A - EVT_B - EVT_C - ... and so on. EVT_A
handling should complete before EVT_B handling and EVT_B handling
should
complete before EVT_C handling and so on and so forth.

In practice a problem manifests though, because on the client side the
handlers all fire off right away (as one would expect) resulting in
multiple threads computing against the same data in the same place.
Here
is how it looks:

TIMESTEP 1

EVT_A (DATA_COPY_1) - HDL_A - SVR_CALL -
compute_method(DATA_COPY_1)

EVT_B (DATA_COPY_2) - HDL_B - SVR_CALL -
compute_method(DATA_COPY_2)

EVT_C (DATA_COPY_3) - HDL_C - SVR_CALL -
compute_method(DATA_COPY_3)

On the server side, multiple threads (coming from the handler servlet)
end up entering compute_method at the same time, and behold, things
blow up.
So, our desired behavior is that for certain paths of work, we want
sequencing. Looking at the app further, we decided that rather than
track
down all of the unique flows, that instead the entire app should
behave such that EVT_* are handled in order, period. This makes sense
from
a user perspective, and by following a blanket-approach we could force
the
entire app to just do the right thing so to speak. The above would
look
more like this where queue is the event bus and handler code executing
is all of the work no matter client-side presenter or server side that
it
takes to satisfy the goal for that event:

TIMESTEP 1
QUEUE {empty} HANDLER_CODE_EXECUTING{none}

TIMESTEP 2
QUEUE{EVT_A} HANDLER_CODE_EXECUTING{none}

TIMESTEP 3
QUEUE{EVT_B} HANDLER_CODE_EXECUTING{EVT_A}

TIMESTEP 4
QUEUE{EVT_C:EVT_B} HANDLER_CODE_EXECUTING{EVT_A}

TIMESTEP 5
QUEUE{EVT_C:EVT_B} HANDLER_CODE_EXECUTING{none}

TIMESTEP 6
QUEUE{EVT_C} HANDLER_CODE_EXECUTING{EVT_B}

TIMESTEP 7
QUEUE{EVT_C} HANDLER_CODE_EXECUTING{none}

TIMESTEP 8
QUEUE{empty} HANDLER_CODE_EXECUTING{EVT_C}

TIMESTEP 9
QUEUE{empty} HANDLER_CODE_EXECUTING{none}

Talking more we looked at client-side vs. server-side to make this
change.
We felt like queuing up all requests on the client side would have the
benefit of being real-Java, but the downside is that queueing up
threads
seems to go against the spirit and architecture of the server itself
(Tomcat).
Client side seems like equal amount of work, but we have the added
benefit
of not having to worry about out-of-order client requests and so on.
At this
point we plan to make the change on the client side. One option we
decided
against was using the UI to block the user from doing things out of
sequence
or before they should be doing them, and if we had been able to do
this
from the start we would have, but at this point feel that adding the
global
queuing would be much less work than identifying all of the code paths
that can result in out-of-order-execution-errors.

Our goal: on the client side, events should be processed one at a time
by
their handler, in order, FIFO.

Not sure of the approach yet, haven't dug in deep. Curious to know
what you
think about this problem we are facing, our proposed solution, what is
the standard GWT way to manage this, and how you might do it.

While this feels like a big change, gotta imagine that our situation
is not
totally unique because indeed sometimes you need sequencing.

Look forward to your thoughts and advice.

Best wishes,

Grant

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



errors building GWT

2011-10-19 Thread Thad
I received the errors below building 
http://google-web-toolkit.googlecode.com/svn/trunk
r10714. I had earlier run svn update on plugin-sdks, tools, and trunk.

This is not critical. I was able to build the GWT plugin XPI for
Firefox 7 by running make inside trunk/plugins. I'm just passing the
errors on for comment/consideration (this is the first time GWT hasn't
built for me).

I'm running Java 1.6.0_27 on SuSE Linux.

$ ant
Buildfile: /home/thad/jdevel/gwt-svn/trunk/build.xml

build:

dev:

buildtools:

build:

ant-gwt:

compile:
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/build-tools/ant-gwt/
build.xml:11: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

build:

customchecks:

compile:
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/build-tools/customchecks/
build.xml:8: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

build:

doctool:

compile:
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/build-tools/doctool/
build.xml:10: warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds

build:

-do:

compiler.standalone:
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/build.xml:195:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[gwt.javac] Compiling 1 source file to /home/thad/jdevel/gwt-svn/trunk/
build/out/dev/bin
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:136: neg(com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul)
[gwt.javac]   b = LongLib.neg(b);
[gwt.javac]  ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:172: cannot find symbol
[gwt.javac] symbol  : method create(com.google.gwt.lang.LongEmul)
[gwt.javac] location: class com.google.gwt.lang.LongLibBase
[gwt.javac] a = create(LongLib.Const.MAX_VALUE);
[gwt.javac] ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:177: shr(com.google.gwt.lang.LongEmul,int)
in com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul,int)
[gwt.javac] LongEmul c = LongLib.shr(a, bpower);
[gwt.javac] ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:188: neg(com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul)
[gwt.javac]   a = LongLib.neg(a);
[gwt.javac]  ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:201:
lt(com.google.gwt.lang.LongEmul,com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul,com.google.gwt.lang.LongLibBase.LongEmul)
[gwt.javac] if (LongLib.lt(a, b)) {
[gwt.javac]^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:204: neg(com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul)
[gwt.javac]   remainder = LongLib.neg(a);
[gwt.javac]  ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:335: cannot find symbol
[gwt.javac] symbol  : method create(com.google.gwt.lang.LongEmul)
[gwt.javac] location: class com.google.gwt.lang.LongLibBase
[gwt.javac]   return create(LongLib.Const.ONE);
[gwt.javac]  ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:345: shr(com.google.gwt.lang.LongEmul,int)
in com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul,int)
[gwt.javac] LongEmul c = LongLib.shr(a, bpower);
[gwt.javac] ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:353: neg(com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul)
[gwt.javac] remainder = LongLib.neg(a);
[gwt.javac]^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:366: shl(com.google.gwt.lang.LongEmul,int)
in com.google.gwt.lang.LongLib cannot be applied to
(com.google.gwt.lang.LongLibBase.LongEmul,int)
[gwt.javac] LongEmul bshift = LongLib.shl(b, shift);
[gwt.javac]  ^
[gwt.javac] /home/thad/jdevel/gwt-svn/trunk/dev/core/super/com/google/
gwt/lang/LongLibBase.java:388: neg(com.google.gwt.lang.LongEmul) in
com.google.gwt.lang.LongLib cannot be applied to

Re: Accesing context-param inside web.xml file from GWT

2011-10-19 Thread Thad
Yes. Your client side needs to request this information from the
server side either by RemoteServiceServlet or
com.google.gwt.http.client.RequestBuilder

On Oct 19, 1:33 pm, Jésica cuello.jes...@gmail.com wrote:
 Hi all, I've the following variable in my web.xml file:

 (...)
  context-param
   param-namecredentials/param-name
   param-valuetest/param-value
  /context-param
 (...)

 Now I need to access that value from client code, but I'm not sure how
 this can be done. Do I need to extend RemoteServiceServlet for doing
 It so?.
 Thanks in advance,
 Jésica.

-- 
You received 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: Develop With GWT

2011-10-19 Thread Thad
Yes, all of that. I recommend running the examples and then reading
the Developer's Guide (http://code.google.com/webtoolkit/doc/latest/
DevGuide.html). There's no silver bullet, but it's all there and
reasonable clear.

On Oct 19, 10:45 am, Jose Luis Urrea S. urreasua...@gmail.com
wrote:
 Hi Everybody,

 I'm new in GWT and right now I'm starting to develop a project with
 GWT.  But I wonder, Can I develop applications that it has drop down
 lists, windows popup to find records and then set to the main page,
 validate forms, etc, etc.  I've been finding documentation and till
 now I don't know how to develop this kind of functionality in GWT.

 If you can to send me information I'd appreciate.

 Warmest regards

 Jose

-- 
You received 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: Develop With GWT

2011-10-19 Thread Grant Rettke
GWT is a beautiful thing; think hard about asynchronous events,
sequencing, and server-side behavior and you will be rewarded well.

On Wed, Oct 19, 2011 at 3:14 PM, Thad thad.humphr...@gmail.com wrote:
 Yes, all of that. I recommend running the examples and then reading
 the Developer's Guide (http://code.google.com/webtoolkit/doc/latest/
 DevGuide.html). There's no silver bullet, but it's all there and
 reasonable clear.

 On Oct 19, 10:45 am, Jose Luis Urrea S. urreasua...@gmail.com
 wrote:
 Hi Everybody,

 I'm new in GWT and right now I'm starting to develop a project with
 GWT.  But I wonder, Can I develop applications that it has drop down
 lists, windows popup to find records and then set to the main page,
 validate forms, etc, etc.  I've been finding documentation and till
 now I don't know how to develop this kind of functionality in GWT.

 If you can to send me information I'd appreciate.

 Warmest regards

 Jose

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





-- 
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE

-- 
You received 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 Refractory Long Id into String Id, so I can use App Engine Keys??

2011-10-19 Thread Brandon Donnelson
RequestFactory now works good with AppEngine if your Id's are Keys in 
Strings.

This is what I end up doing:

 public void setId(String id) {
if (id == null) {
  return;
}
key = KeyFactory.stringToKey(id);
  }
  public String getId() {
String id = null;
if (key != null) {
  id = KeyFactory.keyToString(key);
}
return id;
  }

-- 
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/-/3Egtt4LbkMAJ.
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: Cross domain builds

2011-10-19 Thread Luis Montes
I've added an xsiframe linker.  Should I have gotten an additional -xs.js
file?  The standard looking js file it created doesn't work loaded from a
different domain.

Luis

On Wed, Oct 19, 2011 at 12:00 PM, Thomas Broyer t.bro...@gmail.com wrote:

 I didn't remember the linker being removed, but it's been deprecated for
 some time now. It's been replaced by the xsiframe linker.

 --
 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/-/GKer7N469GgJ.
 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: Enforcing sequencing of asynchronous event handling code

2011-10-19 Thread Jeff Chimene
On 10/19/2011 12:45 PM, Grant Rettke wrote:
 Hi,
 
 Our Goal:
 
 On the client side, events on the bus should be processed one at a
 time by their handler, in order, FIFO.

Some (sort-of mutually exclusive) solutions:

1) Implement condition variables
(http://en.wikipedia.org/wiki/Condition_variable)

2) Only fire Event B after Event A processing occurs. You might need
extra events e.g. Event A prepare, Event C prepare, ... Event N
prepare. After handling these events, the secondary events, Event A,
Event B, ... Event N are fired. Some implementations create three
basic events, Prepare, Acknowledge, Commit and pass identity
information in the event cargo.

I /think/ (it's hard to tell, even though your description is quite
detailed), that (1) will be your best bet. Consider a scheme  that
implements an event-specific bit mask that's checked against the
condition variable. Each event handler delays via
Scheduler.get().scheduleIncremental(new Scheduler.RepeatingCommand(){})
until the bit(s) corresponding to the predecessor event(s) are set in
the condition variable.

There are other ideas, such as a central event handler. However, the
problem with that and related solutions is that they don't scale well,
and have a tendency to tightly couple unrelated code. The advantage of
(1) is that the event handling code remains, but it's gated by logic
that checks a condition variable before proceeding. After event
processing completes, the condition variable is set to the appropriate
value.

In your scenario, Event A is bit 0, event B is bit 1, Event C is bit 2.

A is not gated, and sets bit zero
B is gated by bit zero set, and sets bit one
C is gated by bit zero and bit one set, and sets bit two.

 
 Details:
 
 Just took over a pretty involved GWT/Spring/Hibernate/Gilead system.
 App
 works great; it is super fast, snappy, and responsive. One problem
 sitting
 in the backlog, though, results from the fact that some single-
 threaded
 server side code is entered by multiple threads working on the same
 piece
 of data. End result is that the data gets stomped on. When we add
 uniqueness constraints we see that a duplicate key exception is
 occurring,
 so we know something is happening that should not.
 
 From a user perspective, this should never happen, because they
 move along on their way using the app, clicking on things, in
 sequence,
 and that sequence makes sense, and in doing so it adds events to the
 event bus... basically EVT_A - EVT_B - EVT_C - ... and so on. EVT_A
 handling should complete before EVT_B handling and EVT_B handling
 should
 complete before EVT_C handling and so on and so forth.
 
 In practice a problem manifests though, because on the client side the
 handlers all fire off right away (as one would expect) resulting in
 multiple threads computing against the same data in the same place.
 Here
 is how it looks:
 
 TIMESTEP 1
 
 EVT_A (DATA_COPY_1) - HDL_A - SVR_CALL -
 compute_method(DATA_COPY_1)
 
 EVT_B (DATA_COPY_2) - HDL_B - SVR_CALL -
 compute_method(DATA_COPY_2)
 
 EVT_C (DATA_COPY_3) - HDL_C - SVR_CALL -
 compute_method(DATA_COPY_3)
 
 On the server side, multiple threads (coming from the handler servlet)
 end up entering compute_method at the same time, and behold, things
 blow up.
 So, our desired behavior is that for certain paths of work, we want
 sequencing. Looking at the app further, we decided that rather than
 track
 down all of the unique flows, that instead the entire app should
 behave such that EVT_* are handled in order, period. This makes sense
 from
 a user perspective, and by following a blanket-approach we could force
 the
 entire app to just do the right thing so to speak. The above would
 look
 more like this where queue is the event bus and handler code executing
 is all of the work no matter client-side presenter or server side that
 it
 takes to satisfy the goal for that event:
 
 TIMESTEP 1
 QUEUE {empty} HANDLER_CODE_EXECUTING{none}
 
 TIMESTEP 2
 QUEUE{EVT_A} HANDLER_CODE_EXECUTING{none}
 
 TIMESTEP 3
 QUEUE{EVT_B} HANDLER_CODE_EXECUTING{EVT_A}
 
 TIMESTEP 4
 QUEUE{EVT_C:EVT_B} HANDLER_CODE_EXECUTING{EVT_A}
 
 TIMESTEP 5
 QUEUE{EVT_C:EVT_B} HANDLER_CODE_EXECUTING{none}
 
 TIMESTEP 6
 QUEUE{EVT_C} HANDLER_CODE_EXECUTING{EVT_B}
 
 TIMESTEP 7
 QUEUE{EVT_C} HANDLER_CODE_EXECUTING{none}
 
 TIMESTEP 8
 QUEUE{empty} HANDLER_CODE_EXECUTING{EVT_C}
 
 TIMESTEP 9
 QUEUE{empty} HANDLER_CODE_EXECUTING{none}
 
 Talking more we looked at client-side vs. server-side to make this
 change.
 We felt like queuing up all requests on the client side would have the
 benefit of being real-Java, but the downside is that queueing up
 threads
 seems to go against the spirit and architecture of the server itself
 (Tomcat).
 Client side seems like equal amount of work, but we have the added
 benefit
 of not having to worry about out-of-order client requests and so on.
 At this
 point we plan to make the change on the client side. One option we
 decided
 against was using the UI to block 

Re: How to handle custom server side exceptions

2011-10-19 Thread rakesh wagh
forgot to mention this:
public class MyRequestFactoryServlet extends RequestFactoryServlet {
private static final long serialVersionUID = 1L;

public MyRequestFactoryServlet() {
this(new DefaultExceptionHandler(), new 
MyServiceLayerDecorator());
}

public MyRequestFactoryServlet(ExceptionHandler exceptionHandler,
ServiceLayerDecorator... serviceDecorators) {
super(exceptionHandler, serviceDecorators);
}
}

On Oct 18, 4:17 pm, rakesh wagh rake...@gmail.com wrote:
 also changed web.xml mapping of servlet class from
 servlet-
 classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/
 servlet-class
 to
 servlet-classcom.test.server.MyRequestFactoryServlet/servlet-class

 On Oct 18, 4:15 pm, rakesh wagh rake...@gmail.com wrote:







  How I resolved this:
  public class MyServiceLayerDecorator extends ServiceLayerDecorator {

          public T extends Object
  java.util.Setjavax.validation.ConstraintViolationT validate(T
  domainObject) {
                  SetConstraintViolation? set = new 
  HashSetConstraintViolation?();

                  PathImpl path = PathImpl.createNewPath(name);
                  ConstraintViolationT voilation = 
  (ConstraintViolationT)new
  ConstraintViolationImplPerson(custom bean error, custom bean
  error, Person.class, (Person)domainObject, (Person)domainObject,
  ((Person)domainObject).getAddress(), path, null, ElementType.FIELD);
                  SetConstraintViolationT voilations =
  super.validate(domainObject);
                  voilations.add(voilation);
                  return voilations;
          };

  On Oct 18, 11:02 am, rakesh wagh rake...@gmail.com wrote:

   with that said, what is the right way to reconstruct server side
   business validations(ConstraintViolation) on client (so that they can
   be directly added to editor.setErrors(voilations))?

   Also, I didnt understand how to set a callback in Request (to catch
   server exception). At this point as you rightly noted I am using
   requestContext's fire/Receiver pair.

   Thanks

   On Oct 18, 4:35 am, Thomas Broyer t.bro...@gmail.com wrote:

Validation in RequestFactory is done after the object graph has been
reconstructed but before any service method is invoked. It's the only 
place
where validation errors will lead to onConstraintViolations being called
back on the client side (for all the Receivers attached to the
RequestContext).
When service method invocations are processed, each one can succeed or
throw, independently of the others, and will cause the onSuccess or
onFailure of the Receiver _for that particular invocation_ (the one 
passed
to the to() or fire() method of Request –but not the fire() method of
RequestContext!–) to be called back.
FYI, the global Receiver's (the one passed to the fire() method of
RequestContext) onFailure method is only called when the object graph 
cannot
be reconstructed or serialized on the server-side; in that case, the
onFailure of all Receivers is also called. In any other case (except
onConstraintViolations), onSuccess will be called (even if all 
invocations
failed).

-- 
You received 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: Develop With GWT

2011-10-19 Thread Pavel Byles
What exactly are you having a problem understanding?

On Wed, Oct 19, 2011 at 9:45 AM, Jose Luis Urrea S.
urreasua...@gmail.comwrote:

 Hi Everybody,

 I'm new in GWT and right now I'm starting to develop a project with
 GWT.  But I wonder, Can I develop applications that it has drop down
 lists, windows popup to find records and then set to the main page,
 validate forms, etc, etc.  I've been finding documentation and till
 now I don't know how to develop this kind of functionality in GWT.

 If you can to send me information I'd appreciate.

 Warmest regards

 Jose

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




-- 
--
Pav

-- 
You received 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: Develop With GWT

2011-10-19 Thread Rob
Hi,

Take a look at this demo:

- http://gwt-cx.com/serendipity/Serendipity.html

It should give you a feeling for what's possible using GWT.

Cheers
Rob

http://code.google.com/p/gwt-cx/



On Oct 20, 1:45 am, Jose Luis Urrea S. urreasua...@gmail.com
wrote:
 Hi Everybody,

 I'm new in GWT and right now I'm starting to develop a project with
 GWT.  But I wonder, Can I develop applications that it has drop down
 lists, windows popup to find records and then set to the main page,
 validate forms, etc, etc.  I've been finding documentation and till
 now I don't know how to develop this kind of functionality in GWT.

 If you can to send me information I'd appreciate.

 Warmest regards

 Jose

-- 
You received 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: widget's order

2011-10-19 Thread wahaha
is there a attribute stand for z-index?

-- 
You received 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: Cross domain builds

2011-10-19 Thread Thomas Broyer
No, all linkers will generate a *.nocache.js (so changing linker doesn't 
require changing the HTML host page) and all related files will be 
linker-specific; in particular, xsiframe generates *.cache.js, while the 
standard linker generates *.cache.html files.

And about doesn't work loaded from a different domain, what's your browser 
saying? (in its error console)

-- 
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/-/Bqs5gUWWHRgJ.
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: Cross domain builds

2011-10-19 Thread Luis Montes
Ok, the build output just looks like the standard linker was used. Since its
still the nocahe.js and html files

The output error looked the same as before:

Unsafe JavaScript attempt to access frame with URL
http://localhost:8080/webclient/ from frame with URL
http://cmdev:/pe/PE/DBFC82AC1D77661A91A0E32C1F2FA501.cache.html.
Domains, protocols and ports must match.




On Wed, Oct 19, 2011 at 5:17 PM, Thomas Broyer t.bro...@gmail.com wrote:

 No, all linkers will generate a *.nocache.js (so changing linker doesn't
 require changing the HTML host page) and all related files will be
 linker-specific; in particular, xsiframe generates *.cache.js, while the
 standard linker generates *.cache.html files.

 And about doesn't work loaded from a different domain, what's your
 browser saying? (in its error console)

 --
 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/-/Bqs5gUWWHRgJ.

 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: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-19 Thread Brandon Donnelson
I figured out how to saved owned entities, but I can't seem 
to transport them back in the proxy. 

How can I get the children to come along for the ride?

http://code.google.com/p/gwt-examples/source/browse/trunk/WalletInventory/src/com/gonevertical/server/jdo/WalletData.java#84


-- 
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/-/wzIu73bZlk0J.
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: Has anybody setup an owned Collection in RequestFactory? Does know how to set the ParentKey/ChildKey?

2011-10-19 Thread Brandon Donnelson
I solved it. Wahoo!. :) I needed to use .with(items) in the query to get 
the children. 

http://code.google.com/p/gwt-examples/source/browse/trunk/WalletInventory/src/com/gonevertical/client/views/impl/WalletListViewImpl.java#68


-- 
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/-/N8BBtDHcFSUJ.
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 Dialogbox Draggable icon not comes when mouse over to caption of dialogbox

2011-10-19 Thread Patrick Tucker
Add the cursor:move; style to the Caption classes.

On Oct 19, 4:44 am, vaibhav bhalke bhalke.vaib...@gmail.com wrote:
 GWT Dialogbox not showing draggable icon when mouse over to caption of
 dialogbox.

 I followhttp://examples.roughian.com/index.htm#Widgets~DialogBox
 Example provided in above link. works fine + draggable icon comes when mouse
 over to caption of dialog-box

 dialog box's Drag gable property is working fine.default draggable icon not
 comes when mouse over to caption of dialog-box

 --
 Best Regards,
 Vaibhav

 http://about.me/vaibhavbhalke

-- 
You received 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: StackPanel

2011-10-19 Thread madel arbo
its ok also to use
DecorateStackPanel... =) try it. and its nice.

-- 
You received 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: Load CellTable data throught an external Button

2011-10-19 Thread Gabejazz
Someone? 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-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 Designer fails under Eclipse 3.7 with latest update

2011-10-19 Thread Konstantin Zolotarev
Same error. Eclipse 3.7 (x64)

org.eclipse.wb.internal.core.utils.exception.DesignerException: 4107 (Unable to 
load native library.). gwt-ll
at 
com.google.gdt.eclipse.designer.GwtExceptionRewriter.rewrite(GwtExceptionRewriter.java:74)
at 
org.eclipse.wb.internal.core.utils.exception.DesignerExceptionUtils.rewriteException(DesignerExceptionUtils.java:225)
at 
org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.showExceptionOnDesignPane(XmlDesignPage.java:509)
at 
org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(XmlDesignPage.java:394)
at 
org.eclipse.wb.internal.core.xml.editor.UndoManager.refreshDesignerEditor(UndoManager.java:254)
at 
org.eclipse.wb.internal.core.xml.editor.UndoManager.activate(UndoManager.java:85)
at 
org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.setActive(XmlDesignPage.java:167)
at 
org.eclipse.wb.internal.core.xml.editor.AbstractXmlEditor.pageChange(AbstractXmlEditor.java:649)
at 
org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2745)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1432)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

-- 
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/-/rD8JeLSbALQJ.
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.



AtUnit: Easy Java unit tests with mocks (JMock or EasyMock) and dependency injection (Spring or Guice)

2011-10-19 Thread Gal Dolber
Hi all,

This is just a little post to share this awesome project
http://code.google.com/p/atunit/ (from logan.johnson) I found a few months
ago.

Anyone using guice/gin should try it!

Regards

-- 
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-contrib] Re: Add the final two TCK test classes. (issue1576803)

2011-10-19 Thread rjrjr

LGTM

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

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


[gwt-contrib] Re: Small fix to CellPanelParser to make it work with lazy widget (issue1577803)

2011-10-19 Thread rjrjr

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

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


[gwt-contrib] Re: Small fix to CellPanelParser to make it work with lazy widget (issue1577803)

2011-10-19 Thread rjrjr

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

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