Sun Identity Manager Deployment Reference

Calling Resource Methods from Forms

You can invoke methods on a resource from a form by using the invoke method.

The invoke method is called by specifying the class name and name of the method. Arguments can also be passed to the method within the invoke tags as shown in the following example.

      <defvar name=’vmsResName’>
         <index i=’0’>
         <invoke name=’callResourceMethod’class=’com.waveset.ui.FormUtil’>

From the Form Element dialog for the field

ProcedureTo Call Resource Methods from a Form

  1. Select Javascript from the Display Class menu.

  2. Click OK.