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 google-web-

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 rows

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 https://groups.google.com/d/msg/google-web-toolkit/-

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 responsibl

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 subscribe

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 a

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: for example the gwt showcase site does not work any more, unless I uninstall chrome frame. I have confirmed this with a number of pc's an

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 req

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 https://groups.

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 ap

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 scree

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 not

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 Aidan O'Kelly
On Thu, Jan 5, 2012 at 3:21 PM, Rob 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 remove the Head

Re: layout panel problem, invisible panels

2012-01-05 Thread Rob
Yeah, I looked for things like 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 DockLayou

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 2:20 PM, Thad 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 FiltersViewImpl.java. Am I corre

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 DockLayoutP

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 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 return a String.

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 fe

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 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 application that wor

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 https://groups.google.com/d/msg/google-web-toolkit/-/_GR_Gcf

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 ha

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, 201

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 g

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 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 LocalStora

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:// www.youtube.c

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 --

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 se

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 req

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 de

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 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 https://gr

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 : SAGE,

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: 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: 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 Raphael André Bauer
On Thu, Jan 5, 2012 at 1:39 PM, Kyle Baley 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 app and point

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 https://groups.go

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 wrote: > Hi all. This is my first message to the group. I'm a contributor on a similar > project at j2s.sf.net. Tried

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