[xwiki-users] Todo app with link to edit
Hello everybody. I am modifyin the todo app, for making dinamic lists in my wiki. But what I would link, is that the links are to the edit page, not the view page. How can I do it. Now I have: <td>[$todoObj.Resumen>$todo]</td> And i would like to have something that links to the todo edit link. Thanks, Francisco -- Francisco Hernández Cuchí Jefe de Servicios Sistemas de Información OFICINA ESPAÑOLA DE PATENTES Y MARCAS C\ Paseo de la Castella 75 tlf: 913496844 mail: [email protected] <mailto:[email protected]> ********************************************************************************************** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** **********************************************************************************************
Hi Hernández, Hernández Cuchí wrote:
Hello everybody.
I am modifyin the todo app, for making dinamic lists in my wiki. But what I would link, is that the links are to the edit page, not the view page. How can I do it.
Now I have:
<td>[$todoObj.Resumen>$todo]</td>
If $todo is a document name (something like Space.Page) then you can write: <td>[$todoObj.Resumen>$xwiki.getDocument($todo).getURL("inline")]</td> You can try also to replace "inline" with "edit". In case you don't know, the javadoc for the velocity API can be found at http://platform.xwiki.org/xwiki/bin/download/DevGuide/API/xwiki-core-2.1.1-j... Hope this helps, Marius
And i would like to have something that links to the todo edit link.
Thanks,
Francisco
--
Francisco Hernández Cuchí
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
C\ Paseo de la Castella 75
tlf: 913496844
mail: [email protected] <mailto:[email protected]>
********************************************************************************************** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ********************************************************************************************** _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Hernández Cuchí, Francisco Ricardo -
Marius Dumitru Florea