I've implemented custom WebWork action. For it I've supplied some velocity templates.
How can I add custom parameters to velocity? I didn'f find any such method
If you add private variables in the action and getter methods for them in the action class, they are accessible from the velocity template. Is this what you want?
Yep, I think that's just it! Thanks a lot!
One more question: if I have to add to velocity context standard jira components - for example, webResourceManager - should I write something like:
public WebResourceManager getWebResourceManager(){ return ComponentManager.getInstance().getWebResourceManager(); }
It looks like overhead :-/
Hi Jobin,
Can you give an example for this?
Thanks
It looks like you're new here. Sign in or register to get started.