Hi.
This is what I want to do:
Add a link into the project left panel that says "Hello".
When I click on it, it should display "World" on the right panel.
I have created a HelloLinkAction that implements Action.
In the corresponding index.jelly, I have:
<j:jelly
xmlns:j="jelly:core"
xmlns:st="jelly:stapler"
xmlns:d="jelly:define"
xmlns:l="/lib/layout"
xmlns:t="/lib/hudson"
xmlns:f="/lib/form">
<l:layout>
<st:include it="${it.owner}" page="sidepanel.jelly"/>
<l:side-panel />
<l:main-panel>
World!
</l:main-panel>
</l:layout>
</j:jelly>
It fails to locate the "sidepanel.jelly" page. I'm wondering if extending
from Action is not enough.
btw, I don't know what variables "sidepanel.jelly" needs. From what I saw
in other plugins, I should return the project or the build, but I don't
know how to obtain that from my Action.
Can anyone help?
Thanks!
Regards.