From 224ab68e305ce0d1ad9a4de3b14b99cc294f22a3 Mon Sep 17 00:00:00 2001 From: stephanrauh Date: Thu, 28 May 2015 22:23:29 +0200 Subject: [PATCH] Added documentation for the CSS pseudo class bf-required (issue #96) --- src/main/webapp/forms/inputText.xhtml | 18 +++++++++++++++++- src/main/webapp/forms/selectOneMenu.xhtml | 10 ++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/forms/inputText.xhtml b/src/main/webapp/forms/inputText.xhtml index 80bceb85..b872df45 100644 --- a/src/main/webapp/forms/inputText.xhtml +++ b/src/main/webapp/forms/inputText.xhtml @@ -129,7 +129,7 @@ - + @@ -294,6 +294,22 @@ + + + Skinning + + +
    +
  • + <b:inputfield /> is an input tag bearing the CSS-class form-control. +
  • +
  • + If the attribute required is true, the pseudo CSS class bf-required is added. Thus you can define your custom style for required fields. +
  • +
+
+
+ diff --git a/src/main/webapp/forms/selectOneMenu.xhtml b/src/main/webapp/forms/selectOneMenu.xhtml index b5e7ef6f..052e22ef 100644 --- a/src/main/webapp/forms/selectOneMenu.xhtml +++ b/src/main/webapp/forms/selectOneMenu.xhtml @@ -506,8 +506,14 @@ public class SemaphoreBean { Skinning -

- The combobox is a select tag bearing the CSS-class form-control.

+
    +
  • + The combobox is a select tag bearing the CSS-class form-control. +
  • +
  • + If the attribute required is true, the pseudo CSS class bf-required is added. Thus you can define your custom style for required fields. +
  • +