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

Disable action param not honored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • 2.0.0-RC1
    • 2.0.0-RC2
    • Demo App, Viewer Wicket
    • None

    Description

      in the demo app, use

      prog model >Composite Value Types

      The page object shows a single value (a complex number type) which starts off being set to 1+0i.  The idea of the "addComplexNumber" action is to allow the end-user to add a value to this, eg "2 +3i" to result in "3 + 3i".  To make it more obvious that they are adding to the value held by the page object, the first parameter of this action is defaulted to the value from the page object, and is set to be disabled.

      The defaulting works fine, and the UI looks fine:

      , however... it IS actually possible to click into the disabled field and set a value:

       

      Attachments

        1. image-2023-05-09-07-02-46-248.png
          36 kB
          Daniel Keir Haywood
        2. image-2023-05-09-07-01-53-626.png
          33 kB
          Daniel Keir Haywood

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: