[jira] [Commented] (OFBIZ-6154) Add a label element into form widgets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6154) Add a label element into form widgets

Nicolas Malin (Jira)

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

Nicolas Malin commented on OFBIZ-6154:
--------------------------------------

Jacques, you would display a label like this :
{code}
<field name="label" title="My label"><display description=""/></field>
{code}
But with a easier writing like :
{code}
<label text="My Label"/>
{code}
?

> 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)