Task Portlet

How to add custom control (buttons for Accpet Order & Reject Order) and associate event to it?

How to set values for output business data variable on clicking “Complete” button?

E.g. I have defined OrderAcceptanceStatus output variable and i want to set its value to “Accept” on clicking “Complete” button.

Regards,
Jigs