0 Replies Latest reply: Oct 28, 2013 3:11 AM by Mohanraj Nataraj RSS

    Human Task UI build using Business Catalog (Business Objects - complex type)

    Mohanraj  Nataraj

      Hi All,

       

      Jdev 11.1.1.7

       

      This is the way I am developing my SOA/BPM project.

      1. Based on XSD I am creating Business catalogs. My Business objects are very complex.

      * Proposal

         - Proposer <- Component

         - Risk (Array)

              - Nominee (Array) <-- Component

                  - Appointee

              - Assignee (Array) <-- component

         - Cover(Array)

            - XXXX (Array)

       

      2. I have developed UI (Oracle ADF) screens, values of component is without bind any JavaBean or view objects.

          Code:

                                    <af:inputText id="proposalFormNumber"

                                                        required="true"

                                                        value=""                                                 

                                                        maximumLength="#{imsValidationGeneric['formOrQuoteNumber.max.generic']}"

                                                        label="#{imsBundleuw['formOrQuoteNumber.lbl.productDetails.uw']}">

                                              <af:validateRegExp pattern="#{imsValidationGeneric['alphaNumeric.exp.generic']}"

                                                                 messageDetailNoMatch="#{imsMeessage['specialCharacters.formatErr.generic']}"/>                                 

                                      </af:inputText>     

       

      3. Now, I bind the page with Payload values.

      <af:inputText id="proposalFormNumber"

                                                        required="true"

                                                        value="#{bindings.proposalFormNumber.inputValue}"

                                                        maximumLength="#{imsValidationGeneric['formOrQuoteNumber.max.generic']}"

                                                        label="#{imsBundleuw['formOrQuoteNumber.lbl.productDetails.uw']}">

                <af:validateRegExp pattern="#{imsValidationGeneric['alphaNumeric.exp.generic']}"

                                                messageDetailNoMatch="#{imsMeessage['specialCharacters.formatErr.generic']}"/>

        </af:inputText>  

       

      4. I can easily bind my custom UI with Payload attributes in simple data entry form. When I go for database look ups and dynamic component binding its very complex to bind.

       

      My Questions are:

      1. How can I look up (POPUPs) the DB and Update my Payload values (XSD)?

      2. How can I dynamically generate/create (af:ForEach) and bind component using the Payload values?

      Code:

      <af:forEach item="">

      <af:showDetailItem>

      <af:inputText values = "" />

      </af:forEach>

      </af:showDetailItem>

       

       

      I can't just drag and drop payload on the form and select create form with Payload option.because its custom form.

      Please kindly provide me some help (Documents,Books,Useful links) anything on designing UI screens using payload values.

       

      Kindly revert more clarifications need.

       

      Thanks