Map not displayed in broaser after adding map api.jar also...

2011-05-02 Thread Ram
I have included GWT Maps api.jar file in my GWT Project build path.Then i try sample program given by GWTI did all same as instructed by that samplebut the map is not displayed in my browser when i run my project... What is the Problem here...Also i noticed, when i try try to comp

Re: how to reposition the popup when window gets resized

2011-05-02 Thread newbee
Thanks guys. I will try this ResizeHandle solution and will post it if that works well. On May 2, 9:24 pm, Ben Imp wrote: > I believe the center() method on the dialog will re-center a dialog even if > its already visible.  Stick that into a resize handler and you should be > good to go. > > -Ben

how do u capture click events in cellbrowser

2011-05-02 Thread alexl
hi, I want to make cellbrowser consisting of albums and photos, and when you click on a photo (ImageCell) the id is returned, how do you capture those events thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

Re: Offline map functionallity GWT

2011-05-02 Thread chris
GWT 2.3 seems to have a Local Storage API, maybe that can be used to do what you need. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

SmartGWT, UIBinder and GWT Designer

2011-05-02 Thread richip
Has anyone successfully used the above products / technologies to create a UIBinder GUI object that's editable in GWT Designer and makes use SmartGWT? Can you send me some tips? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th

Re: Problems with Godaddy hosting and server-side deserialization

2011-05-02 Thread Alan Chaney
Joe On 5/2/2011 3:26 PM, Joe D. wrote: Alan, Do you have suggestions for hosting providers that you are happy with. I'm so sick of NoDaddy and trying to fit a square peg (eg GWT) into a round hole (eg CrapDaddy). *Webhostingjava.net *looks interesting. I've used what was thePlanet but has now ev

Re: Problems with Godaddy hosting and server-side deserialization

2011-05-02 Thread Joe D.
Alan, Do you have suggestions for hosting providers that you are happy with. I'm so sick of NoDaddy and trying to fit a square peg (eg GWT) into a round hole (eg CrapDaddy). *Webhostingjava.net *looks interesting. There's of course the appengine route, but wouldn't I have to covert my existing

Re: dynamic GWT page creation based on Java Bean

2011-05-02 Thread David Chandler
Hi Ajay, GWT doesn't generate dynamic HTML pages like server-side frameworks. The GWT compiler produces highly optimized JavaScript that runs in the browser. Also, the GWT compiler doesn't support reflection, so you can't parse an arbitrary Java type at runtime. You could, however, use GWT's Reque

Re: How to select a row on click of any cell in that row - Celltable

2011-05-02 Thread Alexandre Ardhuin
Define a SingleSelectionModel and add it to CellTable : final SingleSelectionModel ssm = new SingleSelectionModel(); cellTable.setSelectionModel(ssm); ssm.addSelectionChangeHandler(new Handler() { @Override public void onSelectionChange(final SelectionChangeEvent event) { final

dynamic GWT page creation based on Java Bean

2011-05-02 Thread Ajay
Hi, I have one use case and want to know whether we can achieve it through GWT or not. I have a XML which has set of elements along with their property.This configuration gets persisted in DB and later point of time based on user request we load the configuration and convert it into some kind of b

Re: Probleme when compiling gwt project

2011-05-02 Thread nino ekambi
Hi David, It looks like i had a broken workspace. Switching to another one solved the problem. Thank you. Alain 2011/5/2 David Chandler > Can you supply sample code so we can reproduce this and research it? > > On Sun, May 1, 2011 at 4:11 AM, nino ekambi > wrote: > >> Hello people, >> >> i m

Re: Offline map functionallity GWT

2011-05-02 Thread Eric Ayers
The underlying javascript api requires an Internet connection. If you are providing your own map tiles you might be able to use openmaps or a gwt project called Saschamaps in combination with gears or html5 persistence. On May 2, 2011 11:51 AM, "qperez" wrote: > Hi, is there any way to obtain off

Re: How to extend GWT Module to Dynamic Web Module with Maven?

2011-05-02 Thread David Chandler
Hi sipungora, This info is pretty outdated. With Google Plugin for Eclipse 2.x, you can simply Import | Existing maven project, point it to your POM, and the project will be configured correctly. Provided you have the correct POM, of course. Here are several you can look at: http://code.google.c

Re: removing focus border from CellTable cells

2011-05-02 Thread Jeff.Lowery
If you can add a class name to the table, you can try this: .table-class-name td { border-style: none; } Which will remove all table cell borders on selection -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

How to extend GWT Module to Dynamic Web Module with Maven?

2011-05-02 Thread sipungora
Hi, My problem: on the page: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/39e0ff6325e4d504/55bfd342d77ec910?pli=1 one explains how gwt-module can be extended to Dynamic Web Module in order to be deploybar into eclipse tomcat. I've configured my pom so, that item 3 will

Re: Probleme when compiling gwt project

2011-05-02 Thread David Chandler
Can you supply sample code so we can reproduce this and research it? On Sun, May 1, 2011 at 4:11 AM, nino ekambi wrote: > Hello people, > > i m getting this error when compiling my GWT Project : > > [ERROR] Unexpected > java.lang.ArrayIndexOutOfBoundsException: -1 > at > org.eclipse.jdt.internal.

Re: Downloading older GWT plugin versions

2011-05-02 Thread Chris Conroy
The plugin ships with an SDK, but that doesn't mean you must use that SDK with the plugin: Right click on your project -> Google -> Web Toolkit Settings -> Configure SDKs. On Mon, May 2, 2011 at 10:45 AM, tharkun wrote: > Hi, > > I am trying to set up a co-worker with my GWT based project, whic

Re: how to reposition the popup when window gets resized

2011-05-02 Thread Ben Imp
I believe the center() method on the dialog will re-center a dialog even if its already visible. Stick that into a resize handler and you should be good to go. -Ben -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

Re: Application need to be recompiled on a Tomcat server ? It's a GWT Maven Project ?

2011-05-02 Thread Thomas Broyer
Best solution is to *not* launch DevMode using your src/main/webapp as the war folder. See http://code.google.com/eclipse/docs/faq.html#gwt_with_maven -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

Re: how to reposition the popup when window gets resized

2011-05-02 Thread mike b
If you find an elegant solution, please post it. I have the same thing on my to do list. Thx -- 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

Downloading older GWT plugin versions

2011-05-02 Thread tharkun
Hi, I am trying to set up a co-worker with my GWT based project, which I started on GWT 2.2.0. Obviously, if he tries to install the Google Plugin via update-site, he's going to get version 2.2.1 and you can't simply install older versions from the update-site. Unfortunately however, you also can

Data-binding, Konckout.js

2011-05-02 Thread Artem Nikulchenko
I've recently seen Knockout.js presentation at MIX 11 and it looks amazing. It removes all boilerplate code around data-binding and looks really amazing!!! We do have a lot of development in both GWT and Silverlight, and Silverlight data-binding is probably the only advantage left (and we really mi

HasDataEditor + CellTable

2011-05-02 Thread erank
Hi all, I'm looking for a good example howto write an editor for a CellTable. I understand that I need to use the HasDataEditor of ListEditor but I can't find anything about it.. Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Offline map functionallity GWT

2011-05-02 Thread qperez
Hi, is there any way to obtain offline map functionallity for a GWT application? We are using GWT 2.1 with gwtmaps module from google apis, but the map goes away as soon as our computer goes offline. we need to implement some kind of offline functionallity. Thanks in advance, Ana -- You received

Application need to be recompiled on a Tomcat server ? It's a GWT Maven Project ?

2011-05-02 Thread Alexis10
Hi, I had this common error of compilation of Maven GWT project: # "GWT module 'www.mysociety.Application' may need to be (re)compiled" # I tried several things I can found on the web, during 3 days. People says always to "add ?gwt.codesvr=127.0.0.1:9997 after the url" without understanding tha

Get the underlying object in a chart using onSelect event

2011-05-02 Thread Gopi Krishnan Nambiar
Hi, Is there any way to get hold of the underlying object, whose row has been selected in an orgChart ? I am only able to get the row, using the selection event as of now. The intent is to populate the an employee's details based on which employee is clicked on in the orgChart. Thanks in advance.

Unable to get result object from Service layer

2011-05-02 Thread Debolina Dan
Hi All, I am trying to get the result object from service layer through handler, i am getting this error "org.springframework.transaction.UnexpectedRollbackException: Transaction rolledback because it has been marked as rollback-only" Service layer code is : public VerifyDataResult verify

CellTable colspan or rowspan...

2011-05-02 Thread scarlatine
Hi! I need to merge cells with same data in a CellTable. I have seen this thread https://groups.google.com/d/topic/google-web-toolkit/K0YBv819i70/discussion, but where can I put "cellTable.getRowElement(row).getCells().getItem(column).setRowSpan(rowSpan);" to use it when the table receives its

Re: CellTree with CellTable nodes

2011-05-02 Thread lamre
Cell cell = new AbstractCell("click") { @Override public void render(Context context, Cartella value, SafeHtmlBuilder sb) { sb.appendEscaped(value.getDescCartella());

Re: CellTree with CellTable nodes

2011-05-02 Thread lamre
Cell cell = new AbstractCell("click") { @Override public void render(Context context, Cartella value, SafeHtmlBuilder sb) { sb.appendEscaped(value.getDescCar

Re: How to update CellTable's Header Cell based on action in data table

2011-05-02 Thread Jason
Darn it! I think I was just staring at my code for too long last Friday. Thanks Thomas! I was successfully able to update my header cell's value in the onSelectionChange method of my SelectionHandler and call redrawHeaders() which successfully re-renders the header cell. I'm not sure how I miss

req.getContentLength() returns -1, what is wrong ???

2011-05-02 Thread Manvel Saroyan
Hi. I'm using current validation code on my HTTPServlet to check if the user uploads big files: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { long maxSize = 1024*1024 * 1; //Limit 50 MB int contentLength = req.getContentLength(); if (

Re: GWT - Capture values of dynamically created components

2011-05-02 Thread Alisson Prestes
You can - use a simple ArrayList to store the values and - other ArrayList to store the widgets - create a function to update the values in the values ArrayList, that receives a integer that represents the position you're altering - create a click handler for each hyperlink with a c

GWT - Capture values of dynamically created components

2011-05-02 Thread Bhavin
Hi, I have a GWT page with 2 text boxes, 1 hyperlink and 1 button initially (on page load). When I click on the hyperlink, I add another text box (dynamically without refreshing the page). Now when I click the button, I need to capture the values that lie in all the three text boxes. How can I do

Re: how to reposition the popup when window gets resized

2011-05-02 Thread jhulford
Use a Window ResizeHandle and reposition your dialog when the window is resized. On May 2, 9:16 am, newbee wrote: > Hi All, > > I am using popups in my application and I am positioning them at > absolute left and right of some other widget. Now the problem is that > when i resize the window then

how to reposition the popup when window gets resized

2011-05-02 Thread newbee
Hi All, I am using popups in my application and I am positioning them at absolute left and right of some other widget. Now the problem is that when i resize the window then the relative widget left and right are changing but the popup is still staying at the old position Is there anyway I can rep

DataPicker Validation

2011-05-02 Thread Manvel Saroyan
Hi... please tell me is there a way to make a Datapicker value validation ? When I enter wrong value datePicker changes it's style making background red... so if DatePicker can recognise did I enter valid value I think there will be also method to check that validation for example on button click

Re: With GWT, when exactly do you need DTOs for your entities ?

2011-05-02 Thread dmen
There is a catch however! You cannot safely use CascadeType.MERGE with "ToMany" associations. If you do, JPA will automatically delete the nullified collections when you sent those entities back to the server. On May 2, 1:45 pm, dmen wrote: > I do use the same approach, though with Spring MVC Co

Overriding RemoteServiceServlet.checkPermutationStrongName()

2011-05-02 Thread Ice13ill
Hello, i get this exception "java.lang.SecurityException: Blocked request without GWT permutation header" in my app, but only at some user requests. If i override the method checkPermutationStrongName() in the remote servlet (which checks a request header) by leaving it empty, will that cause secur

Re: With GWT, when exactly do you need DTOs for your entities ?

2011-05-02 Thread dmen
I do use the same approach, though with Spring MVC Controllers + XStream instead of GWT RPC. https://github.com/scumm/mojo/tree/master/mojo-dao/src/main/java/mojo/dao/util On May 1, 10:27 pm, Celinio wrote: > Thanks for pointing it out. > Well, apparently the author created a class, HibernateFil

Aw: After using GIN,all events registered by @UiHandler don't work.

2011-05-02 Thread Jens
I never had a problem with GIN and @UiHandler. You can add a -gen to your run configuration to see what code GWT generates. Seems to be very unlikely that @UiHandler does not work but everything else does. -- You received this message because you are subscribed to the Google Groups "Google Web

Re: Using Google Closure Library within GWT JSNI .....

2011-05-02 Thread nino ekambi
I was just wondering what s the best way to go ? GWT oder Closure oder botch ? maybe some one can explain to me the strengh of closure compare to gwt ? Thank 2011/5/2 Broc Seib > I just went down this road (with success). I've been using GWT, but I > really wanted to use a Closure menu butt