String[] selectedAuthorsIds = (String[]) insertPublicationForm.get("authorsIds");
Integer[] selectedAuthorsIds = (Integer[]) insertPublicationForm.get("authorsId");
    public ActionForward searchAuthor(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixFilterException, FenixServiceException {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm insertPublicationForm = (DynaActionForm) form;        String searchedAuthorName = (String) insertPublicationForm.get("searchedAuthorName");        String[] selectedAuthorsIds = (String[]) insertPublicationForm.get("authorsIds");        if (searchedAuthorName == null || searchedAuthorName.equals("")) {            ActionErrors errors = new ActionErrors();            errors.add("error1", new ActionError("message.publication.emptySearch"));            return mapping.findForward("searchAuthors");        }        Object[] arg = { searchedAuthorName };        List<InfoAuthor> infoAuthorList = new ArrayList<InfoAuthor>();        infoAuthorList = (List<InfoAuthor>) ServiceUtils.executeService(userView, "ReadAuthorsByName", arg);        removeAuthors(selectedAuthorsIds, infoAuthorList);                request.setAttribute("searchedAuthorsList", infoAuthorList);                return mapping.findForward("searchAuthors");    }