ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
Date Sun, 26 Mar 2017 04:28:41 GMT

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

Aditya Sharma commented on OFBIZ-9280:

1. Lookup dialog for dataResourceId uses "ListLookupDataResource" form to list Data Resource
2. "ListLookupDataResource" form extends "ListDataResource" form for all the fields.
3. Sort-field is set to true in "ListDataResource" form for all the fields.
4. Sort-field adds <a> hyperlink to "LookupResource" .
5. When clicked <a> link it moves to a new page and doesn't renders the response in
the Lookup dialog.
First of all it is a lookup to select DataResourceId so as the pattern followed in other lookups
in OFBiz it should not have any sort-fields.To set it false, it should be overridden. If all
fields needs to be overridden it is better not to extend "ListDataResource" form and add these
fields right away.
Apart from that added 'widget-style="smallSubmit"' to dataResourceId according to the uniform
pattern followed.

> Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
> ----------------------------------------------------------------------------------------
>                 Key: OFBIZ-9280
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9280
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>         Attachments: screenshot-1.png
> How to reproduce :
> 1. Log in the Content component
> 2. Go to the Content tab. https://localhost:8443/content/control/findContent
> 3. In the search form, open the lookup of the field ' Data Resource Id '
> 4. Click on any of the table header links to sort the table. Results will be displayed
on a new unstyled window closing the Lookup dialog.

This message was sent by Atlassian JIRA

View raw message