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 2021/12/09 16:46:00 UTC

[jira] [Assigned] (ISIS-2907) css-class-fa not applied to menu items based on action classes

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

Andi Huber reassigned ISIS-2907:
--------------------------------

    Assignee: Andi Huber

> css-class-fa not applied to menu items based on action classes
> --------------------------------------------------------------
>
>                 Key: ISIS-2907
>                 URL: https://issues.apache.org/jira/browse/ISIS-2907
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Viewer Wicket
>    Affects Versions: 2.0.0-M6
>            Reporter: Patrick Deenen
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M7
>
>
> When in the application.yml for isis is configured with:
> {code:java}
> isis:
>   applib:
>     annotation:
>       action-layout:
>         css-class-fa:
>           patterns:
>             - new.*:fa-plus
>             - add.*:fa-plus-square
>             - attach.*:fa-plus-square
>             - create.*:fa-plus{code}
> This will not be applied to:
> {code:java}
> public class ContactsMenu {
>     @Action
>     public class newContact{
>         public Person act( ...{code}
> This workaround works:
> {code:java}
> public class ContactsMenu { 
>     @Action
>     @ActionLayout(cssClassFa = "fa-plus")
>     public class newContact{
>         public Person act( ... {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)