Kevin_C wrote:
OK, that got me closer but for some reason the generated Url is fubarred:
My code: [delete>$doc.getURL('objectremove', 'classname=${doc.fullName}&classid=${topic.number}&xredirect=${redirurl}')]
Generated Url: http://localhost:9090/xwiki/bin/edit/FranchiseTax/%2Fxwiki%2Fbin%2Fobjectrem...
The square brackets syntax only accepts document names, and it is supposed to generate URLs. You already have the URL, so there's no need to put it in brackets. For this you should just use an HTML link: <a href="$doc.getURL(...)">delete</a>
It's adding: /xwiki/bin/edit/FranchiseTax/ onto the front of the Url for some reason. The current page I'm viewing is: http://localhost:9090/xwiki/bin/view/FranchiseTax/TopicsClass
and I've modified the display of the objects such that the displayed table contains a delete link as well as the property values. What am I doing wrong?
Thanks! .:. Kevin
-- Sergiu Dumitriu http://purl.org/net/sergiu/