Re: Security Vulnerability Detected in GWT Library

2019-05-02 Thread t . broyer
On Wednesday, May 1, 2019 at 8:58:03 PM UTC+2, foal wrote: > > Easly to update in upcoming releases than explain each other that it isn't > critical :) > > BTW GWT-RPC user protobuf? > The protobuf in gwt-servlet is an internal dependency for sourcemaps and streamhtmlparser (used in server-sid

Re: Keyboard navigation of modal DialogBox escaping the dialog

2019-05-02 Thread t . broyer
On Wednesday, May 1, 2019 at 8:39:37 PM UTC+2, ga...@rstudio.com wrote: > > Existing application using Gwt 2.8.2, and I'm undertaking effort to make > it accessible (keyboard, screen reader, and so forth). Always a challenge > to retrofit accessibility when it wasn't considered from the start,

GWT RPC Multiplexing with Atmosphere

2015-01-20 Thread Abraham T
In my app GWT has a single RPC, I want to know if Atmosphere Async-IO can help Multiplexing. if possible, any resource would be great ? Thank you! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop r

Which version of GWT fully supports 508 compliance

2014-05-07 Thread Balaji T
Hi, I am working on a web project where in the UI part is developed using GWT 2.3 version, but recently we were asked to check for 508 compliance and we are not sure which version of GWT is 508 complaint. Could any one help out on this. -- You received this message because you are subscribe

Re: GWT 508 Compliance

2014-05-07 Thread Balaji T
Which version of GWT supports fully 508 compliance On Friday, 3 September 2010 05:49:39 UTC+5:30, Google Integrator wrote: > > How would I make my GWT application 508 Compliant? What are the best > strategies currently out there for this. I am writing an application > that makes a lot of calls

Re: Export CellTable's selected rows into a csv file

2013-08-12 Thread Winnie T
ring array, not list) CSVWriter writer = new CSVWriter(new FileWriter("export.csv"), '\t'); // Using OpenCSV library to write a new file export.csv writer.writeNext(bookArray); // Writes the st

Re: Export CellTable's selected rows into a csv file

2013-08-11 Thread Winnie T
Hi Thad, thanks for responding. Currently, I tried using OpenCSV, and had successfully create a CSV file when I click the export button, but the CSV file was empty. Do you meant that I could use Apache Commons instead of OpenCSV? On Thursday, August 8, 2013 10:27:06 PM UTC+8, Thad Humphries wro

Re: Export CellTable's selected rows into a csv file

2013-08-07 Thread Winnie T
Hi Ido, could you explain how your successfully generate the search results in step 3. I had done step 1 and 2 . In step 3, I managed to generate a csv file, but it is empty. Thank you. WinnieT -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Dataprovider only updating visible displays

2012-12-06 Thread Alexander T
was wondering if anyone else is seeing this behavior before I proceed with trying to debug the code and reproduce a test case. We're running 2.5.0. Thank you Alexander T -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

Re: Not able to use Celltable for a requirement where I need different widgets under one column.

2012-09-06 Thread Adam T
Hi! You should be able to use custom table rendering of a GWT 2.5 cell table to do what you want in your point (1) (extending AbstractCellTableBuilder and implement the buildStandardRowImpl method to put the relevant cell type into the column that alters based upon your condition in your point

RequestFactory - how to prevent batched requests after constraint violation

2012-05-30 Thread Bill T
I am getting an IllegalArgumentException, Attempting to edit an EntityProxy previously edited by another RequestContext. This is a result of getting constraint violations and automatically batching different Request Factory requests within the RequestContext. I am using GWT 2.4. My RequestContex

Re: Formatting lists with GWT i18n API

2011-12-15 Thread Adam T
Hi Luiz, If you've not stumbled across this already, just add the format marker "text" in your message definitions and it should work, i.e. @DefaultLocale("pt_BR") public interface AppMessages extends Messages { @DefaultMessage("elementos: {0,list,text}") @AlternateMessage({"one

I want to do POC with gwt-spring-hibernate

2011-09-09 Thread satya t
Hi, Please any one give information or good simple project with gwt-spring- hibernate integration. Regards, Satya. -- 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.

Re: Regarding menu navigation (page to page) in GWT

2011-07-25 Thread Justin T
Here's what I usually do to transition between "pages" in GWT. It may or may not be what your looking for. I first clear the Rootpanel, then add to the panel another class which acts like another page. Here's a example: public class Example implements EntryPoint { public void onModuleLoad() {

Install old Eclipse plugin

2011-06-20 Thread Stephan T
I need to install version 2.2 of the GWT Eclipse plugin, but I can't find it anywhere. In Eclipse there's a checkbox to "show only latest version" but even with that option disabled, version 2.2 doesn't show up. How do I install version 2.2 and not the latest? -- You received this message becaus

Re: Shortcomings in Places

2011-06-05 Thread Adam T
Hi, I think you can do this relatively simply, but it's not directly noted in the documentation. (warning, a little plug ahead...) We're looking at how to do this for the 2nd edition of the GWT in Action book, and the approach below is where we are at the moment, though we have not thought throug

integer and long weird arithmetic

2011-05-03 Thread Vincent T
A sample code being worth thousands words, here are my little findings. I'm aware that using long all the way may have got me out of trouble, but I wanted to share these weird results that some may consider as a bug. In hosted mode there is no pb. The comments contains the content of the popups in

Synchronizing editor data

2011-04-29 Thread Bill T
I am using GWT 2.2.0 with RequestFactory and the Editor framework. What is the recommended way to keep to 2 editors in sync with a shared proxy object attribute (the same object attribute is displayed in 2 editors)? I tried the following but ran into a few issues: Using RequestFactoryEditorDriver

Is validation on client side enough or do I need both?

2011-04-08 Thread Stephan T
The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contai

Re: Bug in TextBox.setEnabled(boolean enabled)?

2011-04-07 Thread Stephan T
Maybe this will work :) Just tested in IE9 and it seems to work... input.gwt-TextBox[disabled] I'm using the X-UA-Compatible IE=8 and GWT 2.2.0 btw... On 7 Apr, 14:13, Stephan T wrote: > Ok, I see. The problem I have right now is that I need to style all > textboxes that are dis

Re: Bug in TextBox.setEnabled(boolean enabled)?

2011-04-07 Thread Stephan T
Ok, I see. The problem I have right now is that I need to style all textboxes that are disabled but I can't find any selector that will work with this markup. I can't use this one: input.gwt-TextBox[disabled='disabled'] and this one doesn't work in IE (tested in IE9): input.gwt-TextBox[disabled='

Bug in TextBox.setEnabled(boolean enabled)?

2011-04-06 Thread Stephan T
When I call the method TextBox.setEnabled(false) the textbox element does not get the correct markup. The markup is: The markup should be: Is this a bug or feature? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group

Scroll to content

2011-03-25 Thread Stephan T
I have a rather large form which is taller than the visible area in the page. The users enters search criterias in this form and when the user executes the search I present the searchresults below the form. because the form takes up the whole screen the user doesn't notice that the searchresults ha

Server Side ColumnSorting with AsyncDataProvider

2011-03-15 Thread Stephan T
I'm trying to implement server side sorting using CellTable and AsyncDataProvider in GWT 2.2. I've followed the example in the documentation and have everything working with the AsyncDataProvider only fetching ten objects at a time. But when it comes to sorting I can't make it work. I can't figure

GWT application runn error

2011-03-07 Thread karnakar t
Hi, I am using eclipse(gelileo).i downloaded opencmis-gwt-client project.i have installed GWT 1.7. when i run gwtcmis-sample am getting follwoing error in console Unknown argument: -codeServerPort Google Web Toolkit 1.7.1 HostedMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-str

RE: help sending emails in GWT

2011-03-01 Thread Dougherty, Gregory T.
yo.edu | 507-284-8493 >_ >Mayo Clinic | 200 First Street SW | Rochester, MN 55905 | www.mayoclinic.org > > -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Tuesday, March 01, 2011 12:12 PM To: google-web-toolkit@googlegr

Re: Replace Enter key by Shift + Enter

2011-02-24 Thread ryan T
ors (and word processors) use > Shift+Enter for a line-break and Enter for a paragraph break. I'd make > the assumption that Ryan is wanting to do something similar. > > On Feb 24, 9:54 am, Greg Dougherty wrote: > > Why? What are you trying to accomplish? > > > >

Replace Enter key by Shift + Enter

2011-02-24 Thread ryan T
Hi all, Is there any way to replace Enter key by Shift + Enter for a widget such as RichTextArea? Thanks, ryan -- 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

Re: Browser Refresh handling in GWT

2011-02-22 Thread $ a r j i t h Pullithodi
Hi All, I donno whether I could understand the problem here completely. but I was also facing same kinda problem. and I was not using the History managment. but ever since i started using it, the problem solved. below is the code which keeps user on same page even if the user refresh the page. in

Re: RequestFactory: /gwtRequest not found

2011-02-11 Thread $ a r j i t h Pullithodi
On Fri, Feb 11, 2011 at 3:00 PM, Thomas Broyer wrote: > > > On Friday, February 11, 2011 7:26:11 AM UTC+1, Sarjith wrote: > >> >> On Fri, Feb 11, 2011 at 11:41 AM, Y2i wrote: >> >>> There should be something like this in app's web.xml >>> >>> >>> requestFactory >>> >>> com.google.gwt.requestfac

Re: RequestFactory: /gwtRequest not found

2011-02-10 Thread $ a r j i t h Pullithodi
we say getPerson() request should call this method in this service class?. please correct me if I'm wrong anywhere. -- Sarjith On Fri, Feb 11, 2011 at 11:56 AM, $ a r j i t h Pullithodi < sarji...@gmail.com> wrote: > > On Fri, Feb 11, 2011 at 11:41 AM, Y2i wrote: > >>

Re: RequestFactory: /gwtRequest not found

2011-02-10 Thread $ a r j i t h Pullithodi
On Fri, Feb 11, 2011 at 11:41 AM, Y2i wrote: > There should be something like this in app's web.xml > > > requestFactory > > com.google.gwt.requestfactory.server.RequestFactoryServlet > > > requestFactory > /gwtRequest > > > Yes, Its already there in my web.xml. And this is the error I can

Re: RequestFactory: /gwtRequest not found

2011-02-10 Thread $ a r j i t h Pullithodi
Hi, I was trying to follow RequestFactory concept. and I'm still not able to solve this error. (even after adding this servlet mapping). -- Sarjith On Sun, Dec 26, 2010 at 10:03 AM, Matthew Hill wrote: > Fixed by adding a servlet handler for > com.google.gwt.requestfactory.serve.RequestFact

Re: Bind form values when sending to server

2011-02-03 Thread $ a r j i t h Pullithodi
Thanks buddy... donno this gonna work in my scenario, but had decided to give it a try. Thanks a lot. please do share if anyone has a better idea or any alternative for this, so that we don't miss anything. Thanks once again...!! -- Sarjith On Thu, Feb 3, 2011 at 2:42 PM, Thomas Broyer wrot

Bind form values when sending to server

2011-02-02 Thread $ a r j i t h Pullithodi
Hi All, I'm starting with GWT module for a functionality say 'addPerson'. so ui will have around 10-15 user inputs (in a single form) like firstname, lastname, address, phone, etc. >From a short period of experience in gwt, I am sending these data to server using RPC call like '*serivce.addPerson(

SimplePager - changing page callback

2011-01-27 Thread Stephan T
I'd like to perform some operations when a user, by clicking left or right arrow in a SimplePager, changes page in a CellTable. Can't find any suitable callback-methods or methods to override on SimplePager or CellTable. Any suggestions? -- You received this message because you are subscribed to

GWT SDK 2.1.1 eclipse plugin crashes Helios

2011-01-24 Thread T S
workarounds? I'm using the helios GWT provided from: http://dl.google.com/eclipse/plugin/3.6 T S -- 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 u

Re: GWT SDK 2.1.1 eclipse plugin crashes Helios

2011-01-24 Thread T S
Actually after doing some more troubleshooting, it looks like it's not the GWT plugin that's the problem, but rather either google plugin for eclipse or the app engine plugin that caused the crash. Sorry for the irrelevant post. -- You received this message because you are subscribed to the G

Showing and hiding a ButtonCell in a CellTable

2010-12-02 Thread Stephan T
In a CellTable I'm using a ButtonCell column. The button for each row should show only when a condition is true. How do I achieve that? This is my code now: Column myColumn = new Column(new ButtonCell()) { @Override public String getValue(Person object) { retur

Showing and hiding a ButtonCell in a CellTable

2010-12-01 Thread Stephan T
I have a CellTable and a ButtonCell column. The button for each row should show only when a condition is true. How do I achieve that? This is my code now: Column myColumn = new Column(new ButtonCell()) { @Override public String getValue(Person object) { retu

Style a ClickableTextCell

2010-12-01 Thread Stephan T
I'm using the new CellTable from GWT 2.1 and have a ClickableTextCell. I want the clickable text to have the same style as an a-element and the cursor should be a pointer when hovering the clickable text. How do I achieve this? -- You received this message because you are subscribed to the Googl

Re: Can't compile in eclipe - unhandled event loop exception

2010-11-04 Thread Stephan T
you'd be running > into problems against an Eclipse 3.5 version of an older incarnation of STS. > > Did you have the Google Plugin for Eclipse installed previously? Was this an > upgrade? > > On Wed, Nov 3, 2010 at 5:06 AM, Stephan T wrote: > > Sometimes I also get this

Re: Can't compile in eclipe - unhandled event loop exception

2010-11-03 Thread Stephan T
.java: 105) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 37 more On 3 Nov, 09:52, Stephan T wrote: > Yes, it's the "Unhandledeventloopexception" that shows up in the > Error log. > > In my plugin folder: > com.google.

Re: Can't compile in eclipe - unhandled event loop exception

2010-11-03 Thread Stephan T
ll of the plugins in there that start with com.google.gdt.*? > > Also, do you see any errors in your Error Log (Window -> Show View -> Error > Log)? > > On Tue, Nov 2, 2010 at 11:12 AM, Stephan T wrote: > > > I can't compile my gwt application in Eclipse. Works in M

Can't compile in eclipe - unhandled event loop exception

2010-11-02 Thread Stephan T
I can't compile my gwt application in Eclipse. Works in Maven outside Eclipse though. I'm getting an error related to IPixelConverter (see below for full stacktrace). The version of Eclipse is 3.5.1 (SpringSource Tool Suite2.3.0) and version 2.1.0 of GWT Plugin installed from the 3.5 update site.

Adding an additional module to the start project

2010-10-22 Thread Kasper T.
Hi, I am trying to figure out how to organize my project so i figured I would try to make a simple project with multiple modules to see how it works. I got the starter project running just fine and i can get any modifications to the existing module to work as well. (I can't find any tutorial whic

Re: Why can't see progress bar?

2010-10-18 Thread Hendrik T
Not sure, but maybe you forgot to add the style? It sounds like you are using the ProgressBar from the incubator. It needs a style to be displayed properly. A working css style definition can be found in the java doc, iirc. -- You received this message because you are subscribed to the Google Gro

Re: Building two war-files with Maven using different web.xml

2010-08-16 Thread Stephan T
"dane.molotok" wrote: > Have you thought about using themaven-assembly-plugin to generate a > secondary end-state? Just an idea. > > On Aug 12, 6:23 am, Stephan T wrote: > > > I need to build two war files with different web.xml files becuase of > > different

Using UI Binder

2010-08-13 Thread $ a r j i t h Pullithodi
HI All, I am a beginner in GWT, I was trying to develop an application through UI Binder way. but it found really difficult to integrate designers (html) code to gwt widgets. is it possible to use g:widgets inside html tag and vice versa?. I can't use complete html as ui binder xml since its o

Re: Building two war-files with Maven using different web.xml

2010-08-12 Thread Stephan T
l inherits the Debug module, and one that does not, but I'm > > beginning to think it's not even buying me much to find out how to do > > it. I'm assuming you have a similar reason for wanting to do this? > > > On Aug 6, 3:57 am, Stephan T wrote: > > &g

Building two war-files with Maven using different web.xml

2010-08-06 Thread Stephan T
I'm using the GWT-plugin for Maven to build my application. I want to build two war-files where the only difference is that I want to use a different web.xml. How do I achieve that? Here's my pom.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"

Re: Instantiate composite on the server side

2010-08-06 Thread Stephan T
rver-side in a POJO. Your composite would then delegate to the POJO, > which could be reused server-side. > And if you wish to push further towards great design, embrace MVP ! > > On 5 août, 14:42, Stephan T wrote: > > > For several reasons I need to instansiate a Composite on

Instantiate composite on the server side

2010-08-05 Thread Stephan T
For several reasons I need to instansiate a Composite on the server side that is in the client package. Is it possible? Now I think I'm getting class not found exception when trying... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To pos

Disabling DatePicker

2010-06-10 Thread Stephan T
How do I disable the DatePicker widget programatically? Can't find any suitable setEnabled-method... -- 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 f

Label for form-element using UIBindings

2010-05-31 Thread Stephan T
How do I achieve this code this using UI Bindings? First name -- 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

RadioButton group handling

2010-05-04 Thread Stephan T
I have ten radio buttons which is a group. Is there a way to ask the group of it's current selected value or do I have to go through every RadioButton and check which one is "true"? Also, i'd like to attach an event to change on the group. Do I really have to attach a ChangeEvent on each RadioButt

Creating a definition list composite

2010-04-01 Thread Stephan T
I want to create a Composite that generates a HTML definition list. I've managed to do so by using the code below, but I can't figure out how to add widgets to the list properly. Now I'm adding them using widget.getElement() but I have widgets with ClickHandlers attached and then the ClickHandlers

plugin does not show up

2009-12-12 Thread r a f t
ng about it. i also tried installing the sdk bundles but didnt help. any ideas ? thanks, r a f t -- 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 un

Re: PopupPanel.center() not working in Firefox 3.5.5

2009-12-08 Thread David T
Yeah I'm not exactly sure what is causing it, doesn't seem to be that PopupPanel.center() is broken outright. I tried playing around with the code to see if I pin point the bug but wasn't able to. I'm using GWT 1.7 though. For those interested though here is the full code for a work around: priva

Re: PopupPanel.center() not working in Firefox 3.5.5

2009-12-07 Thread David T
Great! Worked perfectly thank you. Yeah I will look at filing a bug report. On Nov 30, 9:37 pm, Thomas Broyer wrote: > On Nov 26, 1:59 am, David T wrote: > > > > > > > Hi All, > > > I'm trying to use the provided PopupPanel.center() method tocentera >

Re: PDF Viewer Widget

2009-11-29 Thread David T
Easiest method would be to use the Google Viewer app in an iframe. https://docs.google.com/viewer On Nov 28, 7:58 pm, Jan Ehrhardt wrote: > Creating such a simple Widget shouldn't be to difficult. Just take an > 'iframe' and let it show the PDF. > > Regards > Jan Ehrhardt > > On Fri, Nov 27, 200

Re: PopupPanel.center() not working in Firefox 3.5.5

2009-11-29 Thread David T
They have the same problem as using PopupPanel.center(), for firefox they return the web page dimensions instead of the browser window dimensions. I implemented my own method to try to fix this. On Nov 27, 10:11 am, Dazza wrote: > Why aren't you using GWT provided Window.getClientWidth() and > Wi

PopupPanel.center() not working in Firefox 3.5.5

2009-11-25 Thread David T
Hi All, I'm trying to use the provided PopupPanel.center() method to center a popup panel on the screen. This works fine on Opera and Safari centering the popup relative to the browser window. In Firefox though it centers the popup relative to the entire page. I've tried to implement my own cente

PopupPanel.center() not working in Firefox 3.5.5

2009-11-25 Thread David T
Hi All, I'm trying to use the provided PopupPanel.center() method to center a popup panel on the screen. This works fine on Opera and Safari centering the popup relative to the browser window. In Firefox though it centers the popup relative to the entire page. I've tried to implement my own cente

PopupPanel.center() not working in Firefox 3.5.5

2009-11-25 Thread David T
Hi All, I'm trying to use the provided PopupPanel.center() method to center a popup panel on the screen. This works fine on Opera and Safari centering the popup relative to the browser window. In Firefox though it centers the popup relative to the entire page. I've tried to implement my own cente

Re: Garmin Communicator API

2009-11-22 Thread Adam T
Stephen, You're most likely going to need to use the $wnd or $doc variable within your JSNI code as the Garmin JS is not loaded into the same area as GWT code (http://code.google.com/webtoolkit/doc/1.6/ DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface) i.e. var display = new $wnd.Garmi

Re: GWT Hosted Mode crashing after Snow Leopard 10.6.2 Update

2009-11-13 Thread Mike T
Ugly fix or not it worked for me. Thanks!!! On Nov 13, 9:23 am, Mark wrote: > Many thanks Daniel, this works for me. > > -mark > > On Nov 12, 12:35 pm, Daniel Kurka wrote: > > > > > I found a very UGLY solution to my problem (which enables me to continue > > working). > > > I replaced in LowLev

Re: Connecting Widgets

2009-11-02 Thread Adam T
The following library might work for you, or give you hints on what you need to do: http://code.google.com/p/gwt-diagrams/ //Adam On 2 Nov, 00:23, sony wrote: > My project is about drawing ER Diagrams, for this I am using GWT. For > now i have most of the frontend working. Now I want to have li

Re: How do I boostrap my Entry Point class with the User service?

2009-10-25 Thread Adam T
This tutorial might help, particularly section 3 that covers using AppEngine User service in GWT : http://code.google.com/webtoolkit/tutorials/1.6/appengine.html //Adam On 24 Okt, 19:43, nacho wrote: > Hi, im developing an aplication in gwt and i have an entry point > class. What i do no reali

Re: GWT and DragListener

2009-10-22 Thread Adam T
Hi Sony, It's not part of GWT out of the box, you need to add it. See the project page, which has instructions and a getting started guide, here: http://code.google.com/p/gwt-dnd/ //Adam On 22 Okt, 15:31, sony wrote: > Hello, > > Is DragListener part of GWT? because when i type in > com.googl

Re: change css rules dynamically

2009-10-18 Thread Adam T
...if you mean actually changing a value in an already defined style sheet, then you need to use JSNI (or rethink your application to change the style applied to elements rather than the style definition). //A On 18 Okt, 15:52, Adam T wrote: > You can do it in at least 4 different ways in

Re: change css rules dynamically

2009-10-18 Thread Adam T
You can do it in at least 4 different ways in GWT. Say you define a label as Label first = new Label("First Label") and add it to the DOM, then you can do one of the following to hide it: a) first.setVisible(false); b) first.getElement().getStyle().setVisibility(Visibility.HIDDEN); c) first.getE

Re: Gadget "more>>" ?

2009-09-29 Thread Adam T
can't you do it using the normal GWT menu and menuitem widgets? //A On 29 Sep, 13:50, Ice13ill wrote: > Does someone knows a library with gadget/widget like the "more>>" item > from the google main menu ? (the menu seen on the top of the page, > with links to other apps) --~--~-~--~~

Re: Problem with Getting Scripts Tag Working

2009-09-25 Thread Adam T
You might want to follow the getting started with Google maps api and GWT guide (http://code.google.com/docreader/#p=gwt-google-apis&s=gwt- google-apis&t=MapsGettingStarted)? //A On 25 Sep, 22:33, thc wrote: > Hi, I am creating a very simple GWT that uses Google Maps API, and >

Re: Compilation Error

2009-09-25 Thread Adam T
> u can not use these classes in GWT - client side, > read the doc for the allowed class, > more specifically, this is what you are allowed to use on GWT client side: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html //A --~--~-~--~~~---~--~~ You re

Re: Problem compiling & deploying GWT-Fx

2009-09-19 Thread Adam T
Hi Carlos, You shouldn't see anything in the war file, the code for gwt-fx gets compiled into JavaScript by the GWT compiler - just adding the jar file as you have to a lib directory and is enough (assuming your classpaths are set up ok). I'd suggest checking the log of the compile to make sure

Re: Need help with GWT FX

2009-09-08 Thread Adam T
Hi Rodders, I'm guessing you are using v4 or below of the library, in which case, this is one of the limitations in those versions - effects are applied to the content of the NEffectPanel. So your contents would move but the NEffectPanel would stay. If you're able to download the code from trun

Re: Async socket

2009-07-30 Thread Adam T
The so-called "Comet" technique is perhaps what you are looking for: http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications //Adam On 31 Juli, 02:03, Blessed Geek wrote: > In Flash, I could create an async socket. > Which is very useful because it allows server pushing data > asy

Re: event when item is visible, and getOffsetHeight isn't 0

2009-07-30 Thread Adam T
try the onLoad() method: /** * This method is called immediately after a widget becomes attached to the * browser's document. */ protected void onLoad() { } //Adam On 30 Juli, 22:10, bradr wrote: > I'm working on a widget and need to do calculations based on it's > height in o

Re: conversion to JavaScriptObject fails with cross site communication

2009-07-28 Thread Adam T
Hi Dale, Could be a couple of things... 1) Your asBasicComputerInfo() method takes a variable "jso" and you try and return a reference to a variable "json" - though maybe that's just a typo in your message? 2) Your JSON response from server doesn't appear to be an array, so ignoring any potenti

Re: Indexed Panel

2009-07-27 Thread Adam T
Hi Rahul, It's not a panel per se, it is an interface that a number of different panels implement. If a panel implements the interface, then you know you can that you can get a widget at a particular index, count the number of widgets on the panel, remove a widget at a particular index and get t

Re: Reading styles directly from the stylesheet?

2009-07-24 Thread Adam T
Hi Graham, there's not a directly way in GWT as yet. As part of a project I'm doing, I've been building up an animation library that is based on tweening between 2 styles that I've been able to kept as open source. You can find the library here: http://code.google.com/p/gwt-fx/ and an example he

Re: Problem while loading stylesheet dynamically

2009-07-23 Thread Adam T
Hi Rick, The last line in your native method should read: $doc.getElementsByTagName("head")[0].appendChild(fileref); As GWT uses $doc to refer to the pages document. See: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface //Adam On 23 Juli,

Re: Selection of Widgets

2009-07-23 Thread Adam T
                      event.preventDefault(); >                 } >         } > >         class MyMouseMoveHandler  implements MouseMoveHandler { >                 @Override >                 public void onMouseMove(MouseMoveEvent event) { >                         // TODO Auto-

Re: Suggestion: Toggle style name

2009-07-22 Thread Adam T
Célio, GWT is of course open source, so you could easily create an issue in the issue manager (http://code.google.com/p/google-web-toolkit/issues/ list) and submit a patch including your code below on, presumably, the UIObject class. It could then get discussed and perhaps included in the main c

Re: Selection of Widgets

2009-07-22 Thread Adam T
Hi Ewald, Sounds like you want to prevent the default event handling of the browser. You'll need to add some event handlers to your HTML widget and the call the preventDefault() method in them. For example: HTML widget = new HTML(); widget.addMouseDownHandler(ne

How to deal with multiple coordinating RequestBuilder sends?

2009-07-21 Thread H T
Hi there, I'm a newb when it comes to GWT so I need your advice. I have a situation where I am making two restful calls using RequestBuilder R1, R2. R1-> http://localhost:8080/universe R2-> http://localhost:8080/someDataContainedInUniverse I have two ListBox components L1, L2 where data in (R1

Re: JSNI issues

2009-07-21 Thread Adam T
JS scenario, which I trying to port to GWT using JSNI. > > I fail, though, as the very first command > >       vis = new $wnd.pv.Panel().canvas("PVis"); > > fails with the following JavaScript exception > >       $wnd.pv has no properties > > I will see if the o

Re: JSNI issues

2009-07-20 Thread Adam T
2008/08/getting-to-</a> really-know-gwt-part-2.html) that would let you merge GWT and the protovis library in a more natural style, than the approach you're taking just now) Good luck, //Adam On 20 Juli, 17:41, wsaleem <wsal...@gmail.com> wrote: > Adam, I added >  

Re: JSNI issues

2009-07-20 Thread Adam T
Hi, It might be the case that in both cases your GWT code is loaded and executing before the browser has loaded your externally referenced JavaScript file. To remove that possiblity, you can place the tag you have in the HTML into your module's .gwt.xml definition, i.e.

Re: Is there a way to talk to an embedded GWT application?

2009-07-16 Thread T
>From your JSP you can get to GWT via Javascript. See "Calling a Java Method from Handwritten JavaScript" here: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaFromJavaScript On Jul 16, 10:31 am, H T wrote: > Hi

Is there a way to talk to an embedded GWT application?

2009-07-16 Thread H T
Hi GWT experts, I have this task of embedding a GWT application inside a JSP application. Is there a way to communicate state information from the JSP -> GWT application? For example, the JSP application wants to send the current time to the GWT application so that it can update one of its widg

GWT in iframe issue.

2009-07-15 Thread T
When embedding a GWT application in an iframe it looks like some of the functions expected by widgets (like the absolute panel) don't work. For example, the DOMImplMozilla.class overrides the DOMImpl.class (which just returns 0) as follows: @Override public native int getBodyOffsetLeft(Document

Re: Does GWT 1.7 support Class.getSimpleName()?

2009-07-15 Thread Adam T
GWT supports the following: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html //Adam On 15 Juli, 19:00, Pandaman wrote: > Does GWT 1.7 support Class.getSimpleName()? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Fade animation with IE opacity doesn't work....

2009-07-15 Thread Adam T
Hi Ed, IE is always going to throw you some interesting challenges. The one you've hit here relates to IE only applying filters if an element has "position". You've achieved that by directly setting the element's height; another, perhaps more common way is to set the zoom style property to 1, i

Re: GWT: Edit CSS Attributes

2009-07-07 Thread Adam T
Something like the following should work: Image img = new Image("SomeImage.png"); img.getElement().setPropertyString("left", "100px"); //Adam On 7 Juli, 14:12, stephan17 wrote: > Hi, > > In GWT i have an image and I want to edit a css attribute l

Re: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

2009-07-03 Thread Miles T.
(I believe you need the > Package Explorer rather than the Project Explorer view for the right-click > to work though) > Fred > > > > On Fri, Jun 26, 2009 at 2:27 AM, Miles T. wrote: > > > This is server side. I guess it has something to do with class > > l

Re: How to know when a Widget is fully loaded....

2009-06-28 Thread Adam T
You can generally hook into when a widget is ready in the DOM by overriding it's onLoad() method. However, if you have Images you need to do more work as whilst the DOM aspect of the Image widget may be ready in DOM it may not have size as the actual image is not downloaded yet - your resizing is

Re: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

2009-06-26 Thread Miles T.
This is server side. I guess it has something to do with class loaders, but I don't know what to do. On 19 juin, 15:43, Paul Robinson wrote: > If this is server side, could this be something to do with > DocumentFactory being loaded by two different class loaders? > > Miles

Re: Collator support

2009-06-23 Thread Miles T.
That is also all I need and it works well. Thank you very much ! On 22 juin, 14:37, "nicolas.deloof" wrote: > For information I made some test on using the javascript > String.localeCompare() method to handle this. > My need is that as a French guy I need "état" to be sorted before > "civil". ja

  1   2   3   >