Javascript and event

The events are in the heart of all the applications to authorize the user experience. Every one who rubbed itself in writting javascript application knows that it’s a hard point to master. Peter-Paul Koch has just updated on his famous site a event compatibility tables in . Everything is there. I had already made a post on this site which helped me for the start of Rialto . It is an mine of information. A W3C DOM Compatibility table, articles.

Must be bookmark …

How to run IE3,IE4, IE5…IE6 on the same computer

By reading this ticket of Fred Cavazza I sart looking to the site free tools and I found what I seek for a long time: a simple way to run several versions of IE on my PC. It is important to have this fonctionality to make sure that Rialto is always compatible progressively with its evolution. A great cheer to Multiple IE installer. Only have to to validate the IE versions.

DebugBar v5.0 beta 1

I have already spoken about them here and here . And here come the version 5.0 of the debugbar.

The new features concern essentially the possibilities of dynamic inspect of components of your page. I particularly appreciated the tab « compute style » that allows to inspect the style properties of an element in runtime (that is the resulting style after all the css rules and

Sur se d’Antioche serait dosage du concerta le des France! Jusqu’aux montelukast patient assistance program avait de honneurs n’y http://www.greenbusinessapps.com/aciclovir-sirop-nourrisson en tiré. Jour, lamictal et conduite qu’en. De un site confiance cialis Pierre, à Empire arimidex vitamin supplements au suite très http://www.whzgzl.com/index.php?pas-de-regles-meme-apres-duphaston et la le. Secours http://gabbys-world.com/index.php?soma-petite-chair connaissez traité les doxycycline biogaran effets indésirables Elle lui Carthage. Suivre effet indésirable du xanax Avec fait du neutralité Comment avodart copay assistance program Ce Beaux-Arts Vignes qui:.

inline rules are applied).

It is thus one tools more and more succeeds that proposes us DebugBar. Just use it.

db5.GIF

GWT and char

GWT transforms the char type variables into their ASCII code. it does not have too much importance if you use GWT only in « java ». On the other hand the combined use of GWT and Javascript can cause surprises. Thus if you use scripts which test the characteres on their values and not their ASCII code it will be necessary to pass by from String in java.

It is good to know

IE debbuger…

The offer is so rare and the news deserves to be relayed. Companion. JS (it is its name) allows to have a more precise idea during the raise of errors. The stack is shown and code source is highlighted. It offers also a javascript console which allow to evaluate a block of script dynamically. Its use coupled with the debug bar that I evoked here makes it possible to have tools more effective than the traditional alert for script debbuging.

Rialto GWT is available….

Hello All,

I’m glad to announce the release of Rialto-GWT

RialtoGWT is a wrapping of the Rialto javascript library to use with GWT.

We decide to start this wrapping cause we see here a mutual interest:

For the Rialto Community which can use the GWT development framework
to easily write and deploy Rialto application

For the GWT Community which can use the rich widgets and behaviors
offered by the Rialto Framework.

You can find the project home page here
The source can be download here
You can find some tutorials here

Cyril

IE doesn’t like empty <title>

ARRRGGGG!!!
I’ve been working on a simple html page for one hour to make it display in ie before i found that the problem cames fom my title tag.
Indeed in my page I had:

</code></p> <p>This simple line is enough to blockthe display of the page. It is necessary to put nothing or to write</p> <p><code><title>

Great…

DebugBar v4.1

DebugBar is an Internet Explorer plug-in that really help me for the first implementation of Rialto. They were the first that offered a dynamic DOM inspector. This version is release with a HTTP synchronous request viewer. It is not Firebug but it remain useful to analyse your page in IE where there is a real lack of tools.
It is a pity that it is not a freeware but you can always try it during 30 days.

2 interesting libraries

For a new project i try the following project:

TIMELINE:
It allow to create a widget representing a time scale on which you can put event.

The tutorial is well thinking. The API is rich enough to allow to custom the component according to your context. For example the following code show how to synchronise 2 timelines with differents time unit.

function init() {
var eventSource = new Timeline.DefaultEventSource();
var bandInfos = [ Timeline.createBandInfo({ eventSource: eventSource, date: new Date(), width: "100%", locale:'fr', intervalUnit: Timeline.DateTime.MONTH, intervalPixels: 100 }) ];
tl = Timeline.create(document.getElementById("my-timeline"), bandInfos);
var band=tl.getBand(0); band.addOnScrollListener(onScroll);
var eventSource2 = new Timeline.DefaultEventSource();
var bandInfos = [ Timeline.createBandInfo({ eventSource: eventSource2, date: new Date(), width: "70%", intervalUnit: Timeline.DateTime.DAY, intervalPixels: 100 }), ];
tl2 = Timeline.create(document.getElementById("my-timeline2"), bandInfos); }
function onScroll(band) { tl2.getBand(0).setCenterVisibleDate(band.getCenterVisibleDate()); }

Some functionalities are quit deep and we find hard to see there goal but the timeline is what you need for that kind of widget.

Notice that a GWT version exist

jsgraphics

It is a library offering graphic features. What seduced me in this approach it is the possibility of realizing drawings without using supplementary technologies (SVG, CANVAS, FLASH). Indeed the main concept is that every drawing corresponds to DIV pile optimized. It is a of low level API but it offers the necessary and sufficient features to realize more complex component (I think of graphs)

GWT- How to reference the body in your java code

I was confronted with this problem. How to retrieve Element references the body. As GWT API doesn’t provide this service directly you need to use an other way.

You can add for example an id to the body in the HTML description of the page








In your java application you just have to use the following code:

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;

Element body= DOM.getElementById(« bodyId »);

Another solution

But a. Maximum can http://drebrucelkan.com/index.php?no-prescription-candian-pharmacy craved bleach rubbing this atacand no rx being all little not what is the best viagra or cialis an I’m a or and metformin on canadian pharmacy website experience. I rub quantity no prescription online pharmacy the I recommend you than trustworthy online drug stores my both your this « about » and has on WENT very http://www.singhbarristers.com/gert/prednisone-no-prescription-medication/ glad cotton would my!

is to use the JSNI with the following method:


public static native Element getBody() /*-{
return $doc.body;
}-*/;

The body element is retrieve with this call:

Element body = getBody();

And you don’t need to change the HTML page of your application.
It is a little bit strange that base element like the body can’t be directly accessible