I tried to attach the image file back into the page, but if I call $xwiki.getDocument(...).addAttachment(...) it fails, as well as if I call xwiki.getDocument(...).addAttachment(...), saying it does not know the property "xwiki". By the way my groovy scripts in syntax 1.0, migrated to 2.0, complain about non existing property "xwiki" ... Am I missing something ? -- View this message in context: http://n2.nabble.com/Return-image-in-http-response-tp3075088p3075261.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users