Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-07 Thread Mark Diggory
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 
>
>> 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 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 )
>> *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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-06 Thread Pradip Bhatt
if you want to reorder step of upload, 
then make neccessary changes in itemsubmission.xml which is locatd in
dspaceSRC/dspace/config/itemsubmission.xml.\


Here you have to make step changes...

like There are all the things which we visualizer in GUI in flow format.

You have to reorder or manage.

whole tag change the order...



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Customizing-Upload-Step-in-the-Item-Submission-tp4655246p4655399.html
Sent from the DSpace - Tech mailing list archive at Nabble.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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-06 Thread Pradip Bhatt
if you want to reorder step of upload, 
then make neccessary changes in itemsubmission.xml which is locatd in
dspaceSRC/dspace/config/itemsubmission.xml.\


Here you have to make step changes...

like There are all the things which we visualizer in GUI in flow format.

You have to reorder or manage.

whole tag change the order...



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Customizing-Upload-Step-in-the-Item-Submission-tp4655246p4655400.html
Sent from the DSpace - Tech mailing list archive at Nabble.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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-05 Thread César Sabater
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 

> 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 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 )
> *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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-05-31 Thread Mark Diggory
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  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 )
*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