Hi jllort,
Yes, you've shown me the difference between the dynamic and fixed xml files in a previous post here. I believe that I have injected the variables just fine now.
But after digging around a bit, I noticed that in my FileUploadServlet.java my PathUtils.getName = "". How can I set/send the PathUtils.getName to be correct in the FileUploadServlet?
During the FOR loop, it is printing:
Code: Select allItem is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000000.tmp, size=0bytes, isFormField=true, FieldName=path
FOR path:
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000001.tmp, size=1bytes, isFormField=true, FieldName=action
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000002.tmp, size=8bytes, isFormField=true, FieldName=rename
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000003.tmp, size=0bytes, isFormField=true, FieldName=comment
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000004.tmp, size=0bytes, isFormField=true, FieldName=mails
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000005.tmp, size=0bytes, isFormField=true, FieldName=users
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000006.tmp, size=0bytes, isFormField=true, FieldName=roles
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000007.tmp, size=0bytes, isFormField=true, FieldName=message
Item is form field: true
Item: name=null, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000008.tmp, size=1bytes, isFormField=true, FieldName=increaseVersion
Item is form field: false
Item: name=test.pdf, StoreLocation=C:\Temp\upload_39643143_152f17cad2a__8000_00000009.tmp, size=157890bytes, isFormField=false, FieldName=uploadFormElement
The upload form element basically isn't doing anything it seems with the new file, am I correct? When I do a normal EDIT and UPDATE without the workflow, the path is correct (which makes sense).
Why would it be that the Upload Form Element isn't pushing the information to the FileUploadServlet correctly?