You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Bruno Busco (JIRA)" <ji...@apache.org> on 2010/12/29 12:33:45 UTC

[jira] Updated: (OFBIZ-4080) Implement a Column Widget

     [ https://issues.apache.org/jira/browse/OFBIZ-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Busco updated OFBIZ-4080:
-------------------------------

    Issue Type: Sub-task  (was: Wish)
        Parent: OFBIZ-4081

> Implement a Column Widget
> -------------------------
>
>                 Key: OFBIZ-4080
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4080
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Bruno Busco
>            Priority: Minor
>
> Some time ago there was a discussion on the dev mailing list about how to implement something to display contents in columns on screens.
> I cut and past an Adrian's idea that is something we should consider to implement.
> --------------------------
> From the screen widget XML perspective, it could look like this:
> <column-container>
>  <column name="first-column">
>    <!-- column contents -->
>  </column>
>  <column name="second-column">
>    <!-- column contents -->
>  </column>
>  ...
> </column-container>
> The column elements can contain additional column-container elements.
> The column element can have an attribute to specify its width as a percentage of the column-container width. Pixel widths should be avoided since the screen widgets are supposed to be rendering device agnostic.
> The column-container and column elements will support the common screen widget attributes like name, style, id, etc.
> The column-container could support a type attribute that controls how the contained columns behave. For example, type="splitter" will render the contained columns as a splitter window.
> From the widget model perspective, the column-container manages resizing columns when one of them is collapsed or its width changes. Column size information needs to be kept in the rendering context. The information would start off with some default values that are overridden by user preferences.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.