RE: Suppress whitespace generation?

2002-02-27 Thread Reynir Hübner
I guess you could write a filter that parses out all the linefeeds not wanted in the response. hope it helps -reynir -Original Message- From: Lomvardias, Christopher [mailto:[EMAIL PROTECTED]] Sent: 27. febrúar 2002 16:33 To: 'Tag Libraries Users List' Subject: RE: Suppress

RE: Suppress whitespace generation?

2002-02-27 Thread Shawn Bayern
Hi Chris, The question is somewhat general. For instance, depending on your needs, you can write a tag that trims its BodyContent (using String.trim()) and simply contain other tags within it. So that: foo:trim foo /foo:trim would produce equivalent output to

Re: Suppress whitespace generation?

2002-02-27 Thread Steve Morrison
I suggest the choose tag in the jstl (and probably other tags as well) should trim their content. Considering: c:choose c:when test=$param:foo == 'bar1'.../c:when c:when test=$param:foo == 'bar2'.../c:when c:when test=$param:foo == 'bar3'.../c:when c:otherwise.../c:otherwise /c:choose