XWIKI-10814: "create document" form: add links if the document already e...

...xist
Perhaps I'm blind or worse idiot? but I didn't manage.
$DocAlreadyExistsRef.getURL return Null and/or [["$DocAlreadyExistsRef"]] return  [[xwiki:Sandbox.test]] (and not the link) ... the only way I found is $xwiki.getURL($DocAlreadyExistsRef)...
Normaly $DocAlreadyExistsRef must be a DocumentReference (createDocumentReference Returns: the typed Document Reference object or null) I didn't found a method here: http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/org/xwiki/model/reference/DocumentReference.html to get documents URL.
at first, I used directly "$xwiki.getURL("${space}.${page}" but Vincent told me that I must avoid 'dot in doc name' problem: <<You need to use instead: public String getURL(DocumentReference reference) >>