Skip to content

Instantly share code, notes, and snippets.

@svacas
Created December 12, 2011 19:59
Show Gist options
  • Save svacas/1468837 to your computer and use it in GitHub Desktop.
Save svacas/1468837 to your computer and use it in GitHub Desktop.
<script:component>
<script:script engine="groovy">
<script:text>
map =(Map)payload;
if(!map.get(0).equals("Test"))
throw new RuntimeException("**************"+map.get(0)+"*************");
else
println "************Anda********************"
</script:text>
</script:script>
</script:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment