Re: Client to client communication
A GWT client is a web page in a browser, which can't talk to another browser instance, because a browser can't listen on a socket, as far as I'm aware. So clients don't really have 'port numbers'. I think that the right way to do what you want to do would be to have clients send messages to a server side queue which would store the messages until a client polled the server for messages addressed to that client. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT RPC in GWT 3.0+
On Sunday, 7 February 2016 18:07:12 UTC+11, Vassilis Virvilis wrote: > > AFAIK RestyGWT does not include a server component. You have to rely on > another jax-rs server-side stack in order to serve RestyGWT requests. > > Here is a list of java implementations although nobody forces to stay on > java server side > https://en.wikipedia.org/wiki/Java_API_for_RESTful_Web_Services > I mean that it allows the same interface to be used to specify the client and the server -- see "Reusing server interfaces" at the bottom of this page: https://resty-gwt.github.io/documentation/restygwt-user-guide.html When I say that I want an RPC implementation to be statically typed, I mean that the Java type system must enforce that the GWT client matches the server implementation, and that if I change either I will get compile time errors. This can be done either via Java or via some intermediate specification language, I don't mind. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT RPC in GWT 3.0+
I didn't realise that RestyGWT did the server side too -- thanks for getting me to look at it again! -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: GWT RPC in GWT 3.0+
I'm not actively using GWt at present, unfortunately, but I second the importance of GWT-RPC. For me the ability to statically type the interfaces is very important, and the tooling support that Intellij IDEA provides makes it easy to use. Are there any statically typed alternatives? It's a shame that grpc doesn't have browser support. -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
2.3 beta release notes link broken
The link http://code.google.com/webtoolkit/beta/release-notes.html#Release_Notes_Current on http://code.google.com/webtoolkit/beta/download.html 404s. -- 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 Confluence Plugin
I haven't actually done this, but essentially you'd include the files created by GWT as web resources in your plugin. Your macro module would render a div to be enhanced by GWT, and would also call requireResources to include the generated GWT files. RPC endpoints would be servlet modules. It might be a good idea to write a trivial version of your plugin using plain javascript first, just to get to grips with the basic mechanics of macros and web resources. Tom -- 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-tool...@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 Confluence Plugin
On Jun 29, 5:27 am, krude wrote: > Has anyone deployed a GWT app as an Atlassian plugin for Confluence > and have an example of it? I have had a hard time finding anything but > I believe it is possible. What exactly do you want to do? i.e. which part of the Confluence UI do you want to put a GWT panel in -- an entire page (e.g. an admin page) or a macro on a wiki page? Do you want to use GWT-RPC? It is certainly possible. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using HTMLPanel with UiBinder
Thanks for the reply Thomas. Perhaps what I'm doing is premature optimisation. I'm trying to make my widget simpler, by not using a composite. What I have looks like this: Foo.java: class Foo extends ComplexPanel { ...ui binder boilerplate... @UiField Element childLocation; public Foo() { setElement(ui.createAndBindUi(this)); } @Override public void add(Widget child) { // record the child widget for attachment during onLoad() this.child = child; } @Override protected void onLoad() { addAndReplaceElement(child, childLocation.cast()); } private void addAndReplaceElement(Widget widget, com.google.gwt.user.client.Element toReplace) { ... copied from HTMLPanel ... } } Foo.ui.xml: ...plain html... ...more html... So my template is simpler than a Composite would be. -- 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-tool...@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.
Using HTMLPanel with UiBinder
I'd like to use an HTMLPanel widget with its HTML provided by a UiBinder template. Unfortunately, HTMLPanel always calls setElement() in its constructor. Is there any way around this other than extending ComplexPanel and copying the parts of HTMLPanel which I want? -- 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-tool...@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 RPC and GoDaddy
On May 23, 2:44 am, Mike Apolis wrote: > java.lang.UnsupportedClassVersionError: Bad version number in .class That means that you are running a class compiled with a later JDK on an earlier JVM -- e.g. you've built your project with JDK 1.6 and are trying to run it on a 1.5 JVM. You need to either build with JDK 1.5, or tell javac to target 1.5 VMs (and make sure that you don't use any 1.6 APIs) Tom -- 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-tool...@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: regular expressions
On May 18, 12:20 am, laurent wrote: > i want that maximum one figure after the dot.For example, i've > 123.89 , with formatting : 123.8 NumberFormat nf = NumberFormat.getFormat("#.0"); String s1 = nf.format(123.45); // 123.5 String s2 = nf.format(123); // 123.0 String s3 = nf.format(0.45); // .5 -- 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-tool...@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: regular expressions
On May 17, 9:00 pm, laurent wrote: > hello , > > simple question.i've a problem with regular expression.When i do > NumberFormat num = NumberFormat.getFormat("*.[0-9]) with > Window.alert( num.format(123.14) ) , it don't print. I use the > NumberFormat of GWT.I want that my double begin with 0...n > characters,a dot and a figure between 0 and 9. Have a look at the Javadoc for NumberFormat: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?overview-summary.html The patterns are not conventional regular expressions. NumberFormat patterns are not going to let you strip arbitrary non- numeric characters from the front of your numbers (which is what you say you want to do, although not what your example suggests). What number do you want to get from the string "123.14"? Tom -- 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-tool...@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: running application without application server?
On May 16, 1:50 am, rzahn wrote: > My application has to display results from a mysql-database. Will I be > able to run this application on a host without an application server > like tomcat? The short answer is no -- you need something running on the server to query the DB and turn the result into a response to an HTTP request. If you use a different protocol to GWT RPC (e.g. REST/JSON) your server side code could be (say) PHP rather than Java servlets. Tom -- 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-tool...@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 with VerticalPanel row height via UiBinder
I don't know what's causing your issue -- something like FireBug should let you see what the size of your element is, and which styles the sizes are coming from. There's nothing wrong with using mostly HTML in UiBinder templates -- unless unless your widget actually needs a reference to a child element, I just use HTML. -- 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-tool...@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 access static variable on remoteService?
Perhaps you can explain a bit more clearly what it is you want to do, what you are trying, what happens, and what you expect to happen. To call setB() and then getB() in sequence, you need to call getB() inside the onSuccess method of the callback which handles the response of the call get setB() Tom -- 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-tool...@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.