on 03-30-2015 9:30 AM
Hi all..
I have gone through the both sites(ondemand SDK ). but still i am finding it difficult to grasp the concept of register module path and
component container.
can any one explain me with an example.
Documentation/AdvancedTopics/ModularizationConcept – SAPUI5 Wiki (TIP CORE User Interface)
Regards/
Dipankar
Hello Dipankar,
The modularization documentation you provided are excellent resources, yet as is often the case, perhaps more useful after the fact
Additionally, you may (or may not) find Eloquent JavaScript: Modules to be more general but helpful overview of modularization.
For specific examples, have you built the Best Practices Application, paying specific attention to resources and modules? As examples, the Step 1: Index describes resource roots. Step 3: Navigation and Routing describes how custom routing is performed by declaring and requiring a module.
Regards,
Scott
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Scott. thanks for your reply....
Can you /or any1 can explain me what is
" evt.getSource().getBindingContext(); "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi all.. thanks for your reply..
could any1 can explain me
[this is the step 1 from sdk site]
data-sap-ui-resourceroots='{
"sap.ui.demo.tdg": "./"
}'>
out here sap.ui.demo.tdg is what? when i cam going to use it? only when i am using component container?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Applications should have a unique namespace to specify resource paths and prevent conflicts with other applications, for example, when multiple apps are used within the SAP Fiori Launchpad.
A namespace is paired with a folder location in data-sap-ui-resourceroots. The property "sap.ui.demo.tdg" has a value of "./". In other words, the namespace "sap.ui.demo.tdg" has a folder location of "./" (the application's root folder).
The namespace is used throughout the application. For example, the Master controller is in the root folder > view folder. The Master controller's fully qualified identifier is "sap.ui.demo.tdg.view.Master"
sap.ui.core.mvc.Controller.extend("sap.ui.demo.tdg.view.Master", {
Hope this helps,
Scott
Hi,
please have a look into the below link
hope this helps,
regards
Nagarjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.