on 12-24-2013 8:32 PM
Hi friends,
I am trying to create a Component and group my views logically.
I started by creating a folder called components and created three folders there. One each for each component. Then created component.js inside each of them. Coded as per Documentation/AdvancedTopics/Components – SAPUI5 Wiki (TIP CORE User Interface)
Now when I access my application, I get an error
404 not found for "
/sap/bc/ui5_ui5/sap/ycomponent_poc/components/newAssignmentForm/Component-preload.js
Uncaught TypeError: undefined is not a function "
Waiting for your help.
Krishna
Thanks all.
It was a syntax issue but took long time to figure out. But finally fixed it.
Syntax errors are tough to spot here.. without support from IDE..
Waiting for Web IDE....
Also, "failed to load component-preload.js" seems to be a harmless error. I still have it eventhough my component works like a charm.
Thanks
Krihsna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I am facing a similar issue , My app is not working at all please help
I have pasted my index.html & component.js code in the below thread.
Please let me know if you require any other information
Many Thanks
Pandu
Hi Krishna,
The below error is because of syntax error. You might somewhere used wrong syntax. I too also got the same error because of syntax error of UI5 library controls.
Uncaught TypeError: undefined is not a function "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
The code which u tried in the following link-
Documentation/AdvancedTopics/Components – SAPUI5 Wiki (TIP CORE User Interface)
There can you please check in the following line.
As there you have to mentioned the correct path.Check where you deployed it and modify that.
Thanks & Regards,
Patralekha Sur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
is it something related to preload bootstrap variant? Please check SAPUI5 SDK - Demo Kit
I am not sure if this will help though.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.