Page 1 of 1

DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 15 Jul 2014 15:46
by ScottWGast
After a few days of trying, I have not been able to figure out why I keep getting this UI error when I'm using the CG Layout. I've looked through the demo (which works fine), but I cannot find the property that I need to use to fix this:

CG Layout error.png


The error pops up multiple times when the page is being rendered. I have updated the wwwroot and cleared my cache. There is, in fact, a center panel (along with a left, right, top and bottom).

TIA!
Scott

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 15 Jul 2014 15:50
by Alexander Bulei
Hi Scott,

It's internal script error, I'm sure you have JavascriptDebug = True.

Best Regards.

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 15 Jul 2014 16:13
by ScottWGast
I have the same results when I set the ServerController.JavaScriptOptions.Debug := False;

Also, I have tried to load and compile the demo, but I get this error:

[DCC Fatal Error] JQDownloadFrame.pas(5): F1026 File not found: '..\..\..\IWCGJQCore\Source\IWCGJQ.INC'

from this unit and line:

unit JQDownloadFrame;

interface

{$I '..\..\..\IWCGJQCore\Source\IWCGJQ.INC'} // << This line produces the error message

UPDATE: I just downloaded and installed the Develop version 2.2.1.8 and I'm still getting the error when I try to use the CGLayout; additionally, I get the "file not found" error when I try to compile the JQuery Demo IW14_V2

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 15 Jul 2014 21:47
by ScottWGast
I ended up deleting the right panel and re-creating it ......... that seemed to "fix" the "UI / Layout Initialization error".

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 22 Jul 2014 19:40
by ScottWGast
Good afternoon,

I'm still having problems with the UI Initialization error when I attempt to use the CGLayout component. I even copied the layout component from the demo into my application (thinking that there was some property that I didn't have set correctly) and I still get this error:
LayoutError.png


Also, I have updated to CG Version: 2.2.1.8 (IW 14.0.32)

I am attempting to create a small demo to duplicate the error.

Scott

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 22 Jul 2014 21:13
by ScottWGast
Yay! Looks like I figured it out!
Consider this issue closed.
Thanks,
Scott

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 22 Jul 2014 22:34
by Jorge Sousa
Hi Scott

We're very glad you did it, How did you do it? Because we never seen that errors before.

Re: DXE2+IW14.0.32+CG2.1.0.3701 - CGLayout error msg

PostPosted: 22 Jul 2014 22:51
by ScottWGast
Welllllllllllllll.....

I was attempting to assign a TIWCGJQRegion.Parent to the right side panel, but I had not yet created the region... sooo, yeah... t'was my fault.

*sigh*
Thanks,
Scott