25 Mar
2009
25 Mar
'09
7:27 a.m.
Hi, 1) Upload the file as an attachment just as before.
2) Make a second rpc call. This RPC call will import the latest attachment to the current page by the current user. This way we don't need to worry about crappy file names and browser specific stuff.
I Implemented this approach and it works fine and fixes both the issues http://jira.xwiki.org/jira/browse/XWIKI-3288 and http://jira.xwiki.org/jira/browse/XAOFFICE-10 Still I'm wondering if this is the correct approach or not. I won't commit the code for the moment, in the mean time if you have any comments please let me know. Thanks. - Asiri