Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: bootstrap
    • Labels:
      None

      Description

      Lots of components have attributes with a default value. For exemple, by default, the separator of the breadcrumb is the character /. But what if I want all my breadcrumb to use the > as separator? I will have to specify it for all my breadcrumbs. So boring...

      The idea would be to allow users to change the default value of any attribute so all components will use it. The algorithm to retrieve the value of an attribute would be:

      if there is a value for the attribute, use it;
      if not, check if there is a user specific default value, if so, use it;
      if not, use the hard coded default value of the attribute.

      In order to achieve that, the easiest way would be to improve the CDK in order to generate the method that will check the eventual presence of a user specific default value for every attributes.

      For users, we could use a .properties file containing all default values. The key syntax could be something like: org.richfaces.[component-name].[attribute-name].defaultValue.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paul.dijou Paul Dijou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: