Re: ui:image, image within an anchor or a button

2010-05-31 Thread Ray
I got the same situation. Currently my solution is only has anchor in ***.ui.xml image part was added using code. eg: Image myImage = new Image(); monitorOverImage = new Image(); monitorImage.setUrl(IFMResources.INSTANCE.vehicleMonitor().getURL());

Re: Unable to get upload results from FileUpload

2010-05-31 Thread Fahim
Hi Manuel, I am not using GWTUpload library. You are right, It is text/xml issue. It works fine with text/html or text/plain. I already requested server side team to change it for me. Thanks for your help. Fahim On May 29, 11:06 am, Manuel Carrasco Moñino man...@apache.org wrote: Note that in

Nokia Java ME Networking and Messaging Training Course

2010-05-31 Thread James Baker
Just came across this fantastic Java ME training course intended for experienced and intermediate developers interested in adding connectivity features to an MIDP application. This course includes five lectures with incentive lab exercises. The lectures cover Networking, Wireless Messaging API

Re: ui:image, image within an anchor or a button

2010-05-31 Thread Thomas Broyer
On 23 avr, 18:38, Carlos Aguayo carlos.agu...@gmail.com wrote: I'd like to have an image within an anchor or a button tag. I'm using the UiBinder and I need the anchor or button to be a widget so I can use their HasClickHandlers interface. I wanted to use an image widget so I can use an

Re: Optimizing Dev Module with user.agent?

2010-05-31 Thread Thomas Broyer
On 31 mai, 04:27, Andrew Hughes ahhug...@gmail.com wrote: Hi, I'm told that dev mode run's directly against java classes. Could I expect reduced compile+build times by specifying my specific user.agent when running in dev mode? Is the user.agent even used when running in dev mode? No, it

Re: wrapping existing HTML form

2010-05-31 Thread xfyre
I need to wrap an existing HTML instead of creating widgets dynamically, so that end user will have the entire form displayed before initialization of GWT components. But then there is a problem: if you attach RootPanel to an existing div element and then use Widget.wrap ( element ) for

Persisting web pages locally

2010-05-31 Thread bcw
The usual model is a source serving pages, and the source persists the data in various ways. I am writing a note-taking (and other uses) application using GWT. Properly, a lot of the smarts will reside on the server, but I must make choices about persisting the information the user enters. The

Re: GWT 2.0.3: Cross-browser problems still?

2010-05-31 Thread Thomas Broyer
On 31 mai, 01:28, Navigateur naveen.c...@googlemail.com wrote: When I came into GWT I thought it was going to be write-once for all browsers. Since I've been using it, I've had all kinds of cross- browser problems, in particular with events and graphics, and sometimes widgets. And I've had

help with gwtunit test cases, how to access the document?

2010-05-31 Thread jamesmikedup...@googlemail.com
Dear GWT team, thank you so much for this great tool. I am learning a lot, also making progress with the josm port. now I need to find a way to speed this up, so I wanted to write tests for the svg rendering and test that outside of the app in a hosted browser. have a problem with gwtunit, how

Re: An implementation of Selection/Cursor for RichTextArea

2010-05-31 Thread Yanick
If there is a selectAll(); method in the RichTextArea's formatter, having a getSelection(); and a setSelection(Selection); methods would be very nice for this widget. +1 for a more complete text selection API for the RichTextArea -- You received this message because you are subscribed to the

Re: MVP + appController useful for the big projects ?

2010-05-31 Thread Rizen
Yes I think it's probably the best solution for the big project. So now I need to learn it ^^ Thanks very much. On May 30, 7:09 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: i think one of the mvp frameworks could help. gwt-dispatch,gwt-presenter, mvp4g.. there are more.. HTH. Subhro.

Personalized table using thead / tfoot / tbody

2010-05-31 Thread Rizen
Hello everybody ! I'm trying to create a table using thead, tfoot and tbody. Moreover I have to reuse an existing CSS file. This one is using few table properties like thead, tbody, tfoot and others styles name. So I must create a personalized table thanks to the DOM tree. First of all, I tried

Label for form-element using UIBindings

2010-05-31 Thread Stephan T
How do I achieve this code this using UI Bindings? label for=someUniqueFieldIdFirst name/label input type=text id=someUniqueFieldId name=firstname/ -- 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: TabLayoutPanel with scroll buttons

2010-05-31 Thread Matt
Hi, you won't be able to use this custom widget directly within an UiBinder file due to this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4342. You should be able to wrap it into a Composite and then reference that Composite in your UiBinder file though. Hth, Matt On 18

Re: Exporting Grid data to MS-Excel

2010-05-31 Thread achilles.hector...@gmail.com
sorry for the spelling mistake, I am using GWT to create my application. Now i am stuck to this problem. I have more than 3 lakh records. Could you suggest me any other way to export in excel file. If GWTprovide any feature kinly give example or link. On May 30, 12:40 pm, Sripathi Krishnan

Re: Status of Joda/Goda time, future of Date handling

2010-05-31 Thread Paul Stockley
I did that already. There isn't really anything that can easily be removed. There is just a lot of code. The jar is 839kb including source. In java your don't really notice it. I am looking for something more lightweight. On May 30, 9:57 pm, Chris Lercher cl_for_mail...@gmx.net wrote: On May 31,

Re: MVP + appController useful for the big projects ?

2010-05-31 Thread Tristan
gwtp, and handlebars are some others On May 31, 5:35 am, Rizen vianney.dep...@gmail.com wrote: Yes I think it's probably the best solution for the big project. So now I need to learn it ^^ Thanks very much. On May 30, 7:09 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: i think one

Re: How to run a unittest for a class in client folder of gwt which makes Async calls to the server

2010-05-31 Thread Tristan
If you're using EasyMock, this is a very easy way to mock a service. Been using this for a long time. http://robvanmaris.jteam.nl/2008/04/22/test-driven-development-for-gwt-ui-code-with-asynchronous-rpc/ Take a particular look at AsyncCallbackMockSupport class. Cheers! Tristan On May 30, 8:16 

Map-Based Model in Large Scaled Applications

2010-05-31 Thread buz...@gmail.com
Hello, Wanted to share an approach we are using in large scaled enterprise level applications since GWT 1.4 and up to now. http://buzdin.blogspot.com/2010/05/gwt-dynamic-model.html Would be great to know opinion of the community on the Dynamic Model (Generic Transfer Object) approach and

Re: Label for form-element using UIBindings

2010-05-31 Thread Thomas Broyer
On 31 mai, 13:08, Stephan T stephan.tern...@gmail.com wrote: How do I achieve this code this using UI Bindings? label for=someUniqueFieldIdFirst name/label input type=text id=someUniqueFieldId name=firstname/ See https://docs.google.com/Doc?docid=0AQcd-Zsy2T-YZG1mZG5jNl84Z3NkMmJuZHohl=en The

Re: Personalized table using thead / tfoot / tbody

2010-05-31 Thread Thomas Broyer
On 31 mai, 12:53, Rizen vianney.dep...@gmail.com wrote: Hello everybody ! I'm trying to create a table using thead, tfoot and tbody. Moreover I have to reuse an existing CSS file. This one is using few table properties like thead, tbody, tfoot and others styles name. So I must create a

Which is the best: Hibernate, Ibatis, Toplink??

2010-05-31 Thread fomba collins
Hi,     I wish to know which of the following ORMs is the best to use with GWT and why. Regards     -- 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

Re: Persisting web pages locally

2010-05-31 Thread kozura
Well this is the idea behind Google Gears, allowing you to locally persist data in a little lightweight db. Normal js won't allow this due to the myriad security issues; with gears the user installs it and allows client side code to access it. But the status of gears going forward is a little

Re: An implementation of Selection/Cursor for RichTextArea

2010-05-31 Thread kozura
FYI in lieu of getting it into GWT, I posted a standalone library to the issue mentioned above, with some caveats of a few cases that still need addressed. On May 31, 3:55 am, Yanick yanick.roc...@gmail.com wrote: If there is a selectAll(); method in the RichTextArea's formatter, having a

Updating Google App Engine datastore

2010-05-31 Thread Víctor Mayoral
Hello, I've just an applications using GWT and GAE. After reading the docs and doing some examples I decided to begin coding but soon I reach something tricky. My application data would be at the GAE datastore. I want to assume that the app will live. Let me explain this: The entities at the

DockPanel - how to maximize center?

2010-05-31 Thread Magnus
Hi, I use the following code to create my screen. I want a MenuBar at the top and that the content in the middle is always centered: pnl = new DockPanel (); pnl_Center = new VerticalPanel (); pnl_Center.setHorizontalAlignment (VerticalPanel.ALIGN_CENTER);

Rebar: Gears workers, jdbc, and jpa for GWT

2010-05-31 Thread Alex Bertram
Hi all, I just wanted to share the link for a few modules related to GWT / gears / HTML5 that we've recently packaged as open source at http://code.google.com/p/rebar, which includes: * GWT linker for building (Gears) workers, complete with RPC support * JDBC emulation layer that facilitates

Using SliderBar from incubator

2010-05-31 Thread leslie
GWT 2.0.3 Eclipse 3.5 Mac OS X 10.5 Java 5 Hello, I'm attempting to use the SliderBar in the incubator project. The name of the incubator file I've obtained was called gwt- incubator.jar. My import statement for the SliderBar looks like this: import

Re: Persisting web pages locally

2010-05-31 Thread bcw
I understand Gears allows local storage of remotely sourced web data. I don't know of any way it solves the problem of embedding PNG in a locally saved html file so the file can be viewed on a machine which doesn't have my server installed, and which may not be connected to the network at the

Re: Help to find only clickable panel except focuspanel

2010-05-31 Thread Stefan Bachert
Hi Deepak, I tried your corrected code (I use g: instead of gwt, gwr). However, no input are is created. I am using FF. May this is a workaround for other browser. Did you checked the issues? -- container.getElement().getChild(container.getTabIndex()).removeFromParent(); Please

Re: Personalized table using thead / tfoot / tbody

2010-05-31 Thread Stefan Bachert
Hi, when you are trying to re-use existing css, you need to create exactly the same structure. This means: either a GWT-widget supports this structure, or you have to build one of your own. It seems that you are going the latter, but this is tedious. Stefan Bachert http://gwtworld.de On 31 Mai,

Re: Persisting web pages locally

2010-05-31 Thread Stefan Bachert
Hi, Gears supports this but Gears will discontinue further development. The reason is that HTML5 will support some way of persisting data on the client. However, this means that you have to use a Html5 capable browser. And IE is not. Stefan Bachert http://gwtworld.de On 31 Mai, 10:46, bcw

Re: Personalized table using thead / tfoot / tbody

2010-05-31 Thread jocke eriksson
Sounds like something the ui binder and html panel can solve. 2010/5/31 Stefan Bachert stefanbach...@yahoo.de Hi, when you are trying to re-use existing css, you need to create exactly the same structure. This means: either a GWT-widget supports this structure, or you have to build one of

Re: SplitLayoutPanel, Resizing

2010-05-31 Thread Stefan Bachert
Hi Kirt, FF has a problem using absolute mode with input and resize. When your problem is just an extension of this bug, there is a fix available. http://code.google.com/p/google-web-toolkit/issues/detail?id=4348 Stefan Bachert http://gwtworld.de On 31 Mai, 06:27, kirtcathey

Calling Methode using JSNI failed

2010-05-31 Thread malibubu
Hi, I've the following class: package de.test; public class Designer { public native void addNode() { alert(Pre JSNI); th...@de.test.designer::sendNode(Ljava/lang/String;Ljava/land/ Integer)(TEST,100); alert(Post JSNI); } void sendNode(String id, Integer x) { GWT.log(It Works!); }

Re: Calling Methode using JSNI failed

2010-05-31 Thread kozura
Maybe try with int x and use I instead of the Integer class. Also even as is, your Integer method signature isn't quite right: land- lang. On May 31, 3:15 pm, malibubu webmas...@mailball.de wrote: Hi, I've the following class: package de.test; public class Designer { public native void

Re: Calling Methode using JSNI failed

2010-05-31 Thread malibubu
Sorry, this was a typo. I also tried the signature th...@de.test.designer::sendNode(Ljava/lang/String;I)(TEST,100); with methode sendNode(String id, int x) Same problem :( On 31 Mai, 23:48, kozura koz...@gmail.com wrote: Maybe try with int x and use I instead of the Integer class.  Also

GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-05-31 Thread googelybear
Hi, When I compile my gwt project via ant I regularly get the following error '[java] Invoking com.google.gwt.dev.javac.standardgeneratorcont...@28e4f4ad [java][ERROR] Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator' threw threw an exception while

Re: Using SliderBar from incubator

2010-05-31 Thread Jim Douglas
Leslie -- We had to fine-tune the incubator classes to work with GWT 2.x; you're welcome to our tweaked versions of SliderBar, ProgressBar, and Spinner. (We've also added vertical orientation to the SliderBar and ProgressBar.) I can't figure out how to send attachments to the list -- let me

Re: GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-05-31 Thread Chris Lercher
Hi, are you on Linux? There's a limit of open files you can have. Google for Too many open files to find a solution. Here's a good page: http://confluence.atlassian.com/display/CONF29/Fix+'Too+many+open+files'+error+on+Linux+by+increasing+filehandles If your parameters are in a normal range

Re: GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-05-31 Thread Saima Waseem
*Make and extra income from home. International company seek motivated individuals to work from home. Positions available data entry, research and more* ** *http://www.clicknearn.net/3527-8.html* ** *http://www.clicknearn.net/3527-79.html* ** *http://www.clicknearn.net/3527-81.html* **

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-05-31 Thread Mike Jiang
Don't get it. Please show your good design in an understandable style. On Fri, May 28, 2010 at 4:49 PM, federico federico.mona...@gmail.comwrote: bad design. refresh is a feature and you should provide bokmarkable refresh-save pages. On 28 Mag, 20:42, Mike J mikej1...@gmail.com wrote:

Re: Calling Methode using JSNI failed

2010-05-31 Thread Jim Douglas
You should start by carefully reading the JSNI documentation: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html A simple JSNI method looks like this (note the specially formatted

Need a way to get width of each column in a Grid

2010-05-31 Thread spierce7
I'm trying to find a way to get the specific width of each column individually within a grid. Height isn't as important, but I wouldn't mind knowing that either. I don't need the table total width, but rather specific columns. Getting the absolute location of a cell, column, or row might also

Re: How can I prevent from reloading the page when the reload button on browser is clicked?

2010-05-31 Thread Ranjan
It is not possible to avoid refresh(reload) through scripts. The only possible thing is you could display an alert message through the browser which provides the User with option to either stay on the page or leave it. Which is what is done in the CloseHandler in your example script. What

Re: Need a way to get width of each column in a Grid

2010-05-31 Thread spierce7
Never mind guys. Figured it out. Just in case there are any searches: public CellFormatter cellFormatter = new CellFormatter(); public Element cellElement; and then I made 2 methods that I found very useful within my class that extends Grid: public int getColumnWidth(int column) {

[gwt-contrib] Re: Improving event handling, as initiated in 1.6

2010-05-31 Thread Brendan Kenny
Rob -- You might have already seen this, but Thomas created a wave on the topic to get things moving https://wave.google.com/wave/#restored:wave:googlewave.com!w%252Bux7zL81XA post I/O seems to be the general timeframe, but I know I'm eager to help create a more extensible system as well. Many

[gwt-contrib] CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
I'm working on a distributed build system for gwt and I seem to have run into 2 problems. First problem is related to UiBinder. Once I transfer all the files to the remote machine (that is src, required jars and result emitted by precompile step) I changed the classpath context and executed

Re: [gwt-contrib] CompilePerms and classpath loading problem.

2010-05-31 Thread Scott Blum
On Mon, May 31, 2010 at 12:41 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I'm working on a distributed build system for gwt and I seem to have run into 2 problems. First problem is related to UiBinder. Once I transfer all the files to the remote machine (that is src, required jars

[gwt-contrib] Re: Introducing PrunerTest. It generates 85% of branch coverage for Pruner. (issue474803)

2010-05-31 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/474803/diff/12001/13009 File dev/core/test/com/google/gwt/dev/jjs/impl/OptimizerTestBase.java (right): http://gwt-code-reviews.appspot.com/474803/diff/12001/13009#newcode29 dev/core/test/com/google/gwt/dev/jjs/impl/OptimizerTestBase.java:29: * Test case

[gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
On May 31, 7:20 pm, Scott Blum sco...@google.com wrote: On Mon, May 31, 2010 at 12:41 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I'm working on a distributed build system for gwt and I seem to have run into 2 problems. First problem is related to UiBinder. Once I

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-05-31 Thread Marko Vuksanovic
I just tried classLoader.getResource(hr/example/orka/ client/panels/MainPanel.ui.xml) and this worked ok. The resource was correctly fetched. On Mon, May 31, 2010 at 7:42 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: On May 31, 7:20 pm, Scott Blum sco...@google.com wrote: On Mon,