com.liferay.portal.tools.seleniumbuilder.dependencies.macro_if_element_html.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
<#if ifElement.element("condition")??>
<#assign ifConditionalElement = ifElement.element("condition")>
<#elseif ifElement.element("contains")??>
<#assign ifConditionalElement = ifElement.element("contains")>
<#elseif ifElement.element("equals")??>
<#assign ifConditionalElement = ifElement.element("equals")>
<#elseif ifElement.element("isset")??>
<#assign ifConditionalElement = ifElement.element("isset")>
<#elseif ifElement.element("not")??>
<#assign ifConditionalElement = ifElement.element("not")>
<#include "macro_if_conditional_element_html.ftl">
<#assign thenElement = ifElement.element("then")>
<#assign lineNumber = thenElement.attributeValue("line-number")>
<#assign displayElement = thenElement>
<#include "element_open_html.ftl">
<#assign macroBlockElement = thenElement>
<#include "macro_block_element_html.ftl">
<#assign displayElement = thenElement>
<#include "element_close_html.ftl">