Created
February 13, 2015 13:01
-
-
Save felipebizz/6922288c0d757b0f64cb to your computer and use it in GitHub Desktop.
Meodo de Classe Java que recebe uma lista de ids no Controller, vindo de um form JQuery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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