Re: how to distinguish disconnected client and server error

2008-09-04 Thread George Georgovassilis
(1) would always remain an InvocationException (2) : taken the case that you actually are not using RPC to intentionally use exceptions as means of validation performed in your business logic (i.e. CustomerFraudCheckException), you could declare a RuntimeException which implements Serializable,

ANN: SL 0.1.5a released

2008-09-09 Thread George Georgovassilis
Dear All We have recently released version 0.1.5a of the SL which is mainly a compatibility release for GWT 1.5 and Hibernate4GWT. For those of you who are new joiners, the SL is a sister project of the GWT-Widget Library [1] aimed at integrating the Spring framework via RPC with GWT through

Re: GWT and spring - looking for references.

2008-11-10 Thread George Georgovassilis
Hello Allen Following up on Kersten's post, a few words about the SL [1]. The main aim was to create a seamless, non-invasive integration of the RPC protocol and services. From our POV, a service is a business object that should not import or otherwise depend on RPC or other APIs, since a

ANN: SL 0.1.5b released

2008-12-29 Thread George Georgovassilis
Dear All, I am happy to announce release 0.1.5b of the SL which is a maintenance release, contains a few bugfixes and updated dependencies with respect to Gilead (formerly Hibernate4GWT). The SL is a sister project of the Widget Library, primarily focused on providing a better server side

Re: GWT + SPRING + HIBERNTE

2009-01-18 Thread George Georgovassilis
Hello Yossi The SL is an integration library for Spring that publishes any Spring managed bean to the web via RPC [1]. It has a tiny webapp that serves as a unit test and displays the various aspects of publishing beans. [1] http://gwt-widget.sourceforge.net/ On Jan 18, 3:37 am, Yossi

Re: Separating RemoteServiceServlet and the service implementation

2009-03-06 Thread George Georgovassilis
Hello Michael While integrating an RPC service with Spring is rather easy (there exist numerous implementations), sepperating the GWT API from the service itself is not trivial. It is exactly this consideration which gave birth nearly two years ago to the SL [1] as a collaborative effort to

Re: Sequential workflow in an asynchronous GWT world

2009-03-06 Thread George Georgovassilis
Hello Robert I had the same problem in various GWT projects until I accidentally stumbled across a little used feature of GWT that completely changed the way I write GWT-apps now: history tokens. History tokens are used to implement control points in the application towards the user can jump at

Re: Hibernate performance in GWT

2009-03-25 Thread George Georgovassilis
Hello Sunil I'm not quite sure why you run into this problem. I am using lazy Lists abudantly with GWT mapped to a bag and it works like a charm. As a side note, I am not using the dynamic proxy feature but rather extending the LazyPojo. On Mar 25, 6:23 am, Sanj sunil.ban...@daffodildb.com

Re: Hibernate performance in GWT

2009-04-10 Thread George Georgovassilis
and Message. But when i try to evaluate it then i found that there is no lazy loading and here i am facing the same problem i.e. n+1 select problem. Would you tell me? How can i use hibernate4Gwt for resolving performance issue? Regards, Sanj. On Mar 25, 12:08 pm, George Georgovassilis

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread George Georgovassilis
Hi Kevin, had the same problem. Similar to Isaac's solution I used labels to do the trick, but that left a shallow aftertaste since you have to put a lot of work into them (make them focuseable etc for keyboard navigation) and they still don't feel like real links. Left aside the cool stuff you

Re: How to suppress the token change for Hyperlink

2009-05-07 Thread George Georgovassilis
and no history, use a styled PushButton Ian http://examples.roughian.com 2009/5/5 George Georgovassilis g.georgovassi...@gmail.com Hi Kevin, had the same problem. Similar to Isaac's solution I used labels to do the trick, but that left a shallow aftertaste since you have to put a lot

Re: GWT, hibernate4gwt and HibernateTemplate

2009-05-10 Thread George Georgovassilis
Hello Paul, The SL [1] is a widely used library that focuses on providing server- side features to GWT applications such as publishing of Sping managed beans as RPC services, filters for header control, a streaming protocol and - interesting in your case - a binding to Gilead. The approach is

Re: Integrating with spring

2009-05-13 Thread George Georgovassilis
Hello Amin The SL [1] is a widely used library for integrating GWT with Spring. The main benefits are: - Is non invasive: your services do not have to extend any special class, the adaptation to RPC are being done via runtime weaving - Plays nicely together with Spring security AOP -

Re: GWT and Hibernate XML files vs Annotations

2009-05-21 Thread George Georgovassilis
I second Bruno and would add a few things. You can group entities and queries into DAOs and not pure entities and queries. So, to summarize: - Each DAO goes into it's own .hbm.xml file. This contains the core entity for that DAO and a few peripherial ones, i.e. Employee being the core and,

Re: GWT and Hibernate XML files vs Annotations

2009-05-21 Thread George Georgovassilis
And Jim, no, we don't find Hibernate hard to use, especially since it's a quasi-standard;-) On May 20, 7:56 pm, Jim jim.p...@gmail.com wrote: Rafael, If you find Hibernate is difficult to use, you may try Dreamsource ORM for your application. You can find an GWT example

Re: Bundling Background Images defined in CSS

2009-08-02 Thread George Georgovassilis
There is also an online generator: http://spritegen.website-performance.org/ On Jul 31, 3:15 am, Salman Hemani salman.hem...@gmail.com wrote: Mr Truett, I was trying to be polite in my first post but here goes... In your first post you took two different statements from two different posts

Inlining nocache.js

2009-08-04 Thread George Georgovassilis
So, while trying to squeeze out the latest tiny bit of speed for my application I ended up with this setup: index.html ( = module page) contains inlined css and the nocache.js. The index.html is non-cacheable, but is guarded with an E-Tag, which doesn't do anything to first time users, but

Re: GWT and CMS - Integration problem with SOA

2009-08-10 Thread George Georgovassilis
Hello Dejan, You could have Apache act as the front server and forward all requests to a specific URL to a tomcat server, have a look at [1]. This way they both share the same server and port for an external visitor. [1] http://www.serverwatch.com/article.php/10819_2203891_1 On Aug 10, 12:59 

Re: Inlining nocache.js

2009-08-10 Thread George Georgovassilis
The way to do it finally was: 1. inline nocache.js as a script.../script in the module html 2. replace all string references of 'xyz.cache.html' to 'path/to/gwt/ output/xyz.cache.html' 3. (for RPC only) copy the serialization policy files to the module html location On Aug 4, 9:02 pm, George

Re: XML Parsing and NamedNodeMap

2009-08-11 Thread George Georgovassilis
You inherited the right module in your .gwt.xml module? On Aug 11, 10:15 am, CI-CUBE e...@ci-cube.info wrote: Want to process an XML document, everything looks good but I get an exception when creating a NamedNodeMap, which obviously is just an Interface. Using the Eclipse Debugger I saw that

Re: Spring and GWT integration

2009-08-11 Thread George Georgovassilis
Hi P.G. I've seen a lot of ways to achieve that integration, and none looks complicated. The fact is that spring-gwt integration is easy (thanks to R. Jellinghaus' refactoring of the RemoteServiceServlet), which explains the plethora of libraries. Hibernate-gwt integration on the other hand is

Re: server side hot redeploy

2009-08-12 Thread George Georgovassilis
Hello Edoardo Not everything, only server-side code. This means servlets, EJBs, Spring Beans and DTOs for RPC. When you are running in debugging mode then you can replace server code without a restart. Depending on the capabilities of your JVM this can be as little as changing method code up to

Re: server side hot redeploy

2009-08-12 Thread George Georgovassilis
the simple provided RPC sample, newest gwt plugin and gwt 1.7 all running on eclipse 3.5 On Aug 12, 1:54 pm, George Georgovassilis g.georgovassi...@gmail.com wrote: Hello Edoardo Not everything, only server-side code. This means servlets, EJBs, Spring Beans and DTOs for RPC. When you

Re: server side hot redeploy

2009-08-12 Thread George Georgovassilis
replacement on the server side. Of course I could bypass the jetty server and use another one in debug mode etc etc. but wouldn't be nice to just use one? On Aug 12, 2:12 pm, George Georgovassilis g.georgovassi...@gmail.com wrote: When you're running the server (i.e. tomcat) from within

Re: XML Schema or DTD for GWT configuration files

2009-08-22 Thread George Georgovassilis
Sure, it's gwt-module.dtd in the root directory when you unzip the installation archive. On Aug 21, 10:54 pm, Eric erjab...@gmail.com wrote: Is there an XML Schema or a DTD for the module.gwt.xml files? If there is, I'd like to install it in my IDE so it can support me while I write GWT

Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis
Hi Spike, I was pondering the exact same thing the other day. From all the experiments I made, only FF was able to somewhat reliably remember passwords. My understanding is that you need a structure with a form, a login textfield, a password textfield and a submit button: form action=... input

Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis
not an option Login is optionally in my app, you can, but you don't have to. If I use an IFrame, I can't access the Information generated in there. I could have used the User-Capability of Google App, but I did't exactly for that reason. I hate these Worarounds. On 26 Aug., 11:48, George

Re: Fastest way to create lots of similar elements

2010-05-27 Thread George Georgovassilis
Hello Chris, I think, especially with respect to IE, the fastest way is still to construct a string and assign it to div's innerHTML... provided that you can find an intelligent and fast way to create that string, as IE (at least prior to 8) has a notoriously slow string concatenation. On May

Re: GWT and Spring - with Spring Web MVC or without it?

2010-06-14 Thread George Georgovassilis
I'll go with Stefan here. MVC implies that the server handles much of the view - with a GWT application the server is reduced to a glorified DAO. All you really need is integrate services from the backend into the frontend. What we really missing is something like RMI for the browser - GWT's RPC

Re: Cross Site XML-HTTP?

2010-06-14 Thread George Georgovassilis
Hello Quu, You obviously control Server B because you load the application from there. Can you also control server A? In that case you could wrap the XML with a couple techniques. The iframe technique for example would wrap the XML into a big javascript string and publish it to your application,

Re: Compiler Bug in 2.1.0.m2

2010-07-16 Thread George Georgovassilis
Hell Björn, I know your pain. In this case you have really only one option: loggin! Grab yourself a nice div somewhere on your page and start mercelessly logging what your application is doing to that div and try to narrow down where the error happens. Also try/catch block which Window.alert()

Re: GWT Login module in an iframe.

2010-07-18 Thread George Georgovassilis
Hello Sergey, If the login url, the iframe url and the main application url are one the same domain then these frames will be able to directly invoke javascript on each other. If you are going to a different domain (i.e. the login url is on https:// instead of http://) then this will not work.

Re: Did anybody try Cross site communication?

2010-07-22 Thread George Georgovassilis
There are some libraries which handly cross site RPC, but they all have one or another drawback. You can read on here [1] [1] http://development.lombardi.com/?p=611 On Jul 21, 2:09 am, VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody had success with Cross

Re: Mouse Over Image

2010-07-22 Thread George Georgovassilis
You might do it with some CSS provided that you are not targeting IE6. 1. Make a div with fixed dimensions 2. Put the label and the image into the div 3. The initial style for the label should be absolute positioning and hidden. You can play with margins to place the label anywhere ove rthe image

Displaying google maps with IE7

2010-07-26 Thread George Georgovassilis
I've recently run into the following rather bewildering issue where maps display fine in all browsers but IE6 and IE7. My GWT 2.0.4 client app is using GWT maps API 1.1 jar (against maps API 2). The maps API loads ok, but IE6 and IE7 won't display the map widget content - no errors thrown.

Re: Displaying google maps with IE7

2010-07-26 Thread George Georgovassilis
Hello Eric, The page is in standards mode. How do I debug this? On Jul 26, 8:48 pm, Eric Ayers zun...@google.com wrote: First, make sure your hosted html page is set to standards mode.  The first line should be something like: !doctype html On Mon, Jul 26, 2010 at 1:17 PM, George

Re: Displaying google maps with IE7

2010-08-01 Thread George Georgovassilis
Turns out this is a known issue (with workarounds) [1] with maps in conjunction with GWT's layouting. [1] http://code.google.com/p/gwt-google-apis/issues/detail?id=366colspec=ID%20Type%20API%20Status%20Priority%20Milestone%20Owner%20Summary On Jul 26, 10:22 pm, George Georgovassilis

Re: deserialization error when DTO is nested

2010-08-09 Thread George Georgovassilis
I'd normally ask you to the DTO code, but you really should check that your deployment worked alright. So please check that: 1. your projects is refreshed after the build 2. old deployment is wiped and overwritten with the new one 3. logging is enabled 4. no errors about serialization policy are

Re: Images only show sometimes

2010-08-13 Thread George Georgovassilis
Hello GKotta, That should happen only with an IE browser - I found that it doesn't load images when you add more than a couple DOM elements in one bunch. Basically there are three workarounds: 1. Use a DeferredCommand to add one image at a time 2. Preconstruct an array of images and re-assign

Howto: RPC with Http GET

2010-08-28 Thread George Georgovassilis
There've been some requests to perform RPC invocations with HTTP GET, as the response is cacheable by the browser (and if you believe the word on the net, it's faster [1] than POST). I've written a wrapup on how to get it done [2], the essentials in a nutshell: Given a service you want to make

Re: GWT Spring integration - what is the best method in late 2010?

2010-08-31 Thread George Georgovassilis
Hi Sam, The SL [1] is a community maintained integration of Spring and GWT mainly focused at exporting Spring managed beans as RPC services. It was launched four years ago and has reached through many releases a high degree of maturity. The documentation is extensive, it's easy to use (though I'm

Re: Clearing handlers added to elements created using wrap method

2010-08-31 Thread George Georgovassilis
RootPanel.detachOnWindowClose(yourWidget) On Aug 31, 9:06 pm, myapplicationquestions parag.bhag...@cgi.com wrote: Hi All, I have an existing html and i am adding a simple GWT script to that page which will show an alert when an existing link is clicked. I do this by the following code

Re: Clearing handlers added to elements created using wrap method

2010-08-31 Thread George Georgovassilis
Good point... I've been spending too much time writing my own widgets lately :-) Anchor.wrap() takes care of everything. Gal Dolber wrote: Are you sure that is required? That should be automatic 2010/8/31 George Georgovassilis g.georgovassi...@gmail.com mailto:g.georgovassi...@gmail.com

Re: problems with auto-complete form login

2010-09-06 Thread George Georgovassilis
Hello Magnus, That's called Breaking out of frames [1]. If you need your app to be able to detect a valid login, then you'll need to communicate from within the iframe to the hosting app that the login was ok (have a look at window.name transport in this case [2]) [1]

Re: GWT + Spring 3.0 + hibernate references and easy guides

2010-09-07 Thread George Georgovassilis
The answer is not that easy. You can bring hibernate managed objects (almost) transparently to GWT applications, have a look at Gilead [1] Much has been said about Spring and GWT, a quick forum search will surely bring something up [1] http://noon.gilead.free.fr/gilead/index.php?page=gwt On Sep

Re: GWT RPC offline caching

2010-09-08 Thread George Georgovassilis
Hello Alex, Sure you can do that. Have a look at [1], there's a post about how to do the very same thing with using the HTTP GET cache - so this will work also with non-html5 speaking browsers. Still that solution faces the same problem of how to serialize and deserialize the data. [1]

Re: CPU utilization on IE6.0 because of Mousemove event

2010-09-23 Thread George Georgovassilis
Hello Sunil, Maybe some widgets you use implement their own mouse listeners without you knowing it (i.e. calendar?). You could progressively remove widgets until you find the one that's causing the CPU load On Sep 21, 9:34 pm, sm sunilm...@gmail.com wrote: Hi, We are using GWT 2.0.3 version.

Re: CPU utilization on IE6.0 because of Mousemove event

2010-09-24 Thread George Georgovassilis
/2010 09:51 AM, sm wrote: Hi George, Thank you very much. We were using DialogBox panel which was causing problem. There is one more entity like this, still trying to figure out. Thanks, Sunil On Sep 23, 12:43 am, George Georgovassilis g.georgovassi...@gmail.com wrote: Hello Sunil, Maybe some

Re: Multiple RPC from same page gives Error 500

2010-09-29 Thread George Georgovassilis
Hello GWTViju, I'm pretty sure you are running into a race condition. The 500 means that an error ocurred in the server side - there should be somewhere a detailed stacktrace, check your logging settings. Check for member variables in your controllers, servlets and services which could be

Re: Multiple RPC from same page gives Error 500

2010-09-29 Thread George Georgovassilis
on its way before reaching the RemoteServiceServlet. BTW, there are filters in place, which is the SpringSecurityFilter Thanks Viju On Wed, Sep 29, 2010 at 1:22 PM, George Georgovassilis g.georgovassi...@gmail.com wrote: Hello GWTViju, I'm pretty sure you are running into a race condition

Re: Slow Connection

2010-09-30 Thread George Georgovassilis
Hello Stefan, There is the Firefox Throttle (Windows only) addon, another tool (Windows only) called NetLimiter which operates on a network basis and I hear there is a Linux distro that can do this, also simulating packet loss etc, you might want to check the discussion over at stackoverflow [1].

Re: GWT Spring integration - what is the best method in late 2010?

2010-10-02 Thread George Georgovassilis
Hello David al, The SL is also actively maintained - releases are not that frequent anymore though (there's not much to do) because of the high maturity grade. David wrote: Any other feedback about this ? What's odd is that we are still asking this very same question after several years of

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread George Georgovassilis
Hello Haris, Not sure if I understand your problem, so I'll rephrase it: You have a GWT page with a Form element and a submit button. When the submit button is clicked, the page is reloaded. Question: Do you programmatically construct the form or does it exist in the static html? The reason

Re: some newbie questions

2010-10-09 Thread George Georgovassilis
Hello Ray, I can't see why the exact piece of code you posted should fail. You've got probably more going on. You can avoid this problem if you programmatically construct the page. Thus, the html should contain only a div with an ID, which you get through RootPanel.get(id) and then you keep

Re: Support IE7 but not IE6, how?

2010-10-09 Thread George Georgovassilis
Hello Andrew, A couple of ways spring to my mind: 1. Use conditional comments [1]. This way you can easily display a message to IE6 users that their browser is not supported and focus on IE7+ CSS 2. If you override the user agent in your module xml file with everything but IE6 then the GWT

Re: Integration of hibernate with GWT

2010-10-09 Thread George Georgovassilis
You hit a point there. Normally one shouldn't care, because there is no urge to upgrade to a newer version of the library if it changes the API or changes some behavior which you rely on. There problem is that GWT does not backport fixes to older branches, i.e. issues 3757 or 5056, thus if you

Re: Catching RPC exceptions at client side

2010-10-09 Thread George Georgovassilis
Hello Itzik, Your interface needs to speficy an Exception that extends IsSerializable, and only those exceptions should be cast from the service. Thus, if the exception you are throwing for unauthorized access extends that base exception you should get it also in the client side. On a further

Re: Slowdown of GWT while loading

2010-01-06 Thread George Georgovassilis
Hi Raul, If you can't modify the server.xml then you have still two ways to compress the html. 1. Use a filter. You can specify a filter in your web.xml and compress all static content on the fly. Bad for server side performance, but it will do the trick. 2. gzip the .cache.html files on the

Re: gwt rpc gzip response failing in FF

2010-01-07 Thread George Georgovassilis
RPCs are gzipped only if the payload is large enough to be worth the effort. So I'd say that only large RPC responses get gzipped, and your application fails on large RPC responses. So there are two possibilities: 1. You application cannot digest the response. Version missmatch? A technical error

Re: Injecting Spring beans into GWT services

2010-01-18 Thread George Georgovassilis
Hello Marko, If you run into any problems, just ask the SL forum. The easiest way to get you started is with the GWTRPCServiceExporter - its a Controller which you can bind directly to an URL handler (like Springs SimpleUrlHandlerMapping) and to which you give a reference to your service bean. It

Re: PNG Transparency in Internet Explorer

2010-01-18 Thread George Georgovassilis
To cut a long story short: 1. It is limited to IE6 2. If you use the 8-bit file format with a single bit transparency it will work in IE6 3. As a workaround, you can use a div, put the image inside the div, and use a filter (see IE filters) On Jan 17, 5:02 pm, Thomas Broyer t.bro...@gmail.com

Re: GWT 2.0 ParseException with SerializationPolicyLoader

2010-01-27 Thread George Georgovassilis
Hello Papick, I had some of that too. You're not doing deRPC by any chance? Mind pasting some stacktraces? On Jan 26, 10:22 am, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, I am having trouble with GWT 2.0. I am trying to switch from 1.7 to 2.0, everything compiles fine, but... When I

Re: Can't remove 0 index in ArrayList

2010-01-28 Thread George Georgovassilis
Hello Christian, I looked at the code of ArrayList, but couldn't find anything suspicious. Are you sure your object is at 0? Maybe a null squeezed in at 0, and your object is somewhere later in the list? On which browsers does this happen? On Jan 28, 6:16 pm, Christian Goudreau

Re: Strange behavior of sessions when using Safari 4

2010-01-28 Thread George Georgovassilis
Hello Meletis, There is a report [1] that tells pretty much the same story, but this time FF loses the session and Safari works ok. Couple of things to check: - Do you have any particular extensions installed in Safari? - Are the requests launched simultaneously or in sequence? - Are the

Re: Rounded Corner In Gwt Button

2010-02-10 Thread George Georgovassilis
There is a way using a button with the sliding door techique [1]. The example does it with a link simulating a button, but it also works with buttons. Please be advised that buttons pose an unforseen behavior when pressed: they displace their content by a few pixels. Unfortunately not all browsers

Re: GWT 2 using Eclipse with plugin and Spring

2010-03-02 Thread George Georgovassilis
Hello all, if the unit/assembly test is enough for you, there is an RC [1] of the 1.1 SL which supports GWT 2 and Gilead 3. [1] http://sourceforge.net/projects/gwt-widget/files/ On Feb 16, 9:23 pm, maks makspaniza...@gmail.com wrote: Hi, Do you have a working on example on how to use the GWT

Re: Recommendations for a server-side Java framework to use with GWT?

2009-09-19 Thread George Georgovassilis
Hello Oliver, I'd say Spring + some ORM (Ibatis, JPA, Hibernate) are a good deal with GWT. With GWT the server is reduced to a data provider and storage engine. The tasks a server carries out follow always the same pattern: 1. map request to DTOs by interfacing with the client 2. perform

Re: GWT Maps API not loading

2009-09-19 Thread George Georgovassilis
Sorry to hijack this thread, but since we're talking about this... what's the best way of loading the maps API javascriptlibrary without blocking (aka unblocking parallel downloads)? So far I ended up with this: script type=text/javascript //![CDATA[ function loadGoogleMapsAPI(){ var script =

Re: GWT Maps API not loading

2009-09-20 Thread George Georgovassilis
at AjaxLoader: AjaxLoader.init(your maps key here);         AjaxLoader.loadApi(maps, 2, new Runnable() {             public void run() {                 //action to perform after api is loaded             }         }, null); On Sat, Sep 19, 2009 at 9:42 AM, George Georgovassilis

Re: GWT Maps API not loading

2009-09-20 Thread George Georgovassilis
: Yes, you are right indeed. This is a tradeoff between clean code and performance penalty. From where I test it is 184ms which is quite negligible compared to the time it takes to load maps... On Sun, Sep 20, 2009 at 3:06 AM, George Georgovassilis g.georgovassi

Re: Preventing Browser Events?

2009-09-20 Thread George Georgovassilis
Hey David, Supressing context menues should not be too difficult, every wannabe webmaster does it in a futile attempt to prevent downloading his images, just search the web for it. Supressing selections would be a combination of javascript and some FF- specific CSS: public static native void

Tables, scrolling, FocusPanel and Safari

2009-09-21 Thread George Georgovassilis
Recently I run into a problem with the following setup: ScrollPanel table ... tr td FocusPanel /td /tr ... /table /ScrollPanel When the table becomes longer than the page can accomodate, the scrollpanel should normally display scrollbars and contain the entire table. Which it does for all

Hover, CSS and reusing widgets in IE

2009-09-29 Thread George Georgovassilis
I've been playing around with :hover lately and thought my findings and workarounds might be of interest to the general public :-) An important step towards a responsive UI is to have widgets already prepared when making them visible, since widget creation takes up quite some time. We're

Re: Client side caching of the .nocache,js and other included .js and .css files

2010-10-12 Thread George Georgovassilis
How about ETag ? This should work out of the box with any tomcat. On Oct 9, 8:16 pm, PeterT peterteunis...@verizon.net wrote: We have a project.nocache.js file that included other .js and .css files. The generated project has a long GUID like name which changes each compilation, so that file

Re: Could it be that GWT internally modifies cookie?

2010-10-12 Thread George Georgovassilis
Hello Denis, That is unlikely - cookie values are mostly set on the server side. Since you are using Firebug, why don't you look out for the one response that overrides the cookie? JSP pages for instance like setting their own cookies in the default setup. Another thing to watch for is the cookie

Re: Slow AsynCallBack method

2010-10-18 Thread George Georgovassilis
Hello BurstUser, You need to keep in mind that the returned code is not parsed into javascript object by some mechanism that is native to the browser. The returned string is parsed in javascript, so it is not uncommon that complex objects take several seconds to parse. I've run into this problem

SuggestBox is overengineered

2010-12-03 Thread George Georgovassilis
So I've been on a webapp of mine that does RPC, Google Maps, MVP, uses a ton of stock and homebrewn widgets and plenty of other things, touching most of the GWT API and, like in every other GWT App I've done so far it also uses SuggestBox. And like in every other GWT App I've written, I come to

Re: what Mock framework do you recommend ?

2010-12-09 Thread George Georgovassilis
Now I'm curious :-) I've given the documentation a quick glance and to my unsuspecting eye it looks quite the same as Easymock - would anybody of the Mockito enthusiasts care to elaborate about it? On Dec 8, 10:43 am, Thomas Broyer t.bro...@gmail.com wrote: On 7 déc, 16:32, Raphael André Bauer

Re: RPC Get Requests

2010-12-20 Thread George Georgovassilis
To be precise, you haven't done _any_ research ;-) Try searching this group with RPC get [1] [1] https://groups.google.com/group/google-web-toolkit/search?group=google-web-toolkitq=rpc+getqt_g=Search+this+group On Dec 20, 10:12 pm, bconoly bcon...@gmail.com wrote: Hey All,    We're having

Re: Trying to split deserialization process after RPC call

2010-12-20 Thread George Georgovassilis
Hello Damien, That is an uggly problem. Unfortunately I'm not too fluent on generators, but if you are willing to consider some alternatives there might be some: - DeRPC. It's not exactly over-documented, so you might have to do some searching but it's supposedly a lot faster than RPC while just

Re: Dev Mode Font Size != Production Mode Font Size

2010-12-20 Thread George Georgovassilis
Hello Jeff, Just checking: you havent't by accident enabled any zooming? Resetting the dev mode browser (Ctrl + 0) doesn't normalize the fonts back I guess? On Dec 17, 5:54 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Yes,, I can. I will do so later. On Dec 17, 2010 10:22 AM, Chris Conroy

Re: GWT + GILEAD OR REQUEST FACTORY?

2011-01-11 Thread George Georgovassilis
Hi Richard, Sorry to hijack this thread (I promise I'll be quiet after that:-). Since I've not yet had the chance to write any code with the RequestFactory, I am still curious about the http payload size. For example, what I didn't like with RPC was that it included the full qualified class names

Re: GWT + GILEAD OR REQUEST FACTORY?

2011-01-11 Thread George Georgovassilis
Wow, thanks a lot :-) On 11.01.2011 19:45, Thomas Broyer wrote: On Tuesday, January 11, 2011 5:51:59 PM UTC+1, George Georgovassilis wrote: Hi Richard, Sorry to hijack this thread (I promise I'll be quiet after that:-). Since I've not yet had the chance to write any code

Exception falling through catch() in JSNI

2011-01-16 Thread George Georgovassilis
I've been toying with Maps Api v3 and markerclusterer and run into a strange constellation with the following setup: IE 8 (64 bit) both hosted and production mode, GWT 2.1.1 Markercluster apparently does something to the Map, so that the map cannot be operated upon immediately when running IE8,

ANN: SL now at Google Project Hosting

2011-01-17 Thread George Georgovassilis
Dear all, The SL, formerly hosted at Sourceforge, has been split from the Widget Library and moved to Google Project Hosting [1]. BR, G. [1] https://code.google.com/p/gwt-sl/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Re: Exception falling through catch() in JSNI

2011-01-17 Thread George Georgovassilis
-log/source/browse/trunk/Log/src/com/alle... On Sun, Jan 16, 2011 at 10:25 AM, George Georgovassilis g.georgovassi...@gmail.com wrote: I've been toying with Maps Api v3 and markerclusterer and run into a strange constellation with the following setup: IE 8 (64 bit) both hosted

Bazarooma, a realestate site with GWT

2011-02-22 Thread George Georgovassilis
Hello all, I'm happy to announce that Bararooma [1], a real estate site for the Indonesian market is going live. It is based on GWT for the frontend and Spring in the backend, making use of cool features such as RPC over GET, MVP, Sprites and fine grained caching. If you can spare a minute, I'd

Re: Bazarooma, a realestate site with GWT

2011-02-22 Thread George Georgovassilis
Thank you for the great interest folks! We've recorded nearly hundred visitors who we could trace back to this post and who had, to a lesser or greater extent, a look at our site. Unfortunately we've not received but very little feedback so far - I hope we didn't scare or bore you away. If you

Re: Bazarooma, a realestate site with GWT

2011-02-23 Thread George Georgovassilis
Dear all, thank you very much for the valuable points you made! @Christian: Big screen... lucky you :-) Some sites (think twitter) solve this by center-aligning the content and providing an ambient background. I hope, as the functionality of the site increases over time, to make better use of

Howto: Optimising RPC

2011-03-28 Thread George Georgovassilis
Hello all, I've been spending some time with reducing RPC payload size and optimising the request pattern and thought I'd share my pain and wisdom with you :-) You can read the full story here [1], the main points I am discussing are: - rewriting RPC to use GET over POST for reduced network

Re: Howto: Optimising RPC

2011-03-29 Thread George Georgovassilis
of them. I am testing some solutions at the moment, any thoughts on that? On Mon, Mar 28, 2011 at 7:18 PM, George Georgovassilis g.georgovassi...@gmail.com mailto:g.georgovassi...@gmail.com wrote: Hello all, I've been spending some time with reducing RPC payload size and optimising

Re: Howto: Optimising RPC

2011-03-30 Thread George Georgovassilis
Hi Gal, That's a good point - I'm actually using them in production (since we are at it, I might throw in set-property name=compiler.stackMode value=strip/) However I've found none of those to affect actual RPC payload size, though they most certainly reduce the compiled javascript size.

Re: gwt rpc: reducing http headers overhead

2011-03-30 Thread George Georgovassilis
Hello Michele and Mike, Thanks for the vote of confidence :-) I'm afraid you can't do much there - most of the headers are set by the browser and cannot be removed (you may want to try to hack XmlHttpRequest in the xhr package). I was able to remove only the user- agent header. While you may

Anyone in Rome to catch up?

2011-04-08 Thread George Georgovassilis
Hi all, I'll be until Monday in Rome - if anybody wants to catch up for an espresso or to, please drop me a line. Best, G. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: RPC in onWindowClosing() problem

2011-04-08 Thread George Georgovassilis
Hello Ania, This might be a browser related behavior - if the window is closed, all activities related with it are cancelled. It might be best if you tried an alternative aproach: instead of having the browser explicitly signing the user out of your application (which is what you are trying to

Re: GWT Spring related post

2011-07-29 Thread George Georgovassilis
I think that is a classic... you probably instantiated the controller in an application-context rather than a web-application-context On Jul 27, 6:49 pm, spandu spandana@gmail.com wrote: Hi, I am using GWT 2.0 integrated with Spring in the application, after executing the

Meetup in Helsinki?

2012-03-14 Thread George Georgovassilis
I'll be in Helsinki Sat-Mon, if anybody wants to catch up over a beer or whatever it is you northerners consume that'd be great. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: File download and Exception handling using a servlet.

2012-03-14 Thread George Georgovassilis
Hi Albert, The way I did this is by reading SubmitCompleteEvent.getResults(), i.e. uploadForm.addSubmitCompleteHandler(new SubmitCompleteHandler() { public void onSubmitComplete(SubmitCompleteEvent event) { if (event.getResults().contains(SizeException) Window.alert(Data

Speeding up initial page load time with static HTML in a multi form application

2012-03-25 Thread George Georgovassilis
Hello all, A while ago we had to work on a GWT application with the requirement that the initial page should be visible in under 1 sec, but since it was a single module, multi form application this requirement would hold for all forms. We initially solved this by having all form markup in the

GWT-SL 1.5 released

2014-09-11 Thread George Georgovassilis
Dear all, It has been quiet for a while, but we're back with news: - The project repository moved to github: https://github.com/ggeorgovassilis/gwt-sl - Updated dependencies to GWT 2.6 and Spring 3.2 - There is a maven repository hosted on github now: repositories repository

  1   2   >