CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> Java

 Dependent List Boxes with Java and Oracle

Print topic Send  topic

Author Message
samelk

Posts: 35
Posted: 05/14/2013, 12:50 AM

Hello,

Has anyone successfully created 2 dependent list boxes using Java and Oracle? I have CCS v4.3 and I keep getting a "TypeError:sender.id is undefined" in Mozilla and it is complaining about this part of the code:

------------------------
//NewRecord1TextBox2PTDependentListBox1 Start @11-42DB4B00
function NewRecord1TextBox2PTDependentListBox1_start(sender) {
var dependentElement = $("NewRecord1TextBox2" + sender.id.substring(18));
var selectedValue = null;
-------------------------

I am not doing anything fancy (just parent child lisboxes) and I have followed the Ajax example that Codecharge comes with. Basically. here are the steps I followed:

1. Create a form record
2. Added Parent LOV (PROJECT)
3. Added Child LOV (TASK where PROJECT_ID = {Expr0})
4. Used the FeatureBuilder to create the Dependent ListBox Service where I link the 2 using PROJECT_ID.

Am I missing anything? Please let me know if you can point me in the right direction.

Thanks,
Sam
View profile  Send private message
samelk

Posts: 35
Posted: 05/14/2013, 11:00 AM

Just another update:

I just tested this in IE8 and every time I change the parent LOV, I get the following error:

Message: 'id' is null or not an object

Thanks,
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.