sob., 16 gru 2023 o 19:10 Ralph Grove <rfgr...@icloud.com.invalid> napisał(a):
> The setup action declares it this way:
>
>     private HashMap<Character, String> statuses;
>
>             statuses = User.getStatusMap();
>
>
> And in the User class it’s created in the get method:
>
>     public static HashMap<Character, String> getStatusMap() {
>         HashMap<Character, String> statusMap = new HashMap<>();
>         statusMap.put(User.ACTIVE, "Active");
>         statusMap.put(User.INACTIVE, "Inactive");
>         return statusMap;
>     }

Do you use a custom template? Maybe you have your own radiomap.ftl? I
just tested the Showcase app and didn't notice such problems.
Basically you shouldn't notice such warning as it means someone is
trying to access a protected property of your bean


Cheers
Łukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to