…Ivy is a free java based dependency manager, with powerful features such as transitive dependencies, ant integration, maven repository compatibility, continuous integration, html reports and many more…..
more details
Monthly Archives: July 2006
Ivy: java dependencies manager
Posted in Introduction, Java
Javascript: Delete child element with Effect.Fade (Effect.Fade and Element.remove)
hi all,
let’s think you have a list of rows… when user click on delete button it sends a Ajax post request on server… after receiving JSON or XML response… it display a visual effect of destroying that row…
using Script.aculo.us you can make it with in a few seconds… new Effect.Fade(…) right!!!
but i think you DOM tree will not get that advantage as you are giving to your user… user could see visual disappearance of some object… but it is actually not deleting from DOM tree… you just hidding them… !!!
though you can use element.removeChid( childElement ) … but it is not much interactive approach as you want to show a visiual effect….
so here is my code snap… hope you will enjoy… and your visitor will happy as well as DOM tree will happy…
deleteElement: function(divId, options) {
try {
var element = $(divId);
var oldOpacity = element.getInlineOpacity();
var options = Object.extend({
from: element.getOpacity() || 1.0,
to: 0.0,
afterFinishInternal: function(effect) {
if(effect.options.to!=0) return;
var rootElement = $(BnChat.userListDiv);
rootElement.removeChild(effect.element);
effect.element.setStyle({opacity: oldOpacity});
}}, arguments[1] || {});
return new Effect.Opacity(element,options);
}
catch(e) {
// goes your exception handling
}
},
Posted in javascript
a day without computer solely for relax….
we have been somewhere in… Water kingdom…. full of water brought full of relax day…. started our day with 2-0 football match between Java team and 3D team…
java team means hasin bhai and me, we kicked off 2 goals in 3D team’s goal post…
Later we have collected late coming fee also i committed for signature less back draft for slightly late coming…
We have found lot of fun inside somewhere in… import/export vehical. arild, saiket bhai, hasin bhai, rythm, tipu bhai, didar apa, sagor bhai and farhana sis… and me.. Enjoyed a lot…
we found the best location inside im/ex car big bench. didar apa and tipu bhai made a pair in left side seat… sagor bhai and farhana sis took right seat… arild drove the car, saiket bhai sit down beside arild…
That’s very exciting… hasin bhai and sagor bhai sang few songs.. including hotel California… arild started playing norge song… though i can hardly remind one piece of sound….
at the cutting edge 12 PM we could get inside water kingdom… bought a locker and locked up all our precise … put on light weight dresses…
time to jump… my first expression was “WoW” where have you been before….?
i am such a man who has been to Cox’s bazar sea beach… but did not touch any water… now directly jump over one ride to another ride… and water to water… i knew little bit swimming… but did not practice for at least 8 years… played lots of game… lots of fun…
the ever funniest thing was happened when i was coming through a tunnel… at the last moment i was suppose to thrown into the water… every thing worked fine… but i just fall down inside water… my head touches the ground under water… and i was inside water for a while… swallowed lots of ant dead water…
after the day with lots of fun…. we returned our home… with ever tired body… mind etc… but again lost myself inside water kingdom while i was asleep…..
Posted in Introduction
iBATIS MSSQL primary key
if you are using iBATIS and care about your newly created object primary key
just use the following code…
<insert ….>
<selectkey>
select @@IDENTITY as moduleId
</selectkey>
</insert>






Recent Comments