Hello guys!
Is it possible to get space information (like spaceKey) inside an XWork Action class?
I do have the following
<xwork name="macrodialogaction" key="macrodialogaction">
<package name="editor" extends="default" namespace="/plugins/macro">
<default-interceptor-ref name="defaultStack" />
<action name="editor"
class="app.server.actions.MacroEditorAction">
<result name="success" type="velocity">/templates/macro-editor/macro-editor.vm</result>
<result name="error" type="velocity">/templates/macro-editor/error.vm</result>
</action>
</package>
</xwork>
and my MacroEditorAction signature follows
public class MacroEditorAction extends ConfluenceActionSupport implements PageAware.
Is it possible to access the spaceKey where the action is being loaded in the MacroEditorAction?
Thanks in advance!
Luis