Class DevTool
java.lang.Object
org.apache.tapestry5.corelib.components.DevTool
Renders a dropdown menu of useful options when developing. By default, the DevTool is disabled (invisible)
during production.
The DevTool provides the following options:
- Reset the page state, discarding any persistent page properties
- Kill the HttpSession (discarding any server-side state)
- Re-render the page (useful after changing the page or template)
- Re-render the page with rendering comments
- Reload all pages and components: classes, messages, templates
- Open the T5 Dashboard page in a new window
- Since:
- 5.4
Name | Type | Flags | Default | Default Prefix |
---|---|---|---|---|
class | String | literal | ||
Additional CSS selectors, e.g., "pull-right" or "dropup". | ||||
enabled | boolean | prop | ||
If false, then the component does not render. Defaults to true unless production mode is enabled. | ||||
navbar | boolean | prop | ||
If true, then the DevTool modifies its markup so as to work within a Bootstrap 3 NavBar. This renders
the component as a <li> (instead of a <div> ), and removes the "btn" CSS classes. |
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
DevTool
public DevTool()
-
-
Method Details
-
getZoneElement
-
getZoneClass
-
getTriggerClass
-