This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Mohammad Ashfaq | |
* @data 16 Aug 2023 | |
* @version 1.0 | |
* Dependencies: jQuery, wpModules.dialog | |
* Utility to interact with HCL DAM Picker dialog | |
* | |
*/ | |
(function( hcldamhelper, $ ) { | |
//Private Property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- To allow composite components inside sub directories, as 2.2 has new way for composite components --> | |
<context-param> | |
<param-name>org.apache.myfaces.STRICT_JSF_2_ALLOW_SLASH_LIBRARY_NAME | |
</param-name><param-value>true</param-value> | |
</context-param> | |
<!-- Run in compatibility mode with 2.0. | |
This will enable JSF 2.0 features like inheritance of parent template parameters to child template and many more--> | |
<context-param> | |
<param-name>org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY</param-name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Metdata: ${wp.metadata[wp.selectionModel.selected]['my.metadata.key']} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%!-- | |
In Any of the JSP file of the theme, place below code. You can modify according to your needs. | |
I had placed it in head.jsp | |
--%> | |
<c:set var="editModeQName" value="{http://www.ibm.com/xmlns/prod/websphere/portal/publicparams}editMode" /> | |
<c:set var="isEditModeActive" value="${wp.publicRenderParam[editModeQName]}" /> | |
<c:if test="${isEditModeActive}"> | |
<p>Edit mode is turned on</p> | |
</c:if> |