How to create deep copy of list on client side?
Hi, how can I (if possible) best create a deep copy of an ArrayList on the client side? I just need a list that when objects are changed does not reflect the changes to the source list. How could this be done clientside? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: TabLayoutPanel with scroll buttons
I updated the code of Eze for GWT 2.5. Apparently, the lastScroll trick is no longer needed, and I override the root insert / delete methods to reduce the number of overrides. There was also a little bug, using scrollLeftButton.getWidth() in place of scrollLeftButton.getHeight(), visible when the buttons are not square... I renamed also some methods to my taste. :-) There are still some things to improve, as I don't like the buttons to be over the first tab, but I will look into it later. Here is my variant: import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.logical.shared.ResizeEvent; import com.google.gwt.event.logical.shared.ResizeHandler; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.FlowPanel; import com.google.gwt.user.client.ui.Image; import com.google.gwt.user.client.ui.LayoutPanel; import com.google.gwt.user.client.ui.TabLayoutPanel; import com.google.gwt.user.client.ui.Widget; /** * A {@link TabLayoutPanel} that shows scroll buttons if necessary. * https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/wN8lLU23wPA */ public class ScrollableTabLayoutPanel extends TabLayoutPanel { private static final int IMAGE_PADDING_PIXELS = 4; private static final int SCROLL_INTERVAL = 60; private LayoutPanel panel; private FlowPanel tabBar; private HandlerRegistration windowResizeHandler; private Image scrollLeftButton; private Image scrollRightButton; private ImageResource leftArrowImage; private ImageResource rightArrowImage; public ScrollableTabLayoutPanel(double barHeight, Unit barUnit, ImageResource leftArrowImage, ImageResource rightArrowImage) { super(barHeight, barUnit); this.leftArrowImage = leftArrowImage; this.rightArrowImage = rightArrowImage; // The main widget wrapped by this composite, which is a LayoutPanel with the tab bar & the tab content panel = (LayoutPanel) getWidget(); // Find the tab bar, which is the first flow panel in the LayoutPanel for (int i = 0; i < panel.getWidgetCount(); i++) { Widget widget = panel.getWidget(i); if (widget instanceof FlowPanel) { tabBar = (FlowPanel) widget; break; } } initScrollButtons(); } @Override public void insert(Widget child, Widget tab, int beforeIndex) { super.insert(child, tab, beforeIndex); showScrollButtonsIfNecessary(); } @Override public boolean remove(int index) { boolean b = super.remove(index); showScrollButtonsIfNecessary(); return b; } @Override protected void onLoad() { super.onLoad(); if (windowResizeHandler == null) { windowResizeHandler = Window.addResizeHandler(new ResizeHandler() { @Override public void onResize(ResizeEvent event) { showScrollButtonsIfNecessary(); } }); } } @Override protected void onUnload() { super.onUnload(); if (windowResizeHandler != null) { windowResizeHandler.removeHandler(); windowResizeHandler = null; } } private ClickHandler createScrollClickHandler(final int diff) { return new ClickHandler() { @Override public void onClick(ClickEvent event) { Widget lastTab = getLastTab(); if (lastTab == null) return; int newLeft = parsePosition(tabBar.getElement().getStyle().getLeft()) + diff; int rightOfLastTab = getRightPosition(lastTab); // Prevent scrolling the last tab too far away form the right border, // or the first tab further than the left border position if (newLeft <= 0 && getTabBarWidth() - newLeft < (rightOfLastTab - diff / 2)) { scrollTo(newLeft); } } }; } /** * Create and attach the scroll button images with a click handler */ private void initScrollButtons() { scrollLeftButton = new Image(leftArrowImage); int leftImageWidth = scrollLeftButton.getWidth(); panel.insert(scrollLeftButton, 0); panel.setWidgetLeftWidth(scrollLeftButton, 0, Unit.PX, leftImageWidth, Unit.PX); panel.setWidgetTopHeight(scrollLeftButton, 0, Unit.PX, scrollLeftButton.getHeight(), Unit.PX); scrollLeftButton.addClickHa
GWT Bar Chart Options
Hello, I have a GWT project using the Chart Tools API libraries "gwt-visualization.jar" . I created a BarChart but I am not able to find how to change the values of: - bar size - font style, size for titles,legends Does anybody knows how to do it? I'll appreciate your help on this. Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT Designer - MenuBar
Same problem here. Is there a solution?? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Unable to log uncaught exceptions with RPC, SerializableThrowable not assignable to IsSerializable
So right, the basics, this is running on GWT2.5.0 / JDK1.6 and set up more or less as the docs have it set up *gwt.xml* and I'm forcing the exception with the following code, just a simple NullPointException try { Level n = null; n.getName(); } catch (NullPointerException ex) { //SerializableThrowable st = new SerialiableThrowable(); logger.log(Level.SEVERE, "Null Exception Hit", ex); } But for some reason this is thrown when the exception is thrown to the server [WARN] remoteLogging: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'com.google.gwt.core.client.impl.SerializableThrowable' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized. at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:323) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206) According to the docs on remote server logging this should "just work" and I don't see why this is getting thrown. It seems to me SerializableThrowable should by definition be serializable. I know you have to jump through some hoops to have your own classes be serializable, but everything I've read says I should be able to toss exceptions back to the server without issue. Any ideas? It looks like since 2.5.0 serializableThrowable has been moved to com.google.gwt.core.shared.SerializableThrowable, but I don't think that's doing it. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
GWT Bar Chart X-Axis
Hello, I am working in a GWT project using Bar Chart gwt-visualization library. As a result, I have my x-axis values as integers (1,2,3) which represent the values entered in the table. Does anybody knows how to replace these x-axis labels as string? In other words, I need to map 1 -> Low, 2 ->Med, 3->High I will appreciate your help on this. Thanks, -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: PROBLEM: GWT WEBAPP UNDER NETBEANS
Did you try this? https://netbeans.org/kb/docs/web/quickstart-webapps-gwt.html On Tuesday, April 2, 2013 6:49:09 AM UTC-10, akonoagou...@gmail.com wrote: > > Hi all, > > I embarked on a project with netbeans under gwt dashboarding but since > then I meet a lot I problem, I use netbeans 7.0: > > 1) I downloaded the plugin 2.10.4 GWT4NB but it did not work, too much > dependency eg hints java (which has been reported on many sites), so I > installed GWT 2.6.2 more problem > > 2) thereafter, so I wanted to create my HelloGwt using GWT 2.4, 2.3, 2.4 > but I still have the same problem, the application web is created, but run > well: > - I have no package that I created (org.yournamehere.main) > - Package source folder is empty > - I have no java class creates > - I did not create entrypoint > > I already retried six times issue I see not skipped a step but nothing. > What to do? > > Thank you in advance! > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Changes Opacity for vertical scrollbar inside 2.4 DataGrid?
DataGrid uses a CustomScrollPanel for its data table. Such panel uses transparent-style native scrollbars, but the resources used (NativeVerticalScrollbar.ResourcesTransparant) are hardcoded in the CustomScrollPanel constructor. I guess you can: - extend the DataGrid to obtain a reference of the inner CustomScrollPanel. See [1] on how to do that; - extend the default NativeVerticalScrollbar.ResourcesTransparant to provide your own style (or use the no-op NativeVerticalScrollbar.Resources to remove any opacity); - in the extended DataGrid constructor, after super(), use the CustomScrollPanel reference to set up a new scrollbar using the method setVerticalScrollbar(...) passing in a new NativeHorizontalScrollbar with your new resources. The same applies for the horizontal scrollbar. Or you can look at the DOM and figure out some hack to obtain the scrollbar container (as you tried). [1] https://groups.google.com/forum/#!msg/google-web-toolkit/cdB07DEtmXU/9TNb72MI3Q4J -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Complex JSON and overlay types
Do you have the freedom to change the JSON? to something like the following: {"records":[{"name":"Cedric","array":["50","H","US"]},{"name":"Jean", ... }]} On Tuesday, April 2, 2013 10:24:46 AM UTC-4, sebastie...@isen-lille.fr wrote: > > Yes, it works. But the problem is that I don't know John. It can be > anything else. For example the JSON can be: *{"records": [{"names": > {"Cedric": ["50", "H", "US"], "Jean": ["50", "H", "US"]}, "style": "TR"}]} > *or {"records": *[{"names": {"Blabla": ["50", "H", "US"]}, "style": > "TR"}]}. * > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Changes Opacity for vertical scrollbar inside 2.4 DataGrid?
Can someone please tell how to change the opacity for vertical scrollbar inside 2.4 DataGrid? Tried few things but nothing is working... 1)scrollPanel.getElement().getStyle().setOpacity(1); 2) DOM.setElementAttribute(scrollPanel.getElement(), "Opacity", ""+1); 3) scrollPanel.getElement().getStyle().setProperty("filter", "alpha(opacity=100)"); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Repainting a canvas - clear or create new object?
Hi, when a Canvas is often cleared and redrawn (for example during a drag and drop action): would it be better to call ctx.clearRect(0, 0, clientWidth(), clientHeight())? Or just create a new Canvas by Canvas.createIfSupported() and replace the currently drawn canvas by the new one? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Complex JSON and overlay types
You need to decode Message.class. So instead of: /AutoBean bean = AutoBeanCodex.decode(factory, Person.class, json); Do this: / / AutoBean bean = AutoBeanCodex.decode(factory, Message.class,json );/ Take a look here: https://gist.github.com/dozed/912ebc73dbeb43f3a539 Regards, Stefan On 02.04.2013 16:24, sebastien.rib...@isen-lille.fr wrote: Thank you for your answers. - Thomas: Yes, it works. But the problem is that I don't know John. It can be anything else. For example the JSON can be: /{"records": [{"names": {"Cedric": ["50", "H", "US"], "Jean": ["50", "H", "US"]}, "style": "TR"}]} /or {"records": /[{"names": {"Blabla": ["50", "H", "US"]}, "style": "TR"}]}. /To get the lists, I have to get the names first. And I don't know how to do. - Stefan: I try to do that but I get *null *even for /bean.as().getStyle()./ I don't understand how this method can get the properties.. /interface Message { List getRecords(); }/ /interface Person { Map> getNames(); String getStyle(); }/ / // Declare the factory type interface MyFactory extends AutoBeanFactory { AutoBean message(); AutoBean person(); }/ /public class HelloWorld implements IsWidget,EntryPoint { public Widget asWidget() { String url="data.json"; RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url); try { Request response = builder.sendRequest(null, new RequestCallback() { public void onError(Request request, Throwable exception) { // Code omitted for clarity }/ / public void onResponseReceived(Request request, Response response) { MyFactory factory = GWT.create(MyFactory.class); AutoBean bean = AutoBeanCodex.decode(factory, Person.class, response.getText()); System.out.println("oui "+ bean.as().getNames()); / / }/ / }); } catch (RequestException e) { } return null; }/ /@Override public void onModuleLoad() { asWidget(); } } / Le mardi 2 avril 2013 04:00:02 UTC-4, Thomas Broyer a écrit : On Monday, April 1, 2013 5:51:26 PM UTC+2, sebastie...@isen-lille.fr wrote: Thank you for your answer. If I do that: /public final native JsArray getTest() /*-{ return this.records[0].names.John; }-*/;/ / /I get *50,H,US, *so it's OK for that. But I'm not supposed to know "John" or "Jack", so how can I get them? Does /this.records[0].names["John"]/ works? If so, there shouldn't be any problem replacing the "John" with a method argument. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: how to deploy a demo program created by GWT glugin for eclipse?
You just copy your GWT project's war folder to $JETTY_HOME/webapps and rename it accordingly. Also rename the copied war folder to something that identify your webapp. For example, $JETTY_HOME/webapps/gwttest1/ myGWTHtmlfile.html Then start jetty and your app should be available at localhost:8080/ gwttest1/myGWTHtmlfile.html If you son't want to have the prefix "gwttest1" then just copy the GWT war folder to $JETTY_HOME/webapps and rename it to 'root', for example $JETTY_HOME/webapps/root/myGWTHtmlfile.html. In this case your app should be available at localhost:8080/myGWTHtmlfile.html For more information: http://wiki.eclipse.org/Jetty/Howto/Deploy_Web_Applications Good luck. On Monday, April 1, 2013 12:44:47 PM UTC-3, wahaha wrote: > > we use GWT glugin to create a demo project with sample code,and then we > can compile the client part to Javascript. > and then,how should we deploy the sever part to jetty? > sorry for my poor english.. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Cannot build project with Guava / Collect.gwt.xml
Hi, my project works at home, but I'm on a different machine and cannot build exactly the same project. It complains about the Guava Library not being on classpath. But it is, further I also have the correct entry in the project.gwt.xml: Though I'm getting the following, maybe anybody knows what I could do? Loading modules my.project Loading inherited module 'my.project' Loading inherited module 'com.google.common.collect.Collect' [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 30: Unexpected exception while processing element 'inherits' com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:308) at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:493) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68) at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:326) at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:246) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:195) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:172) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:144) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:1017) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:557) at com.google.gwt.dev.DevMode.doStartup(DevMode.java:443) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1083) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836) at com.google.gwt.dev.DevMode.main(DevMode.java:311) [ERROR] Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers
Re: Get mouse position in Canvas on keyPress?
Ok but for a GWT Canvas there is no canvas.getBoundingClientRect() or similar. So this would mean I have to constantly update the mouseXY variables within @UiHandler("canvas") void onMove(MouseMoveEvent evt) { x = evt.getRelativeX()... } BUT wouldn't this add a big overhead in the long run if I constantly rewrite the coordinates? I could of course use some timer to update XY, but this would then again result in inaccurate coordinates if the keypress comes in the wrong moment. 2013/4/3 Jens > Missed the part that you want the mouse position in a canvas. > > Take a look at > http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/ > > > You could easily transfer this to GWT and on a key event use the current > mouse position you have saved in your app by tracking the mouse movement on > the canvas element. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: clear browser cache automatically?
Hi Magnus, an easy solution for this problem, without any need for a filter or changing any http cache headers is to append a query string to the .nocache.js url, e. g.: > > > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: gwtuploader dont call onFinish method
That's in a known issue, change the file name in the server side before sending back the response. On Sat, Mar 9, 2013 at 8:05 PM, Michał Zakrzewski < michal.zakrzewsk...@gmail.com> wrote: > I think that problem is polish language in file name. Can I have change > file name in uploader ? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Get mouse position in Canvas on keyPress?
Missed the part that you want the mouse position in a canvas. Take a look at http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/ You could easily transfer this to GWT and on a key event use the current mouse position you have saved in your app by tracking the mouse movement on the canvas element. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Java 7
On Wednesday, April 3, 2013 8:15:03 AM UTC+2, Max Völkel wrote: > > How well does this play together with AppEngine 1.7.7? From their release > notes: "The Java runtime now defaults to Java7. If you still need to use > the Java6 > runtime, please use the --use_java6 flag when deploying your app. We > encourage > you to move to Java7 as soon as possible." > > It sounds I should compile for a 1.7 target. So I should *not* set > maven.compiler.source to 1.6, right? > I don't know how AppEngine's Java runtime works, but my 7 and 8 JREs are very well capable of running classes compiled with -target 1.6 or earlier, and mixing classes compiled with different -target (you'd never be able to use Maven, or pretty much any third-party dependency actually, if that wasn't the case; btw GWT is compiled with -target 1.6 and is fully compatible with a JDK 7, and we haven't yet heard of anyone having issues using RPC or RequestFactory on AppEngine) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.