public interface Script
| Modifier and Type | Method and Description |
|---|---|
String |
execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
View |
getView()
Provides access to the view associated with this script
|
String execute(Resource resource, RenderContext context) throws RenderException
resource - resource to displaycontext - current rendering contextRenderExceptionView getView()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.