It's more the code in general, cocoon puts the files in an upload
directory, the code above determines if that already happened and if not
(ie in the JSPUI) then it creates the files.

Best,
Mark

On Tuesday, June 5, 2012, César Sabater wrote:

> Thanks Mark,
>
> I wasn't so confident about that line becouse earlier on that file there
> are some comments about cocoon handling the uploaded files independently.
>
> Cheers,
> César
>
>
>
>
> 2012/5/31 Mark Diggory <mdigg...@atmire.com>
>
>> César,
>>
>> you are on track, the first file you mention has the logic within it to
>> process the uploaded file and attach it to the Item as a Bitstream.
>>
>> Look specifically around the following line....
>>
>> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/submit/step/UploadStep.java#L500
>>
>> Best,
>> Mark
>>
>> On Thu, May 31, 2012 at 2:03 PM, César Sabater <csaba...@unr.edu.ar>wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to customize the submission steps of the standard item
>>> submission in DSpace 1.8 . The customization consists on reordering the
>>> steps such that the bitstream upload step appears before the describe step,
>>> modifying the upload step to gather some information of the uploaded
>>> bitstreams, such as keywords (using some keyword extractor for known
>>> formats), abstract, etc., and then use this information to complete/suggest
>>> values for the description of the item in the describe step. The
>>> customization will be done mainly for XMLUI and JSPUI.
>>>
>>> I've been looking the Java code that implements the Upload Step
>>> (org.dspace.submit.step.UploadStep) and the XMLUI binding for that step
>>> (org.dspace.app.xmlui.aspect.submission.submit.UploadStep) and It wasn't so
>>> clear for me step when (or where) can I access the uploaded bitstream so I
>>> can wire there some java classes to process the bitstreams and extract
>>> useful information for the describe step.
>>>
>>> I'm asking if there are learning resources that can be useful, specially
>>> for the XMLUI binding and JSPUI binding so I can speed up my learning for
>>> those topics. Also if someone has done something like this before, would be
>>> good to hear some approaches.
>>>
>>> Thanks!
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Dspace-devel mailing list
>>> dspace-de...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>>>
>>>
>>
>>
>> --
>>  [image: @mire Inc.]
>> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
>> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
>> *Esperantolaan 4, Heverlee 3001, Belgium*
>> http://www.atmire.com
>>
>>
>>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to