Dear Ivan, Thanks for reporting your impressions. > --- DBFORMS-CONFIG-XML > I encountered problems in dbforms-config.xml file, I had an > error in my file (a table declared two times with the same > name) and 1.1.4pr1 doesn't detect it, it seems that 1.1.4pr2 > detects this problem... > I think this is the problem of my previous post.... Yes, the new version uses the new xml libraries, so parsing is more strict.
> > > --- TEXTFIELDS AND NEW VALUES > I read the releaseNotes about 1.1.4pr2 but I haven't > understand how much is changed the textFields parsing & writing. > I had some problems with "null" values in textFields, in > labels, in dateFields. > > Where the previous version of dbforms prints "[No data]", in > this new version I had an error. > So I had to use the attribute "nullFieldValue" to put a text > for the user. > > I don't know if there is a way to automatically put a comment > like in the previous versione like "[No data]". > > ISSUE: I have noticed that in dateField there isn't a "nullFieldValue" > attribute, I use dates with null values in my database to > represent "actual active value" in historycal information.... > now I have to use a textField insted dateField to manage this case. Sounds that the chapter nullFields are quite difficult. First, you do not need to use dateField any more - textField do the parsing for you and it's equal if you you have date, numeric or text data. I think dateField was introduced to overcome the problem with date fields... Any idea how to handle nullField values better as now? In the moment there is used: 1. the value of nullFieldValue if it exists. 2. if this value do not exist the resource string "dbforms.nodata" is searched and the result is used as nullFieldValue. If you put in an in your resources nothing is shown. > > I discovered this after setting up a difficult debugging > method in Linux with sysdeo (it runs only ONCE!!!)... > anyone is debugging correctly under linux with eclipse??? I use exclipse with windows ... > > When using navNewButton to insert new rows I had problems > with null values; this values are calculated by postgres with > triggers when the form passes a "null" value... > with the attrib "nullFieldValue" now postgres receives > another value and it isn't running well. > So I have to delete this db:labels and change them with > out.println(....). > > The "nullFieldValue" isn't a required attribute but if I skip > it the JSP gives me a "Error:null" message when handling pageContext. Could you send a debug log? > > > --- INTERNATIONALIZATION > The new way of printing number & date values with the current > locale is good and useful. > But in some cases I have to use a FIXED form indipendent from > the locale settings.... so now I use a "pattern" attribute. OK. > > I don't know if there is a way to automatically set a default > pattern instead of changing all "numeric" & "date" fields > adding this new attribute. No, not really implemented yet. I thought about something like this, but it's not implemented yet..... Would you like to do the work? > > ---- > Now I'm porting about 100 forms form 1.1.4pr1 to 1.1.4pr2, if > you're interested I will post my impressions during this work... Yes im am interested!! Regards, Henner ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
