Re: Digest for google-web-toolkit@googlegroups.com - 7 updates in 2 topics

2024-04-05 Thread Leon
I haven't read the whole thread, TLDR. Maybe this will help; If you use static variables in your GWT client code, those are unique and are constrained per tab (gwt client application really). Cookies are not constrained per tab. So if you store the information in a static variable, you can have a

Re: Digest for google-web-toolkit@googlegroups.com - 1 update in 1 topic

2024-03-20 Thread Leon
It’s the package rename for the later servlet spec. Use tomcat 9 and you’ll be fine. On Wed, 20 Mar 2024 at 14:02, wrote: > google-web-toolkit@googlegroups.com > > Google > Groups >

Re: Is moving away from RPC a good idea?

2024-02-09 Thread Leon
If you define a non-existent html cache and/or update your server early in the morning or late in the evening you will not have a problem. All browser clients will reload the latest version. Fallback is to show a warning in the GWT client that the browser needs a cache clearing when you get a

Re: Autogenerate IDs for eatch widget

2024-02-06 Thread Leon Pennings
There are ways to get id attributes on elements working even just for test, but that will not work efficiently for testing purposes. As id's need to be unique within the html, you have manage this for instance with a counter. If you do not keep them unique you'll be in a world of html behavior

Re: Is moving away from RPC a good idea?

2024-01-12 Thread Leon Pennings
I think moving away from gwt-rpc is a bad idea. A big advantage of GWT is that I can code everything in java and do not have to serialize anything to and from text. That to me is one of the usp's of GWT. Going from java -> json -> java (or gwt java), is like trying to have a complex

Re: Strategies for dealing with large number of languages?

2024-01-04 Thread Leon Pennings
els in mem. Works like a charm and never had a problem. The translations are on the server side in the db so that a superuser can manage translations. rg, Leon. Op donderdag 4 januari 2024 om 09:55:26 UTC+1 schreef Ralph Fiergolla: Hi! Since a big part of our string content comes from databa

Re: ROTFL at that last reply of mine

2023-11-10 Thread Leon
If you want the request ip in your servlet use; getThreadLocalRequest().getHeader("X-Forwarded-For"); On Fri, Nov 10, 2023 at 7:22 PM 'dav...@googlemail.com' via GWT Users < google-web-toolkit@googlegroups.com> wrote: > Leon > > The servelet runs at *subdomain.myd

Re: ROTFL at that last reply of mine

2023-11-10 Thread Leon
gt; a webapp running on tomcat to get the request ip address > > clue -whose ip address is going to be returned? :-) > > On Friday, 10 November 2023 at 16:24:24 UTC dav...@googlemail.com wrote: > >> Leon, Ed >> >> Thanks for looking at this. I realized I have an apache2

Re: running gwt server code on apache

2023-11-09 Thread Leon
com/foo/bar>*, so the GWT produced client javascript > served at *mydomain.com <http://mydomain.com>* and the servelet can't > talk. > > I feel there must be a solution, but just now I don't see it and even thus > far, I feel I'm jumping through hoops. Am I missing a *recom

Re: running gwt server code on apache

2023-11-09 Thread Leon Pennings
You can deploy the web application on tomcat and use mod_proxy on apache2 to forward https (or http if required) to tomcat on 8080 (or another port if required) Op woensdag 8 november 2023 om 18:31:19 UTC+1 schreef dav...@googlemail.com: > hi Ed > > Yes understood and most of the "app" is GWT

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-17 Thread Leon
spath so moving it to > ${project.build.directory}/public/gwt-deploy (which I believe is > automatically on Spring's classpath) worked. Was able to get rid of the > classpath: prefix as well. > > Ty for the help Leon! > > On Tuesday, 17 October 2023 at 00:49:13 UTC-4 Leon wrote: > >

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-16 Thread Leon
>> I would try your tips to be able to run on the JAR packaging (second >> example). >> >> I'll tell you, whether I'm successful or not. >> >> It is weird, that I could run the RemoteLoggingServiceImpl.java for GWT >> logger on the JAR packaging but not the Re

Re: Convert Existing GWT Backend to SPRING BOOT

2022-12-06 Thread Leon Pennings
In addition to previous poster -> yes you can keep on using the GWT RPC. The things I had to change in order to keep it working when packaging the spring boot jar, was; 1 - to make sure Spring Boot runs the servlets (enough on the web for that) 2 - to make sure the gwt compile ends up in de

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

2022-07-18 Thread Leon Pennings
>From what I gathered, packages have been renamed from **.google.** to **gwtproject** or smth. So without a gxt update to cover for the new packages, I doubt you can upgrade your project. There is one simple way to check, just update the GWT version in your dependency manager (maven or

Re: URGENT: GWT build crash with out of memory

2022-04-02 Thread Leon Pennings
tbh, I've never worked with split points before. What would be the actual problem be if splitpoints are not used - besides from the initial load times? Op vrijdag 1 april 2022 om 17:46:40 UTC+2 schreef nilo...@gmail.com: > Split points are amazingly expensive to compute (in both CPU and

Re: Performance Comparison GWT Transpiler with MacBook Pro M1 Pro processor

2022-01-15 Thread Leon Pennings
For around a 1000 euro, you can build a desktop that is faster compiling than any laptop. And on linux the memory is used a lot more efficient than on a mac, so you need less. That being said - I have a macbook when I travel. But in the office and at home I switched to working on desktops about

Serialize super class fields

2014-04-06 Thread Leon
Current GWT serialization only allow me to serialize declared fields in a class. How do I serialize protected fields in its super classes? Thanks! Leon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group

Frame context menu and mouse listener

2014-04-04 Thread Leon
) { event.preventDefault(); event.stopPropagation(); } }, ContextMenuEvent.getType()); Thanks. Leon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: Permission denied to access property 'document' in firefox

2014-04-02 Thread Leon
. They seem to be from the same origin source. May Jetty Proxy Servlet not work as expected? This project is due in two days. Please help out of this issue. Many thanks, Leon On Thursday, February 16, 2012 4:19:35 AM UTC-5, Thomas Broyer wrote: The error happens in loadModule, so your code hasn't

Re: How to access a web page in Frame

2014-04-01 Thread Leon
I used a proxy servlet so the url for Frame is the same origin (same scheme, host, and port) as widget. But Document.getElementsByTagName(div) still returns an empty NodeList. Please help! Leon On Tuesday, April 1, 2014 3:29:43 AM UTC-4, Slava Pankov wrote: Perhaps you have cross domain

How to access a web page in Frame

2014-03-31 Thread Leon
I open a web page in Frame. I need to access its dom from another widget. How do I do it? Thanks, Leon -- 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

Re: How to access a web page in Frame

2014-03-31 Thread Leon
=com.leeon.oldtogwt/C:%5C/gwt%5C/gwt-2.6.0%5C/gwt-user.jar%3Ccom.google.gwt.dom.client(Document.class%E2%98%83Document.getElementsByTagName(div) returns an empty NodeList. Is there a solution how to get a element in terms of tag name? Leon On Monday, March 31, 2014 5:59:47 AM UTC-4, Jens wrote: Document

Re: How to access a web page in Frame

2014-03-31 Thread Leon
. com.google.gwt.dom.client.Document.getElementsByTagName(div) still returns an empty NodeList. On Monday, March 31, 2014 9:26:31 PM UTC-4, Leon wrote: I don't know why com.google.gwt.dom.client.Document.getElementsByTagName(div) returns an empty NodeList. Is there a solution how to get a element in terms of tag name? Leon On Monday

remote source file in ui:style

2014-03-28 Thread Leon
='featurecopy' ' g:Anchor href='javascript:;' ui:field='signOutLink'Sign Out/g:Anchor nbsp; g:Anchor href='javascript:;' ui:field='aboutLink'About/g:Anchor /div /div /g:HTMLPanel /ui:UiBinder Thanks, Leon -- You received this message because you are subscribed

Re: GWT - How add files from other project?

2013-10-28 Thread Daniel De Leon
did you include your new module into your project? : inherits name='com.domain.sample.Dto'/ On Sunday, October 27, 2013 4:39:02 PM UTC-7, giuseppe...@ab4cus.com wrote: I have a GWT project. Client code is located in the client dir. I want to add external java classes (mainly DTO classes) that

Urgent help on GWT debug at Struts 1 struts 2

2012-12-06 Thread Leon
and Strut2 + Spring). There are a lot of filters. I implemented one servlet - GwtServlet to bypass filter to load a GWT page. I appreciate your help. Leon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

Gwt 2.1 Eclipse Helios

2010-11-27 Thread Daniel Leon
i got the same problem here, eclipse send erros about class paths and whitout the GWT Designer this doesnt happens update the latest beta of GWT designer doesnt solve the problem. =S -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

How to re-use i18n messages in different template with uibinder

2010-03-30 Thread Leon
, it does not say how to achieve that goal. Can anyone give me some advice on this issue? Thanks in advance! Leon -- 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

Re: What's a good graph/chart library

2010-01-06 Thread Alexander De Leon
gflot [1] is a GWT wrapper around the Flot javascript library. It is not as rich as gchart [2], but it is quite easy to use. Alex [1] http://code.google.com/p/gflot/ [2] http://code.google.com/p/gchart/ On 06/01/2010, at 16:21, darkling wrote: I've examined quite a few but I was curious if

Non standard CSS in UiBinder

2009-12-19 Thread Alexander De Leon
If I use non standard css properties in UiBinder (e.g. -moz-border-radius-bottomleft) , I get the following warnings : [WARN] Line 17 column 65: encountered -. Was expecting one of: } ; IDENT and these properties are not compiled into the resulting CSS file. Is there a way

Re: GWT 2.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-18 Thread Alexander De Leon
For now I'm using the GWT compile button of the eclipse plugin to force a proper GWT 2,0 compile. This seems to work for me. The problem must be that some older GWT compiler is been executed somehow. Alex On Dec 14, 3:17 pm, Addy adityaka...@gmail.com wrote: I cleanup after every build but

Someone please help me. I met a problem when I made a RPC class

2009-12-03 Thread Leon
Hi dear developers, I downloaded the mysql connect gwt example from http://code.google.com/p/gwt-examples/wiki/project_MySQLConn. And I re- configured it on my Eclipse Galileo (using gwt eclipse plugin) + XP. When it makes rpc call and retrieves the data from mysql database, it give me this

Re: Excel and GWT

2009-07-01 Thread Leon
One more way to read Excel sheet is to use jXLS library (http:// jxls.sf.net). In this case you just need to write an XML which maps Excel data to Java beans as explained in here http://jxls.sourceforge.net/reference/reader.html . On Jun 30, 8:41 am, garshita grshtgu...@gmail.com wrote: Hi,

Re: How to use newer version of Jetty for Hosted Mode server?

2009-04-20 Thread Leon Li
There should be an option there On 4月21日, 上午6时29分, TimOnGmail timbes...@gmail.com wrote: I want to add, I'm doing all of this in the Eclipse GWT plugin. - Tim On Apr 20, 3:28 pm, TimOnGmail timbes...@gmail.com wrote: Hi there... I suspect I'm hitting some errors using the

Re: GWT combined with Grails,JSF or other server side technology

2009-04-17 Thread Leon
Hi Paul, If I were you I would not discount Grails so quickly. Despite there are issues with Grails GWT plugin you can go for example with GWT + REST backend combination. In my opinion using Grails is much easier then coding in Java with any other common MVC type framework. I heard NetBeans IDE