Wicket Viewer
Configuration of the Wicket viewer.
Property | Default | Description |
---|---|---|
causeway.viewer.wicket. |
Whether the Ajax debug should be shown, by default this is disabled. |
|
causeway.viewer.wicket.app |
org.apache.causeway.viewer.wicket. |
Specifies the subclass of There is usually very little reason to change this from its default. |
causeway.viewer.wicket.base-path |
/wicket/ |
The base path at which the Wicket viewer is mounted. |
causeway.viewer.wicket. |
15 |
Specifies the maximum number of bookmarks to show. These are aged out on an MRU-LRU basis. |
causeway.viewer.wicket. |
true |
Whether the panel providing linsk to previously visited object should be accessible from the top-left of the header. |
true |
Whether the drop-down list of previously visited objects should be shown in the footer. |
|
true |
Whether to enable the 'where am i' feature, in other words the breadcrumbs. |
|
64 |
null |
|
true |
Whether the clear-field-button, that allows to clear a null-able (optional) field (a property or a dialog argument) is enabled for rendering or not. The default is to enable (show) the clear-field-button. |
|
causeway.viewer.wicket. |
If the end user uses a deep link to access the Wicket viewer, but is not authenticated, then this configuration property determines whether to continue through to that original destination once authenticated, or simply to go to the home page. The default behaviour is to honour the original destination requested. |
|
causeway.viewer.wicket.css |
URL of file to read any custom CSS, relative to A typical value is |
|
causeway.viewer.wicket.date-picker. |
2100-01-01T00:00:00.000Z |
Defines the first date available in the date picker. As per http://eonasdan.github.io/bootstrap-datetimepicker/Options/#maxdate, in ISO format (per https://github.com/moment/moment/issues/1407). Use time zone 'Z', as the date/time picker UI component is not wired up to support time-zones. |
causeway.viewer.wicket.date-picker. |
1900-01-01T00:00:00.000Z |
Defines the first date available in the date picker. As per http://eonasdan.github.io/bootstrap-datetimepicker/Options/#maxdate, in ISO format (per https://github.com/moment/moment/issues/1407). Use time zone 'Z', as the date/time picker UI component is not wired up to support time-zones. |
causeway.viewer.wicket.date-picker. |
Whether the date picker should automatically be shown when the field gains focus. The default is to show the picker when the user clicks into the field. Corresponds to the |
|
causeway.viewer.wicket. |
Determines whether debug bar and other stuff influenced by By default, depends on the mode (prototyping = enabled, server = disabled). This property acts as an override. |
|
causeway.viewer.wicket.dialog-mode |
Whether the dialog mode rendered when invoking actions on domain objects should be to use the sidebar (the default) or to use a modal dialog. This can be overridden on a case-by-case basis using |
|
Whether the dialog mode rendered when invoking actions on domain services (that is, menus) should be to use a modal dialog (the default) or to use the sidebar panel. This can be overridden on a case-by-case basis using |
||
causeway.viewer.wicket. |
true |
In prototyping mode, a text icon is appeneded to any property that is disabled, with its tool-tip explaining why the property is disabled. This configuration property can be used to suppress the icon, even in prototyping mode, if desired. The default is to enable (show) the text icon (if in prototyping mode). |
causeway.viewer.wicket.js |
URL of file to read any custom JavaScript, relative to A typical value is |
|
causeway.viewer.wicket. |
If specified, then is rendered on each page to enable live reload. Configuring live reload also requires an appropriate plugin to the web browser (eg see livereload.com and a mechanism to trigger changes, eg by watching |
|
causeway.viewer.wicket. |
-1 |
null |
causeway.viewer.wicket. |
-1 |
null |
causeway.viewer.wicket. |
12 |
The maximum number of characters to use to render the title of a domain object (alongside the icon) in any table, if not otherwise overridden by either If truncated, then the remainder of the title will be replaced with ellipses (…). |
causeway.viewer.wicket. |
80 |
If a table has no property columns, for the title column this value is used, to determine how many characters to render for the table element titles. Introduced for the case when max-title-length is set to zero for tables in general, that if a table has no property columns an exception to that title suppression can be made. |
causeway.viewer.wicket. |
0ms |
How long the error popup should display before disappearing. A value of 0 (the default) means do not disappear automatically. |
causeway.viewer.wicket. |
3500ms |
How long the info popup should display before disappearing. A value of 0 means do not disappear automatically. |
causeway.viewer.wicket. |
100 |
How far in from the edge the popup should display |
causeway.viewer.wicket. |
Whether to display popups aligned ot the left or right of the page. The default is to show them aligned to the right |
|
causeway.viewer.wicket. |
Whether to display popups at the top or the bottom of the page. The default is to show them at the top. |
|
causeway.viewer.wicket. |
0ms |
How long the warning popup should display before disappearing. A value of 0 (the default) means do not disappear automatically. |
causeway.viewer.wicket. |
true |
Whether to disable a form submit button after it has been clicked, to prevent users causing an error if they do a double click. This behaviour is enabled by default, but can be disabled using this flag. |
causeway.viewer.wicket. |
true |
Whether to disable a no-arg action button after it has been clicked, to prevent users causing an error if they do a double click. This behaviour is enabled by default, but can be disabled using this flag. |
causeway.viewer.wicket. |
Whether to use a modal dialog for property edits and for actions associated with properties. This can be overridden on a case-by-case basis using This behaviour is disabled by default; the viewer will use an inline prompt in these cases, making for a smoother user experience. |
|
causeway.viewer.wicket. |
Whether to redirect to a new page, even if the object being shown (after an action invocation or a property edit) is the same as the previous page. This behaviour is disabled by default; the viewer will update the existing page if it can, making for a smoother user experience. If enabled then this reinstates the pre-1.15.0 behaviour of redirecting in all cases. |
|
causewayWicketRememberMe |
If the "remember me" feature is available, specifies the key to hold the encrypted credentials in the cookie. |
|
causeway.viewer.wicket.remember-me. |
If the "remember me" feature is available, optionally specifies an encryption key (a complex string acting as salt to the encryption algorithm) for computing the encrypted credentials. If not set, then (in production mode) the Wicket viewer will compute a random key each time it is started. This will mean that any credentials stored between sessions will become invalid. Conversely, if set then (in production mode) then the same salt will be used each time the app is started, meaning that cached credentials can continue to be used across restarts. In prototype mode this setting is effectively ignored, because the same key will always be provided (either as set, or a fixed literal otherwise). |
|
causeway.viewer.wicket.remember-me. |
Whether the sign-in page should have a "remember me" link (the default), or if it should be suppressed. If "remember me" is available and checked, then the viewer will allow users to login based on encrypted credentials stored in a cookie. An key can optionally be specified. |
|
causeway.viewer.wicket. |
true |
In Firefox and more recent versions of Chrome 54+, cannot copy out of disabled fields; instead we use the readonly attribute (https://www.w3.org/TR/2014/REC-html5-20141028/forms.html#the-readonly-attribute) This behaviour is enabled by default but can be disabled using this flag |
true |
Whether to show the footer menu bar. This is enabled by default. |
|
true |
Whether Wicket tags should be stripped from the markup. By default this is enabled, in other words Wicket tags are stripped. Please be aware that if tags are not stripped, then this may break CSS rules on some browsers. |
|
causeway.viewer.wicket. |
Whether to suppress the password reset link on the sign-in page. Although this is disabled by default (in other words the 'reset password' link is not suppressed), note that in addition the application must provide an implementation of the |
|
causeway.viewer.wicket. |
Whether to suppress the sign-up link on the sign-in page. Although this is disabled by default (in other words the sign-up link is not suppressed), note that in addition the application must provide an implementation of the |
|
causeway.viewer.wicket.themes. |
A comma separated list of enabled theme names, as defined by https://bootswatch.com. |
|
causeway.viewer.wicket.themes. |
Flatly |
The initial theme to use. Expected to be in the list of |
causeway.viewer.wicket.themes. |
Whether the theme chooser widget should be available in the footer. |
|
causeway.viewer.wicket. |
How to interpret tooltip content, e.g. as HTML or TEXT. default = TEXT |
|
causeway.viewer.wicket. |
true |
Whether to show an indicator for a form submit button that it has been clicked. This behaviour is enabled by default. |
causeway.viewer.wicket. |
true |
Whether to show an indicator for a no-arg action button that it has been clicked. This behaviour is enabled by default. |
causeway.viewer.wicket. |
Whether to show an indicator for a sortable column (that is an up-down arrow icon). This behaviour is disabled by default. |
|
causeway.viewer.wicket.welcome. |
Text to be displayed on the application’s home page, used as a fallback if welcome.file is not specified. If a @HomePage action exists, then that will take precedence. |
|
causeway.viewer.wicket. |
Whether the Wicket source plugin should be enabled; if so, the markup includes links to the Wicket source. This behaviour is disabled by default. Please be aware that enabling it can substantially impact performance. |