Details
-
Improvement
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
As discussed in http://ofbiz.markmail.org/thread/ti54omjdt4fy662m inline javascript for various macros like renderLookupField, makeHyperlinkString,shortDateInput etc in HtmlFormMacroLibrary.ftl should be replaced with a generic code written as external javascript. Generic Javascript code should be written in OfbizUtil.js and appropriate classes or identifiers should be used for applying that. Any additional data can be passed with HTML 5 custom data attribute (https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#embedding-custom-non-visible-data-with-the-data-attributes).
As suggested by Jacques in https://s.apache.org/y8P1 will introduce require.js for the split javascript files in a sub-task.
Attachments
Attachments
Issue Links
- relates to
-
OFBIZ-10012 Alert message : "Developer: for lookups to work you must provide a form name!" appears when try to select contentId from Lookup
- Closed