CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 incorrect generated code for includable pages

Print topic Send  topic

Author Message
Maris Kalnins
Posted: 11/23/2002, 3:26 AM

hello developers!

I made an includable page "articleset" in the project tree located in
MyProject->Pages->Modules with one record control in it and several labels

Now I made non includable page "default" in MyProject->Pages

In this "default" page I include page "articleset" and after executing -
i get all code to my screen out of articleset.php

why? because somehow code generator made disappear the <?php in the
beginning of the articleset.php. and the only solution how to fix is to
insert
<?php by hands.. :/

similar things is not happening first time, I have a feeling that
code generating algorythm for non trivial pages that is set as includable
and
later are included in some other general pages is not tested very good.

time to time in the same situation I get some errors that say that one class
cannot inherit from some other class the only solution is to delete the
whole includable page and create it again ( i suspect that the code gnerator
is doing something wrong here again)

Maris

Dave Rexel
Posted: 11/23/2002, 10:26 AM

I have also met this bug :

The 1st <?php tag sometimes gets wiped out in CCS generation process and if
I put it back manually it's OK again.

Has anyone reported this to YS?

Greetings
Dave


"Maris Kalnins" <proximus@mail.teliamtc.lv> wrote in message
news:arnokt$4au$1@news.codecharge.com...
> hello developers!
>
> I made an includable page "articleset" in the project tree located in
> MyProject->Pages->Modules with one record control in it and several labels
>
> Now I made non includable page "default" in MyProject->Pages
>
> In this "default" page I include page "articleset" and after executing -
> i get all code to my screen out of articleset.php
>
> why? because somehow code generator made disappear the <?php in the
> beginning of the articleset.php. and the only solution how to fix is to
> insert
> <?php by hands.. :/
>
> similar things is not happening first time, I have a feeling that
> code generating algorythm for non trivial pages that is set as includable
> and
> later are included in some other general pages is not tested very good.
>
> time to time in the same situation I get some errors that say that one
class
> cannot inherit from some other class the only solution is to delete the
> whole includable page and create it again ( i suspect that the code
gnerator
> is doing something wrong here again)
>
> Maris
>
>

Maris Kalnins
Posted: 11/26/2002, 2:04 AM

will somebody from CCS developers give their users an explanation of this
and
possible solutions?


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.