[
https://issues.apache.org/jira/browse/OFBIZ-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942239#comment-14942239 ]
Jacques Le Roux commented on OFBIZ-6154:
----------------------------------------
Thanks Nicolas,
For the label, actually my concern is more to be able to style a label, like with simple H1 to H3 HTML tags, but with CSS at large.
I'd also like to have "a real container element" as I tried to explain above.
Those both things we have in screens but not in forms. Sometimes it's convenient to work at the form level, notably when you (have to) play with "skip-start and skip-end form attributes to easily build complex forms". I already saw cases where people turnef to FTL (even w/o using skip-start and skip-end) because those were missing in forms...
> Add a label element into form widgets
> -------------------------------------
>
> Key: OFBIZ-6154
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6154> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Branch
>
>
> In Screen widgets we have a specialised label element with a specific behaviour when using h1 to h6 styles.
> The same would be useful in forms to clearly separate blocks. Currently there is only the container type of field but it has no style attribute.
> Maybe only enhancing this container could be considered. But I would rather prefer to have a real container element (at the field level) which would allow to visually include a set of fields. It would also have a title and style.
> And independently we would have a label element with title and style that could be put anywhere in the form.
> This could be then used with the skip-start and skip-end form attributes to easily build complex forms.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)