[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15952608#comment-15952608 ] Jacques Le Roux commented on OFBIZ-9280: Great, thanks Aditya :) > 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: Jacques Le Roux > Fix For: Release Branch 14.12, Release Branch 15.12, Upcoming > Release, 16.11.02 > > Attachments: OFBIZ-9280.patch, OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15952602#comment-15952602 ] Jacques Le Roux commented on OFBIZ-9280: BTW Aditya, The same problem exists in the ListLookupContent that you fixed for another reason at OFBIZ-7759. Could you please apply the same there? > 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: Jacques Le Roux > Fix For: Release Branch 14.12, Release Branch 15.12, Upcoming > Release, 16.11.02 > > Attachments: OFBIZ-9280.patch, OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15952529#comment-15952529 ] Aditya Sharma commented on OFBIZ-9280: -- Hi Jacques, I took various other references of List forms from ofbiz but can't find one with sortable in Lookup. When we make a field as sort true, it adds to table headings and always opens up to a new page. So its better to remove sort as its support may not be applicable to a lookup dialog. If I am missing something, please guide me with that. > 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: Jacques Le Roux > Attachments: OFBIZ-9280.patch, OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15952159#comment-15952159 ] Jacques Le Roux commented on OFBIZ-9280: Hi Aditya, It kinda works but not really because the columns are no longer sortable. There is a good side effect, the size of the view works when it does not w/o the patch > 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: Jacques Le Roux > Attachments: OFBIZ-9280.patch, OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15951996#comment-15951996 ] Aditya Sharma commented on OFBIZ-9280: -- Thanks Jacques for the review :) I will update all my previous patches too with latest revision. > 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: Jacques Le Roux > Attachments: OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15951302#comment-15951302 ] Jacques Le Roux commented on OFBIZ-9280: Hi Aditya, I tried to apply your patch on trunk HEAD but it seems deprecated. Please create a new one, thanks. > 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: OFBIZ-9280.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 ' 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 (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9280) Sort Links in Lookup for Data Resource Id causes unwanted behaviour on Find Content page
[ https://issues.apache.org/jira/browse/OFBIZ-9280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942132#comment-15942132 ] Aditya Sharma commented on OFBIZ-9280: -- Problem: 1. Lookup dialog for dataResourceId uses "ListLookupDataResource" form to list Data Resource records. 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 hyperlink to "LookupResource" . 5. When clicked 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 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 (v6.3.15#6346)