CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Problems with the Dependent Listbox (feature)

Print topic Send  topic

Author Message
paviles

Posts: 4
Posted: 07/09/2008, 10:50 AM

I'm trying to use two dependent Listbox.
To create, I'm using the feature builder (like samples).
But, after publish, when the master lookup change, nothing happens with the detail lookup.
Any idea? Besides feature wizard, it is necessary to configure something more?

I have two frameworks (the same behavior in both cases)
1. Solaris 9 + Apache/1.3.36 + PHP Version 4.4.2 + Oracle 10g (using oci 8)
2. Windows XP + Apache/2.2.9 + PHP Version 5.2.6 + Oracle 10g (using odbc)
View profile  Send private message
datadoit
Posted: 07/09/2008, 11:29 AM

Sounds like some javascripting is missing or incorrect. Look at that
first. Also, javascript enabled in browser? CCS version?
paviles

Posts: 4
Posted: 07/09/2008, 11:51 AM

I have obtained the same behavior with safari 3.1.2, IE 7 and Firefox 3.0
The javascript is enable.
The autogenerated services name is fClass_TCLASSSearch_IDPHYLUM_PTDependentListBox1

Code charge generate this javascript:
<link href="Styles/herbarium/Style.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/javascript">
//Begin CCS script
//Include Common JSFunctions @1-252A7665
</script>
<script language="JavaScript" src="ClientI18N.php?file=Functions.js&locale={res:CCS_LocaleID}" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript" type="text/javascript">
//End Include Common JSFunctions

//Include User Scripts @1-B93D65AC
</script>
<script language="JavaScript" src="js/pt/prototype.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//End Include User Scripts

//TCLASSSearchIDPHYLUMPTDependentListBox1 Start @40-F94DBF11
function TCLASSSearchIDPHYLUMPTDependentListBox1_start(sender) {
var dependentElement = $("TCLASSSearchIDPHYLUM" + sender.id.substring(21));
new Ajax.Request("services/fClass_TCLASSSearch_IDPHYLUM_PTDependentListBox1.php?keyword=" + sender.value, {
method: "get",
requestHeaders: ['If-Modified-Since', new Date(0)],
onLoading: function(transport) {
for (var i = dependentElement.options.length - 1; i > 0; i--) {
var currentOption = dependentElement.options.item(i);
if (currentOption.value != "") {
dependentElement.remove(i);
}
}
},
onSuccess: function(transport) {
var valueRows = eval(transport.responseText);
for (var i = 0; i < valueRows.length; i++) {
var newOption = new Option(valueRows["1"], valueRows["0"]);
dependentElement.options[dependentElement.options.length] = newOption;
}
},
onFailure: function(transport) {
alert(transport.responseText);
}
});
}
//End TCLASSSearchIDPHYLUMPTDependentListBox1 Start

//bind_events @1-13D18EE5
function bind_events() {
if (functionExists("ots_menu2_bind_events")) ots_menu2_bind_events();
addEventHandler("TCLASSSearchIDKINGDOM", "change", TCLASSSearchIDPHYLUMPTDependentListBox1_start);
}
//End bind_events

window.onload = bind_events; //Assign bind_events @1-19F7B649
View profile  Send private message
paviles

Posts: 4
Posted: 07/09/2008, 11:58 AM

Thanks for help.
The problem was an include page at top of the page. This page, have metas, link href and other javascript.
Toremove the include, all work fine
View profile  Send private message
paviles

Posts: 4
Posted: 07/09/2008, 11:59 AM

Thanks for help.
The problem was an include page at top of the page. This page, have metas, link href and other javascript.
At remove the include, all work fine
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.

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.