Sending HTML as JSON with RequestBuilder

2012-11-26 Thread Milan Cvejic
Hi,
I am trying to send HTML string to server using RequestBuilder with JSON 
but without any success.

Everything works well when in HTML there are no double quotes or other JSON 
charachters.

So I am trying something like this

RichTextArea area = new RichTextArea();

String htmlToSend = area.getHTML();

JSONObject requestParams = new JSONObject();
requestParams.put("some_key", new JSONString(htmlToSend));

Unfortunately that string is not encoded properly to be safe to send with 
json

So if value retuned from area.getHTML() contains double quotes like this:

http://www.denic.de/de/domains/recht/index.html"; 
target="_blank">www.denic.de/de/domains/recht/index.html

request param looks like

{"some_key":"http://www.denic.de/de/domains/recht/index.html"; 
target="_blank">www.denic.de/de/domains/recht/index.html"}

JSONString method toString() on the other hand is calling 
JsonUtils.escapeValue(value) so that string should be escaped. And If I 
call escapeValue from JsonUtils by myself
i get string encoded but end up with two double quotes at the beginning and 
the end of that string..

Any help is welcome,
Thanks,
Milan

-- 
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/-/oov8dt8PEnQJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Brian Slesinsky
That's due to a bug in the Makefile: it creates the IOOPHM.h file but not 
the directory it's in. (The build procedure for plugins is full of this 
sort of thing.)

But if you sync to head, you should be able to get away with just building 
the xpi file from the preexisting binaries, because the binary is checked 
in.

- Brian

On Monday, November 26, 2012 3:53:32 PM UTC-8, Thomas Broyer wrote:
>
>
>
> On Monday, November 26, 2012 11:34:29 PM UTC+1, koma wrote:
>>
>> I tried to build - would be nice to master that because it will keep on 
>> happening every 6 weeks; Ubuntu updates FF even without asking and even 
>> without restarting FF;
>> I fiddled a bit with the Makefile to include ff170 and tried to find my 
>> way in the huge directory structure.
>>
>> Finally it started to compile but no luck so far; 
>>
>> Missing IOOPHM.h :
>>
>>
> That file comes with the patch from 
> http://gwt-code-reviews.appspot.com/1870803/
>
>

-- 
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/-/DDf-40yMry0J.
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 Oauth Access Token Access Revoked

2012-11-26 Thread Allen Zhou
Hi, I ran into an issue with using 
https://code.google.com/p/gwt-oauth2/source/browse/trunk/samples/multi/com/google/api/gwt/oauth2/samples/multi/client/OAuth2SampleEntryPoint.java
for a specific use case.

The login method, as described below, will not open a popup window if my 
token not close to expiring yet. So so if I revoked access to my 
application (from my Google Account > Security > Authorizing applications 
and sites), the login method does not open the popup window to prompt to to 
re-grant access, instead it just gives me back the existing token (since it 
has not expired yet). And now, when I try to use that token to make 
requests to Google API, these requests will fail because I revoked access, 
so the token is invalid.

Now, my question is, how do I make the login method from this client to 
force open the popup window to prompt user to grant access again?


public void *login* 
(AuthRequest
 

 req,
  Callback 
http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true>,Throwable
 
>
 callback)

Request an access token from an OAuth 2.0 provider.

*If it can be determined that the user has already granted access, and the 
token has not yet expired, and that the token will not expire soon, the 
existing token will be passed to the callback.*

Otherwise, a popup window will be displayed which may prompt the user to 
grant access. If the user has already granted access the popup will 
immediately close and the token will be passed to the callback. If access 
hasn't been granted, the user will be prompted, and when they grant, the 
token will be passed to the callback.

*Parameters:*req - Request for authentication.callback - Callback to pass 
the token to when access has been granted.

-- 
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/-/Sa2rkdxwRQcJ.
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: Could not load GWT DMP Plugin

2012-11-26 Thread Thomas Broyer


On Monday, November 26, 2012 9:15:09 PM UTC+1, Mark Bosshard wrote:
>
> Hey Brian
>
> It says "Your computer doesnt support this App" when I try downloading it 
> from the appstore.
>

Are you on Windows 8? Windows 8 makes it impossible to support NPAPI 
plugins in Chrome.
 

> However with drag and drop I get the gwt-plugin working, but it crashes 
> with this error "Could not load GWT DMP" Plugin. I added 0.0.0.0, 127.0.0.1 
> as well as localhost both in server and local in the table of the gwt 
> plugin options. So - no chance on chrome.
>

Have you tried SuperDevMode?
 

> I tried firefox. Downloaded the normal today's version of firefox on 
> mozilla.org. But: The Plugin is not accepted by Firefox since today we're 
> on version 17 and the GWT Plugin is outdated.
>
> This means: Your GWT Plugin is right now only working on Internet Explorer 
> as a major windows browser. THATS A PAIN IN THE ASS
>

Yes.

-- 
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/-/oZg7ih0L5lcJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Thomas Broyer


On Monday, November 26, 2012 11:34:29 PM UTC+1, koma wrote:
>
> I tried to build - would be nice to master that because it will keep on 
> happening every 6 weeks; Ubuntu updates FF even without asking and even 
> without restarting FF;
> I fiddled a bit with the Makefile to include ff170 and tried to find my 
> way in the huge directory structure.
>
> Finally it started to compile but no luck so far; 
>
> Missing IOOPHM.h :
>
>
That file comes with the patch from 
http://gwt-code-reviews.appspot.com/1870803/

-- 
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/-/g58QZhmlz-wJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Jeffrey Chimene
On 11/26/2012 03:34 PM, koma wrote:
> I tried to build - would be nice to master that because it will keep
> on happening every 6 weeks; Ubuntu updates FF even without asking and 

That may be, but you can still exert control. I don't use Ubuntu, but
since it's based on Debian, you can use apt pinning:

https://help.ubuntu.com/community/PinningHowto

P.S. There's probably a FF config setting you can apply to disable
auto-update, but working knowledge of pinning will serve you in good
stead for other packages.

-- 
You received 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: Hello, please I need your help with "did you forget to inherit a required module"

2012-11-26 Thread Alberto Mancini
Hi,
afaik java.security is not in the GWT's emulated jre so you should provide
an implementation for SecureRandom
(through super-source, see
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects
)
to be able to use jBCrypt unmodified.


Ciao,
   Alberto


On Mon, Nov 26, 2012 at 1:17 PM, Nicolas Moraes <
nicolas.mor...@mercadolibre.com> wrote:

> Dear all:
>
> When I running my GWT app, I have the following error :
>
> No source code is available for type java.security.SecureRandom; did you
> forget to inherit a required module.
>
> This error occurs after include a security class,
> http://www.mindrot.org/projects/jBCrypt/
>
> I read a lot of different solution however I can't find the solution.
>
> Thank a lot guys, Your help will be very appreciate.
>
> Nicolas.
>
>
>  --
> 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/-/tqdplM8TzoIJ.
> 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: Firefox 17 dev plugin

2012-11-26 Thread koma
I tried to build - would be nice to master that because it will keep on 
happening every 6 weeks; Ubuntu updates FF even without asking and even 
without restarting FF;
I fiddled a bit with the Makefile to include ff170 and tried to find my way 
in the huge directory structure.

Finally it started to compile but no luck so far; 

Missing IOOPHM.h :


koen@n53sv:~/src/gwt-plugin/plugins/xpcom$ make BROWSER=ff170 
GECKO_PLATFORM=Linux_x86_64-gcc3
(cd ../common && make)
make[1]: Entering directory `/home/koen/src/gwt-plugin/plugins/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/koen/src/gwt-plugin/plugins/common'
Makefile:264: Using firefox libraries at 
../../../plugin-sdks/gecko-sdks/gecko-17.0.0/Linux_x86_64-gcc3/lib
[ ! -x ../../../plugin-sdks/gecko-sdks/gecko-17.0.0/bin/xpidl.py -o \( -e 
prebuilt/ff170/include/IOOPHM.h -a ! -w prebuilt/ff170/include/IOOPHM.h \) 
] || ../../../plugin-sdks/gecko-sdks/gecko-17.0.0/bin/header.py 
-I../../../plugin-sdks/gecko-sdks/gecko-17.0.0/idl -o 
prebuilt/ff170/include/IOOPHM.h IOOPHM.idl
g++   -O2 -fPIC 
-I../../../plugin-sdks/gecko-sdks/gecko-17.0.0/Linux_x86_64-gcc3/include 
-I../../../plugin-sdks/gecko-sdks/gecko-17.0.0/include 
-Iprebuilt/ff170/include/ -rdynamic -m64 -DBROWSER=ff170 
-DGECKO_VERSION=17000 -fshort-wchar -c -o 
build/Linux_x86_64-gcc3-ff170/ExternalWrapper.o -I. -I../common 
ExternalWrapper.cpp
In file included from ExternalWrapper.cpp:17:0:
ExternalWrapper.h:23:20: fatal error: IOOPHM.h: No such file or directory
compilation terminated.
make: *** [build/Linux_x86_64-gcc3-ff170/ExternalWrapper.o] Error 1

-- 
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/-/2XubcROLVB4J.
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: Firefox 17 dev plugin

2012-11-26 Thread Daniel Kurth
Ah...thanks, I was so focused on upgrade that I missed the point that 
Thomas was suggesting downgrade. Downgrade it is. In my case used following 
to get back the earlier version of FF for now: 
dpkg -i 
/var/cache/apt/archives/firefox_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb

On Monday, November 26, 2012 1:57:03 PM UTC-8, Michael Joyner wrote:
>
> I downgraded via dpkg to FF16 then marked it as stay that way in Synaptic. 
> Luckily, the FF16 deb was still in my cache folder.
>
>
>

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



Re: Google Maps with GWT

2012-11-26 Thread Deepak Singh
Help needed...


On Tue, Nov 27, 2012 at 1:37 AM, Deepak Singh wrote:

> Hi All,
>
> I am using gwt-maps.jar for integrating maps with our application.
>
> I am following the link
>
> http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted
>
> GWT 2.5 version
>
> Code:
>
> Maps.loadMapsApi("", "2", false, new Runnable() {
>  @Override
> public void run() {
> System.out
>  .println("YatrafinderDevEnv.onModuleLoad().new Runnable() {...}.run()");
>  LatLng cawkerCity = LatLng.newInstance(39.509, -98.434);
>  MapOptions mo = MapOptions.newInstance();
>  final MapWidget map = new MapWidget(cawkerCity, 2, mo);
>  map.setSize("100%", "100%");
> // Add some controls for the zoom level
> map.addControl(new LargeMapControl());
>
> // Add a marker
> map.addOverlay(new Marker(cawkerCity));
>
> // Add an info window to highlight a point of interest
> map.getInfoWindow().open(map.getCenter(),
> new InfoWindowContent("World's Largest Ball of Sisal Twine"));
>
> RootPanel.get("paymentInfoDiv").add(map);
> }
>  });
>
> I am getting exception while invoking MapWidget.
> ExceptionInitializer exception.
>
> I believe this library does not work with GWT 2.5
>
> Pls guide me here.
>
>
> --
> Deepak Singh
>



-- 
Deepak Singh

-- 
You received 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: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
I downgraded via dpkg to FF16 then marked it as stay that way in Synaptic.
Luckily, the FF16 deb was still in my cache folder.

On Mon, Nov 26, 2012 at 3:15 PM, Daniel Kurth  wrote:

> Yep, that's the package I see available for Firefox, but I don't think it
> includes the google plugin. I'd be happy to be wrong on that score, but to
> date I've used packages (from Debian..Ubuntu) for everything except the
> Firefox google plugin (for which I've instead relied on the gracious
> efforts of people such as as yourself).
>
> On Monday, November 26, 2012 10:40:06 AM UTC-8, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, November 26, 2012 6:59:08 PM UTC+1, Daniel Kurth wrote:
>>>
>>> It would have to be packaged first. I myself am using Ubuntu 12.04 etc
>>> and unfortunately have never seen it available that way (or at least in the
>>> default packages).
>>>
>>
>> http://packages.ubuntu.com/**precise/firefox
>>  ?
>>
>  --
> 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/-/KBdmoZHT3dsJ.
> 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.



Hello, please I need your help with "did you forget to inherit a required module"

2012-11-26 Thread Nicolas Moraes
Dear all: 

When I running my GWT app, I have the following error :

No source code is available for type java.security.SecureRandom; did you 
forget to inherit a required module.

This error occurs after include a security 
class, http://www.mindrot.org/projects/jBCrypt/

I read a lot of different solution however I can't find the solution.

Thank a lot guys, Your help will be very appreciate.

Nicolas.


-- 
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/-/tqdplM8TzoIJ.
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: Could not load GWT DMP Plugin

2012-11-26 Thread Mark Bosshard
Hey Brian

It says "Your computer doesnt support this App" when I try downloading it 
from the appstore. However with drag and drop I get the gwt-plugin working, 
but it crashes with this error "Could not load GWT DMP" Plugin. I added 
0.0.0.0, 127.0.0.1 as well as localhost both in server and local in the 
table of the gwt plugin options. So - no chance on chrome.

I tried firefox. Downloaded the normal today's version of firefox on 
mozilla.org. But: The Plugin is not accepted by Firefox since today we're 
on version 17 and the GWT Plugin is outdated.

This means: Your GWT Plugin is right now only working on Internet Explorer 
as a major windows browser. THATS A PAIN IN THE ASS

On Saturday, October 20, 2012 10:08:44 PM UTC+2, seas wrote:
>
> Started getting 'Could not load GWT DMP Plugin' yesterday when I start my 
> app from Eclipse using Chrome.  Happening on both work and home computers. 
>  From web searches, it looks like this has happened in the past, which 
> seemed to indicate that in those cases a new plugin was deployed that had 
> issues.  In those cases there was no clear fix except some people has 
> success rolling back to an earlier version of the plugin.
>
> I've tried reinstalling the latest plugin.  Didn't see any option for 
> downloading previous versions from the app store.  Tried restarting Chrome, 
> Eclipse, and rebooting the machine.
>
> Has there been a recent update to the plugin?  Where can I get the 
> previous one to roll back to?  Is there another update coming soon that 
> will fix this?
>
> My home set up is:
> Windows XP SP 3
> Eclipse Helios Service Release 2 build ID 20110218-0911
> Chrome 22.0.1229.94 m
> GWT Developer Plugin 1.0.11338
>
> My work set up is similar but with Window 7
>
>

-- 
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/-/vmppr1eY64IJ.
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) Searching for issue related to http://bit.ly/SldSlF

2012-11-26 Thread Miroslav Genov
Hello, 

I'm searching for issue that is related to: 
http://stackoverflow.com/questions/12977922/gwt-requestfactory-performance-suggestions
 
.Does anyone could point me to it cause I couldn't find it.

Regards, 
 Miroslav

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



problem in compiling project in GWT

2012-11-26 Thread program Angel
Hi I have started to do the GWT tutorials:
https://developers.google.com/web-toolkit/doc/latest/tutorial/index

I have finished all the mission up to "compiling your project", using 
eclipse and I have reach the "Step 8: Compiling a GWT 
Application"

I compile the project, the output in the eclipse look OK, but when I try to 
run all I see is "This html file is for Development Mode support", when I 
run the host.html file.

Where am I wrong?

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



Step 3 of tutorial

2012-11-26 Thread gwt/java newbie
I am on Step 3 of the tutorial using Eclipse and I tried to Run > Run As > 
Web application.  When trying to view it I got this error:

Exception while loading module 
com.google.gwt.sample.stockwatcher.client.StockWatcher. See Development 
Mode for details.

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:406)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at 
com.google.gwt.sample.stockwatcher.client.StockWatcher.onModuleLoad(StockWatcher.java:41)
... 9 more

-- 
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/-/vvDDrT_XEaAJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Daniel Kurth
Yep, that's the package I see available for Firefox, but I don't think it 
includes the google plugin. I'd be happy to be wrong on that score, but to 
date I've used packages (from Debian..Ubuntu) for everything except the 
Firefox google plugin (for which I've instead relied on the gracious 
efforts of people such as as yourself).

On Monday, November 26, 2012 10:40:06 AM UTC-8, Thomas Broyer wrote:
>
>
>
> On Monday, November 26, 2012 6:59:08 PM UTC+1, Daniel Kurth wrote:
>>
>> It would have to be packaged first. I myself am using Ubuntu 12.04 etc 
>> and unfortunately have never seen it available that way (or at least in the 
>> default packages).
>>
>
> http://packages.ubuntu.com/precise/firefox ?
>

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



Google Maps with GWT

2012-11-26 Thread Deepak Singh
Hi All,

I am using gwt-maps.jar for integrating maps with our application.

I am following the link

http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted

GWT 2.5 version

Code:

Maps.loadMapsApi("", "2", false, new Runnable() {
 @Override
public void run() {
System.out
.println("YatrafinderDevEnv.onModuleLoad().new Runnable() {...}.run()");
 LatLng cawkerCity = LatLng.newInstance(39.509, -98.434);
 MapOptions mo = MapOptions.newInstance();
 final MapWidget map = new MapWidget(cawkerCity, 2, mo);
 map.setSize("100%", "100%");
// Add some controls for the zoom level
map.addControl(new LargeMapControl());

// Add a marker
map.addOverlay(new Marker(cawkerCity));

// Add an info window to highlight a point of interest
map.getInfoWindow().open(map.getCenter(),
new InfoWindowContent("World's Largest Ball of Sisal Twine"));

RootPanel.get("paymentInfoDiv").add(map);
}
});

I am getting exception while invoking MapWidget.
ExceptionInitializer exception.

I believe this library does not work with GWT 2.5

Pls guide me here.


-- 
Deepak Singh

-- 
You received 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: Activities and places with MVP approach question

2012-11-26 Thread Jesse Hutton
I have previously used one activity for C and U, and another for R (and D).
It basically came down to the fact that the views were mostly the same
between those pairs, so they could be reused and the activity (and
presenter) could figure out the details and which controls to show based
the action information the place (which you can get away with having one
of). In addition, I also had a list activity for a total of 3 activities
for each entity type.

Jesse


On Sun, Nov 4, 2012 at 1:50 PM, Daniel Mauricio Patino León <
ceo.lion@gmail.com> wrote:

> I recently started a new project usign Activities and palces with mvp. Now
> i have a quiestion of approach.
>
> Example:
>
> Employee CRUD
>
> Activity and place for each operation C, R, U
>
> One place differente activities for operations C, R, U.
>
> what you guys suggest to use and why?
>
> many thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/U7HG3XPNSk8J.
> 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: Firefox 17 dev plugin

2012-11-26 Thread Thomas Broyer


On Monday, November 26, 2012 6:59:08 PM UTC+1, Daniel Kurth wrote:
>
> It would have to be packaged first. I myself am using Ubuntu 12.04 etc and 
> unfortunately have never seen it available that way (or at least in the 
> default packages).
>

http://packages.ubuntu.com/precise/firefox ?

-- 
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/-/Dweyaa6SMt0J.
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: Firefox 17 dev plugin

2012-11-26 Thread Daniel Kurth
It would have to be packaged first. I myself am using Ubuntu 12.04 etc and 
unfortunately have never seen it available that way (or at least in the 
default packages).

On Monday, November 26, 2012 9:19:06 AM UTC-8, Thomas Broyer wrote:
>
>
>
> On Monday, November 26, 2012 3:54:18 PM UTC+1, Michael Joyner wrote:
>>
>> Anyone willing to post this dev build? I just had my FF auto-update :(
>>
>
> Given that only the Linux x64 patch is ready, therefore assuming you're on 
> Linux x64, can't you just "apt-get install firefox=16*" or equivalent?
>

On Monday, November 26, 2012 9:19:06 AM UTC-8, Thomas Broyer wrote:
>
>
>
> On Monday, November 26, 2012 3:54:18 PM UTC+1, Michael Joyner wrote:
>>
>> Anyone willing to post this dev build? I just had my FF auto-update :(
>>
>
> Given that only the Linux x64 patch is ready, therefore assuming you're on 
> Linux x64, can't you just "apt-get install firefox=16*" or equivalent?
>

-- 
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/-/Nf2w9qQhx6wJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
On Mon, Nov 26, 2012 at 12:19 PM, Thomas Broyer  wrote:

>
>
> On Monday, November 26, 2012 3:54:18 PM UTC+1, Michael Joyner wrote:
>>
>> Anyone willing to post this dev build? I just had my FF auto-update :(
>>
>
> Given that only the Linux x64 patch is ready, therefore assuming you're on
> Linux x64, can't you just "apt-get install firefox=16*" or equivalent?
>

Heh... didn't think about that... its a Monday after a long weekend. :)

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



Issue with HeaderPanel content height in Safari and Chrome

2012-11-26 Thread Patrick Tucker
I have a layout that uses HeaderPanel that is having trouble in Safari and 
Chrome on Windows 7.
 
I traced the problem to the footer content widget having a min-height value 
of 20px.  If I remove this value the calculations work as expected.  If you 
look in ResizeLayoutPanel.ImplStandard you can see that minHeight gets 
added in the init function for non IE browsers and the comment indicates 
that the style is added for proper scrollbar functionality.
 
Basically what is happeing is the browser is rendering the content widget 
smaller than it should because of this 20px minimum.  In IE the 
implementation does not have the 20 pixel minimum.
 
I can remove the 20px and the calculations work fine.  If I manually add 
the 20px min height in IE 9's dev tools, the layout seems to mimic the 
Safari/Chrome problem.  The other option, that I can think of, would be to 
grab the hieght of the headerpanel itself and subtract the header height 
and footer height.  This seems like a bad idea...
 
Does HeaderPanel even need to use ResizeLayoutPanel because Footers don't 
normally scroll themselves?
 
Is there a better way to trick these browsers into scrolling properly so 
that my layout doesn't get messed up?
 
Any thoughts on what I should do?
 
Thanks,
Pat

-- 
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/-/hw852twqQAUJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Thomas Broyer


On Monday, November 26, 2012 3:54:18 PM UTC+1, Michael Joyner wrote:
>
> Anyone willing to post this dev build? I just had my FF auto-update :(
>

Given that only the Linux x64 patch is ready, therefore assuming you're on 
Linux x64, can't you just "apt-get install firefox=16*" or equivalent?

-- 
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/-/SEK0sUw2jikJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Alain Ekambi
CBBC jbbb j
On Nov 22, 2012 1:31 PM, "Karl"  wrote:

> So here we go again, any idea when the dev mode plugin for firefox 17 will
> be available?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/uKVStHR8CyoJ.
> 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: replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-26 Thread King_V
Thanks - that did the trick!


-- 
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/-/CK9UxsdOnPcJ.
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: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
Anyone willing to post this dev build? I just had my FF auto-update :(

On Mon, Nov 26, 2012 at 9:12 AM, Thomas Broyer  wrote:

>
> On Monday, November 26, 2012 2:30:40 PM UTC+1, koma wrote:
>>
>> I can see here 
>> http://gwt-code-reviews.**appspot.com/1870803/that
>>  the plugin for FF17 Linux 64bit is ready for a couple of days; Are
>> there any instructions availablle on how to build the plugin or is it
>> available somewhere pre-built ? I feel kinda lucky as I am working on
>> Ubuntu 64 bit, but it is an ambiguous feeling as I dont know how to get
>> this running ...
>
>
> IIRC:
>
>1. Checkout trunk/plugins
>2. Checkout plugin-sdks/gecko-sdks/gecko-17.0.0
>3. Apply the patch to trunk/plugins
>4. cd plugins/xpcom && make BROWSER=FF170
>
> That should update the XPI found in plugins/xpcom/prebuilt
>
> --
> 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/-/wqV-sAo5aQAJ.
>
> 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: Firefox 17 dev plugin

2012-11-26 Thread Thomas Broyer

On Monday, November 26, 2012 2:30:40 PM UTC+1, koma wrote:
>
> I can see here http://gwt-code-reviews.appspot.com/1870803/ that the 
> plugin for FF17 Linux 64bit is ready for a couple of days; Are there any 
> instructions availablle on how to build the plugin or is it available 
> somewhere pre-built ? I feel kinda lucky as I am working on Ubuntu 64 bit, 
> but it is an ambiguous feeling as I dont know how to get this running ...


IIRC:

   1. Checkout trunk/plugins
   2. Checkout plugin-sdks/gecko-sdks/gecko-17.0.0
   3. Apply the patch to trunk/plugins
   4. cd plugins/xpcom && make BROWSER=FF170

That should update the XPI found in plugins/xpcom/prebuilt 

-- 
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/-/wqV-sAo5aQAJ.
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: Firefox 17 dev plugin

2012-11-26 Thread koma
I can see here http://gwt-code-reviews.appspot.com/1870803/ that the plugin 
for FF17 Linux 64bit is ready for a couple of days; Are there any 
instructions availablle on how to build the plugin or is it available 
somewhere pre-built ? I feel kinda lucky as I am working on Ubuntu 64 bit, 
but it is an ambiguous feeling as I dont know how to get this running ...


On Thursday, November 22, 2012 2:09:12 PM UTC+1, Thomas Broyer wrote:
>
>
> On Thursday, November 22, 2012 1:31:21 PM UTC+1, Karl wrote:
>>
>> So here we go again, any idea when the dev mode plugin for firefox 17 
>> will be available?
>
>
> See https://code.google.com/p/google-web-toolkit/issues/detail?id=7801
> (and https://twitter.com/tbroyer/status/270971726853181443 ) 
>

-- 
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/-/nzZqsYou9E8J.
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: enable/disable widgets?

2012-11-26 Thread Patrick Tucker
You really should take a look at the "Known Implementing Classes":
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/HasEnabled.html

On Thursday, June 24, 2010 1:08:51 AM UTC-4, Magnus wrote:

> Hello, 
>
> I actually needed the functionality in the widget class to let my own 
> "Form" class enable/disable all its child widgets at the same time. 
>
> However, I made this workaround and it's ok for me at the moment: 
>
>  public void setEnabled (boolean e) 
>  { 
>   Iterator itr = grd.iterator (); // grd is a FlexTable which 
> contains my form controls 
>
>   while (itr.hasNext ()) 
>   { 
>Widget w = itr.next (); 
>
>if (w instanceof TextBox) 
>{ 
> TextBox t = (TextBox) w; 
> t.setEnabled (e); 
>} 
>
>if (w instanceof PasswordTextBox) 
>{ 
> PasswordTextBox t = (PasswordTextBox) w; 
> t.setEnabled (e); 
>} 
>
>   ... 
>   } 
>  }

-- 
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/-/6k2XMWsJmOgJ.
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: es_AR locale is not using es_419 properties

2012-11-26 Thread Óscar Frías Barranco
OK, thanks, I have reported the issue here:

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


El domingo, 25 de noviembre de 2012 03:26:22 UTC+1, Thomas Broyer escribió:
>
>
> On Monday, November 19, 2012 7:45:16 PM UTC+1, Óscar Frías Barranco wrote:
>>
>> Hello.
>>
>> We are trying to implement Runtime Locales as explained in:
>>
>>
>> https://developers.google.com/web-toolkit/doc/latest/DevGuideI18nLocale#RuntimeLocales
>>
>> We are using a gwt.xml like this one:
>>
>> 
>>
>> 
>> 
>>
>> 
>> 
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>>
>>
>> But the problem is that when we in runtime select locale=es_AR, the 
>> localized strings that are displayed are those from Messages_es.properties 
>> instead of those from Messages_es_419.properties as we would expect.
>>
>> Why is this happening?  In theory es_AR locale should "extend" es_419 
>> locale (Latin American Spanish), so the compiler should look for the 
>> substitution strings following this priority:
>> 1) Messages_es_AR.properties
>> 2) Messages_es_419.properties
>> 3) Messages_es.properties
>> 4) Messages.properties
>>
>> But apparently the step 2 is not performed.  Do you know how to fix this?
>>
>> When we use locale=es_419 the strings are OK but this not a solution 
>> because we also need currency information which is in the es_AR locale and 
>> not in the es_419 locale.
>>
>
> The "region inheritance" (where AR is a child of 005 which is in turn a 
> child of 419) is only used for CLDR data (date/time and number formatting), 
> not for resolving messages. The documentation is wrong here, in that it 
> doesn't match what the code does. I can't comment on what it should/could 
> do here as I don't know much about I18N. I'd suggest you file an issue so 
> that someone could either fix the code or the documentation.
>

-- 
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/-/AjytFQrAmOoJ.
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: Problem with HTMLPanel and method addAndReplaceElement

2012-11-26 Thread Jens
The method is named addAndReplace so your  element with your id is 
replaced the first time and does not exist anymore when you try to execute 
the code a second time.

-- 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/-/v32PT3kPp3UJ.
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: Problem with HTMLPanel and method addAndReplaceElement

2012-11-26 Thread Thomas Broyer
I believe I already answered on StackOverflow, but apparently I didn't. 
Done now: http://stackoverflow.com/a/13564770/116472

On Monday, November 26, 2012 12:55:38 PM UTC+1, Sarah Konat wrote:
>
> I forgot to say that :
>
> In the SimpleEventBus class there's this exception:
>
> java.util.NoSuchElementException: cancel_date_detailService
> at 
> com.google.gwt.user.client.ui.HTMLPanel.addAndReplaceElement(HTMLPanel.java:224)
> at 
> be.mims.bookme.client.gui.FactoryDetailRdv.showDetailsDate(FactoryDetailRdv.java:72)
> at be.mims.bookme.client.BookMe.show(BookMe.java:228)
> at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:31)
> at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:1)
> at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
> at 
> com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
> at 
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)
> at com.google.gwt.event.shared.EventBus.castFireEvent(EventBus.java:67)
> at 
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:57)
> at 
> be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:130)
> at 
> be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:1)
> at 
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
> at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
> at 
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
> at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> at 
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
> at 
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
> at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
> at 
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
> at 
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
> at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> at 
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
> at java.lang.Thread.run(Thread.java:722)java.util.NoSuchElementException: 
> cancel_date_detailService
> at 
> com.google.gwt.user.client.ui.HTMLPanel.addAndReplaceElement(HTMLPanel.java:224)
> at 
> be.mims.bookme.client.gui.FactoryDetailRdv.showDetailsDate(FactoryDetailRdv.java:72)
> at be.mims.bookme.client.BookMe.show(BookMe.java:228)
> at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:31)
> at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:1)
> at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
> at 
> com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
> at 
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)
> at com.google.gwt.event.shared.EventBus.castFireEvent(EventBus.java:67)
> at 
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:57)
> at 
> be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:130)
> at 
> be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:1)
>

Re: Problem with HTMLPanel and method addAndReplaceElement

2012-11-26 Thread Sarah Konat
I forgot to say that :

In the SimpleEventBus class there's this exception:

java.util.NoSuchElementException: cancel_date_detailService
at 
com.google.gwt.user.client.ui.HTMLPanel.addAndReplaceElement(HTMLPanel.java:224)
at 
be.mims.bookme.client.gui.FactoryDetailRdv.showDetailsDate(FactoryDetailRdv.java:72)
at be.mims.bookme.client.BookMe.show(BookMe.java:228)
at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:31)
at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
at 
com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
at 
com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)
at com.google.gwt.event.shared.EventBus.castFireEvent(EventBus.java:67)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:57)
at 
be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:130)
at 
be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:1)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at 
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:722)java.util.NoSuchElementException: 
cancel_date_detailService
at 
com.google.gwt.user.client.ui.HTMLPanel.addAndReplaceElement(HTMLPanel.java:224)
at 
be.mims.bookme.client.gui.FactoryDetailRdv.showDetailsDate(FactoryDetailRdv.java:72)
at be.mims.bookme.client.BookMe.show(BookMe.java:228)
at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:31)
at be.mims.bookme.client.event.StateEvent.dispatch(StateEvent.java:1)
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
at 
com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
at 
com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)
at com.google.gwt.event.shared.EventBus.castFireEvent(EventBus.java:67)
at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:57)
at 
be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:130)
at 
be.mims.bookme.client.gui.component.MyCellTableFuturDates$7.onSuccess(MyCellTableFuturDates.java:1)
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at 
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccess