You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Dennis Balkir (JIRA)" <ji...@apache.org> on 2018/07/27 13:41:00 UTC

[jira] [Created] (OFBIZ-10495) Rendering different HTML container types with ScreenRenderer

Dennis Balkir created OFBIZ-10495:
-------------------------------------

             Summary: Rendering different HTML container types with ScreenRenderer
                 Key: OFBIZ-10495
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10495
             Project: OFBiz
          Issue Type: Improvement
            Reporter: Dennis Balkir
         Attachments: OFBIZ-10495_modular_container.patch

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

{code:xml}
<container type="section">
    <platform-specific>
    </platform-specific>
</container>
{code}

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)