简体   繁体   English

我可以在 SAP UI5 的标准消息框中提供链接吗?

[英]Can I give a link in standard message box in SAP UI5?

Is it possible to give a link instead of a message in standard message box in sap ui5?是否可以在 sap ui5 的标准消息框中提供链接而不是消息? I want to navigate to another view on the click of that link.我想通过单击该链接导航到另一个视图。 Is it possible to achieve without creating a new fragment and adding something in the standard message box?是否可以在不创建新片段并在标准消息框中添加内容的情况下实现?

The sap.m.MessageBox does not allow links, but the use of custom actions. sap.m.MessageBox 不允许链接,但使用自定义操作。 Just take a look at the sample Error with custom action .只需查看带有自定义操作的示例错误 Maybe this will help you.也许这会对你有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM