CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 BeforeShow function and includable page CCS

Print topic Send  topic

Author Message
Jurjen Roels
Posted: 06/13/2002, 12:41 PM

Hi,

I am a bit lost on how to proceed.

If created two pages:

poll_show_questions (which shows either the active poll or the url passed vote_id

poll_show_results (which shows the results)

In the page poll_show_results i have 2 beforeshow functions where i change the nubmer of votes to a bar (just like the codecharge example)

To set the value I had to use the following code:
global $vote_items_voti1;
$vote_items_voti1->vote_results->SetValue($fldvote_results);

When i change the page to an includable it doesn't work anymore.

My OO is not that good but I have a feeling that if i could dynamicly ($this somewhere) refer to it, it would work when i would use a includable page.

I have seen some posts about this, but i am not sure if this is because of a flaw in CCS or my lack of OO knowledge.

Regards
Jurjen
Labs4.com
Posted: 06/13/2002, 1:10 PM

this is a bug in CCS, BeforeShow custom code in includable page doesn't work (Codecharge support reported that in one of previous posts about this issue).

Josef
Jurjen Roels
Posted: 06/13/2002, 2:31 PM

Right....

Then i stop trying to get it working...
EMG
Posted: 01/15/2003, 10:10 AM

Having no events on my includable pages is a major shortcoming for my development, anyone have any workarounds?
CodeCharge - any suggestions?


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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