CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 clear parameters on included Search Page

Print topic Send  topic

Author Message
blankenb

Posts: 125
Posted: 04/11/2005, 8:43 PM

I have created an include page with a search form. Everything seems to work fine, with the exception of the "ClearParameters" link to remove all the parameters. It seems to have absolutely no effect at all. "Preserve Parameters" is set to "None". Setting parameters to be removed has no effect either. Any ideas?
View profile  Send private message
Nicole

Posts: 586
Posted: 04/12/2005, 4:17 AM

First of all make sure that you filled Remove Parameters property of a Link properly. What happens when you click on Clear link?
_________________
Regards,
Nicole
View profile  Send private message
blankenb

Posts: 125
Posted: 04/12/2005, 8:58 AM

Whether the parameters are filled in in the "Remove Parameters" property or not seems to have no effect. When the "Clear" link is clicked no parameters, whether specifically specified to be removed or not are cleared, even when the "Preserve Parameters" is set to "None".
View profile  Send private message
blankenb

Posts: 125
Posted: 04/12/2005, 9:10 AM

Genrated code in INCLUDE page does not include the parameters to be cleared.

            $this->ClearParameters = new clsControl(ccsLink, "ClearParameters", "ClearParameters", ccsText, "", CCGetRequestParam("ClearParameters", $Method));

The following should be generated, but isn't:
            $this->ClearParameters->Parameters = CCGetQueryString("QueryString", Array("s_keyword", "s_customer", "ccsForm"));
View profile  Send private message
Nicole

Posts: 586
Posted: 04/13/2005, 2:12 AM

if your link is designed to clean all parameters then the last code line should not be generated unless you set any parameter to be passed via this link.
In fact if Link doesn’t pass anything code for it looks like:
  
$this->Link1 = new clsControl(ccsLink, "Link1", "Link1", ccsText, "", CCGetRequestParam("Link1", ccsGet));  
$this->Link1->Page = $this->TemplatePath . "PageName.php";  

_________________
Regards,
Nicole
View profile  Send private message
blankenb

Posts: 125
Posted: 04/13/2005, 8:51 AM

Even when parameters are specified, this is what is generated:

            $this->s_keyword = new clsControl(ccsTextBox, "s_keyword", "s_keyword", ccsText, "", CCGetRequestParam("s_keyword", $Method));
            $this->ClearParameters = new clsControl(ccsLink, "ClearParameters", "ClearParameters", ccsText, "", CCGetRequestParam("ClearParameters", $Method));
            $this->ClearParameters->Page = "";

No parameters are cleared when the Clear link is pressed. Is there something special about this being an include Page that the parameter clearing behavior doesn't work?
View profile  Send private message
Nicole

Posts: 586
Posted: 04/14/2005, 2:12 AM

As I know there’s no any special setting for links on includable pages. In case you cannot make it working I recommend you to contact YesSoftware support
http://support.yessoftware.com/support_new.asp

_________________
Regards,
Nicole
View profile  Send private message

Add new topic Subscribe to topic   


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.