File tree 1 file changed +2
-1
lines changed
src/main/java/ru/mystamps/web/feature/series/importing
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 26
26
import org .springframework .web .bind .WebDataBinder ;
27
27
import org .springframework .web .bind .annotation .GetMapping ;
28
28
import org .springframework .web .bind .annotation .InitBinder ;
29
+ import org .springframework .web .bind .annotation .ModelAttribute ;
29
30
import org .springframework .web .bind .annotation .PathVariable ;
30
31
import org .springframework .web .bind .annotation .PostMapping ;
31
32
import ru .mystamps .web .common .LocaleUtils ;
@@ -78,7 +79,7 @@ public void showRequestImportForm(Model model) {
78
79
79
80
@ PostMapping (SeriesImportUrl .REQUEST_IMPORT_SERIES_PAGE )
80
81
public String processRequestImportForm (
81
- @ Valid RequestSeriesImportForm form ,
82
+ @ Valid @ ModelAttribute ( "requestImportForm" ) RequestSeriesImportForm form ,
82
83
BindingResult result ,
83
84
@ CurrentUser Integer currentUserId ) {
84
85
You can’t perform that action at this time.
0 commit comments