Re: Customer specific locales

2014-08-15 Thread Slava Pankov
Yes, you have to. I'm using customer specific locales, and third part is 
5-8 chars.

On Friday, August 15, 2014 5:25:10 AM UTC-7, Developer wrote:
>
> Some of our customers want some special labels for some of our GUI 
> elements. Therefore I would like to define some customer specific locales 
> in order to use customer specific Resources.
> I tried to define the locale de_DE_ABC, but GWT tells me that the locale 
> format is not valid as the extension bit (ABC) has to be 5 to 8 characters 
> according to the BCP47 standard. Do I really have to use locales with 
> variants consisting of 5 to 8 chars or am I doing something complete wrong?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Re: How to dynamically choose locale at SuperDevMode compile time?

2014-08-15 Thread Aleš Pečnik
I'll do that.

On Friday, August 15, 2014 10:28:25 AM UTC+2, Davide Cavestro wrote:
>
> Thanks! I'll give it a try as soon as I return at office. Did you consider 
> contributing the gwt project with this patch?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to handle add new row, edit a cell and save events using GWT Editable grid and save the data to server

2014-08-15 Thread Sarika
Hi,

I have added a new Editable Grid, which is dynamic based on the menu 
selection.

How to handle add new row, edit a cell and save events using GWT Editable 
grid and save the data to server.

How to get the newly added row, deleted row or updated row using Editable 
Grid?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Designer and tree widget problem

2014-08-15 Thread Олег Рачаев
I have the same issue on GWT 2.6.1, Win7 32bit, Java 1.7_67

About months ago I have created issue in bug tracker but it's still no 
answer to it.

среда, 27 июля 2011 г., 4:25:45 UTC+4 пользователь karim duran написал:
>
> Hi, 
>
> I'm working with Eclipse Helios, GWT plugin and GWT Designer 
> installed. 
> I made my interface ( many panels, textbox, buttons etc...). 
>
> When i try to add a Tree widget, the result is an exception in 
> Eclipse. 
>
> I try to find precisions about tree widget in documentation, but i 
> didn't find anything. 
>
> Could you help ? 
>
> Thanks. 
>
> Regards. 
> Karim Duran.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
As usual, I found the solution within 15 minutes of posting the question.

The default replacement that GWT does is 
com.google.gwt.dom.client.StyleInjector.StyleInjectorImplIE for 
com.google.gwt.dom.client.StyleInjector.StyleInjectorImpl, so I need to 
replace my patched version of the IE injector for the class that GWT 
replaces, and I need to limit it to IE, because that's what the default 
does.  Also, the replacement class need to be in a client package.









Chris

On Friday, 15 August 2014 15:15:58 UTC+1, chris-x...@db.com wrote:
>
> Hi,
>
> I am having problems running in hosted mode (GWT 2.6.1) as a result of a 
> possible bug in com.google.gwt.dom.client.StyleInjector.java (see Issue 
> 8863 
> ).
>
> The fix is simple, so I have created my own version of the problem class 
> in my Eclipse project, and specified a  in the module file:
>
> 
>  class="com.google.gwt.dom.client.StyleInjector.StyleInjectorImplIE"/>
> 
>
> It doesn't seem to work.  Using the debugger, I still see the code in the 
> original class being executed, and the resulting 
> ArrayIndexOutOfBoundsException is thrown.  Is there a reason why I can't 
> replace this class?  If so, can anyone suggest a way to get my patch into 
> the project, preferably without replacing or modifying gwt-user-2.6.1.jar?
>
> It looks like the original StyleInjector.StyleInjectorImplIE may be 
> replacing StyleInjector.StyleInjectorImplIE.  Does  recurse 
> through multiple levels of replacement?  Is there a way to see what 
> browser-specific replacements happen by default?
>
> Thanks,
>
> Chris
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
Hi,

I am having problems running in hosted mode (GWT 2.6.1) as a result of a 
possible bug in com.google.gwt.dom.client.StyleInjector.java (see Issue 8863 
).

The fix is simple, so I have created my own version of the problem class in 
my Eclipse project, and specified a  in the module file:





It doesn't seem to work.  Using the debugger, I still see the code in the 
original class being executed, and the resulting 
ArrayIndexOutOfBoundsException is thrown.  Is there a reason why I can't 
replace this class?  If so, can anyone suggest a way to get my patch into 
the project, preferably without replacing or modifying gwt-user-2.6.1.jar?

It looks like the original StyleInjector.StyleInjectorImplIE may be 
replacing StyleInjector.StyleInjectorImplIE.  Does  recurse 
through multiple levels of replacement?  Is there a way to see what 
browser-specific replacements happen by default?

Thanks,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Customer specific locales

2014-08-15 Thread Developer
Some of our customers want some special labels for some of our GUI 
elements. Therefore I would like to define some customer specific locales 
in order to use customer specific Resources.
I tried to define the locale de_DE_ABC, but GWT tells me that the locale 
format is not valid as the extension bit (ABC) has to be 5 to 8 characters 
according to the BCP47 standard. Do I really have to use locales with 
variants consisting of 5 to 8 chars or am I doing something complete wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: master/3.0.0 js interop ready to play with?

2014-08-15 Thread salk31
Many thanks.

On Friday, August 15, 2014 12:21:12 PM UTC+1, Jens wrote:
>
> You need to tell GWT to compile your test to JS. To do so you can use the 
> following JVM parameter:
>
> -Dgwt.args="-prod -XjsInteropMode JS"
>
> If you want a list of all parameters available use 
>
> -Dgwt.args="-help"
>
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: master/3.0.0 js interop ready to play with?

2014-08-15 Thread Jens
You need to tell GWT to compile your test to JS. To do so you can use the 
following JVM parameter:

-Dgwt.args="-prod -XjsInteropMode JS"

If you want a list of all parameters available use 

-Dgwt.args="-help"


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT-client math vs. java-math

2014-08-15 Thread Oskar Stangenberg
Im not sure but i doubt the radian/degree thing is in the specs. As for the 
RPC-serialization: I dont know it the long-bits-conversion is really 
necessary - its more of a feeling that Double.toString doesnt provide the 
necessary precision in gwt but its very well possible im wrong there. We 
are using atmosphere for data transfer and our own serializer logic that 
hands around raw strings until the value is acually needed so the 
performance impact is minimal
I havent found any libraries for the trig-functions. we are using our own 
with a lookup-array

Am Donnerstag, 14. August 2014 23:26:30 UTC+2 schrieb Colin Alworth:
>
> Thanks for posting about this Oskar. The radian/degree code can likely be 
> changed (is that behavior specified as part of the Java spec?), though 
> changing RPC serialization sounds like it would come with performance 
> penalties - any comments there?
>
> What is your preferred method of resolving the trig function issues - do 
> you have a gwt-able java lib that you can suggest?
>
> On Thursday, August 14, 2014 7:36:29 AM UTC-5, Oskar Stangenberg wrote:
>>
>> Well, not every one of these things is easy to fix. Especially the 
>> trig-functions - GWT is probably using the js-internal ones - which are 
>> most likely pretty fast and good enough for client-only code. 
>> The server-impl of the trig-functions isn't even java-code - they are 
>> native functions. So their exact impl might even depend on the JRE used
>>
>> Am Dienstag, 12. August 2014 19:45:08 UTC+2 schrieb Juan Pablo Gardella:
>>>
>>> Thanks for sharing. It will very useful track each problem to GWT issue 
>>> tracker.
>>>
>>>
>>> 2014-08-12 13:09 GMT-03:00 Oskar Stangenberg :
>>>
 Hi guys, we are developing a GWT-project with a lot of shared files. We 
 discovered a few discrepancies in the gwt-math and server-math and wanted 
 to share them for anybody else having those issues:

- First and foremost: all native double calculations are identical 
(+ - * / %)
- All trig-functions (sin,cos,tan,asin,acos,atan,atan2) seem to 
produces slightly different results. We recommend doing your own impl 
 using 
lookup-maps 
- sqrt,log and pow seem to be identical although we only tested 
sqrt thoroughly
- As far as we know all functions like max,min,abs etc are identical 
- toDegrees and toRadian are actually different because GWT uses a 
constant for 180./PI and PI/180. which changes the order of operation 
compared to java
- For serialization of doubles we strongly suggest using 
Double.doubleToLongbits and Double.longBitsToDouble. You can 
 additionally 
use Long.toString(long,32) and Long.parseString(string,32) to compress 
 the 
String-representation

 I hope we can help some people with this info. Especially the 
 toDegrees/toRadians was very surprising to find. This issue was reported 
 though and might be fixed in a future GWT-version (we tested 2.6.1).
 In case you are interested how we solved the issues here is the 
 open-source-part 
 of our project 
 
  so 
 you can check it out
 Regards
 Oskar Stangenberg

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Google Web Toolkit" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-we...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Auto Response

2014-08-15 Thread Steve Ronald
I will be out of office on 15th August 2014. Please contact Mike 2407644639 in my absence. Thanks



-- 
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: master/3.0.0 js interop ready to play with?

2014-08-15 Thread salk31
How do you guys run your js interop based unit tests in an IDE? 
Specifically Eclipse?

I'm feeling very thick! The GUI part of eclipse/GWT integration doesn't 
have many handles to pull and my guess is the interop flag is only picked 
up directly on the command line (not ENV of property)

Thanks

Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Generation of permutations

2014-08-15 Thread Developer
After adding



I'm getting just two permutations - great!

But I still need the AppResources.properties file. Otherwise I'm still 
getting the above error message "No resource found for key...".

Even after adding 



I still get that exception.

Only if I restrict my app to one locale by changing

to

it i compiled without the existance of AppResources.properties but I'm 
loosing the possibility to switch between de_DE and en_US then.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


R: Re: How to dynamically choose locale at SuperDevMode compile time?

2014-08-15 Thread Davide Cavestro
Thanks! I'll give it a try as soon as I return at office. Did you consider 
contributing the gwt project with this patch?


Davide Cavestro

Aleš Pečnik  ha scritto:

I use meta tag in HTML for setting locale:


I use GWT from trunk, in Eclipse with -superDevMode argument, without 
bookmarklet. This patch works for me:

diff --git a/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js 
b/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js
index 2964be7..9bb0a92 100644
--- a/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js
+++ b/dev/codeserver/java/com/google/gwt/dev/codeserver/dev_mode_on.js
@@ -380,6 +380,11 @@

 var url = url_prefix + '_callback=__gwt_bookmarklet_globals.callbacks.' +
 callback_id;
+    var nodelist=document.getElementsByTagName('meta');
+    for(var i=0; ihttps://groups.google.com/d/topic/google-web-toolkit/CJz8e_SyYTI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.