if (_root.getPage() != null) {
if (_root.getPage().getEngine() != null) {
IApplicationSpecification appSpec =
_root.getPage().getEngine().getSpecification();
if (appSpec != null && appSpec.checkExtension(Tapestry.OGNL_TYPE_CONVERTER)) {
TypeConverter typeConverter =
(TypeConverter) appSpec.getExtension(
Tapestry.OGNL_TYPE_CONVERTER,
TypeConverter.class);