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

Using FlexibleStringExpander in form widget field's parameter names

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: framework
    • Labels:
      None

      Description

      To allow a single form to be included on a screen multiple times, and for a collective submission from those forms to be handled by a service, it is necessary to ensure each form input can be rendered with a unique name.

      The name attribute of the rendered HTML form input is rendered according to the parameterName of a field in the form widget.

      To allow generation of unique field parameterNames we can use the FlexibleStringExpander type.

       

      PR created: https://github.com/apache/ofbiz-framework/pull/7

       

      Improvement initially raised on dev mailing list - https://lists.apache.org/thread.html/r20cf244d32587768e83a78d4f69d1ef1cd064b093c0e6a8e6caa74c4%40%3Cdev.ofbiz.apache.org%3E

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              nmalin Nicolas Malin
              Reporter:
              danwatford Daniel Watford

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment