From 76edb5571c0b615c0e0c6d68ef5b427a4a2aff13 Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 11:52:33 +0200 Subject: [PATCH 1/6] bugfixes and typos --- src/main/webapp/forms/blockUI.xhtml | 24 +++++++++---------- src/main/webapp/forms/searchExpressions.xhtml | 12 +++++----- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/webapp/forms/blockUI.xhtml b/src/main/webapp/forms/blockUI.xhtml index 9428e282..8d9e923a 100644 --- a/src/main/webapp/forms/blockUI.xhtml +++ b/src/main/webapp/forms/blockUI.xhtml @@ -27,7 +27,7 @@ also implements a new AJAX API that's a little simpler to use. Among other things, this includes a fairly opinionated BlockUI component. Our theory is you want to activate BlockUI with every AJAX request, - so you only have to configure it. Other than other frameworks + so you only have to configure it. Unlike other frameworks BootsFaces doesn't require you to activate BlockUI on every AJAX requests individually.

Most likely you've already suffered from mysterious errors @@ -72,7 +72,7 @@ triggered by a BootsFaces component activates the waitcursor and prevents the user from doing further input until the request has been completed. This way, you get a fairly good protection against - accidential double-clicks.

+ accidental double-clicks.

If you don't want to activate BlockUI generally, you can control it via an EL expression. Note that this expression is read when the page is rendered, and it's only read on non-AJAX requests.

@@ -128,7 +128,7 @@ $.blockUI.defaults.css.borderRadius = '10px'; $.blockUI.defaults.overlayCSS.opacity = 0.5; $.blockUI.defaults.message = '
Please hold the line
'; - + </script> @@ -143,9 +143,9 @@

AJAX, mouse events and BlockUI

- If blockUI is active, every AJAX request triggers a - mouseOutEvent - . When the AJAX request has been processed and the BlockUI overlay + If blockUI is active, every AJAX request triggers + mouseOutEvent on the client. + When the AJAX request has been processed and the BlockUI overlay pane is hidden, a mouseOverEvent is triggered. Keep this in mind if you need to use the mouse events. @@ -212,16 +212,16 @@ $.blockUI.defaults to configure BootsFaces BlockUI, as decribed here. For - instance, these lines deactivate the gray-out-effect, and show the + instance, the code snippet below deactivates the gray-out-effect replaces it with the waitcursor of BootsFaces.

@@ -240,7 +240,7 @@ BootsFaces doesn't trigger BlockUI on PrimeFaces components. You'll have to use the <p:blockUI /> - component of PrimeFaces. + component of PrimeFaces if you're using both frameworks in the same project.

@@ -210,10 +210,10 @@ + update="@after" caption="Show number" immediate="true"/> + id="oneToTenId" styleClass="#{imageGallery.showNumber?'':'hidden'}" render-label="false" /> @@ -224,10 +224,10 @@ From 3570230e7accb41938e82d7f1918f82a7f0fd309 Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 12:11:33 +0200 Subject: [PATCH 2/6] bugfixes and typos --- .../java/net/bootsfaces/demo/BarcodeBean.java | 4 +- src/main/webapp/integration/PrimeFaces.xhtml | 41 ++++++++++++++++--- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/src/main/java/net/bootsfaces/demo/BarcodeBean.java b/src/main/java/net/bootsfaces/demo/BarcodeBean.java index 862cb88c..437597e2 100644 --- a/src/main/java/net/bootsfaces/demo/BarcodeBean.java +++ b/src/main/java/net/bootsfaces/demo/BarcodeBean.java @@ -31,8 +31,8 @@ public class BarcodeBean implements Serializable { private static final long serialVersionUID = -6810958868318611791L; private String code39 = "1234567890128"; - private String protocol = "http://"; - private String url = "angularfaces.net"; + private String protocol = "https://"; + private String url = "pdfviewer.net"; private String url2 = "http://www.bootsfaces.net"; private String emptyText=""; private String nonEmptyText="Hello World"; diff --git a/src/main/webapp/integration/PrimeFaces.xhtml b/src/main/webapp/integration/PrimeFaces.xhtml index 35ceb0d2..dad8988d 100644 --- a/src/main/webapp/integration/PrimeFaces.xhtml +++ b/src/main/webapp/integration/PrimeFaces.xhtml @@ -204,7 +204,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -250,7 +250,7 @@ - + @@ -309,7 +309,7 @@ - + @@ -327,7 +327,7 @@ - + @@ -359,7 +359,7 @@ - + @@ -403,5 +403,34 @@ SyntaxHighlighter.all();



+ + From d57180f7de66b3cb6b1a3a6570a27a5be1e8e77e Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 12:14:37 +0200 Subject: [PATCH 3/6] updated the documentation --- src/main/webapp/forms/ColorPickerAttributes.xhtml | 2 +- src/main/webapp/forms/InputSecretAttributes.xhtml | 2 +- src/main/webapp/forms/InputTextAttributes.xhtml | 2 +- src/main/webapp/forms/InputTextareaAttributes.xhtml | 2 +- src/main/webapp/layout/AccordionAttributes.xhtml | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/forms/ColorPickerAttributes.xhtml b/src/main/webapp/forms/ColorPickerAttributes.xhtml index 57a9dfb8..79ab9236 100644 --- a/src/main/webapp/forms/ColorPickerAttributes.xhtml +++ b/src/main/webapp/forms/ColorPickerAttributes.xhtml @@ -45,7 +45,7 @@ autocomplete (none) - Controls browser autocomplete behavior. + Controls browser autocomplete behavior. Legal values: 'off', 'false', 'true', and 'on'. binding diff --git a/src/main/webapp/forms/InputSecretAttributes.xhtml b/src/main/webapp/forms/InputSecretAttributes.xhtml index 40baf4e4..a33d103c 100644 --- a/src/main/webapp/forms/InputSecretAttributes.xhtml +++ b/src/main/webapp/forms/InputSecretAttributes.xhtml @@ -45,7 +45,7 @@ autocomplete (none) - Controls browser autocomplete behavior. + Controls browser autocomplete behavior. Legal values: 'off', 'false', 'true', and 'on'. binding diff --git a/src/main/webapp/forms/InputTextAttributes.xhtml b/src/main/webapp/forms/InputTextAttributes.xhtml index f8e94894..730f34a2 100644 --- a/src/main/webapp/forms/InputTextAttributes.xhtml +++ b/src/main/webapp/forms/InputTextAttributes.xhtml @@ -45,7 +45,7 @@ autocomplete (none) - Controls browser autocomplete behavior. + Controls browser autocomplete behavior. Legal values: 'off', 'false', 'true', and 'on'. binding diff --git a/src/main/webapp/forms/InputTextareaAttributes.xhtml b/src/main/webapp/forms/InputTextareaAttributes.xhtml index 0b88d0bf..ad241440 100644 --- a/src/main/webapp/forms/InputTextareaAttributes.xhtml +++ b/src/main/webapp/forms/InputTextareaAttributes.xhtml @@ -45,7 +45,7 @@ autocomplete (none) - Controls browser autocomplete behavior. + Controls browser autocomplete behavior. Legal values: 'off', 'false', 'true', and 'on'. binding diff --git a/src/main/webapp/layout/AccordionAttributes.xhtml b/src/main/webapp/layout/AccordionAttributes.xhtml index 49cad2fe..f7e0013c 100644 --- a/src/main/webapp/layout/AccordionAttributes.xhtml +++ b/src/main/webapp/layout/AccordionAttributes.xhtml @@ -82,6 +82,11 @@ -1 Alternative spelling to col-md. Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths. + + multiple + false + Setting this flag enables opening panels without closing other panels. + offset (none) From e78e31ff175829d8936d93b86163bd81880465b2 Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 13:27:04 +0200 Subject: [PATCH 4/6] bugfixes and typos --- src/main/webapp/forms/DateTimePicker.xhtml | 2 +- src/main/webapp/forms/commandLink.xhtml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/forms/DateTimePicker.xhtml b/src/main/webapp/forms/DateTimePicker.xhtml index 238989bb..817469a6 100644 --- a/src/main/webapp/forms/DateTimePicker.xhtml +++ b/src/main/webapp/forms/DateTimePicker.xhtml @@ -370,7 +370,7 @@

Reference section

- + Skinning diff --git a/src/main/webapp/forms/commandLink.xhtml b/src/main/webapp/forms/commandLink.xhtml index 597bd26c..e87d5baf 100644 --- a/src/main/webapp/forms/commandLink.xhtml +++ b/src/main/webapp/forms/commandLink.xhtml @@ -26,7 +26,7 @@
Simple link
Command link
- +
Command link with action
Link shown as button
@@ -46,7 +46,7 @@
Simple link
Command link
- +
Link shown as button
Command link shown as button
From 8ef36bce51102d5def007bd5b0e3b8c912ca651d Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 13:31:42 +0200 Subject: [PATCH 5/6] bugfixes and typos --- src/main/webapp/layout/navbars.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/layout/navbars.xhtml b/src/main/webapp/layout/navbars.xhtml index e7262202..fa72e766 100644 --- a/src/main/webapp/layout/navbars.xhtml +++ b/src/main/webapp/layout/navbars.xhtml @@ -318,7 +318,7 @@

Custom kebab icon

-

You can modify the "kebab" icon shown on small screens by adding a facet called "kebeb":

+

You can modify the "kebab" icon shown on small screens by adding a facet called "kebab":

From 0112800aed39669f1c7ec1ba8dd1727b34d47d1a Mon Sep 17 00:00:00 2001 From: stephan Date: Sun, 9 Aug 2020 14:15:05 +0200 Subject: [PATCH 6/6] updated the documentation --- src/main/webapp/bootstrap/Slider2.xhtml | 42 +++++++++++++++++++++-- src/main/webapp/forms/RadioButton.xhtml | 4 ++- src/main/webapp/forms/TouchSpin.xhtml | 2 +- src/main/webapp/forms/switch.xhtml | 2 +- src/main/webapp/jquery-ui/slider2.xhtml | 2 +- src/main/webapp/miscellaneous/Video.xhtml | 2 +- 6 files changed, 46 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/bootstrap/Slider2.xhtml b/src/main/webapp/bootstrap/Slider2.xhtml index be01c804..6805e0da 100644 --- a/src/main/webapp/bootstrap/Slider2.xhtml +++ b/src/main/webapp/bootstrap/Slider2.xhtml @@ -67,7 +67,39 @@

Options and Examples

Horizontal sliders width

-

You can use the span attribute to control the width, in terms of Bootstrap's grid columns:

+

By default, the slider is 210 pixels wide. You can use the span attribute to control the width, in terms of Bootstrap's grid columns, + if you override this setting with a CSS rule:

+ + EXAMPLE - Time slider + + + + + + + + + + + + + + + + + + + Markup:
+ + +
+
+
-

You can use more than one slider to get input for complex values, like the Time:

+

You can use more than one slider to get input for complex values, like the time:

EXAMPLE - Time slider diff --git a/src/main/webapp/forms/RadioButton.xhtml b/src/main/webapp/forms/RadioButton.xhtml index 58458e88..61968f3b 100644 --- a/src/main/webapp/forms/RadioButton.xhtml +++ b/src/main/webapp/forms/RadioButton.xhtml @@ -44,6 +44,7 @@ + @@ -62,6 +63,7 @@ + @@ -250,7 +252,7 @@

Reference section

- + Skinning
    diff --git a/src/main/webapp/forms/TouchSpin.xhtml b/src/main/webapp/forms/TouchSpin.xhtml index 6db758ce..3548703b 100644 --- a/src/main/webapp/forms/TouchSpin.xhtml +++ b/src/main/webapp/forms/TouchSpin.xhtml @@ -123,7 +123,7 @@

    Reference section

    - + Skinning diff --git a/src/main/webapp/forms/switch.xhtml b/src/main/webapp/forms/switch.xhtml index 1cb3d717..99170243 100644 --- a/src/main/webapp/forms/switch.xhtml +++ b/src/main/webapp/forms/switch.xhtml @@ -32,7 +32,7 @@ -