Class DevTool
- java.lang.Object
-
- org.apache.tapestry5.corelib.components.DevTool
-
public class DevTool extends java.lang.Object
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
Component Parameters 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 Constructor Description DevTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTriggerClass()
java.lang.String
getZoneClass()
java.lang.String
getZoneElement()
-
-
-
Constructor Detail
-
DevTool
public DevTool()
-
-
Method Detail
-
getZoneElement
public java.lang.String getZoneElement()
-
getZoneClass
public java.lang.String getZoneClass()
-
getTriggerClass
public java.lang.String getTriggerClass()
-
-