Re: s:textarea Apache Struts 7.2.0

Greg Huber <[email protected]> Mon, 15 Jun 2026 09:51:47 +0100
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <[email protected]>
--------------ZSAQl7AfHDUpkKCZh1acJxv5
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I have not modified the textarea freemarker .ftl templates?

My devMode=true.

It is also adding the blanks to ALL my crud edit textarea fields 
also.  Its showing up as [13, 10] bytes.

On my add screens I am getting 
java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2 
errors on my add screens


  #####
The comment on https://issues.apache.org/jira/browse/WW-5256  says 
"Postponing as this can break user code or UI tests"

On 15/06/2026 09:38, Lukasz Lenart wrote:
> pon., 15 cze 2026 o 09:55 Greg Huber<[email protected]> napisał(a):
>> On my crud entry add pages,  the s:textarea tags now has some white
>> space, where it should be blank.  It shows up as two blank lines on the
>> screen.
>>
>>   From the page source:
>>
>> <textarea name="bean.data" id="my_bean_data"></textarea>
>>
>> The bean.data field has a null as default.
>>
>> Also, when I check the html source its also very from v6, there is alot
>> more white space?
> This is related to [1] and you are running devMode=true (I assume), I
> introduced coupling between "struts.freemarker.whitespaceStripping"
> and devMode - fixing that make sense
>
> [1]https://issues.apache.org/jira/browse/WW-5256
>
>
> Cheers
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:[email protected]
> For additional commands, e-mail:[email protected]
>
--------------ZSAQl7AfHDUpkKCZh1acJxv5--