Hi all
I'm doing a little dynamic object test. Everything works fine until the moment of execution, when loading the view the error below appears.
I have faithfully followed the DEMO and the manual.
In INDEX.HTML I added <script src = "Custom \ WebDynamicObjectContainer.js"> </script>
and I have copied the Custom folder in AppHtml with the WebDynamicObjectContainer.js file.
I appreciate your suggestions.
Code:
Object oSqlContainer is a cWebDynamicObjectContainer
Set piColumnSpan to 19
Set piColumnIndex to 10
Procedure Load
Send OnClick of oWebBttnCarga
End_Procedure
End_Object
Object oWebBttnCarga is a cWebButton
Set piColumnSpan to 4
Set psCaption to "button"
Set piColumnIndex to 25
Procedure OnClick
String sName
Handle hoObj
Integer iColumn iValue
Send ResetContainer of oSqlContainer
Get CreateDynamicObject of oSqlContainer (RefClass(cWebList)) "oWebList" "" to hoObj
Send InitDynamicProp of hoObj "piColumnSpan" 9
Get CreateDynamicObject of oSqlContainer (RefClass(cWebColumn)) "oWebColumn0" "oWebList" to hoObj
Send InitDynamicProp of hoObj "psCaption" "Planet"
Send InitDynamicProp of hoObj "piWidth" 70
Get CreateDynamicObject of oSqlContainer (RefClass(cWebColumn)) "oWebColumn1" "oWebList" to hoObj
Send InitDynamicProp of hoObj "psCaption" "Distance from Earth"
Send InitDynamicProp of hoObj "piWidth" 30
Send Activate of oSqlContainer
End_Procedure
End_Object
Edgar