This graphic shows the first page of the New Controller Wizard, with the heading Controller. The Name, Description, and Controller Logic fields on this page have boxes for text entry. The Name and Controller Logic fields are marked with an asterisk to indicate they are required. The Controller Logic box has the following starter text:

package oracle.webcenter.sites.controller

import com.fatwire.assetapi.data.*
import com.openmarket.xcelerate.asset.*
import com.fatwire.assetapi.fragment.*

public class extends BaseController
{
  @RequiredParams(query="c,cid"
  public void doWork(Map models)
  {
    // TODO: Add code here
  }
}