Hello. I'm pretty new to JSF, so any help would be greatly appreciated.
I have implemented a system of promoting/demoting documents in the repository, based on an aspect property, 'orderNumber'. This is for the purpose of implementing some simple web-content management functionality.
I have incorporated a promote/demote button for each document alongside the existing action components in browse.jsp. When i click promote, for example, the orderNumber property of the active node is obtained, then all the node's sibblings are inspected, and the one with the closest orderNumber value that is greater than that of the current node is used to swap the values.
This takes place in a new view named 'Ordered' with only the order column being sortable.
This works fine, and by doing this in the web-client, i can change the order that documents are displayed in my website application wich sits ontop of alfresco using the web services.
The problem i'm having is that after clicking the promote or demote button, the processing works fine, but the data displayed in the web-client remains unchanged untill i re-load the page by clicking on the relevant breadcrumb or similar.
If anyone could point me in the right direction i'd be grateful.
Aaron Shaw