Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1633

Allow properties to be "edited" using an action (ie using multiple parameters)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.15.0
    • Component/s: Core
    • Labels:
      None

      Description

      eg to support name, address and so on.

      Design I've come up with is:

      {code|language=java}

      @Property(editing = Editing.DISABLED)
      public String getName()

      { ... }

      @MemberOrder(named="name", sequence="1")
      @ActionLayout(promptStyle=INLINE_AS_IF_EDIT)
      public ReferenceObject editName(
      @Nullable @ParameterLayout(named = "First name") String firstName,
      @ParameterLayout(named = "Last name")
      String lastName)

      { setName(firstName + " " + lastName); return this }

      public String default0EditName()

      { return ... }
      public String default1EditName() { return ... }
      
      

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: