Re: Framework app mobile

2012-02-14 Thread Daniel Kurka
2012/2/13 Kira Qian kiraq...@me.com AFAIK, only native app developed via cocoa framework is allowed to run on iOS. iPhone doesn't support to run java or other code. So i don't think it is possible to run your GWT on iPhone. This is indeed plain wrong. I got several apps in the apple app

Re: Custom TextBox

2012-02-14 Thread Thomas Broyer
With a ValueBox you can use the Renderer and Parser of your choice, not necessarily tied to NumberFormat. IntegerBox is simply a ValueBoxInteger whose Renderer and Parser delegate to a NumberFormat. -- You received this message because you are subscribed to the Google Groups Google Web

fileupload in gwt

2012-02-14 Thread kim young ill
hi there what's the best approach to handle a simple fileupload in gwt ? normally it would be a normal POST with File-Field, problem is that a post to a servlet will make the page refresh, that means user will be redirect from current page. is there a lightweight-approach which doesnt require this

Re: Custom TextBox

2012-02-14 Thread Fabricio Pizzichillo
Thanks Thomas. I'll try to do. Reards 2012/2/14 Thomas Broyer t.bro...@gmail.com With a ValueBox you can use the Renderer and Parser of your choice, not necessarily tied to NumberFormat. IntegerBox is simply a ValueBoxInteger whose Renderer and Parser delegate to a NumberFormat. -- You

Re: chrome vs firefox: on mouse leave/enter event

2012-02-14 Thread Thomas Broyer
I don't have time to try it out with GWT, sorry, but just to add some input to the possible issue: mouseover and mouseout events bubble, so if your mouse enters a child element of the B widget's root element, the event will bubble up to B's root element. GWT filters those events out in

GWT and Google Maps Version 3

2012-02-14 Thread andrew
I currently use GWT Maps API 1.1 in our GWT APP and I'd like to update it to use the Google Maps API Version 3. Is there a supported, not deprecated, library for GWT to use Google Maps API V3? gwt-google-maps-v3 === http://code.google.com/p/gwt-google-maps-v3/ Only one committer.

Re: The domain type com.dummyPackage.thriftgen.ClassOtherDTO cannot be sent to the client

2012-02-14 Thread Thomas Broyer
Have a look at http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation If ClassOtherDTO isn't included, it's probably that it has an issue, i.e. there's a mismatch between ClassOtherProxy and ClassOtherDTO. -- You received this message because you are subscribed to

Basic File upload in GWT.

2012-02-14 Thread learning coding
Hi all, I am new to GWT , I am writing RPC code to transfer file from client to server. I have a client side like this. But i dont understand what i have to call from service class. i dont know what should i write in interface class and asyncronous class. Plz some one Help. . public class

Re: fileupload in gwt

2012-02-14 Thread Thomas Broyer
FormPanel defaults to submitting to an hidden iframe; couple that with a FileUpload widget and you're done. Have a look at the GWTUploader project too. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

CellTree - which nodes are open or closed on it?

2012-02-14 Thread Vasi , Sándor
I have a cellTree with few nodes. I need to send to the server side which nodes are open on the tree, and which are closed. I was thinking on two solutions, but i have problem with both. 1. Walk the cellTree and double-check all the nodes if they are open or closed. My problem with this is that

Re: fileupload in gwt

2012-02-14 Thread kim young ill
ahh, thanx, i'll have a look. On Tue, Feb 14, 2012 at 11:29 AM, Thomas Broyer t.bro...@gmail.com wrote: FormPanel defaults to submitting to an hidden iframe; couple that with a FileUpload widget and you're done. Have a look at the GWTUploader project too. -- You received this message

Re: Google Product Forums for GWT

2012-02-14 Thread Wendel
It works fine but is pointing to the old classic interface: http://groups.google.com/group/google-web-toolkit Instead of the forum interface which can be accessed via this url. https://groups.google.com/forum/#!forum/google-web-toolkit#%21forum/google-web-toolkit -- You received this message

Re: Basic File upload in GWT.

2012-02-14 Thread Thad
form.submit(), as in Button okBtn = new Button(OK); okBtn.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { form.submit(); } }); On Feb 14, 5:23 am, learning coding learning.codin...@gmail.com wrote: Hi all, I am new to GWT , I am

Re: GWT and Google Maps Version 3

2012-02-14 Thread Patrice De Saint Steban
Hello, There are a new in progress wrapper of the Gwt Maps v3 http://code.google.com/p/gwt-maps-api/ with demo : http://c.gwt-examples.com/api/google-maps-v3 I not tested this implementation, I use the gwt-google-maps-v3 project with jsni for error or missing fonction. Patrice -- You

Re: GWT and Google Maps Version 3

2012-02-14 Thread Joseph Lust
The lack of deprecated V3 is maddening for GWT and Maps V3. Check out the below. It is the only one I know of. There is a nearly finalized V3 API on googlecode http://code.google.com/p/gwt-maps-api/ . It has every facet of the JS API and is fully functional right now. I'm using it without issue.

Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread Patrice De Saint Steban
It's not a good solution, but when you open a tree node with setChildOpen(), the method return the Child TreeNode : public TreeNode setChildOpen(int index, boolean open, boolean fireEvents) { assertNotDestroyed(); checkChildBounds(index); CellTreeNodeView? child =

Re: Basic File upload in GWT.

2012-02-14 Thread learning coding
form.submit(); is done on Submit buttton. I want to know about the interface, asyncInterface , service , and on server class so that i can read a file on server side. On Tue, Feb 14, 2012 at 3:18 PM, Thad thad.humphr...@gmail.com wrote: form.submit(), as in Button okBtn = new Button(OK);

Re: Is XsrfProtectedServiceServlet Exprimental?

2012-02-14 Thread SCAI_Andre
Hi, in 2.4 this is marked as EXPERIMENTAL. I take your above post as a note, that it is safe to use in production code, though. Am I right? TIA Regards, Andre -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on

Re: Basic File upload in GWT.

2012-02-14 Thread Jens
You have to create an ordinary HttpServlet, publish it using web.xml and put the published URL into form.setAction(). In your HttpServlet you can then read the uploaded data and save it to database. In your servlet you could use http://commons.apache.org/fileupload/ for reading the data or

Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread Thomas Broyer
...which leads to the alternate solution: add an OpenHandler and a CloseHandler to the CellTree. -- 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: chrome vs firefox: on mouse leave/enter event

2012-02-14 Thread Gustaf Nilsson
Thanks If it makes a difference, in my onMouseXXX methods, i run some code to stop the event propagation, it looks like: def onMouseEnter(self, sender): event = DOM.eventGetCurrentEvent() DOM.eventStopPropagation(event) #do stuff after here Sorry for the python code,

Which is the default value of optimize compiler flag?

2012-02-14 Thread Federico Dal Maso
In the GWT compiler documentation http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions I did not found the default value for optimization level -optimize Sets the optimization level used by the compiler. 0=none 9=maximum Which

GWT Compiler - java.io.IOException: Too many open files

2012-02-14 Thread Jonas
I've recently started getting these errors when I GWT compile my project for my ClientBundles (which have quite a lot of images). [java] Rebinding ...ClientBundle [java] Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator [java]

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

2012-02-14 Thread MagusDrk
Hi. I've just faced the same issue just after install some GWT updates... Anyone knows can it be solved, its really important. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

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

2012-02-14 Thread MagusDrk
Additionally. I've got an error on the browser: = HTTP ERROR: 503 Problem accessing /MyApp.html. Reason: SERVICE_UNAVAILABLE Powered by Jetty:// = On Feb 14, 12:21 pm, MagusDrk

DataGrid and CheckBoxCell

2012-02-14 Thread mo
Hi, I'm just exploring the DataGrid and have some questions about the CheckboxCell. In the Grid are 4 CheckboxCells Col1, Col2, Col3 and Col4. When I check the CheckBox in Col1 I want that the Checkbox in Col2 ist enabled. But this doesn't work because there are no methods like setEnabled(

Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-14 Thread claus.jespep...@googlemail.com
I am new at GWT, but I have working on the MVP tutorial and have encountered some problems: from my EntryPoint class: public void onModuleLoad() { HandlerManager eventBus = new HandlerManager(null); AppController appController = new AppController(eventBus);

Re: fileupload in gwt

2012-02-14 Thread thalys . gomes
Hello, Everybody I found a good sample here http://fkgwt20.googlecode.com/svn/mvpproject/, this Project that have several kind of examples included file upload that you can use of GWT. Internet t.bro...@gmail.com Enviado Por: google-web-toolkit@googlegroups.com 14/02/2012 08:29 Favor

Re: CellTree - which nodes are open or closed on it?

2012-02-14 Thread jabal
Today I had almost the same issue.. :-) It seems that browsing the model of the CellTree is almost impossible from the side of a SelectionModel or a DefaultSelectionEventManager. I inherited from DefaultSelectionEventManager and tried to override doMultiSelection(..) but from that method I could

Celltree: how to find tree node with key?

2012-02-14 Thread Ken
I've set up a celltree with SingleSelectionModel. In SelectionChange(SelectionChangeEvent event) method of the seletion model, I want to find what tree node is selected. However through event.getSelectedObject, I can only find key value of the node. How do I find the tree node object from here?

Re: JSR303 localized messages with RequestFactory

2012-02-14 Thread Handw
+1. I also want to know. -- 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/-/57FbAFJ2ijUJ. To post to this group, send email to

Re: The domain type com.dummyPackage.thriftgen.ClassOtherDTO cannot be sent to the client

2012-02-14 Thread Victor Lujan
Wow, actually you were right SaWo! I did nothing new except using maven clean and maven install and now it works! Thank you so much : ) Thank you too Thomas, I have read some of your articles and they rock. This time the problem was with my use of maven, you couldn't have know about

Re: JSR303 localized messages with RequestFactory

2012-02-14 Thread Jens
Just googled a bit because I have never thought about it and based on the search results I think I would try it the following way (untested): 1.) Send the current client side locale as a HTTP header (e.g. X-GWT-LOCALE) to the server using a custom RequestTransport for RequestFactory (extend

How do I define servlet init-parameters in my .gwt.xml file?

2012-02-14 Thread laredotornado
Hi, I'm using GWT 2.4. How do I define servlet init parameters in my module (.gwt.xml) file when defining a servlet? I'm writing one for testing, but apparently the XML I copied online servlet servlet-nameSaveServlet/servlet-name

Re: chrome vs firefox: on mouse leave/enter event

2012-02-14 Thread lkcl
On Feb 14, 9:58 am, Thomas Broyer t.bro...@gmail.com wrote: I don't have time to try it out with GWT, sorry, but just to add some input to the possible issue: mouseover and mouseout events bubble, so if your mouse enters a child element of the B widget's root element, the event will bubble

Multiple UI Binder XML file for one Widget?

2012-02-14 Thread skippy
This is an interesting question. I have a java widget that uses a UI binder xml file to define some HTML Structure to the widget. WE bind the to like this: public class PortfolioFrozenDateFilterWidget extends TDCBComposite { @UiTemplate(PortfolioFrozenDateFilterWidget.ui.xml) interface Binder

Re: How do I define servlet init-parameters in my .gwt.xml file?

2012-02-14 Thread skippy
Dave: You don't use the Module.gwt.xml file to define servlets. The HTTP Servlet spec and pure java doesn't know about that module.gwt xml. Simply use you normal Web.xml to add servlets for the GWT RPC service calls. The standare onload stuff work just a before. remember, GWT is compiling you

Re: CssResource @def in UiBinder

2012-02-14 Thread Riley
Did you ever figure this out? -- 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/-/ekpjuyU3x_IJ. To post to this group, send email to

Re: Multiple UI Binder XML file for one Widget?

2012-02-14 Thread Jens
Take a look at http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideUiBinder.html#Apply_different_xml -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: How do I define servlet init-parameters in my .gwt.xml file?

2012-02-14 Thread laredotornado
I need this for my GWT test files -- those extending GWTTestCase. GWT test case requires you to define a .gwt.xml file where you define servlets. As far as I can tell, GWTTestCase can't read web.xml files. So, how do I define init parameters for my servlet that can then be processed by

Casting from raw JS to GWT class

2012-02-14 Thread Allyn
We have the following setup: Two GWT-based web pages, built separately but hosted on the same web server and used side-by-side in iframes in the same browser window/ tab. The two web pages both include a common module that defines common data model objects (i.e.POJOs). Instances of these objects

Compiler in Eclipse plugin ignores target/classes

2012-02-14 Thread Marcel Stör
Context: multi-module Maven project in Eclipse Our i18n properties files are generated by a Maven plugin to target/classes (based on some files in src/main/resources). How do I tell the GWT compiler that it should look there when it tries to resolve i18n resources? Currently compilation fails

googlemaps library

2012-02-14 Thread gwt33
Hello, I want to implement googlemap in my GWT application. What is the gwt library to use ? 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

Typical UI Site template convert GWT

2012-02-14 Thread Jimmi
Hi, I am new to GWT. I want to develop this kind http://www.google.com/events/io/2011/sessions.html of UI site with Asynchronous context. I got html template form UI designer. How can I implement this using GWT. What are the step should I follow. I am a Java Developer. Thanks, Jimmi -- You

Unsubscribe mail

2012-02-14 Thread rahul sharma
Please unsubscribe google group mail. -- Thank you. Rahul sharma Contact No:- 9893923514 -- 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

Re: CssResource @def in UiBinder

2012-02-14 Thread Paul Stockley
A somewhat convoluted way of doing this is as follows. The resulting javascript code is actually very good and 99% of the time just the string literal for the def will be included. @def COLOR_ONE #3B5998; @def COLOR_TWO #DFE4EE; @def COLOR_THREE #FF; @def COLOR_FOUR #6792AB; @def

Re: fileupload in gwt

2012-02-14 Thread Amith K Bharathan
Create a servlet in server and config it in web.xml -- 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

Re: Newbie help with HandleManager (eventbus) not registrering handler for event in MVP tutorial (modified)

2012-02-14 Thread Chris Price
I can't see how it's happening in your case (either there's more relevant code or it's very early in the morning!) but I've previously come across a similar problem. The SimpleEventBus, on which HandlerManager is based, uses deferred methods to only apply changes to the handler lists after the

Re: Am I able to write a panel that likes DockLayoutPanel with scroll bar

2012-02-14 Thread linhua
Hi add a DocklayoutPanel to a ScrollPanel won't work. The inner layout panel's height and width will be zero. On 2月10日, 下午3时56分, rsgandhi rsgandhi...@gmail.com wrote: Do you want a master scroll bar for the complete DockLayout panel than the individual areas?? In that case add the

Re: Custom TextBox

2012-02-14 Thread linhua
What I think is, may you be able to write a sub class extends TextBox? Override several method, handle the conversion? On 2月14日, 上午2时44分, Fabricio Pizzichillo fpizzichi...@gmail.com wrote: Hello friends. I need to implement a TextBox that can be assigned an Integer and it shows in this format

Gadget

2012-02-14 Thread brip lawlaw
searching for hours and couldn't find answers..i'm trying to embed google's gadget into my app. embedding the gadget into plain html is fine. but what i'm looking for is HOW to embed the gadget to a GWT app. search results only show how to create a gadget using gwt and not how to use the gadget

Re: Getting length of TextBox value during key event?

2012-02-14 Thread linhua
From my point of view, You can get which key(like del) has been pressed in the event, you also can get event source(the text box). You can write a method to calculate the length yourself. On 2月11日, 上午11时55分, rl rob...@cloud2market.com wrote: During a key event (down,press or up), is there a way

[gwt-contrib] Re: Fix Firefox 3.6 devmode plugin infinite install loop. (issue1642803)

2012-02-14 Thread Alan Leung
For the record: https://bugzilla.mozilla.org/show_bug.cgi?id=726790 They are not interested in fixing anything pre FF40. -Alan On Mon, Feb 13, 2012 at 5:00 PM, Chris Conroy con...@google.com wrote: LGTM On Mon, Feb 13, 2012 at 5:55 PM, acle...@google.com wrote: On 2012/02/13 22:41:01,