Created
July 13, 2016 05:23
-
-
Save nateyolles/d1ceff0baa61239474d38e790d1330b8 to your computer and use it in GitHub Desktop.
AEM Expression Language
This file contains 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
<granite:rendercondition | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/simple" | |
expression="${param.biz == 'baz'}" | |
expression="${empty param.foo}" | |
expression="${not empty param.foo and not empty param.bar}" | |
expression="${param['foo'] not eq 'bar'}" | |
expression="${cookie.cookiename.value eq 'foo'}" | |
expression="${requestPathInfo.selectorString == 'edit'}" | |
expression="${requestPathInfo.suffix != '/foo/bar')}" | |
expression="${paramValues['item'][0] == '/foo/bar'}"/> | |
<granite:rendercondition | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/simple" | |
expression="${granite:contains(requestPathInfo.suffix, '/foo/bar')}" | |
expression="${!granite:containsIgnoreCase(header['User-Agent'], 'iPad')}" | |
expression="${granite:relativeParent(requestPathInfo.suffix, 2) != '/content')}"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment