You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Gavin Mabie (JIRA)" <ji...@apache.org> on 2015/06/12 13:05:08 UTC

[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)