Re: RequestFactory, ValueProxy support for Email, Link, User
For posterity: After setting up the Annotation Processor, I realized there were many other issues. But User object isn't one of them. It works fine. Link, on the other hand, does not - the reason for this is that Link object doesn't have a default constructor. So we get errors if we try to make a LinkProxy for it. I decided to store my link just as a String, instead of Link. Regards, Avanish On Fri, Dec 21, 2012 at 11:12 PM, Avanish Raju yar...@gmail.com wrote: Hi GWT team, I've just started migrating from GWT-RPC to RequestFactory, and noticed that even when using ValueProxy to wrap the datastore objects, they aren't supported. For e.g, I created a UserProxy and a LinkProxy: import com.google.appengine.api.users.User; import com.google.web.bindery.requestfactory.shared.ProxyFor; import com.google.web.bindery.requestfactory.shared.ValueProxy; @ProxyFor(User.class) public interface UserProxy extends ValueProxy { String getUserId(); String getEmail(); String getNickName(); String getAuthDomain(); String getFederatedIdentity(); } package com.kuryaat.lms.common.newdto; import com.google.appengine.api.datastore.Link; import com.google.web.bindery.requestfactory.shared.ProxyFor; import com.google.web.bindery.requestfactory.shared.ValueProxy; @ProxyFor(Link.class) public interface LinkProxy extends ValueProxy { String getValue(); } And I'm using them like this: import com.google.web.bindery.requestfactory.shared.EntityProxy; import com.google.web.bindery.requestfactory.shared.ProxyFor; import com.kuryaat.lms.common.dto.DocRefType; import com.kuryaat.lms.server.jdo.DocRef; import com.kuryaat.lms.server.rf.DocRefLocator; @ProxyFor(value = DocRef.class, locator = DocRefLocator.class) public interface DocRefProxy extends EntityProxy { String getName(); LinkProxy getLink(); DocRefType getDocType(); int getStackIndex(); String getSourceService(); } But I get the following error when I try to run the code: [ERROR] [myapp] - Line 7: User cannot be resolved to a type What is the right way to handle these? Thanks, Avanish -- Life is what you make of it Y. Avanish Raju, 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-- -- Life is what you make of it Y. Avanish Raju, 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: GWT Crawlable (SEO)
Jan you seem to be kind of trolling; duplicate thread created 5 days ago by yourself and you clearly didnt bother to use the search feature but I will answer anyways Just copy the filter I wrote: https://groups.google.com/forum/#!topic/google-web-toolkit/aBt-QCCQkKY On Thursday, December 27, 2012 3:36:17 AM UTC-8, Jan wrote: Hi I like to make my GWT-App by the google bot. I found this article ( https://developers.google.com/webmasters/ajax-crawling/). It states there should be a servlet filter, that serves a different view to the google bot. But how can this work? If i use for example the activities and places pattern, than the page changes are on the client-side only and there is no servlet involved - servlet filter does not work here. Can someone give me an explanation? Or is there another good tutorial tailored to gwt how to do this? Thanks and best regards Jan -- 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/-/VqqvW4u0QmUJ. 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: execute priority ServletContextEvent handler and static block
do not put code in a static block in your servlet context listener. the context initialized method is guaranteed to be called exactly once for a servlet context listener before any of your servlets are initialized -- 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/-/VdaSfaAVqZoJ. 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 add meta tag in the header's page [with uibinder ?]
Here is an example for setting the description meta element public static void setMetaDescription(String description){ NodeListElement nodes = Document.get().getElementsByTagName(meta); for( int i = 0; i nodes.getLength(); i++ ){ MetaElement meta = (MetaElement)nodes.getItem(i); if( description.equals(meta.getName()) ){ meta.setContent(description); break; } } } -- 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/-/gH8DbwD85tcJ. 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, how to show multiline content in its cells?
It should be text-overflow, not test-overflow. On Sunday, December 30, 2012 10:31:41 PM UTC-5, tong123123 wrote: Ok, I found remove white-space:nowrap; then it can show multiline. but I found something unknown, if I use white-space:nowrap; overflow:hidden; test-overflow:ellipsis; I expect the overflow text will show as ellipsis, but not, the overflow text is just truncated!! -- 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/-/94LBCAh0gvAJ. 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 Creating Session ID using java.uti.UUID and ignoring Cookie header
Hello, I think it 's a good process because you don't use cookie and pass the session in the payload. I have a question concerning the step 3 : *The server checks if the user exists. If so, I generate a * *SessionID using UUID.randomUUID.toString and pass it back to the client. : *where do you save the UUID session on the server ? hashtable ? thanks Le dimanche 1 mai 2011 17:09:27 UTC+2, HelperMethod a écrit : In order to prevent XSRF, I implement session handling in GWT this way: 1. If a sessionID is stored in the cookie, send it to the server in the RPC payload and check if it's still valid. 2. If not, show login window. User enters username/password, both are sent to the server. 3. The server checks if the user exists. If so, I generate a SessionID using UUID.randomUUID.toString and pass it back to the client. 4. The client stores it in a cookie, sending it to the server with each request (in the payload). Is is okay to completely ignore the sessionID within the cookie header? I've also seen an alternative solution where the cookie's sessionID is also aditionally sent within each request and then both are tested for equality. Which of the two solutions is better? -- 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/-/IrCB7OY0bgsJ. 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: Open url in new mobile safari instance?: Window.open()
You have to program that behavior into UiWebView, see: https://www.google.com/search?q=open+link+in+safari+uiwebview -- 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/-/sUVpftrkKqsJ. 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 and c.g.gwt.user.User
Hello. Is it possible use Elemental with c.g.gwt.user.User? The problem is after using Elemental and c.g.gwt.user.User in the project (Debug\Run) I got an Exception At the same time project compiles normaly but with only one permutation. Exception: *17:50:46.736 [ERROR] [MyProject] Unable to load module entry point class net.MyProject.site.client.MyProject (see associated exception for details)* *com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.* *at com.google.gwt.dev.js.ast.JsVisitor.translateException(JsVisitor.java:483)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:470)* *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:893) * *at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn.java:49)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)* *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032) * *at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59) * *at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)* *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.shell.Jsni.generateJavaScriptForHostedMode(Jsni.java:253) * *at com.google.gwt.dev.shell.Jsni.getJavaScriptForHostedMode(Jsni.java:241)* *at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createNativeMethods(ModuleSpaceOOPHM.java:52) * *at com.google.gwt.dev.shell.CompilingClassLoader.injectJsniMethods(CompilingClassLoader.java:1387) * *at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1158) * *at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203) * *at java.lang.ClassLoader.loadClass(ClassLoader.java:247)* *at com.google.gwt.user.client.DOM.appendChild(DOM.java:66)* *at com.google.gwt.user.client.ui.CellPanel.init(CellPanel.java:76)* *at com.google.gwt.user.client.ui.VerticalPanel.init(VerticalPanel.java:37)* *at net.MyProject.site.client.MyProject.onModuleLoad(MyProject.java:14)* *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:406)* *at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) * *at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526) * *at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) * *at java.lang.Thread.run(Thread.java:662)* *Caused by: java.lang.IndexOutOfBoundsException: Index: 11, Size: 11* *at java.util.ArrayList.RangeCheck(ArrayList.java:547)* *at java.util.ArrayList.get(ArrayList.java:322)* *at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassInfoByDispId(CompilingClassLoader.java:123) * *at com.google.gwt.dev.shell.CompilingClassLoader.getClassInfoByDispId(CompilingClassLoader.java:1021) * *at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:177) * *at com.google.gwt.dev.js.ast.JsInvocation.traverse(JsInvocation.java:69)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)* *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:893) * *at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn.java:49)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)* *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032) * *at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59) * *at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468)* *at
Re: Elemental and c.g.gwt.user.User
There are known incompatibilities between Elemental and DevMode: https://code.google.com/p/google-web-toolkit/issues/detail?id=7481 https://code.google.com/p/google-web-toolkit/issues/detail?id=7842 It (apparently) works well in SuperDevMode. On Monday, December 31, 2012 5:58:30 PM UTC+1, Bademus ᵗʰᵉ wrote: Hello. Is it possible use Elemental with c.g.gwt.user.User? The problem is after using Elemental and c.g.gwt.user.User in the project (Debug\Run) I got an Exception At the same time project compiles normaly but with only one permutation. Exception: *17:50:46.736 [ERROR] [MyProject] Unable to load module entry point class net.MyProject.site.client.MyProject (see associated exception for details) * *com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.* *at com.google.gwt.dev.js.ast.JsVisitor.translateException(JsVisitor.java:483) * *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:470) * *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:893) * *at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn.java:49)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) * *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.printJsBlock(JsToStringGenerationVisitor.java:1032) * *at com.google.gwt.dev.js.JsSourceGenerationVisitor.visit(JsSourceGenerationVisitor.java:59) * *at com.google.gwt.dev.js.ast.JsBlock.traverse(JsBlock.java:47)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) * *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.shell.Jsni.generateJavaScriptForHostedMode(Jsni.java:253) * *at com.google.gwt.dev.shell.Jsni.getJavaScriptForHostedMode(Jsni.java:241)* *at com.google.gwt.dev.shell.ModuleSpaceOOPHM.createNativeMethods(ModuleSpaceOOPHM.java:52) * *at com.google.gwt.dev.shell.CompilingClassLoader.injectJsniMethods(CompilingClassLoader.java:1387) * *at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1158) * *at com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1203) * *at java.lang.ClassLoader.loadClass(ClassLoader.java:247)* *at com.google.gwt.user.client.DOM.appendChild(DOM.java:66)* *at com.google.gwt.user.client.ui.CellPanel.init(CellPanel.java:76)* *at com.google.gwt.user.client.ui.VerticalPanel.init(VerticalPanel.java:37)* *at net.MyProject.site.client.MyProject.onModuleLoad(MyProject.java:14)* *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:406)* *at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) * *at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526) * *at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) * *at java.lang.Thread.run(Thread.java:662)* *Caused by: java.lang.IndexOutOfBoundsException: Index: 11, Size: 11* *at java.util.ArrayList.RangeCheck(ArrayList.java:547)* *at java.util.ArrayList.get(ArrayList.java:322)* *at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getClassInfoByDispId(CompilingClassLoader.java:123) * *at com.google.gwt.dev.shell.CompilingClassLoader.getClassInfoByDispId(CompilingClassLoader.java:1021) * *at com.google.gwt.dev.shell.Jsni$JsSourceGenWithJsniIdentFixup.visit(Jsni.java:177) * *at com.google.gwt.dev.js.ast.JsInvocation.traverse(JsInvocation.java:69)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) * *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at com.google.gwt.dev.js.ast.JsVisitor.accept(JsVisitor.java:109)* *at com.google.gwt.dev.js.JsToStringGenerationVisitor.visit(JsToStringGenerationVisitor.java:893) * *at com.google.gwt.dev.js.ast.JsReturn.traverse(JsReturn.java:49)* *at com.google.gwt.dev.js.ast.JsVisitor.doTraverse(JsVisitor.java:468) * *at com.google.gwt.dev.js.ast.JsVisitor.doAccept(JsVisitor.java:445)* *at
Re: JMockit compatible with GWTTestCase?
There are very few GWT-compatible mocking tools. Actually I know only one, inspired by EasyMock and made by Googlers: https://code.google.com/p/easy-gwt-mock/ An alternative is to mock GWT so you can avoid using a GWTTestCase, and thus use the mocking tool you want (including JMockit): https://github.com/gwt-test-utils/gwt-test-utils But I'm doing things like Jens suggest: abstract GWT-only classes (views) behind interfaces that can easily be mocked, so that a GWTTestCase is not necessary to unittest the business and/or presentation logic. On Friday, December 28, 2012 9:15:14 PM UTC+1, James Scott wrote: Hello all- I'm trying to use JMockit in a GWTTestCase (JUnit 3, for what it's worth) and I'm not having any luck. I have jmockit.jar on my classpath for the test, but when I run it, I get this error message: [ERROR] Line 50: No source code is available for type mockit.NonStrictExpectations; did you forget to inherit a required module? Line 50 is where I have my NonStrictExpectations declared in my test case. Right now, it's empty. I tried TRACE-level logging of the unit test run in Eclipse, and I get similar no source code available errors for other classes in the application GWT client code, but those are not under test and not in the same module as the code under test, so I don't think those are interfering. My classpath includes my Eclipse output dir, GWT jars, jmockit.jar and junit.jar. Is there something else that should be in the classpath? Thanks, JLS -- 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/-/JvQ_wykdYMEJ. 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: execute priority ServletContextEvent handler and static block
Thank you for your reply. Then what should be put in the servlet context listener and what should be put in the static block? From: Benjamin Possolo bposs...@gmail.com To: google-web-toolkit@googlegroups.com Cc: Leung leung1_2...@yahoo.com Sent: Monday, December 31, 2012 1:59 AM Subject: Re: execute priority ServletContextEvent handler and static block do not put code in a static block in your servlet context listener. the context initialized method is guaranteed to be called exactly once for a servlet context listener before any of your servlets are initialized -- 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.
gwtsizzle - CSS selectors for GWT dom
I needed a lightweight solution for CSS selectors in com.google.gwt.dom.client.Element so I made a GWT port of the JavaScript library *sizzle*js.com/ http://sizzlejs.com/ GWTSIZZLE : http://code.google.com/p/gwtsizzle/ Since it has a very simple JavaScript API it only took me 1 hour to author this project. It is much more lighter than using gquery (about 19kb). Any feedback is most appreciated. Usage example: // ala JavaScript JsArrayElement result = Sizzle.sizzleArray(div p); for (int i = 0; i result.length(); i++) System.out.println(result.get(i).getTagName()); // ala Java for (Element e : Sizzle.sizzleCol(div p)) System.out.println(e.getTagName()); -- 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/-/a2i1sHAnU74J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to open a new Browser Window with a Widget
Hey, here is what Im trying to do: I opened my GWT-Application that has a Tab-Component with several Views/Dialoges (each in a dfifferent Tab). display.getDialogContainer().getWidget(*selected*) .asWidget() returns the View/Dialoge from my Tab-Component with index=*selected*, which allows me to put the returned Dialog (Widget) in a DialogBox. But... the DialogBox is within the Browser-Window. Thats not what I need :( * I want to put the whole Widget that I get returned from .getWidget() in a new Browser-Window.* (Its like the Gmail feature, that allows to Pop-Up that E-Mail Overlay.) *My idea is*, to put the whole widget on the server and open a new Browser Window. Then I will open my entry-point site. The Entry-point site will check if there is a Widget on the server, and load it, if there is any. But I´m not quite sure if /how its even possible to save the Widget on the server. Thanks in advanced. Regards, Manuel -- 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/-/02O41DD1zBcJ. 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: gwtsizzle - CSS selectors for GWT dom
On Monday, December 31, 2012 10:55:50 PM UTC+1, Sebastián Gurin wrote: I needed a lightweight solution for CSS selectors in com.google.gwt.dom.client.Element so I made a GWT port of the JavaScript library *sizzle*js.com/ http://sizzlejs.com/ Ah, this is not a port, it's a wrapper. Also note that the script src= in the gwt.xml won't work with the xsiframe linker (and the xsiframe linker is the future) -- 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/-/pNJ2mf2JFykJ. 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: gwtsizzle - CSS selectors for GWT dom
Thank you Thomas for the clarification and for taking a look to the project. Didn't know about the new xsiframe. I'm reading some documentation and fixing my projects. about wrapper/port thing, I thought a wrapper was when you put the JSO as a pure java class attribute. Then you delegate all methods to the JSO. You have a little (x2) overhead because of the second call but you gain in language because you work with pure java so you can do new MyClass() and inheritance. In my case I use JSOs for talking directly to JS objects from java, so I didn't called wrapper but perhaps you are right, i don't know... iIm pretty confused about terminology here you are right it is not a port... I would call it (direct) Java API for sizzlejs . Happy new year and thanks again! On Monday, December 31, 2012 9:58:44 PM UTC-2, Thomas Broyer wrote: On Monday, December 31, 2012 10:55:50 PM UTC+1, Sebastián Gurin wrote: I needed a lightweight solution for CSS selectors in com.google.gwt.dom.client.Element so I made a GWT port of the JavaScript library *sizzle*js.com/ http://sizzlejs.com/ Ah, this is not a port, it's a wrapper. Also note that the script src= in the gwt.xml won't work with the xsiframe linker (and the xsiframe linker is the future) -- 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/-/RjoowyRiuDEJ. 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.