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

 FYI: ListBox bug

Print topic Send  topic

Author Message
sbokor

Posts: 1
Posted: 05/23/2007, 8:14 AM

Hello Friends,

I thought I pass this on... Tech support just confirmed a bug in List.java source.

Condition:
The ListBox is type TEXT (e.g: the bound column is a String) *and* one or more options contain HTML spec characters e.g. "&".

Effect:
If a ListBox option with HTML spec. characters is selected, this value is not retained after the page is reloaded (e.g: when server returns the page with error during Record submission).

Fix (provided by tech support):
Change one line in List.java (class getFormattedOptions() arround line 212):
FROM: if ( idValue.equals(fv) ) {...
TO: if ( toHtml(idValue).equals(fv) ) {...

Note:
Tech support said this bug will not be fixed in the CCS 3.x series, only sometimes in CCS 4.

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.