}
public ActionForward createExternalUnit(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws FenixServiceException {
final CreateExternalUnitBean externalUnitBean = getRenderedObject();
try {
final Unit unit = CreateExternalUnit.run(externalUnitBean);
final String oid =
(!externalUnitBean.getParentUnit().isPlanetUnit()) ? externalUnitBean.getParentUnit().getExternalId() : unit
.getExternalId();
request.setAttribute("oid", oid);
return viewUnit(mapping, actionForm, request, response);
} catch (final NotAuthorizedException e) {