On 11/24/2017 3:31 PM, heberr...@gmail.com wrote:
> <s:if test='%{! #row.type.equals("head")}'>
> 
> How to make this true when #row.type is null.

I tested below instead, and works:

<s:if test='%{! "head".equals(#row.type)}'>

However, you pointed an important note out. It caused that I think maybe 
it was better to throw an NPE in such cases.

Thanks for your report,
Yasser.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to