How to develop a job processing page?

felixsongfei

23-12-2018

Oracle On demand has a configuration wizard in external page:

1653220_pastedImage_0.png

It will showing the job progress status like below:

1653245_pastedImage_1.png

It looks like using the jobProgressContainer container to  track the job progress status. code like below:

<container refreshPeriod="1500" serverTimeNotStable="true" type="jobProgressContainer">

       <soapCall name="oodDeploy" service="nms:extAccount">

        <param exprIn="." type="DOMElement"/>

        <param exprIn="@account" type="string"/>

        <param exprIn="@password" type="string"/>

        <param exprIn="@server" type="string"/>

        <param exprIn="@name" type="string"/>

        <param type="boolean" xpathOut="@deployed"/>

      </soapCall>

      <input name="JobLogsList" type="JobLogList"/>

      <container colcount="2">

        <value dataType="timespan" label="Elapsed" xpath="/tmp/timing/@elapsed"/>

        <value dataType="timespan" label="Remaining" xpath="/tmp/timing/@remaining"/>

      </container>

      <container colcount="2">

        <value name="JobProgressBar" type="ProgressBar" valign="center" xpathCur="properties/progress/@current"

               xpathElapsed="/tmp/timing/@elapsed" xpathMax="properties/progress/@max"

               xpathRemaining="/tmp/timing/@remaining"/>

        <input label="&amp;Start" name="JobSubmitButton" type="flatbutton"/>

      </container>

    </container>

I try to build a same job processing page, but below error occurs:

1653246_pastedImage_3.png

Can you please give some guide on how to write the code to build the job process?

Thanks,

Felix

Accepted Solutions (0)

Answers (0)