Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Icons disapear when setting permission
Icons disapear when setting permission [message #1798910] Tue, 27 November 2018 06:00 Go to next message
Eclipse UserFriend
Hello,
I have an issue with icons when setting view permission on outlines,
index.php/fa/34408/0/
if you see the image you will see that last outline does not contain the icon,
the icon is visible only when I comment the code :

@Override
protected void execInitAction() {
setVisiblePermission(new ViewSettingsOutlinePermission());
}

in Desktop Class in the SettingsOutlineViewButton class,
Does any one know this issue, and how to implement the view permission to avoid that icons disapear.
Kind Regards
Anis
  • Attachment: iconsShow.png
    (Size: 14.32KB, Downloaded 211 times)
Re: Icons disapear when setting permission [message #1798917 is a reply to message #1798910] Tue, 27 November 2018 06:46 Go to previous message
Eclipse UserFriend
If you're trying to achieve that the outline is not visible for some users:
Try setting the permission on the Outline itself (and not on the button). If your OutlineButton is inheriting from AbstractOutlineViewButton, it will adjust its visibility based on the outline it represents.
Previous Topic:Detail Form on TablePage
Next Topic:Scanner Application with injected JavaScript
Goto Forum:
  


Current Time: Sun Aug 31 14:55:50 EDT 2025

Powered by FUDForum. Page generated in 0.02953 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top