Re: Problem with generic type
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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Deleting the contents of a GWT DataGrid Widget
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: table = new DataGrid(); dataProvider= new ListDataProvider(); dataProvider.addDataDisplay(table); ... ... (And when you want to remove ALL the rows of the DataGrid, do the following?) List list= dataProvider.getList(); list.removeAll(CONTACTS); Thanks. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: MVP scroll position is reset on place change
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/-/e28OgLQltx0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Appearance Pattern - ok, is there a better explanation, a tutorial, a step-by-step?
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 responsible for defining the methods, their name, their parameters, etc. If you want a concrete example, have a look at http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/widget/client/TextButton.java the only existing Cell-backed widget for now. -- 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/-/lpBq0b4AYAUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: layout panel problem, invisible panels
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 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/-/7ENGLQ-p5JkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt application using hibernate and postgresql
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 application is never been accessed by the client side. All the instances are being used in the server side. Does this somehow affect the hibernate? Moreover, i have created an application using the default hibernate approach and i have the following error. [error] http://127.0.0.1:/isemanipulation/upload Jan 5, 2012 11:25:18 PM org.hibernate.annotations.common.Version INFO: HCANN01: Hibernate Commons Annotations {4.0.1.Final} Jan 5, 2012 11:25:18 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {4.0.0.Final} Jan 5, 2012 11:25:18 PM org.hibernate.cfg.Environment INFO: HHH000206: hibernate.properties not found Jan 5, 2012 11:25:18 PM org.hibernate.cfg.Environment buildBytecodeProvider INFO: HHH21: Bytecode provider name : javassist Jan 5, 2012 11:25:18 PM org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator initiateService WARN: HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections Jan 5, 2012 11:25:18 PM org.hibernate.dialect.Dialect INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect [WARN] Error for /isemanipulation/upload java.lang.ExceptionInInitializerError at com.isemanipulation.server.fileUpload.FileUploadImpl.createHoney(FileUploadImpl.java:150) at com.isemanipulation.server.fileUpload.FileUploadImpl.doPost(FileUploadImpl.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: org.hibernate.HibernateException: Could not instantiate dialect class at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.constructDialect(DialectFactoryImpl.java:82) at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:64) at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:170) at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75) at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159) at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1775) at com.isemanipulation.server.fileUpload.hibernate.SessionFactoryUtil.(SessionFactoryUtil.java:28) ... 21 more Caused by: java.lang.ClassCastException: org.hibernate.dialect.PostgreSQLDialect cannot be cast to org.hibernate.dialect.Dialect at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.constructDialect(DialectFactoryImpl.java:73) ... 32 more [WARN] Nested in java.lang.ExceptionInInitializerError: org.hibernate.HibernateException: Could not instantiate dialect class at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.constructDialect(DialectFactoryImpl.java:82) at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:64) at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:1
gwt and chrome frame
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 and all get the same problem. there is this thread about it in the chrome frame forum, but doesn't seem it went anywhere. http://groups.google.com/group/google-chrome-frame/browse_thread/thread/0d77143ec07d4ec0?pli=1 has anyone run into this problem? -- 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/-/YpCWl72aGF8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Appearance Pattern - ok, is there a better explanation, a tutorial, a step-by-step?
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 requires a typecast. Second, I don't understand how/why the methods for the Appearance interface are chosen. Why are the methods called onHover and onUnhover as opposed to, say onMouseOver and onMouseOut, or heck, any other arbitrary names? Third, and related to that, what determines the parameters for these methods? Who/what is calling them, and how would I know, for example, that not only does the mouseover method need to be called onHover in the interface, and how would I know that it would need to be passed in a Context, and Element, and a String? Is there some sort of tutorial on this that goes step by step and uses examples? I am really lost with this. I've also read the Appearance Design Pattern article at Sencha as used with GXT, but it doesn't clarify things much more over the original. Thanks in advance -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellTable colspan or rowspan...
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.google.com/d/msg/google-web-toolkit/-/EGxQhdU2gi4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Styles broken after adding app to a website.
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 app is loaded. My only idea is to apply the GWT css file to the RootPanel during the initialization of the app, with the intent to overwrite all previously set styles. But how can this be done? Or maybe there's a better solution... Please let me know. On 5 Jan., 07:33, Nano Elefant wrote: > 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tips on handling ScrollPanel in UiBuilder
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 screen area I can by drawing everything first then, using a deferred command, call my image servlet with the available width and height to get a scaled image. While this works, I was never happy with my attempts to resize the image area (or other areas) on browser resize. As I work on a new app and think about how to rewrite the older one with UiBuilder, MVP, SVG, etc., I want to improve on browser resizing. (There are lots of neat features in GWT, more all the time. If anyone is listening, I'd really like to see XPath and XSLT.) On Jan 5, 12:33 pm, "Aidan O'Kelly" wrote: > 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 correct? > > I think unless you are writing your own Panel that implements > RequiresResize/ProvidesResize, you shouldn't need to. Existing LayoutPanels > such as LayoutPanel, SimpleLayoutPanel, etc, already propagate onResize() > events to any children that need them. (any children that implement > RequiresResize) > > Also, you shouldn't be using/worrying about onResize() in the majority of > cases, unless you are measuring available space to you for some reason. In > an ideal setup, all your panels are positioned and sized using > the constraints system (top/bottom, etc) > > If you are, one kinda, 'gotcha' with onResize() is that its not actually > called when the Panel/Widgets are layed out initially, only when they are > resized. If you want to do some measuring of pixels/space when your panel > is initially layed out, you should use a deferred command ( > Scheduler.get().scheduleDeferred(...) ) to call your top level > LayoutPanel's onResize() method. This allows the browsers layout to finish > before you measure anything, and should propagate onResize() events to all > the children widgets (and possibly their children) > (AFAIK this is how it works anyway!) > > Also, just FYI, think you got this anyway but in your initial question, if > your Menu bar height is static, you can set everything in the UiBinder > template, rather than calling setWidgetXXX, ie; > > > > > > > > > -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: layout panel problem, invisible panels
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 sure why this works the way it does. On Thu, Jan 5, 2012 at 12:42 PM, Rob wrote: > 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 DockLayoutPanel, because they have > height=0 so aren't visible. > > Rob > > On Jan 5, 12:30 pm, Thad wrote: > > 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 DockLayoutPanel, HeaderPanel should have some "special > > markup" like , , and (seehttp:// > code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Pa...) > > > > -- > 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, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT SplitLayoutPanel + Velocity
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 and displays the results without the application that first held the results. I can see how and why, but im wondering how can i maintain the .vm file within the application with each hyperlink click? As im writing this im thinking i should put it in a frame...? Maybe that might work. Either way does anyone have any suggestions? Regards, Sigma -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: layout panel problem, invisible panels
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 HeaderPanel, the DockLayoutPanel works > as expected. I want to use HeaderPanel, because I want a top div that > is sized naturally by the browser. > Calling onResize() is not sufficent, no, its really only used for being notified that the size has changed, not for setting the size. A LayoutPanel needs to be either added to another LayoutPanel, such as RootLayoutPanel, or be given a size explicitly. Unfortunately HeaderPanel is not a LayoutPanel (though it does need to be put inside one itself) so I'm not sure the best way to do this Just looking at how RootLayoutPanel does its business, in its onLoad() method, it has: @Override protected void onLoad() { getLayout().onAttach(); getLayout().fillParent(); } So maybe extending LayoutPanel and doing something similar would do the job, but really I don't know if this is a good idea or not! Your other options would be to use a static sized header, or use a DockLayoutPanel with a 'north' section that re-sizes itself when ever the content height changes (you can use the 'scrollHeight' property of the container element to measure how much height you need) but that's obviously a pretty ugly way to do it. I'd be interested to hear if getLayout().fillParent() does in fact work for this, or if anyone else uses it successfully. I think you'd have to call your custom LayoutPanel's onResize() method yourself, whenever the headers content/size changes.. so that any child widgets that need onResize() get notified of less/more space available. So, not much different than re-sizing your header manually.. :( Probably best to use a static height header if you want to save some time! -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: layout panel problem, invisible panels
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 DockLayoutPanel, because they have height=0 so aren't visible. Rob On Jan 5, 12:30 pm, Thad wrote: > 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 DockLayoutPanel, HeaderPanel should have some "special > markup" like , , and > (seehttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Pa...) > -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tips on handling ScrollPanel in UiBuilder
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 correct? > I think unless you are writing your own Panel that implements RequiresResize/ProvidesResize, you shouldn't need to. Existing LayoutPanels such as LayoutPanel, SimpleLayoutPanel, etc, already propagate onResize() events to any children that need them. (any children that implement RequiresResize) Also, you shouldn't be using/worrying about onResize() in the majority of cases, unless you are measuring available space to you for some reason. In an ideal setup, all your panels are positioned and sized using the constraints system (top/bottom, etc) If you are, one kinda, 'gotcha' with onResize() is that its not actually called when the Panel/Widgets are layed out initially, only when they are resized. If you want to do some measuring of pixels/space when your panel is initially layed out, you should use a deferred command ( Scheduler.get().scheduleDeferred(...) ) to call your top level LayoutPanel's onResize() method. This allows the browsers layout to finish before you measure anything, and should propagate onResize() events to all the children widgets (and possibly their children) (AFAIK this is how it works anyway!) Also, just FYI, think you got this anyway but in your initial question, if your Menu bar height is static, you can set everything in the UiBinder template, rather than calling setWidgetXXX, ie; -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: layout panel problem, invisible panels
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 DockLayoutPanel, HeaderPanel should have some "special markup" like , , and (see http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Panels) I'm probably WAY OFF on this: That markup not described in the javadoc nor are you getting a runtime error. Unfortunately GWT Designer doesn't include a HeaderPanel so I can't draw one then compare it's XML. On Jan 5, 10:21 am, 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 HeaderPanel, the DockLayoutPanel works > as expected. I want to use HeaderPanel, because I want a top div that > is sized naturally by the browser. > > Rob > > > Header top > > > West > > > Center > > > > -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinder use ImageResource height and width to specify a elements height and width
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. > > I also try to use tables as little as possible, but in this case I > have to use one in order to constrain a TextBox to 100% of its > parent. The requirement indicates that the TextBox grow with a > resizable parent element... I haven't been able to find a better way > to get around this. > > Thanks, > Pat > > On Dec 20, 5:40 pm, Ed wrote: > > > > > Try "22px" > > > BTW: I these day's I would build my widgets tabless as much as possible- > > Hide quoted text - > > - Show quoted text - -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellTable not rendering rows in production mode?
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 few custom cells (one accesing native DOM events)... Trivial controls (anything that can be done with "eyes + Firebug") are all OK: the async request for data is fired, the "loading" spinner renders OK, data arrives fine, spinners disappears, and then nothing. No rows, nothing. The table body HTML element simply stays empty. Since we (negligently, I admit) stopped deploying to production mode after the initial spikes, I am not able to trace back a single point in time when this started happening, and this is a big head- scratcher... I am wondering if anyone here: - has had similar issues in the past - can point us to some resources / ideas about any items we should be paying attention and that can cause behaviour differences between development and production - can give us a hint about any ways to debug / check what may be going wrong Bye and thanks, Emp -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt gui with no servlet container
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 works off-line (using > HTML5 Application Caching) and stores all it's data on the user's > computer using LocalStorage (and a bit of SessionStorage for maps that > are built when the application loads). > > Welcome to the group and good luck! > > On Jan 5, 9:18 am, Jens wrote: > > 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 post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- Sebastian Gurin -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT draggable CellTable cells
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_GcfgWrEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Overlapping or overlaying images, while keeping handlers independent
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 have to consolidate these into a single handler and you'll have to somehow figure out the z-order of the images, then chain to the appropriate handler. I think I'd try to wrap the Image in a FocusPanel (since only one element can have focus at a time) and then use a focus handler to beat this problem ... it's probably easier than trying to recreate the logic the browser used to render the Images with the proper z-order. Good luck (and an interesting problem). smoyer -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RE: gwt gui with no servlet container
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, 2012 5:36 PM To: google-web-toolkit@googlegroups.com Subject: gwt gui with no servlet container 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 server stuff at all, only text, images and css, in gwt. Is it possible to deploy a gwt app (with no rpc/requestfractory/server at all) as static content in a non servlet support like plain apache? The gwt app will not use rpc or any server comunication at all, only gwt widgets and themes. So I suppose there is a way of deploying javascript+html+css gwt generated files as static content? Any suggestions? Thanks in advance. -- Sebastian Gurin -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. _ This electronic message and any files transmitted with it contains information from iDirect, which may be privileged, proprietary and/or confidential. It is intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please delete it and immediately notify the sender. _ -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Gwt Scheduler / TimeLine / Gantt charts
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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
layout panel problem, invisible panels
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 to use HeaderPanel, because I want a top div that is sized naturally by the browser. Rob Header top West Center -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt gui with no servlet container
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 LocalStorage (and a bit of SessionStorage for maps that are built when the application loads). Welcome to the group and good luck! On Jan 5, 9:18 am, Jens wrote: > 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 post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT draggable CellTable cells
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.com/watch?v=KEkR1ox_K10). To which CellTable element can I set the draggable flag to TRUE. I haven't gotten this far yet, but I'm sure I'll soon face a similar issue in setting the drop handler on the target table. If someone could post an example or point me in the right direction, I'd be grateful. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Mouse Cursor Position
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 -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to check server log ?
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 server log for details. Could you tell me how to check the server log? I don't know where it is. Pls, help me~ Thank you. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problem with generic type
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 required module? How can I use reflection in GWT? -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT application freezes when new version is deployed while using it
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 deployed one. After all the sessions are dead from the old web app it's undeployed. Obviously, this won't work for everyone since some people have issues hot deploying their app, but it's something you could look into. On Jan 5, 7:39 am, 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? -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tips on handling ScrollPanel in UiBuilder
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 FiltersViewImpl.java. Am I correct? Going back to my original question, I remove height from g:ScrollPanel in FiltersViewImpl.ui.xml. In what had been: layoutPanel.setWidgetTopHeight(menuPanel, 0, Unit.PX, MENUPANEL_HEIGHT, Unit.PX); layoutPanel.setWidgetTopHeight(filtersPanel, MENUPANEL_HEIGHT, Unit.PX, 100, Unit.PCT); ... in MyAppViewImpl is now: layoutPanel.setWidgetTopHeight(menuPanel, 0, Unit.PX, MENUPANEL_HEIGHT, Unit.PX); layoutPanel.setWidgetTopBottom(filtersPanel, MENUPANEL_HEIGHT, Unit.PX, 0, Unit.PX); ... (Sigh... XmForms, GridBagLayout, and now this. Makes me long for the days when everyone had one of 3 displays and I could just draw a GUI in ResEdit.) On Jan 4, 7:54 pm, "Aidan O'Kelly" wrote: > 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 > rather than on the Widget it contains, this is what happens when > you call setWidgetTopHeight etc. Do give the 'filters' widget an explicit > height (as you are already doing) > > Not really what you asked but, you'll probably want to use top/bottom on > the layer, rather than top/height... > When you call: > layoutPanel.setWidgetTopHeight(filtersPanel, MENUPANEL_HEIGHT, Unit.PX, > 100, Unit.PCT); > > If MENUPANEL_HEIGHT is say,100px, the bottom of filtersPanel will be 100px > past the bottom of the layout panel, as setting the height to 100% means > 'the height of the entire LayoutPanel.' > > So, instead, set bottom to 0, which will ensure it always 0px from the > bottom, regardless of where the top is. > (Alternatively, you can specify the height of the menu bar in PCT, and set > the height of the filterPanels layer to the remaining PCT) > > > > > > > > On Thu, Jan 5, 2012 at 12:16 AM, Thad wrote: > > 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: > > > > > > > > > > > > > > > > > > > > > > > > > ... (more layers) > > > FiltersViewImpl looks like > > > > styleName='{style.layoutBorder}'> > > > When setFiltersLayout() is called, I show it with > > layoutPanel.setWidgetTopHeight(filtersPanel, MENUPANEL_HEIGHT, > > Unit.PX, 100, Unit.PCT); > > and hide the other panels. > > > I've not hit on the combination that will show the scrollbars on a > > smaller screen without alwaysShowScrollBars='true' or reducing the > > display area to the detriment of a larger display. > > > -- > > 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, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt gui with no servlet container
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://groups.google.com/d/msg/google-web-toolkit/-/p2DXC2uYoEUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Abridged summary of google-web-toolkit@googlegroups.com - 34 Messages in 20 Topics
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, CEGID, CIEL, EBP... • Matériels : Serveurs, connexions, Internet • Proximité, écoute et disponibilité Merci d'adresser vos messages à l'adresse suivante : xiva...@jpaconsultants.com -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWTTestCase possible issue (SmartGWT DMI call)
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 is what I received when the GWTTestCase failed. I was hoping to use GWTTestCase since it allowed me to isolate and test my code directly. I was wondering is if anyone knows of a way to get this to work or at least why the error occurs. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT application freezes when new version is deployed while using it
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 property renamings) -- 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/-/O7nmOfLm5GUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT application freezes when new version is deployed while using it
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? (luch more likely to happen if you keep your browser/tab open for days)). For runAsync, keeping the old fragments will do it (obviously, the users will still be running the old version, so your server should be prepared to handle calls from this version). Unless you're deploying several times a day, it's much easier to just have users reload the app: only a few users should ever notice it, and most likely when coming back to the app after they let it open in their browser during the night/lunch (of course plan your deployment depending on your app's traffic) -- 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/-/mT982Bb9d3wJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT application freezes when new version is deployed while using it
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 pointing to the "place" where the user currently is... So there will be a reload, but it will not break ux... Raphael > > -- > 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/-/xyHkZ_2-o0YJ. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. -- inc: http://ars-machina.raphaelbauer.com tech: http://ars-codia.raphaelbauer.com web: http://raphaelbauer.com -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT application freezes when new version is deployed while using it
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.google.com/d/msg/google-web-toolkit/-/xyHkZ_2-o0YJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt gui with no servlet container
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 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 server stuff > at all, only text, images and css, in gwt. Is it possible to deploy a gwt app > (with no rpc/requestfractory/server at all) as static content in a non > servlet support like plain apache? > > The gwt app will not use rpc or any server comunication at all, only gwt > widgets and themes. So I suppose there is a way of deploying > javascript+html+css gwt generated files as static content? Any suggestions? > > Thanks in advance. > > -- > Sebastian Gurin -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
SmartGwt ListGrid Issue
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 single event. but when i do this in my project. this thing is not working out. my checkbox field(Boolean values) did get checked/unchecked even on single click event. and i have set listgrid.setEditEvent(ListGridEditEvent.DOUBLECLICK). hope you guys understand what the problem i am facing. Thanks in advance. -- 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, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.