If you want to change the document name, it is more complicated, indeed. I
think you should dig into the javascript area.


2014-03-20 14:07 GMT+01:00 DeHaynes <[email protected]>:

> Thank you very much for your response.  While this does change the Title
> that
> is displayed on the form, it doesn't change the name of the document.  I
> researched and found the following command in the API.
>
> $doc.rename($doc.display('departmentName'))
>
> I need to figure out how to apply it just before a save event.
>
>
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Change-Title-On-Save-tp7589667p7589726.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to