Skip to content
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

Add AtomView sample to PetClinic [SPR-5460] #10133

Closed
spring-projects-issues opened this issue Feb 3, 2009 · 1 comment
Closed

Add AtomView sample to PetClinic [SPR-5460] #10133

spring-projects-issues opened this issue Feb 3, 2009 · 1 comment
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Alef Arendsen opened SPR-5460 and commented

Attached, you'll find a few patch files and one new class that implements an AtomView on top of the PetClinic.

The VisitsAtomView goes in org.springframework.samples.web

The first patch adds a handler method to the ClinicController returning a list of visits

The second patch adds the view as a bean to the ***-servlet.xml and adds a BeanNameViewResolver (ordered as the first resolver).

You would also need JDom and Rome on the classpath of the project.

Have fun!


Affects: 3.0 M1

Attachments:

Referenced from: commits b96a7a7

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

Done, thanks Alef!

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

No branches or pull requests

2 participants