pon., 24 mar 2025 o 20:04 Ute Kaiser <ut...@web.de.invalid> napisał(a): > Thx Lukasz and Nate. > > I created MypropertyTag.java extending PropertyTag.java with my own method > setEscapeHtml but it was not called when the attribute escateHTML was not set > in jsp. > So I decided to go with Nate and to add the attribute in jsp. > Yet, MypropertyTag helped me with another problem: to call locale-specific > getter-methods of my bean. > (This was done in my legacy Struts1 application by extending > org.apache.struts.taglib.bean.WriteTag; I had to replace that.)
If that works for you it's great - you can always register a ticket to extend the functionality of <s:property/> tag or propose a PR. Regards Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org