Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-1932

Allow multi-pagination in a page (see Bilgin comment below)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • Trunk
    • ALL COMPONENTS
    • None

    Description

      Maybe I missed something, but as I asked on ML and got no answers, maybe something is missing.

      So I wrote this little patch.
      It works (to have a look : create at least 4 fin accounts affected to admin, f.e.) but give this error message back
      org.ofbiz.webapp.event.EventHandlerException: Unknown handler type:

      This is because I have to pass the partyId to the view-profile redirected request which contains the screenlet Finaccount.
      So I wrote
      <iterate-section entry-name="ownedFinAccount" paginate="true" paginate-target="FinAccounts?partyId=${parameters.partyId}" view-size="3" list-name="ownedFinAccountList">

      I would like to properly and safely allow to pass a parameter in paginate-target. And before doing any changes in RequestHandler.java I'd like to know if I have not missed something obvious or if there is another best practice to use effectively iterate-section in widget.

      If not, advices on how to do that are welcome, before I trace in RequestHandler.java

      Thanks

      Attachments

        1. iterate-section.patch
          3 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: