Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12821

Improvement of the Check xml tag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Upcoming Branch
    • Upcoming Branch
    • None
    • None

    Description

      This improvement focuses on enhancing the syntax of the check XML tag in Apache OFBiz. It introduces two new attributes, "checked-by-default" and "unchecked-by-default," which allow the user to pre-select or pre-check boxes.

      XML Attributes:

      1. "all-checked "(Boolean):
        • Purpose: Check all options by default.
        • Note: Not compatible with "unchecked-by-default" and "checked-by-default" attributes.
      2. "checked-by-default" (String):
        • Purpose: Specifies which values should be pre-selected or pre-checked.
        • Note: Not compatible with "all-checked" set to "true" and "unchecked-by-default" attribute.
      3. "unchecked-by-default" (String):
        • Purpose: Similar to "checked-by-default" attribute, but represents the variables whose values should be unchecked by default.
        • Note: Not compatible with "all-checked" set to "true" and "checked-by-default" attribute.

      These enhancements provide greater flexibility and control over pre-selection and pre-checking of boxes within the check XML tag in Apache OFBiz.

      EDIT :

      In the latest commit, both the "checked-by-default" and "unchecked-by-default" attributes were removed. The new approach for pre-checking variables is as follows: if a variable with the same name as the field exists, its value will be used to determine the pre-check status.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              maximeflame Maxime Flammang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: