Affects Version/s: 6.2.0 CE GA1, 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M5
When an Application Adapter hook is used to hook for example
\html\taglib\ui\search\page.jsp ** file, portal does not take it into account and shows only the original page.jsp file.
Application Adapter logic is applied for files only in #doEndTag in com.liferay.taglib.util.IncludeTag. We should use #getCustomPage method in #doStartTag too.
- start portal
- deploy tagappadapter-hook
- select tagappadapter-hook for Liferay site Application Adapter (Admin=>Configuration=>Site settings, select Tag ApplicationAdapter Hook)
A bug on trunk prevent select anything on this page. See the warning.
- Put Navigation and Bookmarks portlets onto a page
h4. expected behaviour
Both Navigation and Bookmarks portlet should change (some text will appear on the portlets)
Bookmarks portet, go to Configuration, Sharing and check the sections on the page
h4. experienced behaviour
Only Navigation portlet is hooked
A bug on trunk (
LPS-54205) prevent selecting an Application Adapter hook (or anything) on Site settings.
and insert after this code:
The search tag is not used on master, so I found the section tag for testing.