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