[ 
https://issues.apache.org/jira/browse/OFBIZ-4301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672696#comment-15672696
 ] 

Paul Foxworthy commented on OFBIZ-4301:
---------------------------------------

What about purpose= instead of tag= ? That would be more generic. Values for 
purpose would commonly be similar to those for HTML5: article, header, footer, 
aside, section. However, we could have other purposes beyond those envisaged in 
HTML5.

Renderers for other destinations could do anything they want to render a 
container with a particular value for purpose, including doing nothing special.

> Make container tag (screen) more flexible
> -----------------------------------------
>
>                 Key: OFBIZ-4301
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4301
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Patrick Antivackis
>         Attachments: tag.patch
>
>
> HTML5 introduces a lot of new tags (aside, article, header, footer, nav, ...) 
> see http://www.w3schools.com/html5/html5_reference.asp
> Lot of html markup is done in ofbiz with the container tag (widget-screen.xsd)
> The container is generating a div tag (with optional id, style, ...), the 
> idea would be to add a new attribute (named tag ?) alowwing to specify wichi 
> tag should be used.
> SO we could have a 
> <container id="id-1" style="left" tag="aside">...</container>
> in order to write :
> <aside id="id-1" class="left"> .... </aside>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to