I have this problem too, in a patch from a previous version I've add a conversion function:If I have a field in database with something like :
text1 " text2
and use a textField (or any other field) the value show in
the field becomes incomplete(only 'text1') , because the browser recognize " as end of value attribute.
This is a real problem...
public String text2attribute(String t)
{
if( t == null ) return ""; int i;
StringBuffer v = new StringBuffer("");
for( i=0; i<t.length(); i++ ){
switch( t.charAt(i) ){
case '"': v.append("""); break;
case '&': v.append("&"); break;
default: v.append( t.charAt(i) );
}
}
return v.toString();
}and modified DbBaseHandlerTag to convert all values that will be written in input tag, now I'm wondering how this can be done in new version too?
cheers, sergio
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms
