How to mark a field as completely hidden for smartgwt ListGrid?

2012-01-04 Thread Daniel
Hi guys, How to mark a field as completely hidden for smartgwt ListGrid? I do listGridFields[i].setHidden(true) according to API,But it still could be able to show the field via a context menu. and the API said 'canPickFields' has been set false can solve this problem,but where the canPickFields

Re: Basic question on activity and places

2012-01-04 Thread Thomas Broyer
No, but you can store the last activity you returned; this is exactly what the CachingActivityMapper does: it'll only call your (wrapped) ActivityMapper if the Place is different than the previous one, and returned the cached activity otherwise. Put it behind a FilteredActivityMapper so you can

Re: MVP scroll position is reset on place change

2012-01-04 Thread Thomas Broyer
How about also reusing the same activity instance? that way, it won't be stopped/restarted, and so its view won't be detached/reattached, and the scroll position should be maintained. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-04 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=7065 -- 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/-/bx9ip3V_6pcJ. To post to

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Thomas Broyer
You'll have to define that getId() here, only to have a reference to JobHistoryPK. Maybe @ExtraTypes would work but I haven't tried it; defining a getId() (even if you don't use it) will definitely work though (and if you don't include a with(id), it won't add any bloat to the payloads on the

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Thomas Broyer
How about the getStartDate()? -- 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/-/7lt7HNcvvxcJ. To post to this group, send email to

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Elhanan Maayan
What about iT ? On Jan 4, 2012 12:19 PM, Thomas Broyer t.bro...@gmail.com wrote: How about the getStartDate()? -- 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: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Thomas Broyer
The getStartDate() getter is not public in your class, but mapped on the proxy. -- 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/-/1hEEmGCyBNYJ. To

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Elhanan Maayan
You mean everything must be public? On Jan 4, 2012 12:23 PM, Thomas Broyer t.bro...@gmail.com wrote: The getStartDate() getter is not public in your class, but mapped on the proxy. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Automatic compiling in Hosted Mode

2012-01-04 Thread Adolfo Panizo Touzon
Hi everybody, I succeeded the step deploy my GWT app to an external server (in my case WebSphere). This step is easy (herehttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's ). Now, I'm trying to compile

gwt

2012-01-04 Thread Amrutha Thomas
can anyone tell me how to move cursor position from one text box to another textbox and so on by onclicking a button using tabindex?? -- with best regards, Amrutha -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

gwt application using hibernate and postgresql

2012-01-04 Thread Stefanos Antaris
Hi to all, i have implemented a new gwt application without any app engine integration and i need to use postgresql as a database . I have managed to integrate postgresql but one of the prerequisites is to use hibernate. I am searching for about 2 days for a solution but i haven't found any and

Re: DateBox formatting help

2012-01-04 Thread Vik
Thanks a lot! Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Tue, Jan 3, 2012 at 6:38 PM, Thomas Broyer t.bro...@gmail.com wrote:

Re: GWT tutorial stockwatcher

2012-01-04 Thread ang
Hi to everybody, j'm new to gtw (sorry for my english) I have a problem with the tutorial in question ... in step 5 [url]http://code.google.com/intl/it-IT/webtoolkit/doc/1.6/tutorial/ codeclient.html[/url] how come when I click on button remove the symbol variable contains the value

gwt virtual keyboard shift key

2012-01-04 Thread Amrutha Thomas
How can I code for a button to act as a shift key?? -- with best regards, Amrutha -- 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: GWT tutorial stockwatcher

2012-01-04 Thread Amrutha Thomas
Button removeStockButton = new Button(x); removeStockButton.addStyleDependentName(remove); removeStockButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { removeStock(symbol); } });

Re: gwt application using hibernate and postgresql

2012-01-04 Thread Harpal Grover
Gilead is the tool you're looking for. Google it to get started. I use it for my hibernate + postgres projects. On Jan 4, 2012 6:41 AM, Stefanos Antaris ssanta...@gmail.com wrote: Hi to all, i have implemented a new gwt application without any app engine integration and i need to use

Re: Basic question on activity and places

2012-01-04 Thread sri
Thanks Jens. A quick followup question. You have mentioned Display Area. From the response, I take it a Place is bigger than a display area and multiple Display Areas make up a place.right? So if there is one ActivityMapper per Display Area, which would indicate multiple ActivityMappers per Place,

Testing GWT1.6 App with JUnit

2012-01-04 Thread Rohit Gupta
Hey everyone I have just inherited :) a legacy project using GWT 1.6 and running on Glassfish V2.1 server. The server side component is EJB3.0. I want to develop unit tests to test the GWT app. Here is the sample test case I wrote - /** * */ package com.tf.sea.test; import

GWTTestCase possible issue (SmartGWT DMI call)

2012-01-04 Thread Patrick
There seems to be cases where GWTTestCase fails. One example I have run into is when trying to do a SmartGWT DMI RPC call within the GWTTestCase. SmartClient seems to think there may be an issue in the GWTTestCase that is causing this. Here is a couple of posts referencing this on their forums.

Re: gwt application using hibernate and postgresql

2012-01-04 Thread Patrick Julien
I think you should use RequestFactory in conjunction with guice-persist. It works with any JPA layer. -- 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: Basic question on activity and places

2012-01-04 Thread Jens
A quick followup question. You have mentioned Display Area. From the response, I take it a Place is bigger than a display area and multiple Display Areas make up a place.right? Yes, you could say it that way. A place is just an abstract tool that allows you to navigate through your

How do I troubleshoot Something other than a Java object was returned from JSNI method error?

2012-01-04 Thread laredotornado
Hi, I'm using GWT 2.4. Occassionally, I'll get errors like the below -- Something other than a Java object was returned from JSNI method. In this case, the closest line in my code (line 366) is String type = nativeEvent.getType(); where nativeEvent is of type

Re: Abridged summary of google-web-toolkit@googlegroups.com - 56 Messages in 24 Topics

2012-01-04 Thread xavier . ivanez
NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et leur professionnalisme sous le nom de JPA CONSULTANTS SA . Par ce partenariat, nous nous améliorerons sur les points suivants : • Logiciel :

Re: Abridged summary of google-web-toolkit@googlegroups.com - 56 Messages in 24 Topics

2012-01-04 Thread Ian Bambury
Can't someone ban this git? 2012/1/4 xavier.iva...@borealinformatique.com NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et leur professionnalisme sous le nom de JPA CONSULTANTS SA . Par ce

Call garbage collector

2012-01-04 Thread Twentyseven
Hello, I'd like to call the browser's garbage collector. I did some tests with the inspect function in Chome and the button to call the gc but I'd like to do this automatically in my GWT application. I've seen in the JRE emulation reference that the System.gc() method was emulated, but after

Re: GWTTestCase possible issue (SmartGWT DMI call)

2012-01-04 Thread Sanjiv Jivan
The the issues with GWTTestCase that relate to the second thread are 1) GWTTestCase does not execute the onModuleLoad() of EntryPoint's specified in any inherited module and 2) GWTTestCase does not execute any linkers specified in inherited modules Sanjiv On Wed, Jan 4, 2012 at 8:26 AM,

Re: Basic question on activity and places

2012-01-04 Thread Thomas Broyer
#ShamelessPlug Places and Activities 101: 1. http://tbroyer.posterous.com/gwt-21-places 2. http://tbroyer.posterous.com/gwt-21-places-part-ii 3. http://tbroyer.posterous.com/gwt-21-activities 4. (and where you're at it: http://tbroyer.posterous.com/gwt-21-activities-nesting-yagni

Re: How do I troubleshoot Something other than a Java object was returned from JSNI method error?

2012-01-04 Thread Thomas Broyer
Short answer: switch from Chrome to Firefox for DevMode Long answer: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778#c65 -- 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 troubleshoot Something other than a Java object was returned from JSNI method error?

2012-01-04 Thread Sean
The plugin for FF gets out of date so quickly, that it becomes almost easier to use Chrome. I wish it wasn't, cause I can't stand getting the DO YOU WANT TO STOP THIS PLUGIN from Chrome while debugging every 30s. But it is good to know that its Chrome dependent and nothing something I or Google

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Elhanan
i'm beginning to think something is messed up here, in my attempt to simply stuff i created another embedded class called contacts , for the employee class it has only 2 fields of string values. my first run failed with the must run validation tool exception, so i did what i nomally do in sich

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Thomas Broyer
I suspect it's *Eclipse* which messes things up actually. -- 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/-/uVKVMjPledMJ. To post to this group,

Re: what could POSSIBLY be non transportable in this ValueType?

2012-01-04 Thread Elhanan Maayan
*yea, i think there's a bug somewhere about it. * On Wed, Jan 4, 2012 at 7:26 PM, Thomas Broyer t.bro...@gmail.com wrote: I suspect it's *Eclipse* which messes things up actually. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Gwt Scheduler / TimeLine / Gantt charts

2012-01-04 Thread Rasmus Ersmarker
If you are interested in the a Scheduler, TimeLine or Gantt component for GWT please check out the Gxt Scheduler and Gxt Gantt components. http://www.gxt-scheduler.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Requestfactory: How to send a HTTP status code to the client

2012-01-04 Thread Andreas
Hi, what is the recommended way to inform the client about a 404 Not Found or a 401 Unauthorized? Greetings Andreas -- 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: Automatic compiling in Hosted Mode

2012-01-04 Thread Galache
AFAIK, you can´t do that. For deploy your GWT app in an external server you need to compile it. GWT Dev mode doesn´t generate the permutations. On 4 ene, 12:06, Adolfo Panizo Touzon adolfo.pan...@gmail.com wrote: Hi everybody, I succeeded the step deploy my GWT app to an external server (in my

[ANN] tessell 2.0 released

2012-01-04 Thread Stephen Haberman
Hi, I've been working on a MVP framework that automates a lot of the display/view aspects of MVP. It also includes some rich models (properties, etc.) to do Backbone/etc.-style model/view bindings. The two make for a fairly compelling setup, IMO. Previously, the framework was called gwt-mpv,

Re: gwt application using hibernate and postgresql

2012-01-04 Thread Rob
Hi, Check out this post re GWT, JPA, Hibernate and HSQLDB: - http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb You just need to update persistence.xml for the sample to work with PostgreSQL. Cheers Rob On Jan 5, 12:42 am, Patrick Julien pjul...@gmail.com wrote: I think you

Re: Add packages to GWT project

2012-01-04 Thread karim duran
Hi Franco, Of course you can And I should say you must... GWT is a convenient technical framework, but it don't solve your business problem or your application focus domain. In Eclipse ( view project ) just right clic on your GWT project and new-package, name it just say com.franco ( for

Tips on handling ScrollPanel in UiBuilder

2012-01-04 Thread Thad
I'm trying to figure out how to place a view inside a ScrollPanel so some on a laptop can use it but someone with a full screen won't be bothered with scrollbars. My top level looks like this: g:LayoutPanel g:layer g:SimpleLayoutPanel ui:field='menuPanel' cold:MenuViewImpl

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-04 Thread Aidan O'Kelly
Don't give the ScrollPanel an explicit height, as it will get it from the layer. Generally you should be setting the top/height/etc attributes on the g:layer rather than on the Widget it contains, this is what happens when you call setWidgetTopHeight etc. Do give the 'filters' widget an explicit

Re: GWT application freezes when new version is deployed while using it

2012-01-04 Thread Kyle Baley
Thanks Thomas. This helped us find the ultimate root of the problem. We had mapped a servlet (quite by accident) to a URL pattern that matched our module name. So after deploying a new version, requests to the old .cache.js files were being picked up by this servlet rather than throwing a 404

Overlapping or overlaying images, while keeping handlers independent

2012-01-04 Thread Lynn
I'm trying to use one image as a base image, on which I have multiple smaller images that may or may not overlap, each with a unique mouse- enter handler. I heard using AbsolutePanel can allow me to choose an absolute position on the page to place my images, but overlapping images will inherit

gwt gui with no servlet container

2012-01-04 Thread Sebastian Gurin
Hi all. This is my first message to the group. I'm a contributor on a similar project at j2s.sf.net. Tried GWT some years ago and didn't like it, but now, it has improved a lot. My congrats to the authors! keep the good work. Now my question, I would like create a simple html site, with no

Ipad Iphone Keyboard will not popup with GWT textbox

2012-01-04 Thread fishbone
I have a pretty basic GWT/GAE app that uses a single textbox. The textbox works good in Firefox, IE, Chrome, Safari on Mac, and Andriod, but the Textbox does not work on Iphone or Ipad. When clicking the text box in Iphone/Ipad, nothing happens. The keyboard does not popup therefore the user

gwt gui with no servlet container

2012-01-04 Thread Sebastian Gurin
Hi all. This is my first message to the group. I'm a contributor on a similar project at j2s.sf.net. Tried GWT some years ago and didn't like it, but now, it has improved a lot. My congrats to the authors! keep the good work. Now my question, I would like create a simple html site, with no

Re: Requestfactory: How to send a HTTP status code to the client

2012-01-04 Thread Thomas Broyer
Answered on SO: http://stackoverflow.com/q/8728243/116472 -- 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/-/qQJyETXujIEJ. To post to this group,

Issues with -XdisableClassMetadata and -XdisableCastChecking

2012-01-04 Thread Gal Dolber
Hi, After making some random changes to a project it stopped working on chrome (only the compiled version and only when compiling obfuscated). Pretty hard to debug, and I actually never found the problem. It occurred to me to disable the compilation flags -XdisableClassMetadata and

Styles broken after adding app to a website.

2012-01-04 Thread Nano Elefant
Hello, adding my app to a website causes the websites css styles to interfere with the GWT css styles. Any ideas how this can be fixed? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

[gwt-contrib] Re: Fix this-window confusion in DevMode (issue1620805)

2012-01-04 Thread jat
But the point is it is almost certainly an error to call a method on a null value, and catching it in DevMode would be better than replicating the behavior of prod mode in this case. http://gwt-code-reviews.appspot.com/1620805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix this-window confusion in DevMode (issue1620805)

2012-01-04 Thread stephen . haberman
Agreed it's almost certainly an error, I just assumed drifting DevMode to be stricter than prod would end up as another bug report down the road (hey, this failed in devmode, but not in my production app). Perfectly willing to defer to you guys though; my original spike for this did use a Java

[gwt-contrib] Re: Fix issue 6834. (issue1609804)

2012-01-04 Thread rdayal
http://gwt-code-reviews.appspot.com/1609804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix this-window confusion in DevMode (issue1620805)

2012-01-04 Thread stephen . haberman
Okay, updated the patch. Within the rewritten JSNI methods, before making the jump to javascript, we check for null instances (assuming the method isn't static). http://gwt-code-reviews.appspot.com/1620805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix this-window confusion in DevMode (issue1620805)

2012-01-04 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1620805/diff/8001/dev/core/src/com/google/gwt/dev/shell/JavaScriptHost.java File dev/core/src/com/google/gwt/dev/shell/JavaScriptHost.java (right):