CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 How not display empty fields ? CCP copy and paste

Print topic Send  topic

Author Message
Hugo
Posted: 10/16/2002, 5:51 AM

Hi,

I use CCS , Php MySql...

1. I ' d like that the empty fields don't display, what procedure ?

2. Is it possible in a CCS project to copy and paste a page ?

Thanks to all ....

xbill
Posted: 10/16/2002, 8:27 AM

With CCS- most of the components
have a "Visible" flag. If this Visible
flag is set to false, at the right place,
then the component will not show.

To really use the Visible feature, it
works best when you combine it with custom
events.

First - decide what turns the component on/off
(for example empty parameter, non set session
variable, emply value, 0 value, etc)
and then add code like:

// Don't show component if item_id param not set
if (CCGetParam("item_id","") == "") {
$component->Visible = FALSE;
}

in a custom event.

For Cut + Paste- I have had a lot of problems with
CCS. The Cut/Paste does not work well with components
or even labels/links. What usually happens on Cut/Paste
is that the text descriptions are copied - but any
grid/record/label information is lost. The loss may
not show up until the page is regenerated.

Simple cut+paste for text fields and in the
code editor works great. (plus your common shortcuts-
cntrl-c cntrl-v etc)

-bill


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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