[ 
https://jira.nuxeo.org/browse/NXP-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anahide Tchertchian updated NXP-4937:
-------------------------------------

    Description: 
Sometimes layouts require more presentation features, that could be addressed 
us-
ing "decorative widgets". These widgets would not map any data, but would be
helpful to either:
- separate forms semantically
- add titles to areas semantically close.

This has already been addressed in Studio (with widgets holding a property
"header") and other client projects (with custom templating, or with widgets 
displaying an
"<hr />" tag.

The "title" or "header" decorative widgets could also be defined using a simple
"text" widget with a hardcoded value to bind.

This is currently achieved writing specific "<h3>" tags in the layout template, 
and
using the layout or widget name to display the title.
When the area needs to be closed (borders defined using CSS), it also needs a
"<div>" tag all around the widgets to achieve this rendering.

TODO: define syntax for declaring these widgets and decide if bare HTML
code should be accepted for them


> Add decorative widgets
> ----------------------
>
>                 Key: NXP-4937
>                 URL: https://jira.nuxeo.org/browse/NXP-4937
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Sub-task
>            Reporter: Anahide Tchertchian
>
> Sometimes layouts require more presentation features, that could be addressed 
> us-
> ing "decorative widgets". These widgets would not map any data, but would be
> helpful to either:
> - separate forms semantically
> - add titles to areas semantically close.
> This has already been addressed in Studio (with widgets holding a property
> "header") and other client projects (with custom templating, or with widgets 
> displaying an
> "<hr />" tag.
> The "title" or "header" decorative widgets could also be defined using a 
> simple
> "text" widget with a hardcoded value to bind.
> This is currently achieved writing specific "<h3>" tags in the layout 
> template, and
> using the layout or widget name to display the title.
> When the area needs to be closed (borders defined using CSS), it also needs a
> "<div>" tag all around the widgets to achieve this rendering.
> TODO: define syntax for declaring these widgets and decide if bare HTML
> code should be accepted for them

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to