You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Patrick Deenen (Jira)" <ji...@apache.org> on 2021/12/02 16:09:00 UTC
[jira] [Created] (ISIS-2907) css-class-fa not applied to menu items based on action classes
Patrick Deenen created ISIS-2907:
------------------------------------
Summary: 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
When in the application.yml 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)