Luca Conte schrieb:
Hi Jurgen,
here (rename by removing  the zip extension after dload):
http://bazu.altervista.org/dojoscheduler.war.zip

The new version of Dojo scheduler with resize entries improvement: now in "day" and in "woking week" mode you can resize an entry firing a server side event at the end of resize operation. To test it you can go with the mouse near to the entry's bottom edge (Only an entry with the end timestamp into the day).

Some considerations:
1- In order to handle the resize event, I re-used mouse listener (already present) but I added to it 2 new properties: the entry risized and the new "end timestamp" 2- Now the scheduler component uses dojo (scripts and resources) provided by the Tomahawk extension filter so the dojoTests.jsp actually have no scripts inside. I left into the the webapp root the dojo subfolder but it is not used, you can remove it if you wish. 3- For making the point 2, now in day and in working week mode, I obtain, only in IE, a "Connection reset by peer: socket write error" exception similar to to this issue: https://issues.apache.org/jira/browse/TOMAHAWK-828 but everythings works fine! To bypass this problem the only way is to use dojo's script provided by yorurself and commenting the code's rows into the AbstractSchedulerRenderer in which the dojo initializtion is executed (DojoUtils.DojoUtils.addMainInclude(context, component, javascriptLocation,
    DojoUtils.getDjConfigInstance(context)); and the following row)

My work to component in terms of improvements should stops here! Now I would like to resolve related (potentially) bugs or spend time to add some users wanted functionallities!

To dev-list: Plz send me comments and/or suggestions

Bye
Luca


Luca, following, this issue in IE is not really a bug, in case of the Tomahawk issue it was a bug due to a typo, anyway this issue is caused by a broken encoding handling in IE which makes ie go haywire. Make sure that all the files you stream dont have any weird characters above ascii 128 otherwise if you start to stream encoded javascript and run into a character which has a weird non conform encoding you might run into this issue on IE.

This is it as far as I can remember (Mario did some debugging when I reported the bug)

Reply via email to