Re: s:textarea Apache Struts 7.2.0
Greg Huber <[email protected]> Mon, 15 Jun 2026 11:32:01 +0100
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <[email protected]> |
--------------e700KVPWNWiMDtkQDCP9ouu8
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
> That's why I fixed this [1] and I'm going to prepare a new test build
OK, thanks.
..I extensively check for a null or use StringUtils.isNotEmpty for no
data, having anything else would be not be good.
if (org.apache.commons.lang3.StringUtils.isNotEmpty(mybean.getData()) &&
Stream
.of("xyz", "abc").anyMatch(mybean.getData()
.substring(0, 3)::equalsIgnoreCase)) {
.....
}
On 15/06/2026 11:24, Lukasz Lenart wrote:
> pon., 15 cze 2026 o 12:14 Greg Huber<[email protected]> napisał(a):
>> It does not give any hint on what to do? In by bean initialise all
>> fields field to "" ? ....And the point of this is?
>>
>> Also its adding \r\n it to non null textareas?
>>
>> It needs to be the same for both dev true/false, otherwise testing is
>> too much of a pain.
> That's why I fixed this [1] and I'm going to prepare a new test build
> 7.2.1, stay tuned :)
> [1]https://github.com/apache/struts/pull/1743
>
>
> Cheers
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:[email protected]
> For additional commands, e-mail:[email protected]
>
--------------e700KVPWNWiMDtkQDCP9ouu8--