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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -