PropertyEventMethodIndex
WebSquare.uiplugin.aliasLinkedDataList - 5.0_4.4547B.20211124.201933

Allows to refer to the LinkedDataList in the main (or parent) page when the scope feature is used.

Type

uiplugin

Property Summary

id
aliasLinkedDataList ID
scope
LinkedDataList ID in the main (or parent) page being referred to. (Only the parent page can be referred to. Referring to sibling pages are to be supported.)
studioSrc
A property dedicated to the WebSquare5 Studio to get the information of the parent page.
userData1
User-defined property
userData2
User-defined property
userData3
User-defined property

Event Summary

Method Summary

getObj( )
Returns the linkedDataList object that the aliasLinkedDataList is currently referring to.
setScope( scope )
Dynamically sets the scope. Dynamically changes the linkedDataList currently being referred to.

Property Detail

id
aliasLinkedDataList ID Allocated as a global object.
scope
LinkedDataList ID in the main (or parent) page being referred to. (Only the parent page can be referred to. Referring to sibling pages are to be supported.)
ID of the LinkedDataList to refer to in a form of a relative path or absolute path.
Remain empty when the linked linkedDataList is not found or the object type is not linkedDataList. (Example) (1) Refers to the linkedDataList1_main1 in the highest page. (Relative path) scope="../../linkedDataList_main1" (2) Refers to the linkedDataList1_main2 in the highest page. (Absolute path) scope="/linkedDataList_main2"/ (3) Refers to the linkedDataList1_wframe1 in the higher page. (Relative path) scope="../linkedDataList_wframe1" (4) Refers to linkedDataList1 in wframe1. (Absolute path) scope="/wframe1/linkedDataList1_wframe1"/
studioSrc
A property dedicated to the WebSquare5 Studio to get the information of the parent page.
userData1
User-defined property. Use getUserData("userData3") to get the data. // Example getUserData("userData1");
userData2
User-defined property. Use getUserData("userData2") to get the data. // Example getUserData("userData2");
userData3
User-defined property. Use getUserData("userData3") to get the data. // Example getUserData("userData3");

Event Detail

Method Detail

getObj( )
Returns the linkedDataList object that the aliasLinkedDataList is currently referring to.
Return
typedescription
ObjectDataList object being referred to in the current scope.
Sample
// Return the object specified in the scope. var parentLinkedDataList = aliasLinkedDataList1.getObj();
setScope( scope )
Dynamically sets the scope. Dynamically changes the linkedDataList currently being referred to.
The aliasLinkedDataList and the bound components are initialized.
Parameter
nametyperequireddescription
scopeStringYPath of the linkedDataList
Sample
// Dynamically change the LinkedDataList to be referred to. aliaslinkedDataList1.setScope("/linkedDataList1");