[Opensource] minor bugfix in ErrorTag

Michael Rimov rimovm at centercomp.com
Thu Oct 10 17:28:53 PDT 2002


At 06:05 PM 8/23/2002 +0200, you wrote:
>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.

Raul,

Fixed in CVS.  I did an addition to your code where <p>error.footer </p> is 
only printd if error.footer is not null or length > 0.  That way you don't 
end up with an <p></p> where the footer would normally go if the user 
doesn't want it.

Thanks for the report!
                                                 -Mike





More information about the Opensource mailing list