Re: Super Dev Mode : Cannot get module to compile with -workDir
On Tuesday, June 12, 2012 1:43:09 PM UTC-5, Brian Slesinsky wrote: When it hangs, could you try running jstack on the process to get a thread dump? Well, now it appears to be working. I haven't updated the code with a new version, so I don't know what happened. If it happens again, I'll post the thread dump and file a bug report. --Danny -- 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/-/K5uDPPexW7AJ. 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.
Super Dev Mode : Cannot get module to compile with -workDir
I'm trying out the new Super Dev Mode from the trunk. While I can get the codeserver to compile the module normally, it hangs when I specify -workDir. Am I doing something wrong, or do I need to file a bug report? Ant Target: target name=codeserver depends=javac description=Run development mode java failonerror=true fork=true classname=com.google.gwt.dev.codeserver.CodeServer classpath pathelement location=src/ path refid=project.class.path/ path refid=codeserver.class.path/ /classpath jvmarg value=-Xmx256M/ arg value=-workDir/ arg value=myWorkDir/ arg value=my.test.FooBar/ /java /target Output: deleting: ~/foo/myWorkDir/my.test.FooBar/compile-1 workDir: ~/foo/myWorkDir binding: user.agent=safari binding: compiler.useSourceMaps=true binding: locale=en Compiling module my.test.FooBar Directory contents $ pwd ; ls ~/foo/myWorkDir/my.test.FooBar/compile-1 compile.log war -- 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/-/8o8vAe1jOQoJ. 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: Using DockPLayoutPanel - can I get an autoexpanding south widget?
Now, my initial instinct is to somehow try and determine whether or not the FlowPanel needs to vertically resize (how do I determine this? Can it be determined?) and then use DockLayoutPanel.setWidgetSize to perform the resizing manually. Sounds like a good approach. On the bottom flow panel, you can use element.getScrollHeight()http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/dom/client/Element.html#getScrollHeight() and either getOffsetHeight or getClientHeight(I can't remember, sorry), to determine if you need to expand the flow panel. You should check this when the window is resized or when an item is added. When the scroll height is larger than the offset/client height, use DockLayoutPanel.setWidgetSize to resize the panel. -- 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/-/J8O2dRgN6toJ. 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: Basic JavaScript onClick not getting called from inside GWT richTextarea
No idea. Seems to me that you should be using an Anchor and ClickHandlers instead of that native method, but I may not understand exactly why you need that. -- 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/-/d9XJS0kOQzYJ. 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: MenuBar - how can I cause it to wrap?
The MenuBar uses a table, with each item being a table cell. AFAIK, you're not going to have any luck getting that to wrap. You should be able to check to see if any of the items are flowing out of the window and have those move themselves into a More menu item. -- 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/-/JDFbSI3_jWsJ. 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 determine *at runtime* which permutation is used?
You can use GWT.getPermutationStrongName()http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/GWT.html#getPermutationStrongName() You can choose to write that to the screen like so RootPanel.get().add(new Label(GWT.getPermutationStrongName())); -- 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/-/-AjRBb-cMz8J. 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: CellList grid
It's a bit of a hack, but since the cell list is just a list of Divs, you can use the CSS3 columns (but watch out, IE9 doesn't support this, and only the most recent version of opera does) public void setColumns(int columns) { if(columns 1) columns = 1; Style style = cellList.getElement().getStyle(); String cols = String.valueOf(columns); /* You could used deferred binding here if you weren't lazy */ style.setProperty(MozColumnCount, cols); style.setProperty(WebkitColumnCount, cols); style.setProperty(columnCount, cols); } public void setColumnPadding(int width) { if(width 0) width = 0; Style style = cellList.getElement().getStyle(); style.setProperty(MozColumnGap, width, Style.Unit.PX); style.setProperty(WebkitColumnGap, width, Style.Unit.PX); style.setProperty(columnGap, width, Style.Unit.PX); } -- 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/-/1I8AVzGr_tYJ. 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: Basic JavaScript onClick not getting called from inside GWT richTextarea
Did you ever call exportMyFunction2? -- 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/-/t3GfHd8ZwxsJ. 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: Ok, CssResources and ClientBundle, what am I doing wrong?
Does your Style1.css now say this: @external .gwt-Button; .gwt-Button{ background: black; color: cyan; } Don't forget the semicolon at the end of the @external line. I forgot it the first few times I used it. It causes no error to be thrown and next style to be completely ignored. It worked for me, so hopefully that is your issue. -- 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/-/KcSXu-sj4uUJ. 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: Possible to get HTML from a widget?
Maybe you'll want to be using the GWT 2.4 docs instead of the GWT 1.4 docs you seem to have. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/index.html Anyway, from the Widget you can call widget.getElement()http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/UIObject.html#getElement() and from that element you can call element.getString()http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/dom/client/Element.html#getString(), which will get you the full html, including it's own tag. -- Danny -- 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/-/eTjFdfN13PkJ. 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.