Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Plugin installation in confluence

swathikumary July 7, 2011

I was installed a plugin in confluence. it installed successfully

After installing the plugin if i hit the URL it is giving the error message like

2011-07-08 09:51:10,521 ERROR [http-8080-1] [atlassian.confluence.servlet.ConfluenceServletDispatcher] serviceAction There is no Action mapped for action name createandviewpage
– url: /createandviewpage.action | userName: administrator

This is my atlassian-plugin.xml file

<xwork name="createandviewpageaction" key="createandviewpageaction">
<package name="createandviewpageaction" extends="default" namespace="/plugins/createpage">
<default-interceptor-ref name="defaultStack" />
<action name="createandviewpage" class="com.apple.confluence.plugins.CreateAndViewPageAction">
<result name="success" type="redirect">/pages/dashboard.action</result>

</action>
</package>
</xwork>
I am hitting the URL like
http://localhost:8080/createandviewpage.action

Please give me solution for this.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2011

See the section regarding 'accessing your action'

http://confluence.atlassian.com/display/CONFDEV/XWork-WebWork+Module#XWork-WebWorkModule-AccessingYourActions

I would think you'll want to access it with something like localhost:8080/confluence/plugins/createpage/createandviewpage.action or similar

CharlesA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2011

Since the namespace is defined as /plugins/createpage, the action will be in /plugins/createpage/createandviewpage.action

Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2011

Thanks Charles, fixed

TAGS
AUG Leaders

Atlassian Community Events