Thank you for the explanation.  I have modified the code to use
DocumentReferences.  I am still having one issue.  When the user clicks the
"Save & Continue" an Ajax update is done.  The code works as expected and
renames the document, but because it is Ajax, the page is not updated.  So
the user:

1. Does not see the title change. 
2. Thinks they are still editing the original document.

I see that I have two choices.

1.  Disable and hide the "Save & Continue" button.
2.  Look into modifying the Ajax update process somehow.

I would prefer the second option as it is the correct way to handle this. 
Do you have a suggestion on which way to go and could you point me to
something to get me started?

Thank you.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Looking-for-help-with-groovy-tp7589782p7589864.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to