Liferay application adapter does not work with javascript files -


I need to use an application adapter to apply different functionality for different sites. If I set the "false" delay-hook in MML, and choose the appropriate adapter in the 'FAAER site settings', all modifiers that are displayed in jsp files , but JS There are no modified files

How to use ADIF adapter to customize JS files on each site?

Thank you very much for your reply.

You can not do this by the way an application adapter fixes the application server JSPs - while JS Files are requested directly from the browser.

As JS files are usually reduced by any assumption of different files due to the site, you need to make your JS files aware of the conditions in which they move - eg . Start conditional initialization in them or embed different JS files in your subjects (or make theme configurable to include various JS files)


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -