Re: Editor framework problem
Keep in mind that everything in GWT (Editor, UiBinder, PlaceHistoryMapper, etc.) is done by static-analysis at compile-time. If the MyPersonEditor interface doesn't expose the sub-editors (getter methods, possibly annotated with @Path) then the generator won't see them. At runtime you could use MyPersonEditorImpl or any other class that implements MyPersonEditor, but the code is generated once for MyPersonEditor, so only things that are in that interface are taken into account. On Monday, December 10, 2012 2:27:29 AM UTC+1, Vesko Georgiev wrote: Hi everyone, I faced the following problem, not sure whether it's a bug or a feature. It occurs if the Driver class has the editor generic type as an interface, but not the actual implementation. Note that MyPersonDriver references MyPersonEditor, not MyPersonEditorImpl. In this case the line: driver.edit (somePerson, requestContext); does not populate the form. If I use MyPersonEditorImpl it works, but when the driver does not reference the actual class it doesn't. interface *MyPersonEditor* extends EditorPersonProxy, MyOtherInterface { ... } interface MyPersonDriver extends RequestFactoryEditorDriverPersonProxy, * MyPersonEditor* { ... } class MyPersonEditorImpl extends Composite implements MyPersonEditor { @UiField ValueBoxEditorDecoratorString name; ... } MyPersonDriver driver = GWT.create(MyPersonDriver.class); driver.edit(somePerson, requestContext); Cheers, Vesko -- 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/-/WqomW7dOsfkJ. 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: problem of docklayoutpanel in IE9
On Monday, December 10, 2012 2:41:52 AM UTC+1, tong123123 wrote: our colleague just found that in IE9, the following is not work: DockLayoutPanel dockLayoutPanel = new DockLayoutPanel(Unit.PX); dockLayoutPanel.setSize(1024, 768); the dockLayoutPanel will not shown (although it works in IE8). In IE9, we must write the px in setsize DockLayoutPanel dockLayoutPanel = new DockLayoutPanel(Unit.PX); dockLayoutPanel.setSize(1024px, 768px); why this is the case? Because of browser bugs/discrepancies. setSize(foo, bar) is equivalent to style=width: foo; height: bar, and IE8 used to default to pixels when the unit wasn't present. If you're using pixels, use setPixelSize and you'll never forget the unit anymore. -- 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/-/PiGCNJM__C0J. 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: Strange results for Window.getClientWidth() on mobile safari vs UIWebView
980 pixel is the default width mobile safari zooms websites to if they dont provide any viewport meta information. When you choose device-width in the meta tag the website dimensions will be set to 320x480 for both retina and non-retina iPhones (and I guess its the size that is also reported by UIWebView). The only difference is that the JS property window.devicePixelRatio should return 2 on the retina display iPhone because every pixel is doubled. So if you want super sharp graphics on retina iPhone you have double size everything and then display it 50% smaller. In case of your canvas you would have a canvas with 320x480 css size, a canvas coordinate space of 640x960 and finally a scale factor of 2 for your paint operations. See: http://joubert.posterous.com/crisp-html-5-canvas-text-on-mobile-phones-and -- 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/-/TQFq60loAI8J. 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 not expose method to client when using RCP
Hi all, I’m using GWT 2.5, and RCP to exchange information between client and service. I’m trying to define the interface that extends RemoteService and another one CRUDServiceT that has among others (CRUD methods) a method: public ClassT getDtoType(); But this method is only intended to be user by the implementation, on the server side. Is there a way not to expose this method to client side? Otherwise I’m getting an error, when I compile the project, saying ClassT does not implements Serializeble nor IsSerializeble. Could anyone give me some feedback? Thanks, Luis. -- 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/-/_gYim4dXCB8J. 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 not expose method to client when using RCP
Correction: RCP I mean RPC :) Segunda-feira, 10 de Dezembro de 2012 9:53:44 UTC, Luis Costa escreveu: Hi all, I’m using GWT 2.5, and RCP to exchange information between client and service. I’m trying to define the interface that extends RemoteService and another one CRUDServiceT that has among others (CRUD methods) a method: public ClassT getDtoType(); But this method is only intended to be user by the implementation, on the server side. Is there a way not to expose this method to client side? Otherwise I’m getting an error, when I compile the project, saying ClassT does not implements Serializeble nor IsSerializeble. Could anyone give me some feedback? Thanks, Luis. -- 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/-/0t3cHq9Ie08J. 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 not expose method to client when using RCP
As far as I know you cant send the class Class through GWT-RPC as its not serializable. So you have to remove your getDtoType() method from your GWT-RPC interface (and any other method that takes Class as argument) As you only want to use the method on server side I am not sure why you add it to the interface and thus make it part of your public API? -- 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/-/GAB7fAKm2bwJ. 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 - 17 Messages in 10 Topics
-- 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.
Stress tool for GWT Application
Hi, What free tool do you recommend me to stress a GWT application? My application use HTTPS. I tried with loadUI but it doesn't work and TestMaker is too complex. Thank 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/-/SihKeKuZHeEJ. 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 Google OpenID login
Em segunda-feira, 10 de dezembro de 2012 01h36min28s UTC-2, dhoffer escreveu: I'd like to add OpenID login to my GWT application, I don't think I need OAuth support as I just need to authenticate the user. I'm looking for any examples/suggestions on the best way to do this for a GWT app. Also I just need to authenticate with Google, not any other provider, not sure how that may affect the implementation. I understand Google supports a popup login approach instead of a redirect, I think that might be desirable as well. We use openid4java [1] to implement the relying party as an HttpServlet and a dynamic host page [2] to check authentication status before loading the module. It works very well. [1] http://code.google.com/p/openid4java/ [2] https://developers.google.com/web-toolkit/articles/dynamic_host_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/-/pVAJoFtP5_cJ. 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 Google OpenID login
That sounds about perfect. Any chance you have some sample code you could forward? Especially how you implement the openid4java front end? Thanks, -Dave On Mon, Dec 10, 2012 at 9:05 AM, Pedro Lamarão pedro.lama...@gmail.com wrote: Em segunda-feira, 10 de dezembro de 2012 01h36min28s UTC-2, dhoffer escreveu: I'd like to add OpenID login to my GWT application, I don't think I need OAuth support as I just need to authenticate the user. I'm looking for any examples/suggestions on the best way to do this for a GWT app. Also I just need to authenticate with Google, not any other provider, not sure how that may affect the implementation. I understand Google supports a popup login approach instead of a redirect, I think that might be desirable as well. We use openid4java [1] to implement the relying party as an HttpServlet and a dynamic host page [2] to check authentication status before loading the module. It works very well. [1] http://code.google.com/p/openid4java/ [2] https://developers.google.com/web-toolkit/articles/dynamic_host_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/-/pVAJoFtP5_cJ. 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.
Duplicated entry in DeobfuscatorBuilder for maven compile
Hallo, there is a duplicated entry in DeobfuscatorBuilder class when I compile the application with maven and the lists with the proxies for the duplicated bean are different. But if I compile the application with eclipse-compiler, there is no duplicated entry and nothing went wrong (only the first entry of the list above for OPAssertionWithInformation). withOperation(new OperationKey(KUn4aunHWrVyneYsWoPuvNECTaM=), new OperationData.Builder() .withClientMethodDescriptor((Lxxx/gui/shared/beans/rf/proxies/filtering/FilterLoadConfigProxy;Lxxx/gui/shared/beans/rf/proxies/paging/PagingLoadConfigProxy;)Lcom/google/web/bindery/requestfactory/shared/Request;) .withDomainMethodDescriptor((Lxxx/editor/loadconfig/FilterLoadConfig;Lxxx/editor/loadconfig/PagingLoadConfig;)Lxxx/editor/loadconfig/PagingLoadResultOPAssertion;) .withMethodName(loadObjectPropertyAssertions) .withRequestContext(xxx.gui.shared.beans.rf.WebInterfaceRequestFactory$PropertyAssertionRequest) .build()); ... withClientToDomainMappings(xxx.editor.model.OPAssertionWithInformation, Arrays.asList(xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy, xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithMinInformationProxy)); ... withClientToDomainMappings(xxx.editor.model.OPAssertionWithInformation, Arrays.asList(xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy)); ... The first entry for OPAssertionWithInformation is the right one because my proxies look like this @ProxyFor(value = OPAssertionWithInformation.class, locator = OPAssertionLocator.class) public interface OPAssertionWithInfEntityProxy extends EntityProxy { ... } @ProxyFor(OPAssertionWithInformation.class) public interface OPAssertionWithMinInformationProxy extends ValueProxy { ... } I need both proxies. Now if I call the method loadObjectPropertyAssertions with param OPAssertionWithMinInformationProxy, I get an exception that The domain type OPAssertionWithInformation cannot be sent to the client, because the second entry in DeobfuscatorBuilder overrides the first entry and so OPAssertionWithMinInformationProxy cannot be found. I´ve been searching for a couple of days but I don´t understand why the result of eclipse and maven compile are different and why maven compile produces this duplicated entry. Can anybody help me? -- 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/-/VBJdp04gz00J. 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: Stress tool for GWT Application
I suggest you to get Grinder: http://grinder.sourceforge.net/ Il giorno lunedì 10 dicembre 2012 15:52:47 UTC+1, grisastur ha scritto: Hi, What free tool do you recommend me to stress a GWT application? My application use HTTPS. I tried with loadUI but it doesn't work and TestMaker is too complex. Thank 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/-/ukuW0LZBRT8J. 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 German User Group (community)
https://plus.google.com/u/0/communities/103427846683617182545 Austausch von Erfahrungen im Bereich RIA-Development mit GWT, Trends, Tricks, Tipps. Von GWT-Usern für GWT-User. -- 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/-/yPCPYn6NjE0J. 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: Stress tool for GWT Application
Thank you, I will have a look! El lunes, 10 de diciembre de 2012 17:47:12 UTC+1, Giovanni Giachetti escribió: I suggest you to get Grinder: http://grinder.sourceforge.net/ Il giorno lunedì 10 dicembre 2012 15:52:47 UTC+1, grisastur ha scritto: Hi, What free tool do you recommend me to stress a GWT application? My application use HTTPS. I tried with loadUI but it doesn't work and TestMaker is too complex. Thank 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/-/A4DD6oKJ-QMJ. 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.
UiRenderer KeyUp and KeyDown Events (GWT 2.5)
*Problem: *Having issues getting KeyUp and KeyDown events to be called with UiRenderer. Using the syntax below they don't always get called: @UiHandler({inputTextBox}) void onKeyUpEvent(KeyUpEvent event, Element parent, String name) (from: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Rendering_HTML_for_Cells) Switching to overriding onEnterKeyPressed results in an incorrect parent element? So when I call: renderer.getInputTextBox(parent).getValue() The item isn't found because the parent is wrong? *Question: *Has anyone successfully used KeyUp/KeyDown in a UiRenderer context and successfully caught the KeyCode being pressed? -- 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/-/AwnCAXjUXx0J. 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: Duplicated entry in DeobfuscatorBuilder for maven compile
How are you running the ValidationTool? (I suppose annotation processing during maven-compiler-plugin) Does it happen during mvn clean compile or only mvn compile? Feel free to file an issue after you double-check it's not an environmental issue (e.g. some classes compiled by Eclipse and others by javac, etc.) Also, is this GWT 2.4.0 or 2.5.0? Try requestfactory-apt:2.5.0 before reporting an issue. On Monday, December 10, 2012 5:41:37 PM UTC+1, SiJa wrote: Hallo, there is a duplicated entry in DeobfuscatorBuilder class when I compile the application with maven and the lists with the proxies for the duplicated bean are different. But if I compile the application with eclipse-compiler, there is no duplicated entry and nothing went wrong (only the first entry of the list above for OPAssertionWithInformation). withOperation(new OperationKey(KUn4aunHWrVyneYsWoPuvNECTaM=), new OperationData.Builder() .withClientMethodDescriptor((Lxxx/gui/shared/beans/rf/proxies/filtering/FilterLoadConfigProxy;Lxxx/gui/shared/beans/rf/proxies/paging/PagingLoadConfigProxy;)Lcom/google/web/bindery/requestfactory/shared/Request;) .withDomainMethodDescriptor((Lxxx/editor/loadconfig/FilterLoadConfig;Lxxx/editor/loadconfig/PagingLoadConfig;)Lxxx/editor/loadconfig/PagingLoadResultOPAssertion;) .withMethodName(loadObjectPropertyAssertions) .withRequestContext(xxx.gui.shared.beans.rf.WebInterfaceRequestFactory$PropertyAssertionRequest) .build()); ... withClientToDomainMappings(xxx.editor.model.OPAssertionWithInformation, Arrays.asList(xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy, xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithMinInformationProxy)); ... withClientToDomainMappings(xxx.editor.model.OPAssertionWithInformation, Arrays.asList(xxx.gui.shared.beans.rf.proxies.model.OPAssertionWithInfEntityProxy)); ... The first entry for OPAssertionWithInformation is the right one because my proxies look like this @ProxyFor(value = OPAssertionWithInformation.class, locator = OPAssertionLocator.class) public interface OPAssertionWithInfEntityProxy extends EntityProxy { ... } @ProxyFor(OPAssertionWithInformation.class) public interface OPAssertionWithMinInformationProxy extends ValueProxy { ... } I need both proxies. Now if I call the method loadObjectPropertyAssertions with param OPAssertionWithMinInformationProxy, I get an exception that The domain type OPAssertionWithInformation cannot be sent to the client, because the second entry in DeobfuscatorBuilder overrides the first entry and so OPAssertionWithMinInformationProxy cannot be found. I´ve been searching for a couple of days but I don´t understand why the result of eclipse and maven compile are different and why maven compile produces this duplicated entry. Can anybody help me? -- 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/-/C8Ypke_cpJoJ. 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: Creating widgets for use with / without GWT
Have you checked out gwt-exporter http://code.google.com/p/gwt-exporter/yet? It should achieve what you're talking about with a minimal amount of overhead. Also, when exposing your widgets, I'd suggest using the ClientBundle so that all images/css/resources are included. This way when non-gwt consumers user your widgets, all they need to do is include in their project is the .js tag, rather than also the CSS/Images/resources. 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/-/l0wx_3UelVMJ. 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: DataGrid and EditTextCell in sub rows problem
Hello Nicolas. Thank you for your answer. Very helpful. I came up with a slightly different solution (for now). I created a subclass of a column, and overrode the onBrowserEvent() call. There I receive the context with the subIndex, which is 0 when the root cell was edited, and reflects the sub row index when a cell in a sub row was edited. Then I just provide this to the fieldUpdater and the onBrowserEvent of the Cell. This also only allows for one level of sub rows, but I need more. This is where your approach looks more useful. @Override public void onBrowserEvent(Context context, Element elem, final T object, NativeEvent event) { // The provided row is always the root row, so we need to find the // correct one when a sub row was edited actualIndex = context.getSubIndex(); actualObject = object; if (0 != context.getSubIndex() object instanceof RowDTO) { actualIndex = context.getSubIndex(); actualObject = (T) ((RowDTO) object).getChild(actualIndex - 1); context = new Context(context.getIndex(), context.getColumn(), actualObject, actualIndex); } ValueUpdaterC valueUpdater = (getFieldUpdater() == null) ? null : new ValueUpdaterC() { @Override public void update(C value) { getFieldUpdater().update(actualIndex, object, value); } }; getCell().onBrowserEvent(context, elem, getValue(actualObject), event, valueUpdater); } Cheers, Michael -- 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/-/R2aeJHz6zO8J. 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.
dataGrid.setSelectionEnabled(true)
Hello. Unfortunately I already ran into the next feature of the DataGrid I seem to have problems to understand its usage: row selection by clicking in the first cell of the row (which right now is a simple TextCell, if that matters) Basically I have setup the selection support as it is shown in the custom datagrid in the showcase. There, the row selection is done by checkboxes. I would need to implement the selection by mouse. Some class names are added to a cell when I click on it, but multiple selection with shift or control key does not work. In a comment in the showcase datagrid it says: * This table will uses a checkbox column for selection. Alternatively, * you can call dataGrid.setSelectionEnabled(true) to enable mouse This call is nowhere to be found with GWT 2.5. So, what Do I need to do to get selection working? Thanks, Michael -- 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/-/2kVwo0DicAAJ. 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: Strange results for Window.getClientWidth() on mobile safari vs UIWebView
Thanks, I was expecting mobile safari and UIWebView to behave the same way (big mistake). I'll have a go from there, Thanks On Mon, Dec 10, 2012 at 4:09 AM, Jens jens.nehlme...@gmail.com wrote: 980 pixel is the default width mobile safari zooms websites to if they dont provide any viewport meta information. When you choose device-width in the meta tag the website dimensions will be set to 320x480 for both retina and non-retina iPhones (and I guess its the size that is also reported by UIWebView). The only difference is that the JS property window.devicePixelRatio should return 2 on the retina display iPhone because every pixel is doubled. So if you want super sharp graphics on retina iPhone you have double size everything and then display it 50% smaller. In case of your canvas you would have a canvas with 320x480 css size, a canvas coordinate space of 640x960 and finally a scale factor of 2 for your paint operations. See: http://joubert.posterous.com/crisp-html-5-canvas-text-on-mobile-phones-and -- 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/-/TQFq60loAI8J. 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-maps3.8.0 does not contain MapWidget
Hi, The google maps API gwt-maps3.8.0 does not contain MapWidget. Is this been distributed in any other API? Regards, Sridharan -- 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/-/g9kHCcdDiZwJ. 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 GWT sessions possible?
After moving an app from a traditional web app (think PHP or similar scripting language) to a GWT app I noticed a difference in handling of sessions. It seems like it is possible to have multiple simultaneous sessions with a GWT app running in the same browser (different tabs or windows). Not sure if this is a correct understanding or I am out in space some where. Also, concerned about potential security flaws with this. In our case, once a user is logged in, we create a session variable (server side). The value is not important. We simply check for its presence with every GWT-RPC call (server side). If the variable is not there, we throw an exception - to signal a timeout - which is caught by the GWT app and the user must log in again. Once the user is logged in, we don't really use the session (accept to check for its existence, as mentioned above). We do keep the user id on the client side - in the GWT client app though. Most of the calls to the server (via GWT-RPC) are not user specific. They are mostly queries. When the user is needed, the user ID is passed through GWT-RPC to the server. This is where a GWT app seems to really differ from a traditional web app. Each instance of a GWT app can store its own user ID. These are stored in the GWT client app (JS variables). Thus it seems like multiple instances of a GWT app can be run (for example, in two tabs of the same browser), with each instance being logged in as a different user. They would, of course, share the same session. In general, this is not likely to be done with a traditional web app because they typically rely on cookies to identify the user to the server and there is typically one cookie per web app (not per instance of the app). This idea still seems a little strange to me, coming from a world other than GWT. Does this makes sense or am I missing something? -- 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/-/rh6yuyf8yl0J. 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: Datepicker with multiselect
Has anyone gotten hold of the code for this awesome datepicker? J On Sunday, November 27, 2011 9:10:00 AM UTC-6, Deepak Singh wrote: Hi Eric, I also need this multi select datepicker. Can release the component or send the source code to us. Thanks Deepak On Mon, Jun 27, 2011 at 5:54 PM, Dmitry Tikhomirov chani...@gmail.comjavascript: wrote: Hi Erik, Have you realese your multi-select DatePicker ? Thanks 17.05.2011, в 21:09, Erik Uzureau написал(а): :-) Ok great to hear. I'm a little tied up this week but I'll see about getting that process started next week at the latest Erik Uzureau *France: *+33.6.85.96.94.08 *USA: *+1.312.927.5644 On Tue, May 17, 2011 at 15:19, Dmitry Tikhomirov chani...@gmail.comjavascript: wrote: Yes, We need it ! 17.05.2011, в 17:05, Juan Pablo Gardella написал(а): Yes! Very useful. 2011/5/17 Erik Uzureau euz...@gmail.com javascript: Hello Dmitry, We built a date picker that can handle the selection of date ranges (for the hospitality industry). We basically forked the generic GWT one to add the support for multi-select and the range display. It's not the most optimised code in the world but it gets the job done You can see it live running here: https://demo.reztrip.com/ We were thinking about taking the code and open sourcing it. Would this be useful to you? Others? Erik Uzureau ** On Thu, May 5, 2011 at 16:39, Juan Pablo Gardella gardella...@gmail.com javascript: wrote: See multiselect calendar in jqueryhttp://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ and see gwtquery http://code.google.com/p/gwtquery/ (jquery ported to GWT). You can try with this to integrate to your application. 2011/5/5 Dmitry Tikhomirov chani...@gmail.com javascript: Hi all, Does anyone know any Datepicker with multiselect support. I need ability to select several dates. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Deepak Singh -- 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/-/ZGXSlf1_kLQJ. To post to this
Capture Audio
I went through com.google.gwt.media.client.* and elemental.js.html.* . There does not seem to be a way to record audio. Can someone throw light on this ? If it is not supported yet, 1. Is it likely to come soon 2. What are the alternatives ,i.e through javascript etc. Thanks J.Ganesan -- 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/-/ZLaBci0muwcJ. 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: Server class 'XXX' could not be found in the web app, but was found on the system classpath
Ran into this same issue tonight when setting my Spring/Hibernate GWT app up on Kubuntu and Indigo. I removed the Eclipse.org Maven Integration for Eclipse I installed from the Eclipse Marketplace and installed the m2e plugin from http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/. That fixed the issue like Joerg suggested. Thanks Jorge! 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/-/XFzc2jMIQRgJ. 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.
Google Drive SDK for GWT
Hi Folks, (Posting here since google-gwt-apis isn't accepting any new posts) Back in April, the GWT team indicated there would be support for Drive API/SDK coming. Is there any progress on this? The Drive SDK page https://developers.google.com/drive/downloads does mention GWT(alpha) support. However, when I click through to the GWT linkhttp://code.google.com/p/gwt-google-apis/, there is no mention of Drive. Is this coming soon? If not, are there any templates/examples I could follow to create a JSNI or Javascript Overlay wrapper for Drive? Thanks, Avanish -- Life is what you make of it Y. Avanish Raju, Google Inc. BTech, Computer Science and Engineering Biotechnology, ICFAI University, Dehradun -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS/S/MU d- s:- a- C+++ UL+++ P+ L+++ E- W+ N- o? K- w+w++ !O !M !V PS++@ PE++ Y+@ PGP- t 5? X+ R tv b+++ DI+@ D+ G e++ h* r-- y --END GEEK CODE BLOCK-- -- 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 GWT sessions possible?
If you are able to design the server side of an GWT app, you should use stateless services. Am Dienstag, 11. Dezember 2012 00:52:57 UTC+1 schrieb Mike Dee: After moving an app from a traditional web app (think PHP or similar scripting language) to a GWT app I noticed a difference in handling of sessions. It seems like it is possible to have multiple simultaneous sessions with a GWT app running in the same browser (different tabs or windows). Not sure if this is a correct understanding or I am out in space some where. Also, concerned about potential security flaws with this. In our case, once a user is logged in, we create a session variable (server side). The value is not important. We simply check for its presence with every GWT-RPC call (server side). If the variable is not there, we throw an exception - to signal a timeout - which is caught by the GWT app and the user must log in again. Once the user is logged in, we don't really use the session (accept to check for its existence, as mentioned above). We do keep the user id on the client side - in the GWT client app though. Most of the calls to the server (via GWT-RPC) are not user specific. They are mostly queries. When the user is needed, the user ID is passed through GWT-RPC to the server. This is where a GWT app seems to really differ from a traditional web app. Each instance of a GWT app can store its own user ID. These are stored in the GWT client app (JS variables). Thus it seems like multiple instances of a GWT app can be run (for example, in two tabs of the same browser), with each instance being logged in as a different user. They would, of course, share the same session. In general, this is not likely to be done with a traditional web app because they typically rely on cookies to identify the user to the server and there is typically one cookie per web app (not per instance of the app). This idea still seems a little strange to me, coming from a world other than GWT. Does this makes sense or am I missing something? -- 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/-/NUwLqzjpo70J. 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: Added new public static method to Window.Location: reloadParameterMap. (issue1859804)
LGTM http://gwt-code-reviews.appspot.com/1859804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Added new public static method to Window.Location: reloadParameterMap. (issue1859804)
LGTM http://gwt-code-reviews.appspot.com/1859804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors