formData.addRequestParameterValues(getPropertyString("keyName"), new String[]{getKey()});
}
// get form
String formUrl = getUrl() + "?_action=assignmentSubmit&activityId=" + activityId;
PackageActivityForm activityForm = appService.viewAssignmentForm(getRequestParameterString("appId"), getRequestParameterString("appVersion"), activityId, formData, formUrl);
Form form = activityForm.getForm();
AppDefinition appDef = appService.getAppDefinition(getRequestParameterString("appId"), getRequestParameterString("appVersion"));
// generate form HTML
String formHtml = formService.retrieveFormHtml(form, formData);