Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3175

Autocomplete not supported for values, only for object references

    XMLWordPrintableJSON

Details

    Description

      still an issue as of 2.0.0-RC3 and 2.0.0-RC4.  Have also confirmed its a problem even for the regular programming model, not just Parameters model.

       

      repro using 'CAUSEWAY-3175' branch of helloworld app (jdo)

      • create a HelloWorld object
      • create two child objects, 'aaa' and 'bbb'
      • use "LookupChildUsingChoices" - this works ok
        • can select the parent HelloWorldObject in first param
        • both children are listed in second param
      • use "LookupChildUsingAutoComplete" - this doesn't work
        • can select the parent HelloWorldObject in first param
        • but there is no drop-down in the second param.

       

       

      ~~~~

      original issue text:

      Brian:
      Meanwhile, I was following the M7 cheat sheet for contributed actions with static Parameters class. The choicesXxx() method works but not the autoCompleteXxx() one. [...] it'd be good to ensure that code that follows the last page of the cheat sheet is intact. For one thing, I needed to add @Programmatic to the Parameters class to get past metamodel validation.

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: