Re: implementing Java's URI in GWT

2012-02-08 Thread Thomas Broyer
On Tuesday, February 7, 2012 10:44:56 PM UTC+1, Sebastian Gurin wrote: On Tue, 7 Feb 2012 13:39:32 -0800 (PST) Thomas Broyer wrote: AIUI,MIT license allows you to re-license the code under Apache (sublicense). But I wonder why you simply don't use the regex from the RFC? For a java

Re: no RadioButtonCell in GWT 2.4 Cell?

2012-02-08 Thread Thomas Broyer
You can use a CheckboxCell coupled with a SingleSelectionModel, the selection model will take care of keeping only a single checkbox selected. Or search the archives of this group, someone posted a RadioButtonCell implementation a few months ago. -- You received this message because you are

How to hide a column in CellTable

2012-02-08 Thread Vibhas Zanpure
Hello, I tried using setColumnWidth to 0px and also tried clearColumnWidth... But its not working... Any suggestions? I am using IE8 in quirks mode...Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: How to hide a column in CellTable

2012-02-08 Thread karthik vadapalli
http://stackoverflow.com/questions/7116758/how-to-hide-column-in-cell-table-gwt watch this it might be useful for you On Wed, Feb 8, 2012 at 2:53 PM, Vibhas Zanpure vibhas.zanp...@gmail.comwrote: Hello, I tried using setColumnWidth to 0px and also tried clearColumnWidth... But its not

Re: How to hide a column in CellTable

2012-02-08 Thread Vibhas Zanpure
Thanks Karthik for the reply :)... However, in my case, I cant use fixed table layout and therefore can't use setColumnWidth to 0px... So is there any other way ? On Feb 8, 2:30 pm, karthik vadapalli karthik29...@gmail.com wrote:

GWT, JQuery, Tipsy

2012-02-08 Thread kellizer
Hi All, I need to get tipsy ( http://onehackoranother.com/projects/jquery/tipsy/ ) working with GWT as the designers have introduced this in along with GWT and I can't face to telling them tipsy can't be supported! From analysis - it it works with JQUERY to traverse through the DOM and looks

how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread tong123123
I try to use JNDI datasource in gwt 2.4 hosted mode as follow; Context ctx = new InitialContext(); ctx.bind(jdbc/ALS, ds); but then javax.naming.NoInitialContextException is thrown. the error message is need to specify class name in environment or system property, or as an applet parameter, or

Re: Modify DateBox behaviour

2012-02-08 Thread Appien
HI Jhulford, I dont get it. What should my parse method do if I not want my Datebox to modify the values entered in the DateBox? Should it just return null ? Regards On Feb 7, 3:34 pm, jhulford jhulf...@gmail.com wrote: You can pass in your own Format implementation when creating your

Re: MVP framework

2012-02-08 Thread John99
Perfect tips Thomas. Thank you! Have a question about this item: You should check whether the activity is still active before calling PlaceController#goTo from your Receiver: the user might have navigated away from the activity already. How we can check it?

Re: Places Activities - best practice of asynchronous data loading

2012-02-08 Thread Zdeněk Doležal
Thank you for your replies. Thomas, it was me who misunderstood your answer ;-). So are saying that if view is calling fetchXxx it is actually fetching data. So, I can rename then method from fetchXxx to onDataNeeds and its fine? But back to the problem, whats best solution (just interface with

Re: Exception trigger if server is not working

2012-02-08 Thread bognekadje
Thanks for reply Filipe, I will try to catch StatusCodeException. Thanks for all. -- 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,

Re: How to hide a column in CellTable

2012-02-08 Thread Ümit Seren
Well the stackoverflow thread has actually the solution. You can just remove the column and add it when you need it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT, JQuery, Tipsy

2012-02-08 Thread Sebastian Gurin
I don't see why not. This is what I would do: 1) create a folder named public at the same level of your project's *.gwt.xml file 2) In your project's *.gwt.xml file include the required javascripts, In your case jquery.js and tipsy.js or whatever, like this: inherits

Re: unexpected padding under canvas element

2012-02-08 Thread Chris Price
Hi Philippe, Another alternative which fixes the root cause of the issue, is to call - canvas.getCanvasElement().getStyle().setDisplay(Display.BLOCK); The problem is that the canvas display mode is inline, which causes strange alignment issues like these (strange that is, unless you want it to

Re: FF10, here we go again

2012-02-08 Thread Pablo Aguiar
On Mon, Feb 6, 2012 at 8:08 PM, Filipe Sousa nat...@gmail.com wrote: After applying the patch under code review I did $ yum install xulrunner-devel.x86_64 $ make BROWSER=ff100 ARCH=x86_64 DEFAULT_FIREFOX_LIB=/usr/lib64/xulrunner-devel-2 GECKO_LIBS=/usr/lib64/xulrunner-devel-2/lib Works

Re: FF10, here we go again

2012-02-08 Thread Kenny Neal
I had the same issue. After installing the plugin provided by Filipe, it was still getting the dialog. I compiled this version for ubuntu 11.04 x64: http://dl.dropbox.com/u/24610398/gwt-dev-plugin.xpi -- You received this message because you are subscribed to the Google Groups Google Web

GWT strange code generation on float numbers

2012-02-08 Thread Andrey Korzhevskiy
Hello everyone, I found interesting issue. Suppose I have this java code: float f = 0.01f; someFunc(f) which is generated by GWT into js code, something like that someFunc(9.9534e-7) So my question is: if GWT sees constant in code why it processes this constant so strange? I expect to

Embedding an external site into my GWT app

2012-02-08 Thread Sander Smith
I'm building a GWT application that looks great. At the end of the page I'd like to include a WordPress blog that I'm developing. In order to do that I want to use a com.google.gwt.user.client.ui.Frame so that an IFrame gets created, and the blog just gets seamlessly embedded. I've built

I need help/tips with general application architecture

2012-02-08 Thread divStar
Hello, I've been using GWT for about two years now. In this period I've rewritten major parts of my application a few times. However: as I implement more and more stuff into it, I lose overview and sometimes am dazzled by the complexity my application has reached. It's not that the application is

Re: Embedding an external site into my GWT app

2012-02-08 Thread Jens
Never done it before so maybe it doesn't work, but I would try: yourFrame.addLoadHandler(new LoadHandler() { public void onLoad(LoadEvent event) { //Frame loaded. Read the content document height and resize the frame FrameElement frameElement = yourFrame.getElement().cast();

Re: ff10 gwt dev plugin x86

2012-02-08 Thread wbabachan
Sorry but it is not working ! On Feb 6, 7:07 pm, Filipe Sousa nat...@gmail.com wrote: and for fedora 16 i686 (no tested)http://dl.dropbox.com/u/5176435/gwt-dev-plugin-i686.xpi -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Modify DateBox behaviour

2012-02-08 Thread jhulford
No, you'll want your parse method to handle the two digit year by detecting that the user keyed that and then just returning a Date object that has the valid years in it. On Feb 8, 6:23 am, Appien appienvanv...@gmail.com wrote: HI Jhulford, I dont get it. What should my parse method do if I

Re: FF10, here we go again

2012-02-08 Thread wbabachan
Hello everyone, I have built the GWT Dev Plugin for Firefox 10 and could be downloaded from hier: https://docs.google.com/leaf?id=0Bz789tz1BWLqNGRhZWFiOWUtODY4Yy00MDU5LTg5ZjItMGE4NjE0MTc1Y2E1 I hope it will help you. Waruschan Babachan -- You received this message because you are subscribed

GWT Developer Plugin for Firefox 10

2012-02-08 Thread wbabachan
Click on the following link to download gwt dev plugin for firefox 10: https://docs.google.com/leaf?id=0Bz789tz1BWLqNGRhZWFiOWUtODY4Yy00MDU5LTg5ZjItMGE4NjE0MTc1Y2E1hl=de Enjoy it :-) Waruschan Babachan -- You received this message because you are subscribed to the Google Groups Google Web

Re: FF10, here we go again

2012-02-08 Thread Thad
I just installed this, but when I try to run in dev mode, I'm told Sorry, the GWT Developer Plugin only supports Firefox 3.0 - 8.0 at present On Feb 8, 1:10 pm, wbabachan wbabac...@googlemail.com wrote: Hello everyone, I have built the GWT Dev Plugin for Firefox 10 and could be downloaded from

warningThreshold compile error

2012-02-08 Thread Alan Chaney
I have a project that worked fine up until this morning. By accident, I removed the GWT SDK from the C/P and now I'm getting: [ERROR] Unexpected internal compiler error java.lang.NoSuchFieldError: warningThreshold at

Re: FF10, here we go again

2012-02-08 Thread wbabachan
This will work only in Linux, Tesed on Fedora 16 64 bit... On Feb 8, 7:21 pm, Thad thad.humphr...@gmail.com wrote: I just installed this, but when I try to run in dev mode, I'm told Sorry, the GWT Developer Plugin only supports Firefox 3.0 - 8.0 at present On Feb 8, 1:10 pm, wbabachan

Re: GWT Developer Plugin for Firefox 10

2012-02-08 Thread wbabachan
Works only in Linux. Tested on Fedora 16 64 bit... On Feb 8, 7:20 pm, wbabachan wbabac...@googlemail.com wrote: Click on the following link to download gwt dev plugin for firefox 10: https://docs.google.com/leaf?id=0Bz789tz1BWLqNGRhZWFiOWUtODY4Yy00MDU5... Enjoy it :-) Waruschan Babachan

Re: FF10, here we go again

2012-02-08 Thread Miousse
This xpi works also for OpenSUSE 11.4 / 12.1 x86_64 -- 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/-/hAVET0mfJ1MJ. To post to this group, send

dialogBox

2012-02-08 Thread quince
i'm new to gwt and need help to understand how dialogBox is working. i have app with 2 widgets, left and right.Left widget has button which on click event shows dialogBox.Right widget is flowPanel with html inside.When dialogBox shows and user click button on that dialogBox, dialogBox should hide

Re: FF10, here we go again

2012-02-08 Thread Juan Carlos Aranda
Windows 7 64 bits... ? 2012/2/8 wbabachan wbabac...@googlemail.com This will work only in Linux, Tesed on Fedora 16 64 bit... On Feb 8, 7:21 pm, Thad thad.humphr...@gmail.com wrote: I just installed this, but when I try to run in dev mode, I'm told Sorry, the GWT Developer Plugin only

Re: WARNING: failed _ah_ServeBlobFilter: java.lang.ClassCastException:

2012-02-08 Thread Dan
I created a new Roo project in Eclipse. After startup from the command line (mvn gwt:run), I get the same exception the first time I try to access the web app from the browser. Dan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Show image with data as byte[]

2012-02-08 Thread Deepak Singh
Hi All, I ahve an image data as byte array. byte[] imageData = x.getBytes(); I need to show it on my html page and am getting this data along with other data through Rpc. What is the way to do it? Thanks Deepak Singh -- You received this message because you are subscribed to the Google

Re: FF10, here we go again

2012-02-08 Thread Thad
Okay. I'm running Linux, but 32-bit. I see some below asking for Win 7 64-bit. Is their gonna be a standard location on Google where the current plugins are kept? Like a well- labeled directory? On Feb 8, 1:23 pm, wbabachan wbabac...@googlemail.com wrote: This will work only in Linux, Tesed on

Re: FF10, here we go again

2012-02-08 Thread Alan Leung
The new plugin is pushed: https://dl.google.com/dl/gwt/plugins/firefox/1.0.10862/gwt-dev-plugin.xpi -Alan On Wed, Feb 8, 2012 at 11:11 AM, Thad thad.humphr...@gmail.com wrote: Okay. I'm running Linux, but 32-bit. I see some below asking for Win 7 64-bit. Is their gonna be a standard

Re: ff10 gwt dev plugin x86

2012-02-08 Thread Alan Leung
The new plugin is pushed: https://dl.google.com/dl/gwt/plugins/firefox/1.0.10862/gwt-dev-plugin.xpi -Alan On Wed, Feb 8, 2012 at 9:33 AM, wbabachan wbabac...@googlemail.com wrote: Sorry but it is not working ! On Feb 6, 7:07 pm, Filipe Sousa nat...@gmail.com wrote: and for fedora 16 i686

Re: GWT, JQuery, Tipsy

2012-02-08 Thread kellizer
Works a treat - thank you very much -- 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/-/a7aSczHMxSMJ. To post to this group, send email to

Re: Show image with data as byte[]

2012-02-08 Thread Jens
You can represent the byte data using base64 and then create a Data URI using the base64 string but IE8 only supports up to 32kb of data via Data URI (IE6/7 are not supported): http://en.wikipedia.org/wiki/Data_URI_scheme If the base64 representation of your image is bigger than 32kb and you

Re: Show image with data as byte[]

2012-02-08 Thread Deepak Singh
So if i use the servlet to return the image data by setting it into response, the will be refreshed for every images . Am i right ? Thanks Deepak On Thu, Feb 9, 2012 at 1:02 AM, Jens jens.nehlme...@gmail.com wrote: You can represent the byte data using base64 and then create a Data URI using

Gwt 2.4 DialogBox close-icon

2012-02-08 Thread gwtTexter
I want to add a HTML Widget containing a close-icon with a Clickhandler to Dialogbox.setHTML but it only accepts strings. According Issue 1405 (http://code.google.com/p/google-web-toolkit/ issues/detail?id=1405) something is fixed regarding this problem, I'm a bit unsure what and in which version

Re: Show image with data as byte[]

2012-02-08 Thread Deepak Singh
Sorry.. Pls read as : the 'page' will be refreshed On Thu, Feb 9, 2012 at 1:15 AM, Deepak Singh deepaksingh...@gmail.comwrote: So if i use the servlet to return the image data by setting it into response, the will be refreshed for every images . Am i right ? Thanks Deepak On Thu, Feb 9,

Re: GWT, JQuery, Tipsy

2012-02-08 Thread Sebastian Gurin
Glad to help. That is one side of developing a porting of an existing javascript toolkit to GWT. The other side of the work is to let the user to manipulate javascript native objects in your java code. You can use gwt overlay types for that. Explanation, for example, consider this tipsy

Re: GWT Developer Plugin for Firefox 10

2012-02-08 Thread Boris_siroB
Works on OS X (Lion 10.7.3) as well, for some reason. Here's what happened: I carelessly missed @wbabachan's Works only on Linux followup and installed the previously linked plugin, then upgrading to FF10 without problems. As soon as I tried connecting to my project in Dev. Mode I got the GWT

Re: GWT Developer Plugin for Firefox 10

2012-02-08 Thread Alan Leung
In frustration I opened the Add-ons Manager and did Check for Updates. To my surprise a progress bar ran next to GWT Dev. Plugin and the version changed to 1.0.10862. I restarted FF and lo and behold: a successfull Dev. Mode connection. Does anyone have an explanation? The reason is that

GWT Designer + MGWT library = Runtime exception

2012-02-08 Thread Transplant
I'm trying to use GWT Designer design mode with the mGWT mobile widget library. I can reference the library widgets in XML and compile/run just fine, but when I try to switch from XML Source mode to Design mode in GWT Designer I get a runtime exception: Internal Error encountered unexpected

Dates and SafeHTML

2012-02-08 Thread Patrick Tucker
Is there a SafeHTML implementation for Dates? I've done a little digging and have not been able to find anything. It may not add much overhead, but it seems pointless to sanitize a formatted date, if a predefined format is used. If not, is there something in the pipe? Any reason there isn't?

Re: I need help/tips with general application architecture

2012-02-08 Thread Stefan Ollinger
Hello, i took a quick look over your code. You should definitely try out UiBinder. This will make code like this much easier: https://code.google.com/p/odrop/source/browse/trunk/ODropServer/src/odrop/client/pages/login/Login.java Also MVP could be interesting to you. It decouples the widget

Re: how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread Rob
Hi, This post might help: - http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca34b53713d1aa36 And try googling gwt jndi hosted mode. Cheers Rob http://code.google.com/p/gwt-cx/ On Feb 8, 9:37 pm, tong123123 tong123...@gmail.com wrote: I try to use JNDI datasource in

Re: I need help/tips with general application architecture

2012-02-08 Thread divStar
Thank you very much for the latter link - I just finished reading this wonderful article. But - if I'm not mistaken - according to this suffering-oriented programming I did the right thing: I collected a set of use-cases (in my particular case: the ItemListener, NPCListener and Belongings, which

Re: GWT Designer + MGWT library = Runtime exception

2012-02-08 Thread iassael
Same problem here and I was just looking for a solution On Feb 8, 10:52 pm, Transplant transplant...@gmail.com wrote: I'm trying to use GWT Designer design mode with the mGWT mobile widget library. I can reference the library widgets in XML and compile/run just fine, but when I try to switch

Re: I need help/tips with general application architecture

2012-02-08 Thread Stefan Ollinger
Hello, UiBinder saves you from manually creating the widget hierarchy. You can also hack the css directly into the .ui.xml files, which is a great time saver and also reduces the amount of code used in the widgets. I did make positive experience with HTMLPanel, which reduces the markup in the

Re: MVP framework

2012-02-08 Thread dparish
Thomas, I'm working on restructuring AppActivityMapper so that I inject in the Activities. My reasoning for the static injector was it kept me from having gigantic constructor arguments. If AppActivityMapper has 30 activities, that's alot of constructor arguments.

Re: Problem to load data from Database

2012-02-08 Thread Juan Carlos Aranda
Hola Gianluca Yo estoy empezando a utilizar Firebird. No se si ya resolviste el problema, pero yo estoy teniendo el mismo. Veo que el error es lanzado al momento de asignar el driver: * Class.forName(driverName).newInstance(); * Ni siquiera pasa a realizar la conexión. Tu encontraste alguna

Re: CalendarUtil has no hour, minute, seconds options

2012-02-08 Thread Patrick Tucker
You can implement the functions yourself pretty easily. I don't have them in front of me but you just have to convert the date to milliseconds and add the correct number of milliseconds to the number and turn it back into a date. On Feb 7, 12:52 am, tong123123 tong123...@gmail.com wrote: as gwt

gwt root panel presenter question

2012-02-08 Thread Joshua Carey
I am new to gwt and I have followed the examples on gwt page to create a simple (3 tabbed) gwt project. In my root panel view and presenter classes, there is a drop down box that has street names. The drop down has about 10 different values with the default being the first one. My question

Getting name of Column in overrided method onColumnSort of ColumnSortEvent.Handler in GWT2.4

2012-02-08 Thread vaibhav jain
Hello All, I am implementing ColumnSortEvent.Handler in my class in which i am making a datagrid ,am overriding its onColumnSort method. public void onColumnSort(ColumnSortEvent event) { } here in this method ,how can i find the name of my column who has been clicked.

Re: FF10, here we go again

2012-02-08 Thread Thomas Klöber
Am 08.02.2012 20:16, schrieb Alan Leung: The new plugin is pushed: https://dl.google.com/dl/gwt/plugins/firefox/1.0.10862/gwt-dev-plugin.xpi great, works on Windows 7 64bit and Windows Server 2003 R2 SP2, 32bit. Thanx Alan -- Intelligent Communication Software Vertriebs GmbH Firmensitz:

Re: Modify DateBox behaviour

2012-02-08 Thread Appien
Bummer! I was setting the Format correctly however somewhere later in the constructor I was overwriting the Formatter with the defaultformat. Thanks for your help. On Feb 8, 6:49 pm, jhulford jhulf...@gmail.com wrote: No, you'll want your parse method to handle the two digit year by detecting

[gwt-contrib] Re: Make splitpoint.xml CodeSplitter2 aware. (issue1639803)

2012-02-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1639803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make splitpoint.xml CodeSplitter2 aware. (issue1639803)

2012-02-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1639803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] RPC payload question: Why use fully qualified class names?

2012-02-08 Thread Alex Epshteyn
Hi guys, I'm sorry I'm not up-to-date on recent GWT development efforts, but does the current version of the GWT-RPC serialization scheme still use fully qualified class names in the payload string? (e.g. com.example.foo.Foo in the method signature part of the payload, and then again as