Problem here was to enable (or unlock) an account on an Oracle resource through a form. Trying to set 'view.accounts[$(Resource)].enable' to 'true' wouldn't work and checked the Sun IdM doumentation (IDM_Techincal_Deployment) which says that, the "supportsAccountDisable" method in the custom adapter should override the corresponding method in the "ResourceAdpaterBase.class" so that it returns a true value, for the ACCOUNT_ENABLE function to work properly. Later, found that this is already done in the custom adapter. Now the final option of setting the
'view.accounts[$(Resource)].disable' to 'false' worked. The button incorporated into the form is given below:
<Field name='view.accounts[$(Resource)].disable'>
<Display class='Button' action='true'>
<Property name='noNewRow' value='false'/>
<Property name='label' value='Enable KCS User'/>
<Property name='value' value='false'/>
</Display>
</Field>
<Display class='Button' action='true'>
<Property name='noNewRow' value='false'/>
<Property name='label' value='Enable KCS User'/>
<Property name='value' value='false'/>
</Display>
</Field>