Thursday 30 August 2007
Get the generic type of a generic class
Par Vincent DEMAY, Thursday 30 August 2007 :: Java
[java] (Class) ((ParameterizedType) getClass().getGenericSuperclass()).getActualTypeArguments()[0];
Thursday 30 August 2007
Par Vincent DEMAY, Thursday 30 August 2007 :: Java
[java] (Class) ((ParameterizedType) getClass().getGenericSuperclass()).getActualTypeArguments()[0];
Tuesday 28 August 2007
Par Vincent DEMAY, Tuesday 28 August 2007 :: YUI
Par Vincent DEMAY, Tuesday 28 August 2007 :: YUI
Tuesday 21 August 2007
Par Vincent DEMAY, Tuesday 21 August 2007 :: Dojo

Dijit:
* unified look and feel for all widgets
* ambitious a11y and i18n features in every Dijit widget
* a mature CSS-driven theme system with multiple, high-quality themes
* huge improvements in system performance
* data-bound widgets
* Declarations for lightweight widget writing
* a new page parser that allows instances of any class, not just widgets
* no magicCore:
* reduced API surface area (easier to remember and use)
* dojo.query() always available, returns real arrays
* from-scratch high-performance DnD system
* Base (dojo.js) is 25K on the wire (gzipped)
* dojo.data APIs finalized
* new build system
* new test harness for both CLI and browser use
* dojo.behavior now marked stable and based on dojo.query
* excellent animation APIs with Color animations in Base (always available)
* all the features you’ve come to count on from Dojo (RPC, JSON-P, JSON, i18n, formatting utilities, etc.)DojoX:
* high quality implementations of previously experimental features:
* gfx (portable 2D drawing)
* data wires
* offline
* storage
* cometd (Bayeux client)
* etc.
* dojox.gfx now includes Sliverlight support
* many more features and improvements than there’s room for here
Thursday 9 August 2007
Par Vincent DEMAY, Thursday 9 August 2007 :: Dojo
Wednesday 8 August 2007
Par Vincent DEMAY, Wednesday 8 August 2007 :: Technologies
![]() |
I've just tried Spock yesterday and I found the concept quite interesting. Spock is a meta search engine to find... people! Spock searches on other search engine (as Google), on community web site and on all other kind of web site to found out a person by his name or with some keywords. As all web 2.0 new web application, you need an invite to use it! Now, be carefull about your private information, it can be easy to find them with this tool ;) |
Par Vincent DEMAY, Wednesday 8 August 2007 :: Wicket
Thursday 2 August 2007
Par Vincent DEMAY, Thursday 2 August 2007 :: Wicket
myDomNode.onkeypress = function(event) { alert(event.keyCode)}
myDomNode.onkeypress = function() { alert(window.event.keyCode)}
Actually IE propage key event on window.
myDomNode.onkeypress = function(event) {if (!event){event = window.event;} alert(event.keyCode);} Par Vincent DEMAY, Thursday 2 August 2007 :: IE sucks
inherit). Par Vincent DEMAY, Thursday 2 August 2007 :: IE sucks
function aFunction(aVariable){
window.setTimeout(myFunction(){alert(aVariable)}, 500);
}
aVariable. So there are to way to deal with thatfunction aFunction(aVariable){
window.setTimeout(eval("myFunction(){alert('" + aVariable + "')}", 500);
}
Second, the better You can use a function returning a function :
function aFunction(aVariable){
window.setTimeout(getOnTimeOut(aVariable), 500);
}
function getOnTimeOut(aVariable){
return function(){ // no params
alert(aVariable);
}
} Wednesday 1 August 2007
Par Vincent DEMAY, Wednesday 1 August 2007 :: Dojo
|
Dojo is mainly developed and maintained by Americans, so I let you guess what is the first available date in the Dojo DatePicker : 10/12/1492 What about us, poor European from the "old europe" ;). How can we make some references to our huge and old history ? ;) Thanks to François for the screenshot. |
Par Vincent DEMAY, Wednesday 1 August 2007 :: Ubuntu
sysutils package. So to get this command line, just type
sudo apt-get install sysutils