You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2015/03/14 10:36:10 UTC

Adds a label element into form widgets

Hi,

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 have also a title and a style. And independently we would also have a label element with title and 
style that could be put anywhere.

This could be then used with the skip-start and skip-end form attributes to easily build complex forms

What do you think?

Jacques


Re: Adds a label element into form widgets

Posted by Jacques Le Roux <ja...@les7arts.com>.
I created https://issues.apache.org/jira/browse/OFBIZ-6154

I expect to work on it next week, maybe later...

Jacques

Le 14/03/2015 11:25, Jacques Le Roux a écrit :
> Actually it would be rather a 1st step within current implementation.
> Also I just had a look at http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml5_menuitem (link from 
> https://issues.apache.org/jira/browse/OFBIZ-4303)
> And I'm not convinced so far: it does not work neither in FF nor Chrome (the OOTB context menus appear)
>
> Jacques
>
> Le 14/03/2015 10:50, Pierre Smits a écrit :
>> It seems to fit in widget refactoring and also in the HTML 5 enhancement
>> issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).
>>
>> Pierre Smits
>>
>> *ORRTIZ.COM <http://www.orrtiz.com>*
>> Services & Solutions for Cloud-
>> Based Manufacturing, Professional
>> Services and Retail & Trade
>> http://www.orrtiz.com
>>
>> On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
>> jacques.le.roux@les7arts.com> wrote:
>>
>>> Hi,
>>>
>>> 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 have also a title
>>> and a style. And independently we would also have a label element with
>>> title and style that could be put anywhere.
>>>
>>> This could be then used with the skip-start and skip-end form attributes
>>> to easily build complex forms
>>>
>>> What do you think?
>>>
>>> Jacques
>>>
>>>
>

Re: Adds a label element into form widgets

Posted by Jacques Le Roux <ja...@les7arts.com>.
Actually it would be rather a 1st step within current implementation.
Also I just had a look at http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml5_menuitem (link from https://issues.apache.org/jira/browse/OFBIZ-4303)
And I'm not convinced so far: it does not work neither in FF nor Chrome (the OOTB context menus appear)

Jacques

Le 14/03/2015 10:50, Pierre Smits a écrit :
> It seems to fit in widget refactoring and also in the HTML 5 enhancement
> issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).
>
> Pierre Smits
>
> *ORRTIZ.COM <http://www.orrtiz.com>*
> Services & Solutions for Cloud-
> Based Manufacturing, Professional
> Services and Retail & Trade
> http://www.orrtiz.com
>
> On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> Hi,
>>
>> 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 have also a title
>> and a style. And independently we would also have a label element with
>> title and style that could be put anywhere.
>>
>> This could be then used with the skip-start and skip-end form attributes
>> to easily build complex forms
>>
>> What do you think?
>>
>> Jacques
>>
>>

Re: Adds a label element into form widgets

Posted by Pierre Smits <pi...@gmail.com>.
It seems to fit in widget refactoring and also in the HTML 5 enhancement
issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Hi,
>
> 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 have also a title
> and a style. And independently we would also have a label element with
> title and style that could be put anywhere.
>
> This could be then used with the skip-start and skip-end form attributes
> to easily build complex forms
>
> What do you think?
>
> Jacques
>
>