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 -> Java

 editable grid and textbox

Print topic Send  topic

Author Message
leo
Posted: 04/05/2005, 3:28 PM


I am using CC studio 2.3.2.24 and Java.

I have created an editablegrid with a textbox above it. They are in the same form. I placed some code to view the textbox in the beforeexecuteupdate event. I always got a null. The textbox has a default value of "something".

Control tc = e.getEditableGrid().getControl("TextBox2");
if ( tc != null )
{
String m = Utils.convertToString(tc.getValue());
if ( m != null)
System.out.println("textbox2 = " + m );
else
System.out.println("textbox2 = null" );

}


Any ideas ?

thanks!

leo
miko

Posts: 50
Posted: 04/05/2005, 10:25 PM

Leo,

default value in CCS has meaning only in show mode and it ia applied to controls before BeforeShow event. If you need default value for update operation you should use custom operation and default value for corresponding parameter.
_________________
Regards,
Michael
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.