Re: how to transmit an image over rpc?

2010-09-07 Thread Thad
You can't, at least not directly. GWT does only what HTML does, and in HTML images are loaded via the SRC attribute in an IMG element. You can write basic doGet/doPost servlet that returns and image and put use its URL in com.google.gwt.user.client.ui.Image.setUrl() (which sets the SRC attribute).

Re: how to use modal dialog boxes?

2010-09-07 Thread Magnus
Hi Thomas, ok, thank you. I'll move the code below the dialogbox invocation into the submit event handler. Magnus On 7 Sep., 16:03, Thomas Broyer wrote: > On Sep 7, 3:28 pm, Magnus wrote: > > > Hi, > > > I want to use a modal DialogBox and used setModal. > > > The GUI makes it modal, but my c

Re: GWT + Spring 3.0 + hibernate references and easy guides

2010-09-07 Thread aces2805
I have look for some various approaches, i have also tried the one posted in one of the forums, thanks to the link ^^ On Sep 8, 1:59 am, George Georgovassilis wrote: > The answer is not that easy. You can bring hibernate managed objects > (almost) transparently to GWT applications, have a look at

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread Jaroslav Záruba
On Wed, Sep 8, 2010 at 2:43 AM, lineman78 wrote: > It is because content and header all both children of the gwt- > DisclosurePanel class and they expect you to use child selectors. > Here is what they expect you use so that you don't end up with > collisions: > > .gwt-DisclosurePanel .content {

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread Jaroslav Záruba
When you're creating a component to existing web-site it is quite likely someone has used the "content" class name. Therefore his CSS will merge with your ".gwt-DisclosurePanel .content". There seem to be a naming convention in GWT. This just shows that there's a good reason to have one. On Wed, S

Re: Require Help to have multiple HTML Pages with one Entrypoint in my GWT App

2010-09-07 Thread suersh babu
Use Window.Location.assign("url") inside the gwt Entry point module so that you can redirect to different page Regards Suresh Babu G On Wed, Sep 8, 2010 at 12:19 AM, Deepak Singh wrote: > Hi Nirav > > Just right click on project(Eclipse IDE) and create new html. It > auotomatically configures th

Problem of collecting GWT client Code coverage

2010-09-07 Thread Qi Zhang
We are trying to use the emma library to measure the code coverage of gwt client code, our test case is driven by Selenium RC. But we observed that some event handler code is never covered although we are pretty sure the event is triggered and handled. We did some hack to GWT source code and add

Re: Memory Leak IE7 & GWT 2.0.4

2010-09-07 Thread ckendrick
Just a note on SmartGWT - Built-in GWT widgets rely on the browser to garbage collect a detached DOM tree. In older browsers like IE6/7 we found a number of cases where this didn't work completely, so we opted for manual destroy(). It's possible that as of IE8/9 all such leaks are gone (personall

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread lineman78
It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content { border: 2px solid black; } On Sep 5, 11:08 am, Jaroslav Zár

Re: How to block click event?

2010-09-07 Thread lineman78
you can try adding different handlers such as a click handler or mouse down handler and call event.preventDefault(). On Sep 6, 9:06 am, ulgerang wrote: > Hi, > > I am making 'ImageButton' that extends 'Image' and implemented > 'HasEnabled' interface. > I made 3 state, disable,mouseover, enable. >

Re: Cross Site Requests for JSON : Invalid Label

2010-09-07 Thread lineman78
In other words you are using JSONP client code to hit a JSON service. Without more info I am assuming this is your problem. In order to make cross site requests using the method described on the page you referenced you service needs to output JSONP, that is wrapping the JSON with a call to the spe

Can't Set App Engine SDK - Eclipse Plugin

2010-09-07 Thread sdoca
Hi, I have been trying to set up a Maven/GWT/Eclipse project and keep running into road blocks. I have Eclipse 3.6 (Helios) with m2eclipse and GWT plugins installed. I was trying with Eclipse 3.5 (Galileo) but thought I may have messed up some config thing and figured I'd start clean and upgrade

Re: Dev plugin for firefox 3.7

2010-09-07 Thread csillag
Hi John, On aug. 11, 18:06, John Tamplin wrote: > On Wed, Aug 11, 2010 at 10:46 AM, Chris Conroy wrote: > > The short answer is that after preliminary support went in, the supporting > > libraries changed upstream. Also, when the prelim support went in Windows > > dev libraries weren't even avai

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-07 Thread ciosbel
Instead defining your own oracle (which is, indeed, the best solution), just use a MultiWordSuggestOracle. There you can find methods like: setDefaultSuggestions(Collection suggestionList) or setDefaultSuggestionsFromText(Collection suggestionList) You can simply add suggestions to you oracle (or

Any news on when super dev mode will be released?

2010-09-07 Thread Paul Stockley
Speeding up reloads would very much be appreciated. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit

Re: Problems with gwt plugin and eclipse

2010-09-07 Thread TBirch
Hi Rajeev, I have the same error using either eclipse or Springsource Sts with Roo. I am not sure if any of what follows helps but these two sections are from my error log. Thanks, Terry java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaModel cannot be cast to org.eclipse.jdt.core.

How to add a widget to a CaptionPanel?

2010-09-07 Thread Kiarash
CaptionPanel panel = new CaptionPanel(myWidget) which is not possible... only String and HTML is possible. How can I add a widget as a CheckBox to a caption of a CaptionPanel? Thank you for any suggestion -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: Require Help to have multiple HTML Pages with one Entrypoint in my GWT App

2010-09-07 Thread Deepak Singh
Hi Nirav Just right click on project(Eclipse IDE) and create new html. It auotomatically configures this new html. Now u can put element here and then RootPanel.get(div id).add() will work. Regards Deepak On Sun, Sep 5, 2010 at 9:08 PM, Nirav Joshi wrote: > Hi all > i am new user of the GWT a

Re: GWT + Spring 3.0 + hibernate references and easy guides

2010-09-07 Thread George Georgovassilis
The answer is not that easy. You can bring hibernate managed objects (almost) transparently to GWT applications, have a look at Gilead [1] Much has been said about Spring and GWT, a quick forum search will surely bring something up [1] http://noon.gilead.free.fr/gilead/index.php?page=gwt On Sep

Re: GWT with GAE Blobstore

2010-09-07 Thread Ikai Lan
Here's a sample project I'm working on that does an upload to blobstore as well as uses the high performance image serving framework: http://github.com/ikai/gwt-gae-image-gallery Warning: This is still a work in progress, but the upload/image serving bits are there. On Sep 6, 9:54 am, Brandon Do

Re: GWT with GAE Blobstore

2010-09-07 Thread App Engine Notifications
Here's a sample project I'm working on that does an upload to blobstore as well as uses the high performance image serving framework: http://github.com/ikai/gwt-gae-image-gallery Warning: This is still a work in progress, but the upload/image serving bits are there. On Mon, Sep 6, 2010 at 9:54 A

Re: How to block click event?

2010-09-07 Thread Thomas Broyer
On Sep 6, 5:06 pm, ulgerang wrote: > Hi, > > I am making 'ImageButton' that extends 'Image' and implemented > 'HasEnabled' interface. > I made 3 state, disable,mouseover, enable. > When I was making disable,  I have to block the click event  from the > widget. > but  I couldn't find the way. > >

Re: Removing / Adding nested LayoutPanels from DockLayoutPanel

2010-09-07 Thread Thomas Broyer
On Sep 7, 5:34 pm, Maurice wrote: > Hi, > > I have a UIBinder that looks like this: > >   >         >             >               Some >               Stuff >             >         >     >             >                 >             >     >   > > The idea is that from the java code I can

Re: GWT + Spring 3.0 + hibernate references and easy guides

2010-09-07 Thread M. Eduard
Hibernate will be integrated withing your Spring application. So I think you should first learn Spring if going use one... As GWT application in result is no more than JavaScript, GWT will never know anything about hibernate. On Sep 7, 11:16 am, aces2805 wrote: > Hi, I'm just new with GWT would l

Re: GWT + Spring - different functionality development approach

2010-09-07 Thread M. Eduard
Hm, seems I didn't noticed this thing. Thanks for advice. On Sep 7, 5:03 pm, lmolinero wrote: > Hi, Why don't you just use multiple gwt modules in the same GWT > proyect in eclipse. > One module for each functionality, i mean. > > On Sep 7, 8:51 am, "M. Eduard" wrote: > > > Hi, > > Say I have Sp

Re: Strange behaviour

2010-09-07 Thread Tanguy Le Barzic
Hi Jeff, I did try to use it, but I still need to know the position of the element I want the popup to appear below. It's when I try to find this position that the problem arises (due to scrolling apparently not taken into account). -- Tanguy 2010/9/6 Jeff Chimene > On 09/05/2010 04:53 PM, Ta

Re: declaring both a GWT and a javascript event handler on a html element

2010-09-07 Thread Chris Conroy
You could have your GWT handler call your javascript handler using JSNI. On Mon, Sep 6, 2010 at 12:42 PM, GWT noob wrote: > When I declare a event handler on a html element both at the GWT > level(using ClickHandler's onclick) and at the external Javascript > levele(by using the onlclick attrib

Re: Memory Leak IE7 & GWT 2.0.4

2010-09-07 Thread Chris Conroy
No. This particular issue is isolated to the DevMode JVM. On Tue, Sep 7, 2010 at 8:18 AM, chrisr wrote: > Does the issue that you're working on now give you any reason to > believe it could be an issue in the browser as well, under some > similar circumstances? > > On Sep 3, 2:18 pm, Chris Conroy

Removing / Adding nested LayoutPanels from DockLayoutPanel

2010-09-07 Thread Maurice
Hi, I have a UIBinder that looks like this: Some Stuff The idea is that from the java code I can call: centerContainer.clear(); centerContainer.add(myTotallyDiffe

change css without reload the page

2010-09-07 Thread jimmy6
How to change CSS without reload the page? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr

Re: How to block click event?

2010-09-07 Thread Chad
Instead of trying to block the event, why not just eat it. In your widget, on the click event, check the state of the widget. If the state is enable, only then fire the click event to any registered listeners. HTH, Chad On Sep 6, 10:06 am, ulgerang wrote: > Hi, > > I am making 'ImageButton' that

Re: How to get Scaffold GWT in STS to run Dev server -i tried to copy link and run on local browser

2010-09-07 Thread Thomas Broyer
On Sep 6, 8:26 am, blueJ wrote: > http://127.0.0.1:/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:... > > Here is what happened--for me--this is not trivial--thanks > > Loading modules >    com.lawo.demo1.gwt.ApplicationCommon >       Loading inherited module 'com.google.gwt.app.App' >    

Re: Expenses Sample project

2010-09-07 Thread Travis Camechis
try running "tools/scripts/maven_script.sh" from the root of the GWT checkout. This will build a current copy of GWT and them to your local maven repo. You should then be able to do a "mvn compile", "mvn gwt:compile", "mvn gw:run". On Sun, Sep 5, 2010 at 9:08 AM, superdama wrote: > Hi guys, >

Re: GWT + Spring - different functionality development approach

2010-09-07 Thread lmolinero
Hi, Why don't you just use multiple gwt modules in the same GWT proyect in eclipse. One module for each functionality, i mean. On Sep 7, 8:51 am, "M. Eduard" wrote: > Hi, > Say I have Spring web application. Some functionality where I need > JavaScript is developed using GWT under  Eclipse. What

Re: how to use modal dialog boxes?

2010-09-07 Thread Thomas Broyer
On Sep 7, 3:28 pm, Magnus wrote: > Hi, > > I want to use a modal DialogBox and used setModal. > > The GUI makes it modal, but my code after dialog.center (); gets > executed immediately. modal != blocking The only blocking dialogs are Window.alert, Window.confirm and Window.prompt (IE has had

Dynamic Tree (RPC calls for nodes)

2010-09-07 Thread pksiazek
Hi. I'm trying to implement dynamic tree. During creation it contains only root node. When I click open - it fetch nodes data via RPC call. How I can pass information to which parent I should add nodes? I defined AsyncCallback handler to parse response, but it has no access to parent node. I was

Cross Site Requests for JSON : Invalid Label

2010-09-07 Thread kudos
I have followed the steps here: http://code.google.com/webtoolkit/doc/1.6/tutorial/Xsite.html to create a call to another server for JSON data. Firebug shows an "invalid label" error when i run the application. I had a search for solutions and all I could find was things about adding parenthesis

GWT - database, authentication, session

2010-09-07 Thread pionas
Hi, i would like to create a login panel, when i must enter username and password. Next I check if the data are correct. When the data are correct I reload home page and I see message "Hi ! etc...". When I refresh site i logged on. Now I have something like this: Test.java (default): public void

GWT + Spring 3.0 + hibernate references and easy guides

2010-09-07 Thread aces2805
Hi, I'm just new with GWT would like to ask if there are some references that I can follow in integrating spring 3.0 and hibernate with gwt. The usual sites that I go in uses maven, well I just think I just need a plain and simple example. Hope some of you guys can help me. Really appreciate it ...

Authorization/Authentication in GWT

2010-09-07 Thread Arachnida
Hello, I'm currently developing a Spring/GWT application most things are going just fine but I've experienced some troubles integrating with Spring Security. It looks like there is no way to install "global" handlers for asyncCallback failures to handle 401/403 errors. As I've found there's curren

Almost impossible to extend CellTable

2010-09-07 Thread legion
Hi all I checked out the code for gwt 2.1, i wanted to see the last changes in the CellTable component. A nice addition is the SafeHtmlTemplate. But one drawback of the current implementation of the CellTable component is that you cannot reuse the code from the CellTable by extending it. For examp

Issue with using com.google.gwt.xml.client package with GWT 1.5.3

2010-09-07 Thread Nik
Hello, I am trying to use the com.google.gwt.xml.client module with my GWT-1.5.3. I want to basically fetch data, from an XML File and store it in a document. Document document = XMLParser.parse(xmlContent); XMLParser.removeWhitespace(document); Everything works fine in Hosted mode. In the web mo

Adding headings to a RichTextArea

2010-09-07 Thread HenrikA
Hi, I have this problem that is nearly driving me crazy. We need a RichTextEditor that will give us some basic functionality like the RichTextArea combined with the RichTextToolbar from the examples give us. But we have one requirement that is not met by the example, and that is the possibility to

How to block click event?

2010-09-07 Thread ulgerang
Hi, I am making 'ImageButton' that extends 'Image' and implemented 'HasEnabled' interface. I made 3 state, disable,mouseover, enable. When I was making disable, I have to block the click event from the widget. but I couldn't find the way. Is there any way to block the click event? -- You r

Re: Expenses Sample project

2010-09-07 Thread superdama
Hi guys, I got the same issue. Still don't know how to solve the problem. Frustrating. -Zack On Aug 25, 9:22 pm, tc wrote: > Does anyone know why I would get this error when trying to run the > samples/expensesapp via maven. > > : java.lang.NoClassDefFoundError: org/datanucleus/ > Persistence

com.google.gwt.user.client.rpc.SerializationException

2010-09-07 Thread Costa
Please help with error below. Is this mean that the class com.voxbone.voxAPI.Country could not be serialize or it is just simple NoClassDefFoundError ? Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'org.dozer.MappingException' was not in

Require Help to have multiple HTML Pages with one Entrypoint in my GWT App

2010-09-07 Thread Nirav Joshi
Hi all i am new user of the GWT app. I want help from you guys to guide me for having multiple html/jsp page with one entry point. Let us i want to have two pages page1.html,page2.html. page1.html is a login page. when i logged in then it should redirect to page2.html. How will i do it with the he

Upgrading from GWT 1.4 to 2.0

2010-09-07 Thread Jesper Christensen
I am trying to upgrade a GWT 1.4 application to 2.0 but I am having a problem with the welcome file. The 1.4 application uses a servlet as the welcome file. The servlet checks the user credentials and forwards to the HTML page that loads the GWT application if the user has the right credentials.

Re: Calling methods from GWT script in existing HTML

2010-09-07 Thread Søren Kyndi-Wiuff
Or better yet, do it the cool way: http://code.google.com/p/gwt-exporter/ Cheers Søren -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this gro

DisclosurePanel, class-name "content"

2010-09-07 Thread Jaroslav Záruba
Hello There is one quite unfortunate class-name in the DisclosurePanel DOM. The widget serving for content gets class-name "content" assigned. Such generic name is very collision prone, which situation I'm currently facing. Is there any special reason why this element did not get gwt-prefixed clas

Re: unable to add gwt sdk

2010-09-07 Thread Nirav Joshi
hi Vik I think the sufficient help is available on the Google's Site. Wouldn't it sufficient to resolve your issue ? Thanks and Regards Nirav Joshi On Mon, Sep 6, 2010 at 10:56 PM, Vik wrote: > Hie > > gwt sdk is missing in my project and when i try to add there is a red cross > on it. if i go

declaring both a GWT and a javascript event handler on a html element

2010-09-07 Thread GWT noob
When I declare a event handler on a html element both at the GWT level(using ClickHandler's onclick) and at the external Javascript levele(by using the onlclick attribute of the html element), the GWT event handler is overriding the event handler in the external javascript. Is there a way to have

how to use modal dialog boxes?

2010-09-07 Thread Magnus
Hi, I want to use a modal DialogBox and used setModal. The GUI makes it modal, but my code after dialog.center (); gets executed immediately. How can I do it so that code execution waits? Must I do this with asynchronous calls? Can you give an example? The application is a chess game. When a pa

how to transmit an image over rpc?

2010-09-07 Thread Magnus
Hi, I tried to pass an Image object via RPC, but it doesn't work: com.google.gwt.user.client.ui.Image is not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' or 'java.io.Serializable' nor does it have a custom field serializer (reached via com.google.gwt.user.client.ui.Image How can

Re: Memory Leak IE7 & GWT 2.0.4

2010-09-07 Thread chrisr
Does the issue that you're working on now give you any reason to believe it could be an issue in the browser as well, under some similar circumstances? On Sep 3, 2:18 pm, Chris Conroy wrote: > Okay, well if it's *in* hosted mode (read: the JVM), then it's a known issue > that I'm working on at th

Re: problems with auto-complete form login

2010-09-07 Thread Magnus
Just for the completeness: I recall what was the problem with the GWT integration: As I said I had an iframe with the src attribute pointing to a separate html file with the login form. Then, to inject the JS code for form submission I needed to wrap the form. But I did not get access to the ifram

GWT + Spring - different functionality development approach

2010-09-07 Thread M. Eduard
Hi, Say I have Spring web application. Some functionality where I need JavaScript is developed using GWT under Eclipse. What is the approach of project organizing ? As I see for each functionality I need, for example some menu, tree-menu, some widgets, I must create each separate project, then com

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-07 Thread Santosh kumar
Hi , I am adding the items to the suggestoracle on onmodule load. Its working fine if the match is found for the key pressed (alphabet) . But i want to show *all Existing Items* from the suggestoracle when their is no match found for the key pressed (alphabet) by the user ??? Pls let me know if a

Re: problems with auto-complete form login

2010-09-07 Thread Magnus
On 6 Sep., 19:59, Thomas Broyer wrote: > But honestly, I don't understand how this design is any different from > redirecting to the login page (unless maybe you have a "cancel" button > that leaves you in the app, i.e. without reload) Well, from my point of view it would be nice if the login for

GWT 2.x/Jboss/Seam gen

2010-09-07 Thread Flori
Hey all, did someone manage to run a seam generated application with gwt compilied sources in hosted mode on JBoss? http://community.jboss.org/wiki/UseJBossToolswithGoogleGWTPlugin - does not help really in my case - its the wrong order ;) I already have my application and want to ADD a gwt appl

Re: UiBinder: ClientBundle with ImageResource & . How?

2010-09-07 Thread marius.andreiana
On Sep 7, 5:53 am, Andrew Hughes wrote: > Seems like I can kinda answer two of these questions myself now... > > Q: How can loader1.gwt-image be "loading.gif"? > > > > >   �...@sprite .loader1 { >        gwt-image: 'loading'; >        padding-left: value('loading.getWidth','px'); >        width