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

Improve FindGeneric entity screen with xml form

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework/webtools
    • Labels:
      None
    • Flags:
      Patch

      Description

      Currently the FindGeneric screen in webtools use huge specific code to rendering dynamically the form from an entity model.

      This issue change all this part with a dynamic call to xml screen rendering with a single form contains auto-field-entity and a list form call the performFind

      This improve decrease the size code and increase the generic search functionality

      Just a warn we lost the information came from the model entity but maybe we can solve it to add a screenlet with this detail

      1. OFBIZ-9217.patch
        11 kB
        Nicolas Malin

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Great stuff, +1!

        Show
        jacques.le.roux Jacques Le Roux added a comment - Great stuff, +1!
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        Just that we have a lot of

        http-nio-8443-exec-9 ModelFormField W Could not find uiLabelMap in context while rendering form ListGeneric

        Maybe we can bypass the warning in case of ListGeneric?

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited Just that we have a lot of http-nio-8443-exec-9 ModelFormField W Could not find uiLabelMap in context while rendering form ListGeneric Maybe we can bypass the warning in case of ListGeneric?
        Hide
        soledad Nicolas Malin added a comment -

        Yes I saw it Jacques
        I corrected the uilLabelMap loading to escape this error.
        The problem was I didn't want load uiLabelMap on context to ensure that field title are entity field name.

        Ok this improvement is on trunk at revision r1783427

        Show
        soledad Nicolas Malin added a comment - Yes I saw it Jacques I corrected the uilLabelMap loading to escape this error. The problem was I didn't want load uiLabelMap on context to ensure that field title are entity field name. Ok this improvement is on trunk at revision r1783427

          People

          • Assignee:
            soledad Nicolas Malin
            Reporter:
            soledad Nicolas Malin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development