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] [Updated] (OFBIZ-9279) Sort Links in Lookup for Owner Content Id causes unwanted behaviour on Find Content page
Date Sun, 02 Apr 2017 11:52:41 GMT

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

Aditya Sharma updated OFBIZ-9279:
---------------------------------
    Attachment: OFBIZ-9279.patch

Problem:
1. Lookup dialog for ownerContentId uses "ListLookupContent" form to list Content records.
2. "ListLookupContent" form extends "ListContent" form for all the fields.
3. Sort-field is set to true in "ListContent" form for all the fields.
4. Sort-field adds <a> hyperlink to "LookupContent" .
5. When clicked <a> link it moves to a new page and doesn't renders the response in
the Lookup dialog.
Solution:
First of all it is a lookup to select ownerContentId 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 "ListContent" form and add these
fields right away.
Apart from that added 'header-row-style="header-row-2"' to form.

> Sort Links in Lookup for Owner Content Id causes unwanted behaviour on Find Content page
> ----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9279
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9279
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>         Attachments: OFBIZ-9279.patch, 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 ' Owner Content 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
(v6.3.15#6346)

Mime
View raw message