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 ... }
      
      

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit de0b34f883ae399e0a075e996a24cebe30407c98 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=de0b34f ]

        ISIS-1633: updates docs for INLINE_AS_IF_EDIT

        Show
        jira-bot ASF subversion and git services added a comment - Commit de0b34f883ae399e0a075e996a24cebe30407c98 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=de0b34f ] ISIS-1633 : updates docs for INLINE_AS_IF_EDIT
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 3aca448ba669afb95a6517e6e80202df11cd2ac2 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=3aca448 ]

        ISIS-1633: fixes to UI, for reference panel and boolean panel

        Show
        jira-bot ASF subversion and git services added a comment - Commit 3aca448ba669afb95a6517e6e80202df11cd2ac2 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=3aca448 ] ISIS-1633 : fixes to UI, for reference panel and boolean panel
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8c0f7d207e49f1f44c16a98d4770d27f45455ac4 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=8c0f7d2 ]

        ISIS-1633: adds support for INLINE_AS_IF_EDIT prompt style

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8c0f7d207e49f1f44c16a98d4770d27f45455ac4 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=8c0f7d2 ] ISIS-1633 : adds support for INLINE_AS_IF_EDIT prompt style

          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:

              Development