return replaceImage(uac, context, e, cssWidth, cssHeight);
} else {
//form components
Element parentForm = getParentForm(e, context);
//parentForm may be null! No problem! Assume action is this document and method is get.
XhtmlForm form = getForm(parentForm);
if (form == null) {
form = new XhtmlForm(uac, parentForm, formSubmissionListener);
addForm(parentForm, form);
}
cc = form.addComponent(e);
}
if (cc == null) {
return null;
} else if (cc == XhtmlForm.HIDDEN_FIELD) {
return new EmptyReplacedElement(0, 0);