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

Zermelo updated ISIS-3198:
--------------------------
    Description: 
[https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189]

 
{code:java}
import lombok.RequiredArgsConstructor;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.ActionLayout;
import org.apache.isis.applib.annotation.PromptStyle;

@Action
@ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL)
@RequiredArgsConstructor
public class Isis3198Demo {

    public final Object target;

    public Object act(String a, boolean showB, String b) {
        return target;
    }

    public boolean hide2Act(String a, boolean showB) {
        return !showB;
    }
}{code}

  was:https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189


> action parameter hiding problem & default method argument null
> --------------------------------------------------------------
>
>                 Key: ISIS-3198
>                 URL: https://issues.apache.org/jira/browse/ISIS-3198
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Viewer Wicket
>            Reporter: Zermelo
>            Priority: Blocker
>             Fix For: 2.0.0-M8
>
>
> [https://the-asf.slack.com/archives/CFC42LWBV/p1662043383425189]
>  
> {code:java}
> import lombok.RequiredArgsConstructor;
> import org.apache.isis.applib.annotation.Action;
> import org.apache.isis.applib.annotation.ActionLayout;
> import org.apache.isis.applib.annotation.PromptStyle;
> @Action
> @ActionLayout(promptStyle = PromptStyle.DIALOG_MODAL)
> @RequiredArgsConstructor
> public class Isis3198Demo {
>     public final Object target;
>     public Object act(String a, boolean showB, String b) {
>         return target;
>     }
>     public boolean hide2Act(String a, boolean showB) {
>         return !showB;
>     }
> }{code}



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

Reply via email to