Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Meodo de Classe Java que recebe uma lista de ids no Controller, vindo de um form JQuery
/**
* Exemplo que recebe uma lista de ids no Controller, vindo de um form JQuery
*
* @param ids businessFiles
* @return modelAndView
* @throws BusinessFileAccessDeniedException
*/
@RequestMapping(method = RequestMethod.POST, value = MultiAssetsSelectionView.METADATA_EDIT_ROUTE)
@RolesAllowed({"visto.dam.asset.multiselection.multi.edition.edit"})
public ModelAndView loadForm(@Valid final @RequestParam("ids") List<String> ids)
throws BusinessFileAccessDeniedException {
return loadFormMetadataMulti(ids, MultiAssetsSelectionView.MULTI_METADATA_EDITION);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment