log.debug("Entering confirmRequest");
PortletRequest req = event.getActionRequest();
PortletSession session = req.getPortletSession();
boolean valid = true;
AccountRequestAttrCollection attrs =
(AccountRequestAttrCollection) session.getAttribute("attrs");
if (attrs == null) {
log.error("Account Request Form is NULL");
setNextState(req, DEFAULT_VIEW_PAGE);
return;
}
String account_type = (String)session.getAttribute(ACCOUNT_TYPE);
if (account_type == null) {
log.error("Account Type is NULL");
setNextState(req, DEFAULT_VIEW_PAGE);
return;
}
valid = AccountRequestAttrManager.construct(attrs, req,
account_type,
accountService);
session.setAttribute("attrs", attrs);
if ( log.isDebugEnabled() ) {
log.debug( attrs.toString() );
}
if ( valid ) {
setNextState(req, CONFIRM_REQUEST_JSP);
} else {