Anand,
Normally the code is not to be developped into the default method it shall call another method that you would have developped and then you only have to call this method (eg : me->display( ) )
You can easily test this method from your class directly, copying can be good but may be not enough
Also your decision task is this a copy of the standard decision task ? have you manage the decision ?
Cheers
Stephane