SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-740
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Louis Emmett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Allow injection of Spring-Wired Compass Event Listeners

Created: 14/Oct/08 07:56 AM   Updated: 14/Oct/08 07:56 AM
Component/s: Compass::Spring
Affects Version/s: 2.1.0 M4
Fix Version/s: None


 Description  « Hide
Currently the org.compass.core.events support allows configuration of event listeners using the compass.setting registration style.
This is fine, but it would be more convenient in a spring-managed environment to allow injection of event listeners into the LocalCompassBean.
Without that, it requires the use of static variables to bootstrap/get access to the enclosing spring environment.

Also, an extension to the <compass:compass> schema would be very welcome, for example as below
<compass:listeners>
<compass:preSaveListener ref="mybean"/>
</compass:listeners>



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.