You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/12/10 14:33:15 UTC
[2/2] isis-site git commit: ISIS-1553 and ISIS-1554: prevent double
clicks
ISIS-1553 and ISIS-1554: prevent double clicks
Project: http://git-wip-us.apache.org/repos/asf/isis-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis-site/commit/2355fce9
Tree: http://git-wip-us.apache.org/repos/asf/isis-site/tree/2355fce9
Diff: http://git-wip-us.apache.org/repos/asf/isis-site/diff/2355fce9
Branch: refs/heads/asf-site
Commit: 2355fce984f2fa94aacf2f9dca724a5d9366c3a3
Parents: 3017de0
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Sat Dec 10 14:32:27 2016 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Sat Dec 10 14:32:27 2016 +0000
----------------------------------------------------------------------
content/guides/ugvw.html | 62 +-
content/guides/ugvw.pdf | 7682 +++++++++++++++++++++++------------------
2 files changed, 4454 insertions(+), 3290 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis-site/blob/2355fce9/content/guides/ugvw.html
----------------------------------------------------------------------
diff --git a/content/guides/ugvw.html b/content/guides/ugvw.html
index fc1cc5e..4a2f874 100644
--- a/content/guides/ugvw.html
+++ b/content/guides/ugvw.html
@@ -1457,6 +1457,24 @@ for further details).</p></td>
<tr>
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
<p><code>isis.viewer.wicket.</code><br>
+<code>preventDoubleClickForFormSubmit</code></p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
+(<code><em>true</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.13.2-SNAPSHOT</code>) Whether to disable a form submit button after it has been clicked, to prevent users causing an error if they do a double click.</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>isis.viewer.wicket.</code><br>
+<code>preventDoubleClickForNoArgAction</code></p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
+(<code><em>true</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.13.2-SNAPSHOT</code>) 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.</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>isis.viewer.wicket.</code><br>
<code>regularCase</code></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
@@ -1468,7 +1486,8 @@ for further details).</p></td>
<p><code>isis.viewer.wicket.</code><br>
<code>replaceDisabledTagWithReadonlyTag</code></p>
</div></div></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code> (<code><em>true</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
+(<code><em>true</em></code>)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.13.2-SNAPSHOT</code>) Whether to replace 'disabled' tag with 'readonly' (for <a href="https://www.w3.org/TR/2014/REC-html5-20141028/forms.html#the-readonly-attribute">w3 spec</a>-compliant browsers such as for Firefox and Chrome 54+) which prevent copy from 'disabled' fields.</p></td>
</tr>
<tr>
@@ -1476,7 +1495,8 @@ for further details).</p></td>
<p><code>isis.viewer.wicket.</code><br>
<code>rememberMe.cookieKey</code></p>
</div></div></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">ascii chars (<code><em>isisWicketRememberMe</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">ascii chars<br>
+(<code><em>isisWicketRememberMe</em></code>)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Cookie key holding the (encrypted) 'rememberMe' user/password. There is generally no need to
change this. <br>
</p><p class="tableblock">Valid values as per <a href="http://stackoverflow.com/a/1969339/56880">this StackOverflow answer</a>.</p></td>
@@ -1486,16 +1506,16 @@ change this. <br>
<p><code>isis.viewer.wicket.</code><br>
<code>rememberMe.encryptionKey</code></p>
</div></div></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">any string (a random UUID each time)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">any string<br>
+(in prod, a random UUID each time)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Encryption key is used to encrypt the rememberMe user/password. <br>
</p><p class="tableblock">Apache Isis leverages <a href="http://wicket.apache.org">Apache Wicket</a>'s rememberMe support which holds remembered
user/passwords in an encrypted cookie.
-</p><p class="tableblock">If a hard-coded and publicly known value were to be used (as was the case prior to <code>1.13.0</code>), then it would be
-possible for rememberMe user/password to be intercepted and decrypted, possibly compromising access. This
-configuration property therefore allows a private key to be specified, baked into the application.
-</p><p class="tableblock">If no value is set then (for safety) a random UUID will be used as the encryption key. (The net effect of this
-fallback behaviour is that 'rememberMe' will work, but only until the webapp is restarted (after which the end-user
-will have to log in again).</p></td>
+</p><p class="tableblock">If a hard-coded and publicly known value were to be used (as was the case prior to <code>1.13.0</code>), then it would be possible for rememberMe user/password to be intercepted and decrypted, possibly compromising access.
+This configuration property therefore allows a private key to be specified, baked into the application.
+</p><p class="tableblock">If no value is set then, in production, a random UUID will be used as the encryption key.
+The net effect of this fallback behaviour is that 'rememberMe' will work, but only until the webapp is restarted (after which the end-user will have to log in again.
+In prototype mode, though, (as of <code>1.13.2-SNAPSHOT</code>), a fixed key will still be used; this saves the developer having to login each time.</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
@@ -1571,13 +1591,31 @@ will have to log in again).</p></td>
<tr>
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
<p><code>isis.viewer.wicket.</code><br>
+<code>useIndicatorForFormSubmit</code></p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
+(<code><em>true</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.13.2-SNAPSHOT</code>) Whether to show an indicator for a form submit button that it has been clicked.</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>isis.viewer.wicket.</code><br>
+<code>useIndicatorForNoArgAction</code></p>
+</div></div></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
+(<code><em>true</em></code>)</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">(<code>1.13.2-SNAPSHOT</code>) Whether to show an indicator for a no-arg action button that it has been clicked.</p></td>
+</tr>
+<tr>
+<td class="tableblock halign-left valign-top"><div><div class="paragraph">
+<p><code>isis.viewer.wicket.</code><br>
<code>wicketSourcePlugin</code></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>true</code>,<code>false</code><br>
(<code><em>false</em></code>)</p></td>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Whether the Wicketsource plugin should be enabled; by default it is not enabled.
-</p><p class="tableblock">Prior to <code>1.12.0</code> this was enabled by default for prototyping (not production). However it can significantly
-slow down rendering, hence the introduction of this configuration setting.</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Whether the WicketSource plugin should be enabled; by default it is not enabled.
+</p><p class="tableblock">Prior to <code>1.12.0</code> this was enabled by default for prototyping (not production).
+However it can significantly slow down rendering, hence the introduction of this configuration setting.</p></td>
</tr>
</tbody>
</table>