CellTable - how to put HTML into a column
Hello, I would like to put raw HTML code into a single column of a CellTable. What is the easiest way to do this? Thank you Magnus -- 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/-/TD2FrqHEC70J. 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 - how to put HTML into a column
Thats what SafeHtmlCell is for. -- J. -- 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/-/Qkgm6eAckK0J. 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 - how to put HTML into a column
Am Dienstag, 21. August 2012 09:26:40 UTC+2 schrieb Jens: Thats what SafeHtmlCell is for. Thanks, but how does this work, i. e. how do I have to modify my code? TextColumnCar col_Color = new TextColumnCar() { @Override public String getValue(Car obj) { String t = font color='#FF'Test/font; return (t); } }; -- 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/-/u--XY0hBmHgJ. 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 - how to put HTML into a column
ColumnCar, SafeHtml carCol = new ColumnCar, SafeHtml(new SafeHtmlCell()) { public SafeHtml getValue(Car car) { //return your SafeHtml. Use SafeHtmlTemplates/SafeHtmlUtils to build your SafeHtml. } } -- 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/-/UmoRQmiHq7UJ. 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 - how to put HTML into a column
Thanks, this works fine! Magnus -- 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/-/SSXdHDUDp0wJ. 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 Maps v3 resize problem in popup
I'm using the GWT maps v3 javascript bindings developed by Brandon Donnelson. I have a problem that the map doesn't display correctly when I use it in a PopupPanel. It looks exactly as the picture in this thread on stack overflow: http://stackoverflow.com/questions/11530334/second-call-of-google-maps-does-not-show-the-map-in-correct-size I've figured out that the problem is that I need to trigger the resize event, but how can I do it? -- 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/-/0cag3my0UDEJ. 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: SuperDevMode Compiler Options
On Monday, August 20, 2012 3:35:06 PM UTC+2, Oliver Krylow wrote: Hi! Is there a way to pass arguments to the compiler the CodeServer uses? No. I am interested in passing the -strict flag for example. Please file an issue. There could also be a -logLevel argument (and a better UI, possibly integrated with the GPE, among other improvements) -- 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/-/oxvJ3VPj72YJ. 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.
Elemental documentation
Hi. Where I can find Elemental documentation? -- 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/-/Rcra4qz23y4J. 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: Getting the default DateBox() picker to advance year at a time
Thank you very much, Danny!! You have saved me countless hours! It would be great to have this code inside GWT. Steering Committee, what do you say? On Wednesday, 2 June 2010 19:24:24 UTC+3, Rob Tanner wrote: Hi, I'm using a DateBox() widget for users to enter their date of birth. When the picker is displayed, on either side of the month/year displayed in the center top of the picker are the greater than and less than arrows for moving forward or backward, month at a time. I have not figured out anyway to add year at a time as well (25 or more years of moths is a lot of clicks). Is there anyway to accomplish that? Thanks, Rob -- 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/-/NPeIIupawlsJ. 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: Getting the default DateBox() picker to advance year at a time
Thank you very much, Danny!! You have saved me countless hours! It would be great to have this code inside GWT. Steering Committee, what do you say? On Wednesday, 2 June 2010 22:46:03 UTC+3, Danny Goovaerts wrote: It's not necessary to write a custom DatePicker. It suffices to create a DatePicker with a custom MonthSelector. Here is my implementation // -- 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/-/lelweAWvFysJ. 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: many strange problem when change from rootlayout panel to rootpanel
thanks, if html and body set height:100%, then the problem fixed. in attachment 100%Method.png, the yellow is the body margin:10px, then the blue is the body, everything is normal. But I try some other method and found some unknown. 1) I try not set height = 100% in html and body, instead I try to add the following code in onModuleLoad rootPanel.getElement().getStyle().setPosition(Position.ABSOLUTE); the result is as absolute01.png and absolute02.png as shown in absolute01.png, when I highlight the body tag, only the top is yellowed, but the margin should applied on all 4 side, so why only the top margin is yellowed? 2) as shown in absolute02.png, when I highlight the div id=uniqueID tag, the area is blue, but the top and the left is white color, what is it? I have checked and the right and the bottom have no this white space. 3) I try to add one more code in onModuleLoad as follow: rootPanel.setWidgetPosition(basseDockLayoutPanel, 0, 0); this try to put the baseDockLayoutPanel to absolute position left:0 and top:0 but the output is widgetPosition00.png, which is same as absolute01.png but with following error message in console 14:26:39.432 [ERROR] [alsadminviewerwebapp] Warning: com.google.gwt.user.client.ui.RootPanel descendants will be incorrectly positioned, i.e. not relative to their parent element, when 'position:static', which is the CSS default, is in effect. One possible fix is to call 'panel.getElement().getStyle().setPosition(Position.RELATIVE)'. java.lang.IllegalStateException: com.google.gwt.user.client.ui.RootPanel is missing CSS 'position:{relative,absolute,fixed}' at com.google.gwt.user.client.ui.AbsolutePanel.verifyPositionNotStatic(AbsolutePanel.java:288) at com.google.gwt.user.client.ui.AbsolutePanel.setWidgetPosition(AbsolutePanel.java:218) at hk.gov.ehr.service.tch.als.admin.viewer.client.AlsAdminViewerWebApp.onModuleLoad(AlsAdminViewerWebApp.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Thread.java:662) why calling setWidgetPosition will prompt this error in console? -- 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/-/nF4g5-fWERAJ. 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 2.4 App doesn't run on IEs 9 anymore. Got error on GWT's Image class.
Ok, solved it :D. Was issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6665 with Google Chrome Frame for Internet Explorer... Regards, Max On Monday, August 20, 2012 5:37:12 PM UTC+2, Jens wrote: Image itself is included with User.gwt.xml and the only deferred binding that Image uses can be found in ClippedImage.gwt.xml (defines special behavior for IE6, and is also included via User.gwt.xml). So GWT.create(Image.class) should just work. Maybe its just a cache issue? Clean the gwt-UnitCache folder and the browsers cache and reload the page. If this does not help, increase the log level of dev mode to Trace/Debug and see what the deferred binding logs tell you when using IE9 -- J. -- 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/-/3ZlDREiXFLcJ. 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 Maps v3 resize problem in popup
Jonas, Using the GWT-V3-Maps-API https://github.com/branflake2267/GWT-Maps-V3-Apiit would be done as follows: /* Example of how to dynamically resize the map to fit the window - add your events */ Window.addResizeHandler(new ResizeHandler() { @Override public void onResize(ResizeEvent event) { MapHandlerRegistration.trigger(mapWidget, MapEventType.RESIZE); GWT.log(Window has been resized!); } }); mapWidget.addResizeHandler(new ResizeMapHandler() { @Override public void onEvent(ResizeMapEvent event) { GWT.log(Map has been resized!); } }); Sincerely, Joseph -- 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/-/xsIaSg5Csu8J. 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: Super Dev Mode Live Reload
Please, publish the source code. I thinks this is specially interesting for designers. I'm using sass/compass for main theme css, and ResourceBundle for widgets css. Recompile GWT and Sass on source change y instantly show the result will be awesome. On Sunday, July 8, 2012 10:56:49 PM UTC+2, bootstraponline wrote: I added livereload.js to super dev mode which enables automatic compilation as the source is changed. Here's a video of WebGL using Elemental with automatic reloading. If there's any interest let me know and I'll open source the code on GitHub. http://www.youtube.com/watch?v=DbWerat40qo -- 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/-/DUEwswAvwXoJ. 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.
embed web font just like @sprite
Is there a way to embed font file into css via data-uri just like @sprite does it to embed images? i mean if i write this: @font-face { font-family: 'MyFont'; src: url(MySuperWebFont.otf); } then gwt would generate css like this: @font-face { font-family: ' MyFont '; src: url(data:font/opentype;base64,[base-encoded font here]); } Thanks. -- 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/-/5VxBdBko4y0J. 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: embed web font just like @sprite
On Tuesday, August 21, 2012 2:33:05 PM UTC+2, Andrey Korzhevskiy wrote: Is there a way to embed font file into css via data-uri just like @sprite does it to embed images? Sure: use a DataResource and the @url CssResource @-rule. https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#DataResource https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#References_to_Data_Resources -- 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/-/ImH5b9qdLWkJ. 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: embed web font just like @sprite
On Tuesday, August 21, 2012 2:37:17 PM UTC+2, Thomas Broyer wrote: On Tuesday, August 21, 2012 2:33:05 PM UTC+2, Andrey Korzhevskiy wrote: Is there a way to embed font file into css via data-uri just like @sprite does it to embed images? Sure: use a DataResource and the @url CssResource @-rule. https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#DataResource https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#References_to_Data_Resources Note you'll have to use GWT 2.5.0-rc1 to be able to use @font-face in a CssResource, see http://code.google.com/p/google-web-toolkit/issues/detail?id=5247 (and note how I made the exact same answer there a couple months back ;-) ) -- 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/-/_IFG305Q3qMJ. 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: embed web font just like @sprite
Yeah, right, thank you but... One can use @sprite images without explicit declaring in DataResources etc. -- 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/-/mtZwgLwR7CYJ. 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.
Multiple cells per row in CellTable (like a Cell Grid)
Is there any way to have multiple cells per column in a CellTable? What I would really like is a grid of cells, but it only seems to be one per row. The closest I can come is a CellList whose cells are display: inline-block. Any ideas? -- 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/-/kOOPdf_A9U4J. 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.
HTMLPanel.wrap of a tbody element
I've coded many different versions of gwt dynamic grids over the years ( Kiyaa templates , FlexTable, CellTable , UIB Row templates w' floating divs..) however none appear to be the perfect solution for most of the tabular data layouts in our app ( tables that don't neccessarily require the performance gain of Celltable and whose markup needs to be exposed to the designer as must as possible). My latest incarnation: TheUib.ui.xml: table colgroup col width=40%/ col width=60%//colgroup thead tr th Col1 /thth Col2 /th/tr /thead tbody id=theTbody/tbody /table TheUib.java: .Element el = Document.get().getElementById(theTbody); HTMLPanel theTbodyPanel = HTMLPanel.wrap(el); TheUibRowUIB row = null; for ( TheDTO model: dtos) { row = new TheUibRowUIB(); row.loadData(model); theTbodyPanel.add(row); } Problem: The above code throws and exception of in the HTMLPanel wrap method because it does not allow A widget that has an existing parent widget may not be added to the detach list I could try to 'attach' by another means but I'm under the impression that doing so will result in a memory leak. Does anyone have a solution for this problem? Thanks David -- 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/-/-G84RL3vojMJ. 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: how to debug the compiler?
One way is to enable remote debugging in the 'gwtc' target in the build.xml file of a project. You'll set up a remote debugging session in your IDE using the gwt-dev source. Run 'ant gwtc' from the command line in the project, and then start your remote debugging session in your IDE. Jesse On Mon, Aug 20, 2012 at 9:59 PM, wahaha il...@yahoo.com.cn wrote: i want to learn some about the source code of the compiler,but how debug it ? -- 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/-/-exyN-E_tOcJ. 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: Super Dev Mode Live Reload
+1 -- 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/-/OnQHRh7bNX0J. 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: Super Dev Mode Live Reload
+1 2012/8/21 Joseph Lust lifeofl...@gmail.com +1 -- 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/-/OnQHRh7bNX0J. 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: Super Dev Mode Live Reload
Sounds nice, +1 -- J. -- 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/-/sGyabFu28dwJ. 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: Elemental documentation
A start is on https://developers.google.com/web-toolkit/articles/elemental Anyway given its generated nature, I don't think it will ever be documented with something else other that javadoc/samples. If you are interested in something in specific, you have to dig into elemental.* packages. On Tuesday, August 21, 2012 10:50:54 AM UTC+2, Sergey wrote: Hi. Where I can find Elemental documentation? -- 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/-/QUsKUTkNVGcJ. 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: Multiple cells per row in CellTable (like a Cell Grid)
It's up to you to create a grid of cells. Try to use a CompositeCell http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/cell/client/CompositeCell.html On Tuesday, August 21, 2012 3:29:20 PM UTC+2, Shaun Tarves wrote: Is there any way to have multiple cells per column in a CellTable? What I would really like is a grid of cells, but it only seems to be one per row. The closest I can come is a CellList whose cells are display: inline-block. Any ideas? -- 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/-/kD2i14CblB8J. 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.
My email account has been hacked. Do not click on any links or attachments I have sent you
My email account has been hacked. Do not click on any links or attachments I have sent you in the last day. Cheers Paul -- 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: how to debug the compiler?
If remote debugging isn't your thing. You can follow the README here: http://code.google.com/p/google-web-toolkit/source/browse/trunk/eclipse/README.txt -Alan On Tue, Aug 21, 2012 at 6:50 AM, Jesse Hutton jesse.hut...@gmail.comwrote: One way is to enable remote debugging in the 'gwtc' target in the build.xml file of a project. You'll set up a remote debugging session in your IDE using the gwt-dev source. Run 'ant gwtc' from the command line in the project, and then start your remote debugging session in your IDE. Jesse On Mon, Aug 20, 2012 at 9:59 PM, wahaha il...@yahoo.com.cn wrote: i want to learn some about the source code of the compiler,but how debug it ? -- 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/-/-exyN-E_tOcJ. 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. -- 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: Elemental documentation
Thanks. How to I can get elemental javadoc? It is missing in http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html?overview-summary.html . -- 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/-/b-ctmro-nhQJ. 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: My email account has been hacked. Do not click on any links or attachments I have sent you
open every attachment? ok, no problem Am 21.08.2012 19:19, schrieb Paul Hargreaves: My email account has been hacked. Do not click on any links or attachments I have sent you in the last day. Cheers Paul -- 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: Multiple cells per row in CellTable (like a Cell Grid)
My understanding is that CompositeCell is still not going to allow me to use multiple Cell data objects per row. An example is a data provider that is a ListPeople and I want my grid to display my collection of People in a 4x4 grid. Is there a way to do that? On Tue, Aug 21, 2012 at 1:05 PM, Andrea Boscolo andrew...@gmail.com wrote: It's up to you to create a grid of cells. Try to use a CompositeCell http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/cell/client/CompositeCell.html On Tuesday, August 21, 2012 3:29:20 PM UTC+2, Shaun Tarves wrote: Is there any way to have multiple cells per column in a CellTable? What I would really like is a grid of cells, but it only seems to be one per row. The closest I can come is a CellList whose cells are display: inline-block. Any ideas? -- 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/-/kD2i14CblB8J. 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: Multiple cells per row in CellTable (like a Cell Grid)
An example is a data provider that is a ListPeople and I want my grid to display my collection of People in a 4x4 grid. Is there a way to do that? You could create 4 columns of type Person and invent a new class that represents your table rows, lets say PersonGroup. Your table would then display PersonGroups and each PersonGroup contains 4 Persons that you can render in your columns. With 4 PersonGroups containing 4 Persons each you could mimic your 4x4 grid. But CellTable/DataGrid is really meant for tabluar data and not for design/layout purposes. -- J. -- 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/-/nqVnfCoJFl8J. 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: updating a single cell
Hum, I can't see redrawRow on DataGrid. I'm on 2.4 - perhaps it's in a different release? My data is exposed through AsyncDataProvider. I'm currently using this monstrosity to update rows, but I'm not entirely confident that it's right or particularly sane. int i = table.getVisibleItems().indexOf(instance); if(i = 0) { table.setRowData(table.getPageStart() + i, Arrays.asList(instance)); } Matthew On 16 August 2012 17:42, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, August 16, 2012 5:22:51 PM UTC+2, ssamara wrote: Not sure if you can re-render cells in isolation, but you should be able to get it to redraw individual rows rather than the whole table. Try replacing the updated item with itself in the DataProvider (e.g. if using a ListDataProvider by calling set(index, item) on the underlying List, or if using an AsyncDataProvider by calling updateRowData on the dataprovider passing in a singleton list containing just the updated item). Alternatively you can try calling setRowData() on the DataGrid itself. …or use redrawRow() -- 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/-/PY4q3fgoPNsJ. 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. -- Dr Matthew Pocock Integrative Bioinformatics Group, School of Computing Science, Newcastle University mailto: turingatemyhams...@gmail.com gchat: turingatemyhams...@gmail.com msn: matthew_poc...@yahoo.co.uk irc.freenode.net: drdozer skype: matthew.pocock tel: (0191) 2566550 mob: +447535664143 -- 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 - add Anchors to a cell
Hi, I am migrating a FlexTable to a CellTable. In the old table I have a column with actions that one can execute on the current row, e. g. open, edit, delete. The actions are HTML anchors with a clickHandler. In the old code I just put all anchors into a HorizontalPanel and put this into the table. I tried to add such a panel into the CellTable by adding the result of Panel.toString to a SafeHtml. However, the anchors appear, but nothing happens when you click one. What can I do? (I would like to have all anchors in a single cell.) Thanks Magnus -- 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/-/nk4__GwYdlkJ. 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 MAP 3.8 (Google API) - Related onResize() problem ?
Hello, *Problem:* - I display a map inside a popup and I have unloaded tiles (grey background). - If I zoom out or in, then the map will fill the entire space (no grey background anymore). *My solution:* I think I should call onResize(), isn t it ? ... and I unsuccessfully tried to : - use a LayoutPanel - call the javascript function : private final native void resizeMap(GoogleMap map) /*-{ $wnd.google.maps.event.trigger(map, 'resize'); }-*/; I am using the javaxLoaderAPI and have the following code: GoogleMap map; @UiField LayoutPanel gmap; *public void AjaxLoader_MAP()* { AjaxLoaderOptions options = AjaxLoaderOptions.newInstance(); options.setOtherParms(key=sensor=falselanguage=es); Runnable callback = new Runnable() { public void run() { gmap.onResize(); // Should I call onResize() here ? map = GoogleMap.create(gmap.getElement()); } }; AjaxLoader.loadApi(maps, 3, callback, options); } #1 - Have you any idea about my problem ? #2 - I do not know if I should call onResize() inside the Runnable callback or not ? Thanks you, -- 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/-/rd1NSyo0ltMJ. 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-contrib] Re: Allows UiRenderer styles before the first call to render() (issue1794803)
http://gwt-code-reviews.appspot.com/1794803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Allows UiRenderer styles before the first call to render() (issue1794803)
http://gwt-code-reviews.appspot.com/1794803/diff/4001/user/src/com/google/gwt/uibinder/rebind/FieldManager.java File user/src/com/google/gwt/uibinder/rebind/FieldManager.java (right): http://gwt-code-reviews.appspot.com/1794803/diff/4001/user/src/com/google/gwt/uibinder/rebind/FieldManager.java#newcode144 user/src/com/google/gwt/uibinder/rebind/FieldManager.java:144: * Those fields are modified every time a template is rendered with the parameter values. On 2012/08/20 21:41:46, rdayal wrote: Maybe add a TODO that indicates that this hack will go away once the UIBinder generator is split out to handle UIRenderer templates differently from the UIBinder templates. Done. http://gwt-code-reviews.appspot.com/1794803/diff/4001/user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java File user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java (right): http://gwt-code-reviews.appspot.com/1794803/diff/4001/user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java#newcode397 user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java:397: // Sets initializer to a NOOP. These fields are set from parameters passed to UiRenderer#render(). On 2012/08/20 21:41:46, rdayal wrote: Sets initializer to a NOOP -- Sets initializer is a NOOP.. Done. http://gwt-code-reviews.appspot.com/1794803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add a higher-level test for coverage. (issue1813803)
LGTM http://gwt-code-reviews.appspot.com/1813803/diff/1/user/test/com/google/gwt/dev/js/client/CoverageTest.java File user/test/com/google/gwt/dev/js/client/CoverageTest.java (right): http://gwt-code-reviews.appspot.com/1813803/diff/1/user/test/com/google/gwt/dev/js/client/CoverageTest.java#newcode56 user/test/com/google/gwt/dev/js/client/CoverageTest.java:56: public void testCoverageDataIsFlushedToLocalStorageOnBeforeUnload() { Could you add a few blank lines to group this test's code into logical sections? http://gwt-code-reviews.appspot.com/1813803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add a higher-level test for coverage. (issue1813803)
http://gwt-code-reviews.appspot.com/1813803/diff/1/user/test/com/google/gwt/dev/js/client/CoverageTest.java File user/test/com/google/gwt/dev/js/client/CoverageTest.java (right): http://gwt-code-reviews.appspot.com/1813803/diff/1/user/test/com/google/gwt/dev/js/client/CoverageTest.java#newcode28 user/test/com/google/gwt/dev/js/client/CoverageTest.java:28: * Tests coverage instrumentation. Could you add some documentation about how to run this test from outside Google? They won't have our BUILD file, so gwt.coverage needs to be set somehow. Perhaps try running it from ant. http://gwt-code-reviews.appspot.com/1813803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Allows UiRenderer styles before the first call to render() (issue1794803)
Submitted as r11231. http://gwt-code-reviews.appspot.com/1794803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors