The intended convention is either:
controller.startItem()
rc.data = service.item()
controller.endItem()
or:
controller.item() - and you call services yourself.
Given that implicit service calls are now being discouraged (and will
be disabled by default in 2.0), it may be time to revisit the
start/end convention and perhaps only execute that if implicit service
calls are not suppressed...?
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
Yup, after some reflection, the startItem() / item() / endItem()
convention will definitely be staying.
I wish there was a reliable way of figuring out which was active
(because it would kinda be nice to omit item() if startItem() and/or
endItem() were present) - but because of supporting onMissingMethod(),
that's not really possible (unless I enforce a convention in the
presence of onMissingMethod() I guess).