contrib:FormTable Component Index contrib:Otherwise

contrib:InspectorButton
org.apache.tapestry.inspector.InspectorButton
Show Inspector
 
Description
Adds a link to a page that is used to raise the Tapestry Inspector in a new window.

The Tapestry Inspector enables you at runtime to examine composition of a Tapestry application, inspect persistent page properties, clear HttpSessions and Tapestry caches.

Pages incorporating a InspectorButton component must also include a Body component.

Prior to release 2.2, this component was named ShowInspector.

See Also
Body, ExceptionDisplay
Parameters
Name Type Direction Required Default Description
disabled boolean in no false If true, the button does not appear. This is the correct configuration for a deployed application.

Body: removed
Informal parameters: forbidden
Reserved parameters: none

Examples

This example is a simple page with the InspectorButton.

Hello world

Template

<html jwcid="@Shell" title="InspectorButton Example">
<head jwcid="$remove$">
<title>InspectorButton Example</title>
</head>
<body jwcid="@Body">
<h1>Hello world</h1>
<span jwcid="@contrib:InspectorButton"/>
</body>
</html>

contrib:Choose Component Index contrib:Otherwise