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

Rendering different HTML container types with ScreenRenderer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 18.12.01
    • Component/s: None
    • Labels:
      None

      Description

      This patch will add an type-parameter to the start and end render macros and methods of HTML containers.
      With this it is possible to not only use <div> containers, but also use, for example, HTML5's <section> .

      Simply by using

      <container type="section">
          <platform-specific>
          </platform-specific>
      </container>
      

      the renderer will render the container element as the given type.
      If type is left empty, it will always use it's fallback <div>, and because of this no existing screen in OFBiz needs to be changed.

        Attachments

        1. OFBIZ-10495_modular_container.patch
          6 kB
          Dennis Balkir
        2. OFBIZ-10495.patch
          9 kB
          Deepak Dixit

          Activity

            People

            • Assignee:
              deepak Deepak Dixit
              Reporter:
              Dennis Balkir Dennis Balkir
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: