Process to write a SubForm

To write a custom SubForm, create a servlet that generates the HTML user interface to manage the value of the attribute.

To save the value, create an instance of com.ibm.itim.common.AttributeValue and bind it to a user's HttpSession with the key defined in com.ibm.itim.webclient.util.FormData (on one line):

AttributeValue av = new AttributeValue("attributename", "customValue"); 
	HttpSession session = request.getSession(false); 
		session.setAttribute("subFormAttrValue", av);

This ensures that the value gets picked up and added to the form data collected from the fields when the main form is submitted.