You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/11/09 08:03:00 UTC

[jira] [Resolved] (ISIS-3268) [Wicket Viewer] Action parameter layout LabelPosition might get ignored (based on chance)

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

Andi Huber resolved ISIS-3268.
------------------------------
    Resolution: Fixed

> [Wicket Viewer] Action parameter layout LabelPosition might get ignored (based on chance)
> -----------------------------------------------------------------------------------------
>
>                 Key: ISIS-3268
>                 URL: https://issues.apache.org/jira/browse/ISIS-3268
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Viewer Wicket
>    Affects Versions: 2.0.0-M9
>            Reporter: Zermelo
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> Action parameter labels are not rendered on top in production mode (even if the PromptStyle is DIALOG_MODAL). It renders on top while in prototyping mode only.
> To reproduce on SimpleApp:
>  * Add LabelPosition.TOP to SimpleObject.updateName action name parameter.
> public SimpleObject updateName(
>     {color:#4c9aff}@ParameterLayout(labelPosition = LabelPosition.TOP) {color}final String name) {
>  * Disable Prototyping mode in SimpleApp.main 
>  ** {color:#4c9aff}//{color}IsisPresets.prototyping();
>  * Make seeds run while not in prototyping. In SeedSecurityService:
>  ** {color:#4c9aff}//{color}if (event.isPostMetamodel() && isisSystemEnvironment.isPrototyping()) {
> {color:#4c9aff}if (event.isPostMetamodel()) {{color}



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