protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
{
if (_disabled || cycle.isRewinding())
return;
IEngine engine = getPage().getEngine();
IScriptSource source = engine.getScriptSource();
IResourceLocation scriptLocation =
getSpecification().getSpecificationLocation().getRelativeLocation(
"InspectorButton.script");
IScript script = source.getScript(scriptLocation);
Map symbols = new HashMap();
IEngineService service = engine.getService(Tapestry.DIRECT_SERVICE);
ILink link = service.getLink(cycle, this, null);
symbols.put("URL", link.getURL());
Body body = Body.get(cycle);