03-06-2009 03:47 AM
03-06-2009 04:46 AM
03-06-2009 05:29 AM
03-06-2009 06:07 AM
parent="baseJavaScriptExtension" in the spring configuration, and add the subnode <property name="extensionName" value="myJavaService" /> you can access it's methods from JavaScript by calling myJavaService.someMethod(arg1); .05-04-2009 08:09 AM
Actually, this is impossible due to some bad code in the webscript layer. The layer will automatically process any multi-part field for you, and hide the raw results (including the file). This way, there is no way to access the file through Java without correcting the Alfresco code.
What you can also do, is use Java for what you want to use Java for, and then have a very simple piece of javascript handle the file upload. The webscript system will (try to) call the javascript file, even when you have plugged in your Java class.
05-07-2009 01:29 AM
05-20-2009 04:09 AM
We are developing our WebScripts using Java (extending AbstractWebScript). We want to implement the same functionality described here:Glad to hear that you are developing our WebScripts using Java (extending AbstractWebScript)…
http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload
using Java WebScript. Are there any community provided examples for this?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.