You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2015/02/27 09:08:04 UTC
[jira] [Created] (OFBIZ-6117) Widget Refactoring: have the ability
to group fields horizontally
Pierre Smits created OFBIZ-6117:
-----------------------------------
Summary: Widget Refactoring: have the ability to group fields horizontally
Key: OFBIZ-6117
URL: https://issues.apache.org/jira/browse/OFBIZ-6117
Project: OFBiz
Issue Type: Improvement
Components: framework
Affects Versions: Trunk
Reporter: Pierre Smits
Currently we only have the definition <field-group> in widget-form.xsd to group fields together. This definition only allows a vertical display of the fields.
Having a possibility to display the grouped fields horizontally would extend the function.
This could be as:
{code:xml}
<field-group title="${uiLabelMap.Phone}" display-align="hor">
<field name="intlAccessCode><text size="5"/></field>
<field name="areaCode><text size="5"/></field>
<field name="phoneNo><text size="5"></field>
<field name="extension><text size="5"></field>
</field-group>
{code}
resulting in:
{code:html}
<input type="text" name="intlAccessCode" size="5"/><input type="text" name="areaCode" size="5"/><input type="text" name="phoneNo" size="5"/><input type="text" name="extension" size="5"/>
{code}
in the same grid element (tr/td combination) in stead of creating new tds for each field-group element.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)