Examples of StepAndPage


Examples of org.dspace.app.xmlui.aspect.submission.StepAndPage

       
        //loop through each page in progress bar,
        //adding each as a separate section to the review form
        for(int i=0; i<submissionPages.length; i++)
        {
            StepAndPage currentStepAndPage = new StepAndPage(submissionPages[i]);
           
            //If the step we are looking at is this current
            // Review/Verify step, exit the for loop,
            // since we have completed all steps up to this one!
            if(currentStepAndPage.equals(this.stepAndPage))
            {
                break;
            }
           
            //load up step configuration
            SubmissionStepConfig stepConfig = subConfig.getStep(currentStepAndPage.getStep());
           
            //load the step's XML-UI Class
            AbstractStep stepUIClass = loadXMLUIClass(stepConfig.getXMLUIClassName());
           
            try
            {
                //initialize this class (with proper step parameter)
                parameters.setParameter("step", currentStepAndPage.toString());
                stepUIClass.setup(resolver, objectModel, src, parameters);
            }
            catch(Exception e)
            {
                throw new UIException("Unable to initialize AbstractStep identified by "
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.