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%2Fobjectremove%2FFranchiseTax%2FTopicsClass?parent=FranchiseTax.TopicsClass

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
-- 
View this message in context: 
http://n2.nabble.com/Generate-Url-to-delete-attached-object..-tp2163415p2164022.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to