Hi, Hmm, they should be in several lines. Could you post me the rendered html code too? In the XmlErrorsTag the errors are rendered as <ul><li></li></ul> sequence. Is this on your page too?
Thanks Henner > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Nicolas Parise > Sent: Wednesday, November 02, 2005 3:10 PM > To: jdbforms-interest@lists.sourceforge.net > Subject: [dbforms] Accumulating error messages > > Hi, > > I would like to display many error messages in the same page. > I tried the example from the PDF userguide(dbforms 2.5) that > looks like this > > Interceptor > *********** > > public int preUpdate(DbEventInterceptorData > parDbEventInterceptorData) throws > ValidationException,MultipleValidationException { > Vector errors = new Vector(); > errors.add(new SQLException("fr-001:" + param)); > errors.add(new SQLException("fr-001:" + param)); > throw new MultipleValidationException(errors); > > } > > JSP > *** > > <db:xmlErrors caption="Errors"/> > > Inside my dbforms-errors.xml > > <dbforms-errors> > <error id="001" type="WARN"> > <message language="en">% is invalid</message> > <message language="fr">% est invalide</message> > </error> > </dbforms-errors> > > > > When the errors are displayed this looks like this : > > Errors: > > java.sql.SQLException: fr-001:QTLO java.sql.SQLException: > fr-001:QTLO (all errors on the same line) > > > I expected to see 1 error per line , Am I missing something? > > > > > > > Nicolas Parisé > Analyste-programmeur, Informatique > SCJP 1.4, SCWCD > TELUS Québec > (418) 722-2057 > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App > Server. Download it for free - -and be entered to win a 42" > plasma tv or your very own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms