[Opensource] minor bugfix in ErrorTag

Raul DAVIDOVICH R.DAVIDOVICH at caconcology.com
Fri Aug 23 09:05:15 PDT 2002


Hello,

      I found that <expresso:ErrorTag> has a tiny bug. What happens is that
after the last item of the list, it displays the error.footer message right
nex to it, instead of doing it after it:

error.header
  * Error 1
  * Error 2
  * Error3 error.footer

It's something we can live with, but it's a bit annoying.

Here is the fix

com.jcorporate.expresso.ext.taglib.ErrorTag.java

. . .
94. fsb.append("  <p>"); //add this
95. fsb.append(myResponse.getString("errors.footer"));  //this already
exists
96. fsb.append("</p>\n"); //and this
. . .


Best regards

---------------------------------------------------
Raul Davidovich
Responsable Informatique
Cvitkovic & Associés Consultants

(33) 1 45 15 40 68
(33) 1 45 15 40 41 Fax
-------------------------------------------------------
http://www.caconcology.com





More information about the Opensource mailing list