I'm using the standard thtmlb:dropdownListBox tag within my BSP code. The problem that I have is that the value of the field (let's say it's 'XYZ') does not match any of the entries in the drop-list value table provided, because the data came from an external source and has been identified as incorrect and therefore is in the BSP code (component/view) in order to correct the value. So, this dropdownlisbox tag simply shows the first entry of the drop-down table because the value 'XYZ' is not in the list. This is not good as the customer no longer has visibility of the original value, even though it needs to be corrected.
Now I could simply insert the value passed in (assuming it's not in the list) as the first entry of the drop-down value table, or have the first entry in the dropdown value list defaulted as something like "Invalid entry,please re-choose". But, that would mean that when the user displays the drop down list the incorrect value 'XYZ' appears in the list to choose from, which would be wrong, or the value of 'XYZ' is replaced with the first entry in the dropdown valie list, being "Invalid entry,please re-choose", but again in this case the user can no longer see the original value.
Has anyone hit this dilemna and overcome it?.
Dr Sidewalk.

