cq5 - AEM component not displayed on Preview Mode -
i have developed few components aem ran issue. 1 of components created not displaying when append wcmmode=disabled flag. works great on edit mode once pass flag component , contents gone, first time happens.
if helps component created extension of column control component aem , automatically adds children it.
url example in edit mode: http://localhost:4502/cf#/content/location/file.html
url example wcmmode flag set disabled: http://localhost:4502/content/location/url.html?wcmmode=disabled
i using column control (sightly version) guide , figured out following code causing issue:
if (typeof wcmmode != "undefined" && wcmmode.isedit())
thank helping me debug issue.
Comments
Post a Comment