logger.debug("No form.");
}
return;
}
FormDescriptor formDescriptor = getFormDataManager().
getSessionFormData(formSpecifier).getFormDescriptor();
if (formDescriptor == null) {
if (logger.isDebugEnabled()) {
logger.debug("No form descriptor for " + formSpecifier);
}
return;
}
if (logger.isDebugEnabled()) {
logger.debug("Form descriptor is " + formDescriptor);
}
// Return if we are still being fragmented
value = requestURL.getParameterValue
(URLConstants.FORM_FRAGMENTATION_PARAMETER);
if (value != null) {
if (logger.isDebugEnabled()) {
logger.debug("No form fragmentation parameter");
}
return;
}
// Return if we have a next form fragment value
value = requestURL.getParameterValue(URLConstants.NEXT_FORM_FRAGMENT);
if (value != null) {
if (logger.isDebugEnabled()) {
logger.debug("Selecting next form fragment");
}
return;
}
// Return if we have a previous form fragment value
value = requestURL.getParameterValue(URLConstants.PREV_FORM_FRAGMENT);
if (value != null) {
if (logger.isDebugEnabled()) {
logger.debug("Selecting previous form fragment");
}
return;
}
// Return if we have a reset form fragment value
value = requestURL.getParameterValue(URLConstants.RESET_FORM_FRAGMENT);
if (value != null) {
if (logger.isDebugEnabled()) {
logger.debug("Resetting form fragment");
}
return;
}
List fields = formDescriptor.getFields();
int count = fields.size();
// This must be a normal submit so extract all the values for the form
// and put them in the request URL. Look in the session first to see
// whether it contains any values from previously fragmented forms.