public class SoyResult extends Object implements com.opensymphony.xwork.Result
<result name="success" type="soy"> <param name="completeModuleKey">${project.groupId}.${project.artifactId}:soy-templates</param> <param name="template">Confluence.Templates.templateName</param> </result>
Or more concisely,
<result name="success" type="soy"> <param name="location">${project.groupId}.${project.artifactId}:soy-templates/Confluence.Templates.templateName</param> </result>
The plugin key of the module can also be implicit:
<result name="success" type="soy"> <param name="location">:soy-templates/Confluence.Templates.templateName</param> </result>
Constructor and Description |
---|
SoyResult() |
Modifier and Type | Method and Description |
---|---|
void |
execute(com.opensymphony.xwork.ActionInvocation invocation) |
String |
getCompleteModuleKey() |
String |
getContentType() |
String |
getEncoding() |
String |
getLocation() |
String |
getTemplate() |
void |
setCompleteModuleKey(String completeModuleKey) |
void |
setContentType(String contentType) |
void |
setEncoding(String encoding) |
void |
setLocation(String location) |
void |
setTemplate(String template) |
public void execute(com.opensymphony.xwork.ActionInvocation invocation) throws Exception
execute
in interface com.opensymphony.xwork.Result
Exception
public String getCompleteModuleKey()
public void setCompleteModuleKey(String completeModuleKey)
public String getTemplate()
public void setTemplate(String template)
public String getLocation()
public void setLocation(String location)
public String getContentType()
public void setContentType(String contentType)
public String getEncoding()
public void setEncoding(String encoding)
Copyright © 2003–2016 Atlassian. All rights reserved.