Re: Different sessionIDs in one application

2009-03-16 Thread djd
So just making a dummy call is enough? i.e. 2 method calls one after the other (in client code) will result in different IDs? More, since this mechanism is sevlet specific, client code shouldn't set any cookies, by hand at least. On Mar 16, 9:10 am, Jason Morris wrote: > Hi Markus, > > Is it p

JUnitShell - specify HTTP port

2010-02-04 Thread djd
Hi guys, Is there a way to specify the port when starting a GwtTestCase? By default, this is set to 0 (random port). I would like to always start on a specified port, and "-port 15000" didn't have any effect - although I think this "port" has nothing in common with HTTP client (but rather Jetty's

Bug in DateTimeFormat?

2010-03-03 Thread djd
Hello guys, I may have found a bug while trying to parse a String with a given DateTimeFormat. The date format that I expect is "EEE MMM dd HH:mm:ss Z ". This should parse dates like: Tue Apr 07 22:52:51 + 2009 However, the parse fails for some dates, like: Tue Mar 02 23:20:07 + 2010

Re: Bug in DateTimeFormat?

2010-03-03 Thread djd
It looks like IE8 is unable to parse any date at all ! They are incredible :( -- 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 em

Re: Interesting issue for experts!

2009-03-17 Thread djd
For hibernate entity beans, can I use hibernate's specific annotations? I never actually tried it, since we've mapped them using .hbm.xml config files. But will GWT ignore the annotations or, better said, how do I map entity beans using annotations without making GWT scream about the imports? :)

Re: Interesting issue for experts!

2009-03-17 Thread djd
On Mar 17, 1:59 pm, Jason Gillam wrote: > Even if it doesn't complain about the annotations... I don't think > this really addresses the problem, does it?  If your annotations are > in your client-side code, they aren't going to be used, are they?  It > seems to me that putting them there just c

Re: guide on using third party tool to create CSS

2009-04-06 Thread djd
I am interested too :) I'm not sure such an editor will be ever available, since gwt apps are completely dynamic and, most of the times, they work with servlet(s) that usually query databases. Maybe you can you Dreamweaver or some other to design a static "view" (or more) for the programmers to se

Re: Search engine indexing

2009-04-06 Thread djd
Current crawl bots ignore flash and javascript. So if your web app is completely built in GWT (the default behavior when creating a project with projectCreator is to create a single HTML file with a single link to a .nocache.js files which is actually your entry point for entire app), all content

Re: Bug in DateTimeFormat?

2010-03-25 Thread djd
Looks like I have this problem again... EEE, dd MMM yy HH:mm:ss Z Wed, 24 Mar 10 23:57:47 + I'm not sure why, but all invalid dates are between 22:00 and 23:59. Could be an hour issue? On Mar 3, 9:58 pm, Sorinel C wrote: > Is this browser case? that means is it happens with a certain browse

Re: How do I override Safari's default behavior when the TAB key is pressed

2010-03-25 Thread djd
Widget.setIndex()? Usually (this is not the first question about browser behavior/ui) you cannot change what browser is offering you. On Mar 24, 10:41 pm, Rob Tanner wrote: > I am writing a password change/reset application.  When the user knows > his/her current password, they simply enter thei

Re: Exchange datas between modules

2010-05-12 Thread djd
No easy way to do this, One way is to use JSNI, write to DOM in one module, read in the 2nd. The problem here is serialization of these 2 events (read & write) - meaning u should be sure the data was actually written before reading them. Another way is to set a callback to DOM that listens to data

Re: CSS Localization

2010-06-29 Thread djd
If you can do all formatting from Css, one idea to go is like this: - in your war directory, or one subdirectory of this (can be anywhere), have the locale-specific css files, given a specific naming convention (let's say "main-en.css", "main-fr.css" - for french locale). The idea is to name the f

Re: creating your own GWT theme or a pluggable look and feel

2009-07-02 Thread djd
Hi hobbyist, AFAIK, styles are set in each class, when they are constructed (so, via constructor). I have tried to change the stylename for TabPanel and TabItem (to match at least the style cascading conventions my app used), but found it impossible. Still, what you actually want is some sort of

Re: ListBox concatenates it's content again when refreshing the page.

2009-07-02 Thread djd
Hi, I find that hard to believe, since F5 / refresh will reload the ENTIRE app (just like reentering an application). The best way to clear all items is simply calling #ListBox.clear () method just before you want to add the *new* data (best is inside #onSuccess method block). Hope this helps, A

Re: creating your own GWT theme or a pluggable look and feel

2009-07-04 Thread djd
> Do you know if there are there any proposals close to completion?  I > enjoy writing parsers, but I don't want to write my own if something > new is about to be published. I don't know of any parser that accomplishes that (googled it). There are though many proposed protocols (still none is rel

Re: GWT overlay

2010-07-11 Thread djd
I don't think that what you're showing there is a valid json array. It should be, you are also expecting it, but the array should have [ ] brackets surrounding it... So, the jsonformat.html file in which you're showing the data, you should have [ { "type":"asd", ... } , { "type":"asd", ... } ] On

Re: Detecting Network connection loss - com.google.gwt.user.client.rpc.InvocationException

2010-08-13 Thread djd
The timeout mechanism can be found here http://www.google.com/codesearch/p?hl=en#jxxBHps6Oxg/trunk/kiyaa/src/main/java/com/habitsoft/kiyaa/util/AsyncCallbackWithTimeout.java It's a bit complicated (otherwise you would have to overwrite the default generators of GWT-RPC). I would personally go for

UiBinder in GWT 2.0 MS1 and cell alignment

2009-10-17 Thread djd
Hi everybody, Has anyone used UiBinder with the new alignment functionality? I mean setCellHorizontalAlignment, setCellVerticalAlignment. I tried to use them like this: // other fields here The error that I receive in Hosted Mode is : class Button has no appropriat

UiBinder differences between styleName and addStyleNames

2009-11-23 Thread djd
Hi, I have discovered that UiBinderGenerator has a (quite) strange behavior while setting/adding Css styles. Here is an example: In LogoDisplay.css I obviously have the two styles (.basic and .common). I also declared a custom CssResource (in LogoDisplay) that binds with that Css file.

Re: Gilead + Guice + Gwt-Dispatch

2009-11-23 Thread djd
Yes, I worked on a sample code that achieved that a couple of month ago... I will try to post some sample code as soon as possible (first let me find it); for now, allow me to give you some impressions : * the idea is nice (modularization, clear code, simple classes, etc) * BUT the implementation i

Re: UiBinder differences between styleName and addStyleNames

2009-11-24 Thread djd
Nobody has ANY idea? Any input would be greatly appreciated On Nov 23, 4:25 pm, djd wrote: > Hi, > I have discovered that UiBinderGenerator has a (quite) strange > behavior while setting/adding Css styles. > Here is an example: > >     xmlns:ui='urn:ui:com.google.gwt.

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

2009-12-04 Thread djd
Leon, Have you granted access to the directory, like this? grant codeBase "file:${catalina.home}/webapps/-" { permission java.net.SocketPermission "192.168.12.81:3306", "connect"; }; Although this way of working with mysql/logs is a bit strange... you have logging at your disposal in most

Re: GWT RCP

2009-12-04 Thread djd
Client-side RPC code from GWT runs on a single thread, the same applies to the entire app, since AJAX is single-threaded. As for the server-side RPC code, there are no references to Thread or Runnable in the entire code, so the answer is no. On Dec 4, 10:22 am, Alexander wrote: > GWT handle every

Re: placing a widget in a dropdown

2009-12-04 Thread djd
I also needed this, the idea is simple. You have 2 options: 1. From the plethora of gwt extension libraries (gwt-mosaic, gwtx, smartgwt, ext js, MyGWT), I'm pretty sure you can find a listbox that will fit your needs 2. Create a custom listbox from scratch, adjusting it to your needs. If you plan

Re: How create custom child elements in MyWidget.ui.xml like '

2009-12-15 Thread djd
I assume you are extending Composite/Widget or a subclass of it. If this is the case, your 'BaseLayout' must implements HasWidgets (or not, if it extends some panel). I'm not sure this will fix your problem, but it's easy to try On Dec 15, 1:31 pm, Владимир Петрухин wrote: > >   >     >