Skip to content

correct reference documentation for ResourceBundleViewResolver [SPR-6224] #10892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Oct 11, 2009 · 1 comment
Labels
type: bug A general bug type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Oct 11, 2009

Matthias Koch opened SPR-6224 and commented

the reference documentation for the ResourceBundleViewResolver tells that the view class will marked with: viewname.class= in the properties file.

if doing so in spring 3, it won't work.

the right syntax is: viewname.(class)=

this should be the right syntax since spring 2 regarding to this issue:
http://jira.springframework.org/browse/SPR-1664

i found this deprected/wrong doku here:

http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch15s05.html#mvc-viewresolver-resolver
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch16s02.html
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch16s03.html

thanks
kg Matthias Koch


Affects: 3.0 RC1

Issue Links:

Referenced from: commits d293c22

@spring-projects-issues
Copy link
Collaborator Author

Luke Taylor commented

Thanks for the report. I've updated the mvc.xml and views.xml docbook files accordingly to use the ".(class)" syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant