ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Busco (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OFBIZ-1943) List/Multi form column sorting
Date Wed, 03 Sep 2008 05:55:44 GMT

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

Bruno Busco commented on OFBIZ-1943:

I gave a look to the link you pointed out.
What I implemented has, in addition to that:
- the possibility to have a ascending/descending sort order
- the graphic visualizzation of the sorted column (and order)
- the search parameters are saved so that the listed items are always the same every time
but only differently sorted

I tryed to send the sortField has a parameter instead of using a javascript set but, in this
way, all the search parameters are not saved and the list revets to a full (not filtered list)
any time a sort for a column.

- Any suggestion?
- Any chance to have the FlexibleStringExpander header-link-style chance committed?

> List/Multi form column sorting
> ------------------------------
>                 Key: OFBIZ-1943
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1943
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Bruno Busco
>            Priority: Minor
>         Attachments: framework_images_webapp_images.zip, sortable_form_column.jpg, sortable_form_columns.patch
> Hi,
> I would like to submit, to be reviewed, what I have done to implement sortable columns
in multi and list forms.
> I wonder if there is a simpler and better solution that could, for instance, be implemented
in the form widget itself requiring less code in the xml file.
> To be reviewed I implemented the sortable column in the FindExample Screen.
> This solution requires a little change in the framework (included in the patch). Basically
the header-link-style attribute of the field tag needs to be parsed by FlexibleStringExpander
in order to be used with a ${}.
> Two little arrow-up and arrow-down icons are also attached, those are shown close to
the field name indicating which is the sorted column and the sort order.
> Thank you for reviewing,
> Bruno

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

View raw message