You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2023/06/12 04:07:00 UTC

[jira] [Updated] (CAUSEWAY-3455) Disable action param not honored if a composite value type.

     [ https://issues.apache.org/jira/browse/CAUSEWAY-3455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Huber updated CAUSEWAY-3455:
---------------------------------
    Summary: Disable action param not honored if a composite value type.  (was: [demo app] disable action param doesn't disable if a composite value type.)

> Disable action param not honored if a composite value type.
> -----------------------------------------------------------
>
>                 Key: CAUSEWAY-3455
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3455
>             Project: Causeway
>          Issue Type: Bug
>          Components: Demo App, Viewer Wicket
>    Affects Versions: 2.0.0-RC1
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-RC2
>
>         Attachments: image-2023-05-09-07-01-53-626.png, image-2023-05-09-07-02-46-248.png
>
>
> 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:
> !image-2023-05-09-07-01-53-626.png|width=212,height=119!
> , however... it IS actually possible to click into the disabled field and set a value:
> !image-2023-05-09-07-02-46-248.png|width=247,height=261!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)