[jira] [Updated] (OFBIZ-6455) Bootstrap modal for lookup screens
[ https://issues.apache.org/jira/browse/OFBIZ-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Mabie updated OFBIZ-6455: --- Attachment: bootstrapModal.patch This patch deals with the Lookup Screen functionality, specifically for the Bootstrap Theme. The following resources are affected: 1. Visual Theme Resource Type - creates two new Visual Theme Resource Types (VT_LKUP_TEMP_LOC and VT_LKUP_FOOTER_LOC). The first points to where the lookup.ftl is located while the second points to lookupFooter.ftl. This enables us to specify a specific lookup screen design. It affects LookupDecorator in component://common/widget/CommonScreens.xml which now allows for the specification of these files. To prevent existing themes from breaking, default locations point to the original files. Two new files are provided under /bootstrap/includes 2. htmlFormMacroLibrary.ftl - @renderLookupField; 3.bootified.js - deals with calling the lookup screen and the ajax involved with form submission. Also sets the selected value in the parent form; Bootstrap modal for lookup screens -- Key: OFBIZ-6455 URL: https://issues.apache.org/jira/browse/OFBIZ-6455 Project: OFBiz Issue Type: Sub-task Components: ALL APPLICATIONS Affects Versions: Bootstrap theme Reporter: Gavin Mabie Assignee: Gavin Mabie Labels: Bootstrap, Modal Attachments: bootstrapModal.patch Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6455) Bootstrap modal for lookup screens
[ https://issues.apache.org/jira/browse/OFBIZ-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Mabie updated OFBIZ-6455: --- Attachment: lookupModalSearchResults.png This shows a lookup modal populated with search results. Bootstrap modal for lookup screens -- Key: OFBIZ-6455 URL: https://issues.apache.org/jira/browse/OFBIZ-6455 Project: OFBiz Issue Type: Sub-task Components: ALL APPLICATIONS Affects Versions: Bootstrap theme Reporter: Gavin Mabie Assignee: Gavin Mabie Labels: Bootstrap, Modal Attachments: bootstrapModal.patch, lookupModalEmpty.png, lookupModalSearchResults.png Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6455) Bootstrap modal for lookup screens
[ https://issues.apache.org/jira/browse/OFBIZ-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Mabie updated OFBIZ-6455: --- Attachment: lookupDecorator.patch This is necessary to allow for optional lookup.ftl and lookupFooter.ftl locations. Note the default is still the original locations, but this patch allows designers to specify their own ftls. Bootstrap modal for lookup screens -- Key: OFBIZ-6455 URL: https://issues.apache.org/jira/browse/OFBIZ-6455 Project: OFBiz Issue Type: Sub-task Components: ALL APPLICATIONS Affects Versions: Bootstrap theme Reporter: Gavin Mabie Assignee: Gavin Mabie Labels: Bootstrap, Modal Attachments: bootstrapModal.patch, lookupDecorator.patch, lookupModalEmpty.png, lookupModalSearchResults.png Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6455) Bootstrap modal for lookup screens
[ https://issues.apache.org/jira/browse/OFBIZ-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Mabie updated OFBIZ-6455: --- Attachment: pagination.png BTW the patch also addresses pagination issues pointed out earlier. See image. Note - this is pagination as defined in htmlFormMacroLibrary.ftl. Bootstrap modal for lookup screens -- Key: OFBIZ-6455 URL: https://issues.apache.org/jira/browse/OFBIZ-6455 Project: OFBiz Issue Type: Sub-task Components: ALL APPLICATIONS Affects Versions: Bootstrap theme Reporter: Gavin Mabie Assignee: Gavin Mabie Labels: Bootstrap, Modal Attachments: bootstrapModal.patch, lookupDecorator.patch, lookupModalEmpty.png, lookupModalSearchResults.png, pagination.png Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6455) Bootstrap modal for lookup screens
[ https://issues.apache.org/jira/browse/OFBIZ-6455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gavin Mabie updated OFBIZ-6455: --- Attachment: lookupModalEmpty.png This image shows an example of an empty lookup modal Bootstrap modal for lookup screens -- Key: OFBIZ-6455 URL: https://issues.apache.org/jira/browse/OFBIZ-6455 Project: OFBiz Issue Type: Sub-task Components: ALL APPLICATIONS Affects Versions: Bootstrap theme Reporter: Gavin Mabie Assignee: Gavin Mabie Labels: Bootstrap, Modal Attachments: bootstrapModal.patch, lookupModalEmpty.png Change code in htmlFormMacroLibrary.ftl, specifically the renderLookupField macro to fire a bootstrap modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)