[
https://issues.apache.org/jira/browse/OFBIZ-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482836
]
Chris Howe commented on OFBIZ-826:
----------------------------------
The specific order cannot be accomodated with layoutSettings.javaScripts[] .
Adding to an array with the [] notation adds the new value to the end of the
Array. The called screen will add it's javascript to the Array before the
decorator screen adds the parent javascript so those that require the
initialization of objects in a certain order will fail (perhaps printing the
array in reverse order will solve this?).
>I don't think anyone would have any objections to sprinkling the existing
>header template with a few conditionals >while we try out some ideas.
Why bother sprinkling the existing header template with conditionals while
people are experimenting? We don't know where things will end up. Just let the
developer specify his own header while working on POC and when something seems
worthwhile add the conditional then. I understand your concern about having
multiple header files with redundant code. However, this minor improvement is
to add flexibility for custom applications so would have no effect on
decentralizing the community project.
> Allow header and appbar locations to be overriden in GlobalDecorator
> --------------------------------------------------------------------
>
> Key: OFBIZ-826
> URL: https://issues.apache.org/jira/browse/OFBIZ-826
> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Reporter: Chris Howe
> Priority: Minor
> Attachments: CommonHeader.patch
>
>
> With the experimentation being done with various javascript tools it is often
> necessary to append information in the <head> of the html document.
> Parameterizing the header location will help this. While we're at it we
> might as well parameterize the appbar location as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.