Skip to content


Repository files navigation


This framework is designed to offer bootstrap components and tagging for very large-scale industrial database applications of very large size, such as iTunes Store and App Store or other high-availability enterprise level systems.

It is made to support modern Bootstrap (v.4.1) and specifically Shards style UI using ERDModernLook. This framework provides the D2W Custom Rules and Components to override where needed, and to provide completely modern UI for forms, tables navigation bars, carousels and cards —all available via D2W.

Components accept rule based css tagging for you to adjust the styling of any D2W List Page or input form etc., you might adjust a rule like this to control the cancel button look according to shards button look

  *true* => baseClassForObjectTable = "table table-borderless table-md"

There are also new components for UI elements such as Datepickers, Cards, Buttons, Carousels, Progress Bars and FontAwesome glyphs inside of Input fields. D2W Rules control button styles, or provide appending glyphs for forms.

  *true* => baseClassForCancelButtonSpan = "fa fa-sign-in mr-2"

Rules control complex multi-part components, such as Cards or Carousels which have optional titles, text areas, footers, images in any compbination. By providing titles or keypath selector strings in the form of a dictionary, where keys are named after their css controll counterparts found in Bootsrap and Shards. = 'Post' => cardSectionsContents = {
        "card-img-top" = "object.imageURL"; 
        "card-link" = "object.publicURLString"; 
        "card-text" = "object.title"; 
        "card-title" = "object.venue.title"; 
        "cardLInkTitle" = "Tell me more →"; 

Keypath selector keys controlling Bootsrap elements return values based on the current object and context. Other Keypath selector keys return normal text/html string details, such as cardLInkTitle

  "cardLInkTitle" = "Tell me more →"; 

Each component has extends this metaphore so a single rule can control an arbitrarilty complex UI copmonent.

A simple D2W Rule to set "repetitionComonentName" to either "BMLCardRepetition" or "BMLCarouselRepetition" and turn any list into a complex card or carousel. Empty list messages and batching controls are maintained and styled.

  60 : (pageConfiguration = 'ListPost-Author' or pageConfiguration = 'ListBookmark-Author') => repetitionComponentName = BMLCardRepetition

For your page wrapper you will need to load several js and css files in your header:

  <!-- Modern Look Overrides for Shards and Bootstrap -->
  <wo:ERXStyleSheet framework = "BootstrapModernLook" filename = "ermod-overrides.css" />
  <!-- App Level css rules and overrides -->
  <wo:ERXStyleSheet framework = "app" filename = "bootstrap-overrides-10.css" />
  <!-- Google Maps. Share it and JQuery - Load in the header -->
  <script type="text/javascript" src=""></script>
  <script type="text/javascript" src=""></script>
  <script type="text/javascript" src=""></script>

  <!-- jQuery UI library with the following - Load in the header   -->
  <script type="text/javascript" src=""></script>
  <script type="text/javascript" src=""></script>

Popper and Bootstrap must load inside the body area of your page:

  <!-- These JS files must load in the body  -->
  <script src="" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
  <script src="" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>



A piggyback Framework for ERDModernLook in Project Wonder







No releases published


No packages published