Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions