Really really nice work Maciek!
I'm very impressed that you've got this far and seem to have followed our patterns very well.
Just a few small suggestions to make it fit 100% with what we have today:
1. Add a title above the process-instances list and move the pagination to the right (example found in explorers "task-list.get.html")
2. Move the processes and process-instances from the "management" directory to a new "processes" directory (thats what we have in explorer)
3. Make sure "loadProcessInstances" from the ManagementService to the ProcessService
4. If youre up for it, rename the "processes.get.desc.xml" webscript to "process-definitions.get.desc.xml" (just to make it a bit clearer)
…then I was on my way asking you to move your new event "clickFormEventButton" out form activiti-core.js to "activiti-webapp-probe/src/main/webapp/js/activiti-app.js" where it can be defined as Activiti.event.clickFormEventButton = "clickFormEventButton";
…but then I realized that none of the webapps are doing this as intended, shame on us 😞
…you are very very welcome to behave better though 🙂
Regarding the caching problems you have:
If youre having trouble with the refereshing of freemarker templates or webscripts,
please try setting the "mode" in surf.xml to "development" instead.
<!– Pick the mode: development, preview, production –>
<mode>production</mode>
If you're having browser cache problems, try adding some javascript: "?noCache=" + new Date.getTime() at the end of the url to the image your displaying.
Otherwise, I believe that if we could get Jorams wishes in I think this is definitively something we should merge in cause its looking great!
Cheers and welcome to Activiti 🙂
:: Erik