Created
July 13, 2016 05:08
-
-
Save nateyolles/2b97c0d65401db8ac460a6a2961d2d9e to your computer and use it in GitHub Desktop.
AEM Granite Render Condition
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
<widgetParam | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/textfield" | |
fieldLabel="This only shows with querystring param "biz=baz"" | |
name="./widgetParam"> | |
<granite:rendercondition | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/simple" | |
expression="${param.biz == 'baz'}"/> | |
</widgetParam> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment