On Mon, 5 Apr 2004 11:37:14 +0200 "Henner Kollmann" <[EMAIL PROTECTED]> wrote:
HK> > HK> > If I have a field in database with something like : HK> > HK> > text1 " text2 HK> > HK> > and use a textField (or any other field) the value show in HK> > the field becomes incomplete(only 'text1') , because the HK> > browser recognize " as end of value attribute. HK> HK> This is a real problem... HK> HK> > HK> > Also I can't edit correctly fields with html codings, HK> > HK> > ç becomes ç in editfield in this case '&' must be HK> > encoded to & to make possible to edit text as ç HK> > HK> But you can enter ç into the editfield and this will be HK> stored as ç So that the overall result should be correct. HK> Let's think from the start. In current code if you write ç it will be written to database field as ç but when you go to edit this field the entry field will show 'ç' wich is visually the same, but not correctly because the real value in database is 'ç'. The escape make correctly the edit part of the system, but must be optional to the developer in the labels, where the developer can select to escape or not depending of the data. We can create an attribute in DbBaseHandlertag to control this selection, the default must be to escape this make transparent for applications the conversions, and only when the developer really know that the value in field is HTML he can show the data without escaping. -- Ivan F. Martinez ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms