gwt virtual keyboard

2011-12-30 Thread Amrutha Thomas
Hiii,


In my virtual keyboard I made my caplock key on  by using the code

image_29.addClickListener(

*new* ClickListener(){

*public* *void* onClick(Widget sender){

capsOn=*true*;

}

});


Now on the second click I need to off my caplock key.How can I code for
that??


-- 
with best regards,

Amrutha

-- 
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

2011-12-30 Thread Amrutha Thomas
Hiii,


 Can anyone tell me how to change focus from one textbox to another textbox
using gwt?





-- 
with best regards,

Amrutha

-- 
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

2011-12-30 Thread Ed Bras
For any widget element:
/**
 * Sets the focus state of the element.
 * @param focused the new focus state
 */
public native void setFocus(Element elem, boolean focused) /*-{
try {
if (focused)
elem.focus();
else
elem.blur();
}
catch(err) {
}
}-*/;


On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas
amrutha.tho...@gmail.comwrote:

 Hiii,


  Can anyone tell me how to change focus from one textbox to another
 textbox using gwt?





 --
 with best regards,

 Amrutha

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


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



Re: GWT application freezes when new version is deployed while using it

2011-12-30 Thread Thomas Broyer
What do you mean by a freeze? and a full refresh?


   1. users won't have the new version unless they refresh (F5) the page. 
   For this though, you have to ensure the *.nocache.js is effectively not 
   cached by browsers or proxies (or at a minimum cached with a 
   must-revalidate condition)
   2. any change to a GWT-RPC class (particularly objects that are 
   transfered through RPC) will break older versions that are still in use, 
   with an IncompatibleRemoteServiceException, because client and server must 
   use the same serialization policies; you can track this to tell users to 
   refresh the page (I guess this is what the GWT-based Google Groups UI does)
   3. if you use code splitting (runAsync) and you remove the old *.cache.* 
   files, users won't be able to download the fragments while they're using 
   the old version of the app. You can, again, catch this in the onFailure of 
   the RunAsyncCallback to tell users to refresh the page.
   4. Every compilation should produce differently named *.cache.* files, 
   so you can safely set long cache times for these files: 
   
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching

-- 
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/-/NLQyzwimpyAJ.
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: Abridged summary of google-web-toolkit@googlegroups.com - 29 Messages in 16 Topics

2011-12-30 Thread xavier . ivanez
NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS 
Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs 
compétences  et 
leur professionnalisme sous le nom de JPA CONSULTANTS SA .
 
Par ce partenariat, nous nous améliorerons sur les points suivants :
• Logiciel :   SAGE, CEGID, CIEL, EBP...
• Matériels : Serveurs, connexions, Internet
• Proximité, écoute  et disponibilité

Merci d'adresser vos messages à l'adresse suivante : xiva...@jpaconsultants.com


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



Re: Date and Time in Annotated TimeLine GWT

2011-12-30 Thread Sean
What happens when you zoom in further? I only see the time when I am 
sub-day in my zoom. Also, do you have more then one data point / day? With 
these options I get a time when I zoom in:

m_chartOptions = AnnotatedTimeLine.Options.create();
m_chartOptions.setDisplayAnnotations(true);
m_chartOptions.setDisplayZoomButtons(true);
m_chartOptions.setDisplayRangeSelector(true);
m_chartOptions.setScaleType(AnnotatedTimeLine.ScaleType.ALLFIXED); 
m_chartOptions.setDateFormat(.MM.dd 'at' hh:mm:ss aaa); 
Good luck!

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



Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Clundahl
Hi

I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
10.11 (32-bit).

The first thing i did when installation completed i ran

sudo apt-get install openjdk-6-jdk

And installed this (I have also tried with openjdk-7-jdk).

Then i installed eclipse (turned out to be the Indigo release) and
installed also the eclipse-jdts (nothing happened since this module
was already present and up to date).

Then i tried installing GWT-plugin from http://dl.google.com/eclipse/plugin/3.7
(and also from .../3.6). I tried installing with a multitude of
combinations of Google-plug-ins included at the same time. For
instance Google plugin for eclipse 3.7 and Google web toolkit SDK
2.4.0 together.

This gave the following repsonse:

Cannot complete the install because one or more required items could
not be found.
  Software being installed: Google Plugin for Eclipse 3.7
2.5.0.v201112160242-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group
2.5.0.v201112160242-rel-r37)
  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
be found
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group
2.5.0.v201112160242-rel-r37)
To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
r37]

I then tried to install everything from disc - downloading evertything
from a manualy downloaded zip-file. This gave the same error.

Do you kind and cunning people have any suggestions?

//Chlundahl

-- 
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 application freezes when new version is deployed while using it

2011-12-30 Thread mayumi

Hi Thomas! Thanks for the reply.

Freeze means the whole app becomes unresponsive (buttons are not
clickable, etc)
You can also observe in the developers tool that no further requests
are made to the server from
that point.

Full refresh means F5 as you guessed.

I am thinking the problem is #3 . We are using code splitting and this
freeze occurs only
when the code changes (meaning a new cache.js file is created meaning
old once are not effective any more)


On Dec 30, 6:14 am, Thomas Broyer t.bro...@gmail.com wrote:
 What do you mean by a freeze? and a full refresh?

    1. users won't have the new version unless they refresh (F5) the page.
    For this though, you have to ensure the *.nocache.js is effectively not
    cached by browsers or proxies (or at a minimum cached with a
    must-revalidate condition)
    2. any change to a GWT-RPC class (particularly objects that are
    transfered through RPC) will break older versions that are still in use,
    with an IncompatibleRemoteServiceException, because client and server must
    use the same serialization policies; you can track this to tell users to
    refresh the page (I guess this is what the GWT-based Google Groups UI does)
    3. if you use code splitting (runAsync) and you remove the old *.cache.*
    files, users won't be able to download the fragments while they're using
    the old version of the app. You can, again, catch this in the onFailure of
    the RunAsyncCallback to tell users to refresh the page.
    4. Every compilation should produce differently named *.cache.* files,
    so you can safely set long cache times for these files:
    http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...

-- 
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: Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Thad
Nope. I'm having the same problem trying to set up a Windows machine.
(My Linux box, set up months ago, works fine.)

 And installed this (I have also tried with openjdk-7-jdk).

 Then i installed eclipse (turned out to be the Indigo release) and
 installed also the eclipse-jdts (nothing happened since this module
 was already present and up to date).

 Then i tried installing GWT-plugin fromhttp://dl.google.com/eclipse/plugin/3.7
 (and also from .../3.6). I tried installing with a multitude of
 combinations of Google-plug-ins included at the same time. For
 instance Google plugin for eclipse 3.7 and Google web toolkit SDK
 2.4.0 together.

 This gave the following repsonse:

 Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Google Plugin for Eclipse 3.7
 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
   Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
 rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
 r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
 be found
   Cannot satisfy dependency:
     From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
     To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
 r37]

 I then tried to install everything from disc - downloading evertything
 from a manualy downloaded zip-file. This gave the same error.

 Do you kind and cunning people have any suggestions?

 //Chlundahl

-- 
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: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

2011-12-30 Thread Kevin Jordan
That appears to be the problem.  Hopefully they put in a fix for it
since I could reproduce it 100% of the time and it's not an easy bug
to track down where it's happening.  Thank you for the fix though.

On Dec 29, 6:13 pm, Aidan O'Kelly aida...@gmail.com wrote:
 There's an issue with DefaultProxyStore that it doesn't always return
 sequential Ids from its nextId() method, which can result in some odd
 behaviour when serializing lists of ValueProxies, (all proxies point to the
 same object).

 Not sure if that's the issue here, but its worth giving a try as the fix is
 very simple, just make a copy of DefaultProxyStore and ensure it always
 returns a sequential Id, rather than the count of objects it contains.

 Here's my patched version:http://pastebin.com/f7aKkMS1-

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



Deferred binding failed for ClientFactory

2011-12-30 Thread Thad
My app is running fine on my Linux machine with GWT 2.3. I'm now
trying to build it on a Windows box with GWT 2.4 (Eclipse 3.6 in both
cases).

When I run it in devmode from Eclipse, I get this error:

Uncaught exception: java.lang.RuntimeException: Deferred binding
failed for 'com.optix.cold.client.ClientFactory' (did you forget to
inherit a required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.optix.cold.client.Cold.onModuleLoad2(Cold.java:187)
...

The line in question (#187) is:

ClientFactory clientFactory = GWT.create(ClientFactory.class);

My gwt.xml file includes:

  replace-with class=com.optix.cold.client.ClientFactoryImpl
when-type-is class=com.optix.cold.client.ClientFactory/
  /replace-with

That's all lifted right out of the Activities and Places example
(http://code.google.com/webtoolkit/doc/latest/
DevGuideMvpActivitiesAndPlaces.html).

As I said, this all runs on GWT 2.3. I copied the files over in a zip
file, only changing the war/WEB-INF/lib/gwt-servlet.jar and gwt-
servlet-deps.jar to match 2.4.

I've also tried changing new PlaceController(EventBus) from the
deprecated (in 2.4) com.google.gwt.event.shared.EventBus to
com.google.web.bindery.event.shared.EventBus

What could be going wrong?



My other apps are running fine, but I don't attempt deferred binding
in those.

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



GWT Plugin is not installing in google chrome.

2011-12-30 Thread pandy .k
hi, i am using windows server 2003. i successfully installed Google
chrome in server, i develop my project using Eclipse helios version
and java updated 6 version. Google app engine plugin already installed
in my Eclipse. now in my browser Google chrome i can't instally GWT
plugin ... i don't know what is the reason.. please clarify my
doubt and tell the solution for that problem



by,
pandy.k
Deas Technology.

-- 
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 handle the drag drop of a hyperlink in GWT

2011-12-30 Thread Shuai Yuan
Hi all,

I want to handle the drag  drop of hyperlinks in my app. The
hyperlink could be from any where, therefore I cannot make it
setDragable(true) and setData(link, the URL) to mark it.

A very similar scenario would be Google Image search by image, where
you can drag  drop a link of image to the search box.

The sample code,

Label lblDropLink = new Label(Drop a link here);
lblDropLink.addDragOverHandler(new DragOverHandler() {

@Override
public void onDragOver(DragOverEvent event) {
lblDropLink.setText(Drop here to add the link.);
lblDropLink.setStyleName(dragOverFade);
}
});
lblDropLink.addDropHandler(new DropHandler() {

@Override
public void onDrop(DropEvent event) {
event.preventDefault();

// QUESTION: how to get the link, and even its text?
}
});

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: gwt

2011-12-30 Thread Ian Bambury
textbox.setFocus(true);



On 30 December 2011 09:49, Ed Bras post2edb...@gmail.com wrote:

 For any widget element:
 /**
  * Sets the focus state of the element.
  * @param focused the new focus state
  */
 public native void setFocus(Element elem, boolean focused) /*-{
 try {
  if (focused)
 elem.focus();
 else
  elem.blur();
 }
 catch(err) {
  }
 }-*/;


 On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas amrutha.tho...@gmail.com
  wrote:

 Hiii,


  Can anyone tell me how to change focus from one textbox to another
 textbox using gwt?





 --
 with best regards,

 Amrutha

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


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


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



Re: Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Ian Bambury
Eventually I got it working by installing the 'Indigo Eclipse IDE for Java
EE Developers' version. All of the other versions I tried gave me the
problem you have, and none of the 'solutions' I found on the web worked
(e.g. install something before something else, uninstall something and
reinstall)

Let us know if it works for you.

Ian


On 30 December 2011 13:19, Clundahl claes.lund...@gmail.com wrote:

 Hi

 I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
 10.11 (32-bit).

 The first thing i did when installation completed i ran

 sudo apt-get install openjdk-6-jdk

 And installed this (I have also tried with openjdk-7-jdk).

 Then i installed eclipse (turned out to be the Indigo release) and
 installed also the eclipse-jdts (nothing happened since this module
 was already present and up to date).

 Then i tried installing GWT-plugin from
 http://dl.google.com/eclipse/plugin/3.7
 (and also from .../3.6). I tried installing with a multitude of
 combinations of Google-plug-ins included at the same time. For
 instance Google plugin for eclipse 3.7 and Google web toolkit SDK
 2.4.0 together.

 This gave the following repsonse:

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: Google Plugin for Eclipse 3.7
 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
 rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
 r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
 be found
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
 r37]

 I then tried to install everything from disc - downloading evertything
 from a manualy downloaded zip-file. This gave the same error.

 Do you kind and cunning people have any suggestions?

 //Chlundahl

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



A new-comer nightmare, the learning curve and best-practices

2011-12-30 Thread João Peixoto
Hello everyone

Just to clarify, this post is not a technical question, it's more me
putting out there my concerns and hoping for guidance (not work to be
done for me), so that is out of the way.

Note: I read documentation, so i'm not talking in the dark completely.

My objective: I want to learn this new technologies: Spring Framework
(server-side) and GWT (client-side). I have done some projects with
Spring already, so that is tackled.

So now i started exploring GWT. Integration between GWT and Spring
seems to be very simplified with RequestFactory. I haven't played with
it yet but I already found a couple of articles about it. Should it be
a separate project from the Spring one? It makes sense to be, but then
where do I deploy GWT? To the Spring webapp/WEB-INF folder? (This
might be a question for Spring forums)

Now comes pure GWT. First the design pattern MVP. I know it but never
used it. I read about it and I saw the Large scale application
development and MVP example. The feeling I get is that it requires an
awful lot of code to build the simplest app. I understand that large
scale and enterprise ready key works implies a certain level of
complexity, but nevertheless, I feel overwhelmed.

There seem to be a couple of frameworks built on top of GWT that ease
this issue, namely gwt platform, but are they a solution? My
experiments showed that it uses Guice, which afaik is server-side.
Won't it conflict with Spring? (This might be a question for gwt
platform group)

After MVP comes the UI part. I do not have experience with UIs so GWT
UI Designer looked really tempting. I saw the Google IO 2011
presentation about it and I fell in love. Some preoccupations arose
though. Can I build modular UIs with header, menu, and containers that
vary in content? Is GWT suited to build an entire web app? Or only the
parts of it?
I mean, taking a common website that has Home, Contacts, About,
is GWT suited to serve all this items? Or only the contacts part,
leaving the rest for another technology?

I have found a lot of documentation across the internet but it all
feels sparse, unrelated between each other or unrelated to my
objectives. For a new comer like me it becomes hard to figure out how
this new technology works. And please take in consideration that I'm
new and inexperienced with this technology, so if i said something so
wrong that sounds like nails on a chalkboard I apologize.

Well, I think I left here my more recent thoughts and fears. Once
again I'm not looking for work to be done for me, I'm asking for your
experience and guidance to find the right path.

Thank you in advance and I apologize for the length of the post
All the best and happy 2012

-- 
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: Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Clundahl
Hi everybody and thank you for your input and help

I think i cracked it just now. I started eclipse with root (or 'sudo
eclipse' anyway). And then it worked!

Thad - could it be as simple for you? That you just have to start
eclipse with the admin authority?


Happy new year to you all

//Chlundahl

On 30 Dec, 14:30, Ian Bambury ianbamb...@gmail.com wrote:
 Eventually I got it working by installing the 'Indigo Eclipse IDE for Java
 EE Developers' version. All of the other versions I tried gave me the
 problem you have, and none of the 'solutions' I found on the web worked
 (e.g. install something before something else, uninstall something and
 reinstall)

 Let us know if it works for you.

 Ian

 On 30 December 2011 13:19, Clundahl claes.lund...@gmail.com wrote:







  Hi

  I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
  10.11 (32-bit).

  The first thing i did when installation completed i ran

  sudo apt-get install openjdk-6-jdk

  And installed this (I have also tried with openjdk-7-jdk).

  Then i installed eclipse (turned out to be the Indigo release) and
  installed also the eclipse-jdts (nothing happened since this module
  was already present and up to date).

  Then i tried installing GWT-plugin from
 http://dl.google.com/eclipse/plugin/3.7
  (and also from .../3.6). I tried installing with a multitude of
  combinations of Google-plug-ins included at the same time. For
  instance Google plugin for eclipse 3.7 and Google web toolkit SDK
  2.4.0 together.

  This gave the following repsonse:

  Cannot complete the install because one or more required items could
  not be found.
   Software being installed: Google Plugin for Eclipse 3.7
  2.5.0.v201112160242-rel-r37
  (com.google.gdt.eclipse.suite.e37.feature.feature.group
  2.5.0.v201112160242-rel-r37)
   Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
  rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
  r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
  be found
   Cannot satisfy dependency:
     From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
  (com.google.gdt.eclipse.suite.e37.feature.feature.group
  2.5.0.v201112160242-rel-r37)
     To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
  r37]

  I then tried to install everything from disc - downloading evertything
  from a manualy downloaded zip-file. This gave the same error.

  Do you kind and cunning people have any suggestions?

  //Chlundahl

  --
  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: RequestFactory - Intermittent The AutoBean has been frozen on newly created

2011-12-30 Thread Jeff Rodriguez
That was it.

*facepalm*

Thanks for the help guys.

On Dec 29, 3:56 pm, Thomas Broyer t.bro...@gmail.com wrote:
 I confirm the need to always use the same instance on the server side in a 
 given request. I do believe it's a bug though fwiw.

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



Create an Image object from a url that requires authentication

2011-12-30 Thread gerry
Hello all,

I have some images stored in urls that are password protected, for
example I have the url imageUrl = https://user:p...@mydomain.com. The
problem is that I cannot use this url in the constructor of Image,
because then everyone can view the source and know these credentials.

Is there a way to authenticate to extract the username and password
from the url and establish an authenticated connection with that
server? And then use the plain url?

Thanks for any help.

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



Something other than a Java object was returned from JSNI method

2011-12-30 Thread Ian Bambury
I keep getting errors like this (assert errors), seemingly at random.

I haven't done a lot of testing, but it seems to be only in Chrome (latest
version) when running in OOPHM. There are different versions (e.g. go an
int when expecting void etc).

I don't *think* it's me because I can leave the app overnight and get
20-ish of them turn up when all it is doing is sitting there. The line that
throws the assertion error is always the same (or sometimes the assertion
above - here's the trace

java.lang.IllegalArgumentException: invoke arguments: JS value of type
boolean, expected java.lang.String
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65)
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.GeneratedMethodAccessor28.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: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(Unknown Source)

There's a comment there
( com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178))

// Just don't know what do to with this.

What appears to kick it off is an onValueChange event which just turns up
for no reason with a blank token (when there is one there in the address
bar)

I've done a bit of searching but can't find anything helpful or even anyone
else reporting the same problem (apart from back when Chrome was back in
the days of version 10 (I'm on v16.something).

Doesn't seem to happen live or in IE (haven't tried anything else).

Is this a known problem that I've failed to find references to, or does
GWT/Chrome just hate me?

There's nothing very special about my app, it's about three days old and
just logs people in or out and has history support and can page.

Any ideas?

Thanks

Ian

(Back again after a bit of a gap :-) )

-- 
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: Something other than a Java object was returned from JSNI method

2011-12-30 Thread Thomas Broyer
Hi Ian, welcome back!

See http://code.google.com/p/google-web-toolkit/issues/detail?id=5778#c65

-- 
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/-/cU1-KVNDsfIJ.
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: Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Thad
Nope, that didn't work either. Nor did trying to install the zip file
downloaded from http://code.google.com/eclipse/docs/install-from-zip.html
and running Eclipse as administrator. Gawd, I hate Windows.

On Dec 30, 7:34 am, Clundahl claes.lund...@gmail.com wrote:
 Hi everybody and thank you for your input and help

 I think i cracked it just now. I started eclipse with root (or 'sudo
 eclipse' anyway). And then it worked!

 Thad - could it be as simple for you? That you just have to start
 eclipse with the admin authority?

 Happy new year to you all

 //Chlundahl

 On 30 Dec, 14:30, Ian Bambury ianbamb...@gmail.com wrote:







  Eventually I got it working by installing the 'Indigo Eclipse IDE for Java
  EE Developers' version. All of the other versions I tried gave me the
  problem you have, and none of the 'solutions' I found on the web worked
  (e.g. install something before something else, uninstall something and
  reinstall)

  Let us know if it works for you.

  Ian

  On 30 December 2011 13:19, Clundahl claes.lund...@gmail.com wrote:

   Hi

   I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
   10.11 (32-bit).

   The first thing i did when installation completed i ran

   sudo apt-get install openjdk-6-jdk

   And installed this (I have also tried with openjdk-7-jdk).

   Then i installed eclipse (turned out to be the Indigo release) and
   installed also the eclipse-jdts (nothing happened since this module
   was already present and up to date).

   Then i tried installing GWT-plugin from
  http://dl.google.com/eclipse/plugin/3.7
   (and also from .../3.6). I tried installing with a multitude of
   combinations of Google-plug-ins included at the same time. For
   instance Google plugin for eclipse 3.7 and Google web toolkit SDK
   2.4.0 together.

   This gave the following repsonse:

   Cannot complete the install because one or more required items could
   not be found.
    Software being installed: Google Plugin for Eclipse 3.7
   2.5.0.v201112160242-rel-r37
   (com.google.gdt.eclipse.suite.e37.feature.feature.group
   2.5.0.v201112160242-rel-r37)
    Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
   rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
   r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
   be found
    Cannot satisfy dependency:
      From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
   (com.google.gdt.eclipse.suite.e37.feature.feature.group
   2.5.0.v201112160242-rel-r37)
      To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
   r37]

   I then tried to install everything from disc - downloading evertything
   from a manualy downloaded zip-file. This gave the same error.

   Do you kind and cunning people have any suggestions?

   //Chlundahl

   --
   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: Cannot install Eclipse GWT (and other Google)-plug-ins

2011-12-30 Thread Alan
install oracle jdk, no open jdk

在 2011-12-30 下午9:19,Clundahl claes.lund...@gmail.com写道:

 Hi

 I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
 10.11 (32-bit).

 The first thing i did when installation completed i ran

 sudo apt-get install openjdk-6-jdk

 And installed this (I have also tried with openjdk-7-jdk).

 Then i installed eclipse (turned out to be the Indigo release) and
 installed also the eclipse-jdts (nothing happened since this module
 was already present and up to date).

 Then i tried installing GWT-plugin from
http://dl.google.com/eclipse/plugin/3.7
 (and also from .../3.6). I tried installing with a multitude of
 combinations of Google-plug-ins included at the same time. For
 instance Google plugin for eclipse 3.7 and Google web toolkit SDK
 2.4.0 together.

 This gave the following repsonse:

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: Google Plugin for Eclipse 3.7
 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
 rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
 r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
 be found
  Cannot satisfy dependency:
From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
 (com.google.gdt.eclipse.suite.e37.feature.feature.group
 2.5.0.v201112160242-rel-r37)
To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
 r37]

 I then tried to install everything from disc - downloading evertything
 from a manualy downloaded zip-file. This gave the same error.

 Do you kind and cunning people have any suggestions?

 //Chlundahl

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


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



Re: gwt

2011-12-30 Thread Amrutha Thomas
but how can I change focus from one text box to another using this


On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury ianbamb...@gmail.com wrote:

 textbox.setFocus(true);



 On 30 December 2011 09:49, Ed Bras post2edb...@gmail.com wrote:

 For any widget element:
 /**
  * Sets the focus state of the element.
  * @param focused the new focus state
  */
 public native void setFocus(Element elem, boolean focused) /*-{
 try {
  if (focused)
 elem.focus();
 else
  elem.blur();
 }
 catch(err) {
  }
 }-*/;


 On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas 
 amrutha.tho...@gmail.com wrote:

 Hiii,


  Can anyone tell me how to change focus from one textbox to another
 textbox using gwt?





 --
 with best regards,

 Amrutha

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


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


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




-- 
with best regards,

Amrutha

-- 
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 vs CellTable

2011-12-30 Thread Hamzeh
Hello,
Can anyone tell me what is the difference between DataGrid and
CellTable? When should we use which one?
It seems GWT documentations uses CellTable in DataGrid API page as an
example (http://google-web-toolkit.googlecode.com/svn/javadoc/latest/
com/google/gwt/user/cellview/client/DataGrid.html).
Are they same?
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.