While I was checking the API again, I realized that 
Document.addAttachment is a protected method, thus I cannot use it in a 
wiki page...

Answer to myself, but correct me if I'm wrong! ;-)

Vito



Vitantonio Messa wrote:
> Hi,
> 
> I want to use the function Document.addAttachment(java.lang.String 
> fileName, byte[] data).
> 
> I don't get what information I have to give as second parameter: I've 
> checked in the API, and there isn't anything.
> 
> Vito
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to