SmartGwt ListGrid Issue

2012-01-05 Thread ankit
there is a kind of bug in this example http://www.smartclient.com/smartgwt/showcase/#grid_editing_modal. in this example, listgrid edit event is set double click countryGrid.setEditEvent(ListGridEditEvent.DOUBLECLICK). and it works fine as shown there. checkbox field didnt get checked/unchecked on

Re: gwt gui with no servlet container

2012-01-05 Thread Mark
GWT doesn't require you to make any server calls so while I've never done something like that there should be no reason that it cannot be done. On Jan 4, 2:54 pm, Sebastian Gurin sgu...@softpoint.org wrote: Hi all. This is my first message to the group. I'm a contributor on a similar project

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

2012-01-05 Thread Kyle Baley
Now that I've determined our problem, I have another question. Is there a clean way to *not* require the user to refresh the page? -- 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 application freezes when new version is deployed while using it

2012-01-05 Thread Raphael André Bauer
On Thu, Jan 5, 2012 at 1:39 PM, Kyle Baley k...@baley.org wrote: Now that I've determined our problem, I have another question. Is there a clean way to *not* require the user to refresh the page? Don't think that's possible, but you can do the refreshing user friendly by simply reloading the

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

2012-01-05 Thread Thomas Broyer
Maybe keeping the old *.gwt.rpc files around (provided you didn't change the remote service interfaces and transported types), or maybe it was a feature of the abandoned deRPC (ever noticed that Google Groups –which uses GWT-RPC– regularly asks you to reload the page to get the newer version?

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

2012-01-05 Thread Thomas Broyer
Oh, forgot to say RequestFactory doesn't have this issue that GWTP-RPC has, and/or can be tweaked (@PropertyName and/or ServiceLayerDecorator) so that the server can handle requests from different versions of the app (and/or new versions of the app generate bakwards-compatible messages despite

Re: GWTTestCase possible issue (SmartGWT DMI call)

2012-01-05 Thread Patrick
I should have given more background in that I do not know the exact issue from the two links posted, only that they seem to have the same error. What I was trying to do was run a GWTTestCase to test a block of code that contained an RPC call using SmartGWT's DMI RPC. The error shown in the posts

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

2012-01-05 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: gwt gui with no servlet container

2012-01-05 Thread Jens
Just compile your app and deploy its host html page + compiled javascript/images to any web server you want. Thats not a problem at all. -- 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: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Thad
Excellent. That works and is exactly what I was trying to achieve. Thank you, Aidan. Here's a follow-up question: When using UiBuilder, how do I implement a panel's onResize() method? I think the answer is to assign the panels' ui:field's in FiltersViewImpl.ui.xml and call their onResize() in my

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

2012-01-05 Thread jhulford
If you're using Tomcat, Tomcat 7 supports updating a webapp and keeping the old instance running along side it for situations like this. As I understand it (I don't use it yet), http sessions/requests tied to the old webapp get routed to the old instance and new sessions get routed to the newly

Problem with generic type

2012-01-05 Thread Pa Huynh
Hi . I tried to get parameter class of generic class: Type type = ((ParameterizedType) (getClass().getGenericSuperclass())).getActualTypeArguments()[0]; And it throw exception: [ERROR] [test] - Line 23: No source code is available for type java.lang.reflect.Type; did you forget to inherit a

How to check server log ?

2012-01-05 Thread zeno
Hello, I am Koran and I develop web program by GWT. It's so very hard to use GWT. Now , I use ibatis . ibatis log is correct. But, client program issue a error like this... 500 the call failed on the server.see

Mouse Cursor Position

2012-01-05 Thread campa4bt
HI, I hope not to have been wrong to post in this forum. I need to know if it's possible in GWT to know the position of the mouse cursor, x e y, also if the mouse don't move or click, for example, i need to know the position every 2 seconds. Thanks if someone want to help me. Bye, Michele --

GWT draggable CellTable cells

2012-01-05 Thread vinnie
I have a GWT CellTable - it's a pretty simple table with just a single string column. What I'd like to do is drag rows of this table to a drop target (actually another table). I've been trying to figure out how to attach a draggable event as described at ~23:00 of this video (http://

Re: gwt gui with no servlet container

2012-01-05 Thread Steve Moyer
Yes ... my application is being served from CouchDB and there is no back-end code (since I make XMLHttpRequests directly to CouchDB using JSON). I've got another small application that works off-line (using HTML5 Application Caching) and stores all it's data on the user's computer using

layout panel problem, invisible panels

2012-01-05 Thread Rob
Hi, Why does this not work? Header top appears, but nothing else. The divs inside the dock layout have zero height. HeaderPanel calls onResize for it's 'content' element. Is that not enough to work with LayoutPanels? If I remove the HeaderPanel, the DockLayoutPanel works as expected. I want

Re: Gwt Scheduler / TimeLine / Gantt charts

2012-01-05 Thread Luca Tozzi
have you tried it? what do you think about? -- 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/-/VUDZazQ8afEJ. To post to this group, send email to

RE: gwt gui with no servlet container

2012-01-05 Thread Armishev, Sergey
http://gwt.google.com/samples/Showcase/Showcase.html most of the GWT demos are pure client side : javascript+css -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Sebastian Gurin Sent: Wednesday, January 04,

Re: Overlapping or overlaying images, while keeping handlers independent

2012-01-05 Thread Steve Moyer
Are you sure they're inheriting handlers? I think the mouse enters the region of both images and so their handlers are activated. If you have two images that don't completely overlap and you enter an area that isn't overlapped, only one handler is called right? Unfortunately, I think you'll

Re: GWT draggable CellTable cells

2012-01-05 Thread Jeff Larsen
take a look at gwtquery and the dnd plugin for it. http://code.google.com/p/gwtquery/ -- 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 gui with no servlet container

2012-01-05 Thread Sebastian Gurin
thank you for the fast responses. Regards On Thu, 5 Jan 2012 07:13:18 -0800 (PST) Steve Moyer smoye...@gmail.com wrote: Yes ... my application is being served from CouchDB and there is no back-end code (since I make XMLHttpRequests directly to CouchDB using JSON). I've got another small

CellTable not rendering rows in production mode?

2012-01-05 Thread Emp
Hi there - we are experiencing an issue where a rather complex CellTable refuses to render its rows in production (compiled) mode, while working perfectly in development mode. We are using an async data provider, the table is built in a superclass and then handled in a subclass, and has a

Re: UiBinder use ImageResource height and width to specify a elements height and width

2012-01-05 Thread Patrick Tucker
I guess I should file an issue? On Dec 21 2011, 5:24 pm, Patrick Tucker tucker...@gmail.com wrote: It is not me that is entering the width=22, the value 22 is programatically injected by {res.refreshButton.getWidth}. The error message is complaining because the function getWidth does not

Re: layout panel problem, invisible panels

2012-01-05 Thread Thad
I've not used the HeaderPanel layout, but I'm wondering if the first element it finds is becoming the content and the others are getting ignored. While I've done a lot with GWT, I'm relatively new to UiBuilder. However it seems to me that, in keeping with the pattern of LayoutPanel and

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 2:20 PM, Thad thad.humphr...@gmail.com wrote: Here's a follow-up question: When using UiBuilder, how do I implement a panel's onResize() method? I think the answer is to assign the panels' ui:field's in FiltersViewImpl.ui.xml and call their onResize() in my

Re: layout panel problem, invisible panels

2012-01-05 Thread Rob
Yeah, I looked for things like g:header etc, but I don't think that's it. It appears to be taking the first element as the header, the second as the content. Those are actually sized correctly and all the elements are in the page, but it's like the layout did not propagate to the divs inside the

Re: layout panel problem, invisible panels

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 3:21 PM, Rob rob.nikan...@gmail.com wrote: Hi, Why does this not work? Header top appears, but nothing else. The divs inside the dock layout have zero height. HeaderPanel calls onResize for it's 'content' element. Is that not enough to work with LayoutPanels? If I

GWT SplitLayoutPanel + Velocity

2012-01-05 Thread SigmaBlu
I have a GWT application that renders a Velocity .vm file and displays links within its panel. The .vm displays search results after the API call is made. Whenever the search is first made the .vm file comes back as desired. But whenever you click on any of the links it looses the GWT application

Re: layout panel problem, invisible panels

2012-01-05 Thread Vincent Fazio
I've also had problems when trying to put a layout panel inside of (as a child of) a non-layout panel (basic panel). I'm assuming this is what's happening when you place DockLayoutPanel inside of HeaderPanel. You can however put non-layout panels inside layout panels. I'm new to GWT and I'm

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Thad
You hit on why I asked. In my last app, begun well before Layout panels, UiBuilder, etc., I use the deferred command trick you describe: I'm displaying images that are generally too large for 1:1 (like 200dpi or more) and therefore must be scaled. I give the scaled image the largest possible

Re: Styles broken after adding app to a website.

2012-01-05 Thread Nano Elefant
To be more precise: Running the app in hosted mode works perfect, but as soon as the app is embedded inside a website, all styles of the app get messed up because the websites css get applied to the gwt widgets/ panels. Now I'm searching for a way to reset the GWT widgets/panels styles after the

Re: CellTable colspan or rowspan...

2012-01-05 Thread Sajeev Batra
I am also interested in making a table like yours. Curious as to whether you found an implementation. If so, can you please post? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Appearance Pattern - ok, is there a better explanation, a tutorial, a step-by-step?

2012-01-05 Thread King_V
All, Ok, I've read the article at http://code.google.com/p/google-web-toolkit/wiki/CellBackedWIdgets in dealing with the Cell-backed Widgets, and I can't say I'm any better off than I was before reading it. First, the following line: getCell().setTabIndex(tabIndex); doesn't work at all - it

gwt and chrome frame

2012-01-05 Thread EMan
we have enabled chrome frame in internet explorer. It seems once you have chrome frame you can only view GWT sites that have the chrome frame tag in it: meta http-equiv=X-UA-Compatible content=IE=edge,chrome=IE8 for example the gwt showcase site does not work any more, unless I uninstall

Re: gwt application using hibernate and postgresql

2012-01-05 Thread Stefanos Antaris
Thank you very for your answers, i have read and tried what you have suggested me. What i have noticed is that the main hibernate problem in gwt is that it cannot identify properly the entities of the class while passing from the client side to the server side. However, my entity class in my own

Re: layout panel problem, invisible panels

2012-01-05 Thread Thomas Broyer
When in doubt, look at the source: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/HeaderPanel.java#114 No special markup, simply 3 child widgets, in order (header, content, footer). -- You received this message because you are subscribed

Re: Appearance Pattern - ok, is there a better explanation, a tutorial, a step-by-step?

2012-01-05 Thread Thomas Broyer
Hey, that's what static typing is for: - if you're implementing an interface, you know which methods you have to implement, and it won't compile without them. - if you're writing your own interface, you're necessarily also writing the code that calls the methods, so you're

Re: MVP scroll position is reset on place change

2012-01-05 Thread Dzmitry Lazerka
That works, thank you! Now I'm going to review and refactor all activities scopes to singleton. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Deleting the contents of a GWT DataGrid Widget

2012-01-05 Thread Bill M
Hi, Would like to know if there is a direct way to delete ALL the rows of the new DataGrid Widget -part of release GWT 2.4, or is the only way to do it is by maintaining a handle to some Collection you may have previously loaded into the Table, and then doing something like this to delete the

Re: Problem with generic type

2012-01-05 Thread -sowdri-
You cannot use Reflection in GWT! -- 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/-/TV8B0NWv8tcJ. To post to this group, send email to

[gwt-contrib] Re: Fixes issue 4301: ensures all strings generated by GWT are JS string values. (issue1623803)

2012-01-05 Thread t . broyer
OK, so I've posted a bunch more patches, using different optimizations: - DeadCodeElimination: to optimize out the monomorphic String.toString calls (String.toString is back to a JSNI String(this) to make sure it behaves correctly, as I'm afraid the +this in Java from the second code patch could

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Thomas Broyer
For a fairly large project, you'd probably better have separate server and client (and shared) projects. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Sanjiv Jivan
You mean going the -noserver route? I like the convenience of starting the entire app within Jetty in dev mode. How about allowing a descriptor that specifies the jars required by GWT? Most apps probably require at most a handful of third-party GWT jars but have a large number of jars required by

[gwt-contrib] Re: Defines API containing definition of ARIA attributes as defined by the W3C ARIA (issue1624803)

2012-01-05 Thread jlabanca
The main reason is to allow the ARIA library to be used independent of the widget library, in case you write an app the uses the low level DOM library but not widgets. We've been moving away from using client.ui as a catch-all for all UI related things in favor or segregated packages for

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Thomas Broyer
On Thursday, January 5, 2012 8:22:36 PM UTC+1, Sanjiv Jivan wrote: You mean going the -noserver route? I like the convenience of starting the entire app within Jetty in dev mode. How about allowing a descriptor that specifies the jars required by GWT? Client-side and server-side

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Joshb
I agree with Sanjiv. I have many eclipse projects, however, it is the non-gwt dependencies that *SEEM* to be responsible for the majority of the slowdown/issue with refresh. As I said at the beginning, there may have been things that I could have done to architect better, but I shouldn't

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Joshb
Thomas, Perhaps you can help me a little further. I am actually using maven (m2eclipse), and the GPE, so I'm not really sure if this is contributing to my problem. How does the server-side classpath get loaded from a different source? --

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Thomas Broyer
The server-side classpath is loaded from the war/WEB-INF/lib (with a fallback to the classpath of the DevMode, which prints a warning). If you're using Maven, it's actually even easier to get your dependencies right there in the WEB-INF/lib:

Re: [gwt-contrib] ResourceOracleImpl.onRefresh Question

2012-01-05 Thread Thomas Broyer
In this case, using a third-party servlet container (Jetty or Tomcat, or even a Glassfish or JBoss; Jetty has the advantage over Tomcat of really fast hot-deployment: you just have to touch an XML context file, with the appropriate config; I can't tell for other containers and app servers) and