Creating a task display form—using individual Drop handlers

In this section, you will create a task display form in the same task flow EnterQuoteDetails_TaskFlow.xml, in which you have created a task flow in an earlier section. As you will be trying to implement routers, as discussed before, you will create a task display form without product details.

How to do it...

In this section, you will discover how a task display form is created using individual drop handlers.

I. Creating a task display form

  1. In JDeveloper, go to EnterQuoteDetailsUI project | Web Content | Page Flows and click EnterQuoteDetails_TaskFlow.xml.
  2. In Component Palette | ADF Task Flow | Components, select View and click on the designer.
  3. Click View1 and enter the name SalesQuote_ProductLess for it.
  4. Double-click the SalesQuote_ProductLess view; it will open the Create JSF Page dialog.
  5. In the Create JSF Page dialog, enter SalesQuote_ProductLess.jspx as the filename, accept defaults, and click OK.
  6. In the Data Controls section, expand EnterQuoteDetailsUI_EnterQuoteDetails | getTaskDetails | Return and select the Task icon.
  7. Drag-and-drop the Task icon onto SalesQuote_ProductLess.jspx.
  8. Click Human Task and select Task Header, as shown in the following screenshot:
    How to do it...
  9. This will create Task Action buttons and the Task Header task.
    How to do it...
  10. Again, drag-and-drop the Task icon into SalesQuote_ProductLess.jspx.
  11. Click Human Task and select Task History. This will create a Task History section. You can repeat the same for task comments and attachments.
  12. When you have completed the preceding steps, click Save.

II. Adding payload to the task display form

  1. Go to Component Palette | ADF faces | Layout and select Panel Group Layout.
  2. Drag Panel Group Layout between the header and the rest of the sections (HISTORY, COMMENTS, and ATTACHMENT).
  3. Go to Data Controls | EnterQuoteDetailsUI_EnterQuoteDetails | getTaskDetails | Return | Task | Payload | Quote_Request and select Summary.
  4. Drag-and-drop the data collection Summary to the panel layout area, as shown in the following screenshot:
    How to do it...
  5. From the context menu, select Form | ADF Forms.
  6. Accept the defaults in the Edit dialog and click OK. This will create the payload region, as shown in the following screenshot:
    How to do it...

How it works...

You have designed the SalesQuote.jspx file. This is the task display form (using the complete task with payload drop handler), and is available at jDev_Oracle_Home/mywork/ApplicationName/ProjectName/public_html.

The payload drop handler allows you to display chosen elements selectively in the task UI.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.235.188