[ https://issues.apache.org/jira/browse/CAUSEWAY-3425 ]


    Andi Huber deleted comment on CAUSEWAY-3425:
    --------------------------------------

was (Author: hobrom):
Is there a use-case? Otherwise we probably won't fix - but rather remove the 
Repaint enum (as no longer needed).

> [Wicket Viewer] Boolean Parameter Default-Parameter-Support not triggering 
> Form Updates
> ---------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3425
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3425
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-RC2
>
>
> Martin Hesse:
> In my Action Form I have a support member public Boolean default2Act(String 
> p0, Boolean p1) that is being invoked, but the form is never updated. I 
> debugged into ActionParametersForm#onUpdate and it seems like FormRepaint is 
> always NOTHING. The method ScalarPanelAbstract#updateIfNecessary  internally 
> never detects a change, because the scalarModel and the paramValue are equal 
> (already).
> Interestingly this only seems to be a problem for a Boolean parameter, 
> because when the type of p2 is changed from Boolean to String, then the UI is 
> being properly repainted. But also for String parameters Repaint will always 
> be NOTHING. UI update must happen otherwise in that case



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

Reply via email to