How to include groovy snippet into another groovy template in JBoss EPP and Site Publisher?
Issue
How to include groovy snippets in dialog template so that the similar code could be externalized in a separate groovy template and referred in all the dialog templates? This way the groovy contents could be centrally changed in one single file.
Environment
- JBoss Enterprise Portal Platform(EPP) 5.x
- JBoss Site Publisher 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.