如何使用应用程序布局控件将图形放置在 OneUI .lotusBanner 区域中
我正在使用扩展库应用程序布局控件,并且需要将横幅图形放置在右侧的 .lotusBanner div 中。这怎么办,因为应用程序布局控件似乎无法修改。
I am using the Extension Libraries Application Layout Control and need to have a banner graphic placed in the .lotusBanner div on the right. How can this be done as it seems that the Application Layout Control can't be modified.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以在 Steve Pridemore 所做的扩展控件上使用实用程序 LinksFacet。
http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&documentId=CED2E61A75526CD086257997006DA95B
或者您可以使用 onload javascript 来添加它。
You could use the utilityLinksFacet on the extended control that Steve Pridemore did.
http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&documentId=CED2E61A75526CD086257997006DA95B
or you could use onload javascript to add it.
执行以下操作,我可以将图形放置在横幅区域中应用程序布局控件的右上角:
I was able to place a graphic in the upper right of the Application Layout Control in the Banner area by doing the following:
正如您所发现的,ExtLib 中的 applicationLayout 控件被锁定,只允许开发人员更改配置的某些方面。您可以添加指向 applicationLayout 不同部分的链接,但仅此而已。
一种可能的替代方法是不使用 applictionLayout 控件本身,而是在自定义控件中创建您自己的近似值,您需要在所有正确的位置添加具有特殊 oneUI2 类的所有必要面板/div,然后添加可编辑区域和这些面板中您想要在整个应用程序中自定义的部分的回调。 applicationLayout 控件中的所有其他部分(例如bannerUtilityLinks)都是使用ListofLinks 控件创建的,该控件也可以在扩展库中找到。
The applicationLayout control in ExtLib is, as you have found out, locked down to only allow certain aspects of the configuration to be changed by the developer. You can add links to different sections of the applicationLayout but nothing beyond that.
One possible alternative is to NOT use the applictionLayout control itself but create your own approximation of it in a custom control, You would need to add all the necessary panels/divs with the special oneUI2 classes in all the correct places and then add editable areas and callbacks within these panels for the parts that you would want to customize throughout the application. All of the other sections in the applicationLayout control, like the bannerUtilityLinks are created using the ListofLinks control that is also found in the Extension Library.