PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Error-Dump on Page Dialogs after converting to Zones on Pages
Error-Dump on Page Dialogs after converting to Zones on Pages
Iniciado por Stephen MYERS, 28,abr. 2016 11:04 - No hay respuesta
Miembro registrado
18 mensajes
Popularité : +1 (1 vote)
Publicado el 28,abril 2016 - 11:04
We recently finished converting all our pages in a large WebDev project to use Zones for layout in order to take advantage of the better anchoring and browser size and format adaptation. We have a main base Template, with several Template variations based on the main Template, which are then used for the various pages.

We are now getting an error page ("A control has no subelement: '.' operator not allowed.") on multiple pages in the project. It seems the error may be triggering based on the number of Zones a control is nested within. The full error is paste at the bottom of this post.

ALL of these pages and Dialogs worked without Error prior to changing to Zones for the page layouts. In most, if not all cases, a PageDisplayDialog call is made from a Page Button. In a few cases the Dialog then calls another PageDisplayDialog. The nesting of the Dialog does not appear to be the issue, since we tried removing the second Dialog and got the same error.

In the example of the error, a Page button (on Page_Orders) calls PageDisplayDialog. This button is nested in Zones as shown in the button WB popup like BTN_DoDialog (Zone_3,Zone_5,Zone_7,Zone_9,Zone_10). The Dialog called by the button (Page_ListDialog) is Zoned and displays a looper of 1 to 5 records with a Button next to each looper line as BTN_Select (Zone_2, Loop_Records). Clicking the Button calls another PageDisplayDialog (Page_Accept) to a confirmation page where the user has to click a 'Accept' CheckBox, which makes a Submit button visible.

The error happens when the user clicks the Accept checkbox. The error message refers to a line number in the Calling Button to the Dialog.

I'm at a loss as to how to correct all these instances without 40+ man-hours of rework to try and move buttons out of these nested Zones. ANYONE ABLE TO HELP!?!?

WL call:
Process of 'Click of BTN_Select ( LOOP_Records ) (server)' (PAGE_ListDialog.ZONE_2.LOOP_Records.BTN_Select), line 18, thread 0
'PageDisplayDialog' function, syntax 0

What happened?
Error caused by 1 parameter.
A control has no subelement: '.' operator not allowed.

Error code: 1069
Level: fatal error (EL_FATAL)

Dump of the error of 'wd200vm64.dll' module (20.0.504.0).
Identifier of detailed information (.err): 1069
Debugging information:
Fonction (31,188)
Additional Information:
EIT_PILEWL :
Click of BTN_Select ( LOOP_Records ) (server) (PAGE_ListDialog.ZONE_2.LOOP_Records.BTN_Select), line 18
Click of BTN_DoDialog (server) (PAGE_Orders.ZONE_3.ZONE_5.ZONE_7.ZONE_9.ZONE_10.BTN_DoDialog), line 2
EIT_DATEHEURE : 28/04/2016 03:35:29

(25, ERR_MSG_BOX)