Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要为我的 sap web dynpro 中的按钮附加图像源。但我必须在运行时这样做。这样我就可以从 mime 存储库中动态选择图像并将其附加到按钮上。
有没有办法做到这一点?我真的没有想法了……
谢谢你的帮助!
问候,
多米尼克
在按钮的属性集中,您拥有包含图像来源的属性“imageSource”。您可以将此属性绑定到上下文中的变量(例如“buttonIcon”)。如果您随后更改此变量的内容,绑定将更新按钮的图标。