Have you tried this: <ww:if test="%{!searchResult.empty || !#searchResult.empty}">
2013/7/9 Fabian Richter <frich...@mtg.de>: > Hey, > > quick question (I know WW is EOL maybe someone will help me nonetheless): > > Why does > > <ww:if test="!searchResult.empty || !#searchResult.empty"> > > not work as expected? > > Depending on the call, searchResult is either from the action or set by > ww:set but the if only evaluates the one from the action -> searchResult and > if its empty does not proceed to check #searchResult which isnt empty. > > What am I missing? > > Thank you and best > Fabian > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org