-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
John Glynn opened SPR-6299 and commented
A common requirement is that a @ModelAttribute annotated method be dependent upon another.
ie.
@ModelAttribute("foo")
public Object getFoo() {
...
}
@ModelAttribute("bar")
public Object getBar(@ModelAttribute("foo") Object foo) {
if( some condition of foo ){
do stuff
}
}Affects: 2.5.6
Reference URL: http://forum.springsource.org/showthread.php?p=263603#post263603
Issue Links:
- @ModelAttribute usage, can prevent @ModelAttribute initialization of dependent. [SPR-9922] #14555
@ModelAttributeusage, can prevent@ModelAttributeinitialization of dependent. ("is duplicated by") - @ModelAttribute parameter dependency issue. [SPR-11315] #15939
@ModelAttributeparameter dependency issue. ("is duplicated by") - @ModelAttribute allowed on attribute in @ModelAttribute annoted method [SPR-10913] #15541
@ModelAttributeallowed on attribute in@ModelAttributeannoted method ("is duplicated by") - Allow an @ModelAttribute method to be invoked after the @RequestMapping method [SPR-5695] #10365 Allow an
@ModelAttributemethod to be invoked after the@RequestMappingmethod - Portlet MVC @ModelAttribute interdependency is still not supported [SPR-13694] #18269 Portlet MVC
@ModelAttributeinterdependency is still not supported
Referenced from: commits 56a82c1
27 votes, 32 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement