CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Serving up CQJQ Files to projectson dev machine

by loufeliz » 06 Oct 2019 18:31

Hello,
A few years back Sean Webb shared the CGJQ Local server. (made with

Having multiple projects, I used it with IW to serve up the CGJQ files for al my dev projects form the installed files rather than copy the files to each project. I tried it with my latest group of projects and does not quite work, IW 14.2.7 and CGJQ v 4.1.50 and no go. My login page appears, rendering controls correctly, but something is off. If I just disable the code and use files from wwwroot apps works normally. Anyway, this was a cool way to keep a central set of files.

4. modify server controller in your application

uses IWCGJQCommon

procedure TIWServerController.IWServerControllerBaseCreate(Sender: TObject);
begin
IWCGJQCommon.CGCssUrlBase:='http:127.0.0.1:myport/css/';
IWCGJQCommon.CGJsUrlBase:='http:127.0.0.1:myport/jq/';
IWCGJQCommon.CGThemeUrlBase:='http:127.0.0.1:myport/ui-themes/';
end;
loufeliz
 
Posts: 61
Joined: 01 Dec 2012 04:39

Return to General

cron

Who is online

Users browsing this forum: No registered users and 5 guests

Contact Us.