It appears the non-deprecated API is:
chartService =
engine.getInfrastructure().getServiceMap().getService(ChartService.SERVICE_NAME);
----- Original Message ----
Hi
I'm writing my own engine service and I'm basing it on the Chart example in the
Workbench app that ships with the Tapestry distribution. The example uses a
line in ChartAsset.java that's deprecated in Tap 4:
_chartService = engine.getService(ChartService.SERVICE_NAME);
The service is used to build the ILink in the buildURL method as follows:
ILink l = _chartService.getLink(false, _chartProvider);
What's the right way to do this in Tap 4? You can't use @InjectObject in an
asset class.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]