Comments (6)
Hi,
not sure I get the point... this scenario works fine for e.g. commons.DropdownBoxRenderer and also a simple definition like:
var r1 = sap.ui.core.Renderer.extend(sap.ui.commons.ButtonRenderer);
var r2 = sap.ui.core.Renderer.extend(r1);
works. And I don't immediately see where "_super" is overwritten.
Can you provide a failing jsbin example?
Thanks
Andreas
from openui5.
This happens when extending the PanelRenderer, since it has a static function object:
var r1 = sap.ui.core.Renderer.extend(sap.ui.commons.PanelRenderer);
var r2 = sap.ui.core.Renderer.extend(r1);
from openui5.
Doesn't fail for me...:
http://jsbin.com/qecuyuyu/1/edit
from openui5.
Modified example at http://jsbin.com/qecuyuyu/7/edit shows the failure. If you look in the console, you'll see "Uncaught TypeError: Cannot read property 'apply' of undefined" errors.
from openui5.
Dear cmastrandrea,
Thank you very much for reporting this one
I forwarded this internally as ticket 0120031469 0000770032 2014.
Best regards,
Martin
from openui5.
Dear cmastrandrea,
just received some feedback on this one: As a workaround, you could rely on the renderer inheritance that Notepad controls provide:
If you specify a renderer as object literal or function, the Notepad controls automatically let that object inherit from the renderer of the base class. and this inheritance does not use the Renderer.extend
but an improved implementation based on a prototype chain.
Nevertheless, this issue is still open and we need to be workon it.
Best Regards,
Martin
from openui5.
Related Issues (20)
- OData List binding error "Failed to enhance query" HOT 3
- JsDoc: QuickView.openBy incomplete parameter documentation / generated TypeScript type HOT 2
- JQuery Bug 878/1799 within JSONModel.loadData prevents from sending "??" HOT 7
- [SF][List]: Unnecessary tab focus going to noninteractive element (No data text) HOT 2
- How to mock module in qunit test HOT 9
- Proper TypeScript Type for TableSelectDialog$ConfirmEvent getParameter("selectedContexts") HOT 2
- Disregard this issue
- showShare property of SmartVariantManagementBase does not do anything HOT 1
- Minimal UI5 project throws multiple errors HOT 1
- sap.f.FlexibleColumnLayout changes height to 100% on resize event HOT 2
- [Documentation] Wrong Types for sap.m.upload.UploadSet.uploadCompleted parameters HOT 1
- sap.f.SidePanel - Unable to hide single side panel action item HOT 1
- `sap.ui.qunit.utils.nextUIUpdate` and `waitForThemeApplied` recommended as replacements, but not exposed HOT 2
- ObjectStatus: inverted text causes vertical misalignment HOT 1
- sap.m.MultiComboBox Search for secondary values does not work HOT 3
- sap.m.DynamicDateRange: format implementation generates error logs for missing operators. HOT 2
- showClearIcon on MultiComboBox does not work HOT 4
- PlanningCalendarRow cannot be given id HOT 2
- OverviewPage Fiori Element oData V4 problem HOT 2
- Busy property doesn't work for sap.m.ColumnListItem HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openui5.