DNewfield wrote:
> 
> Felipe A. Lorenz wrote:
>> Im not sure that you can use it (instanceof).
> 
> The problem might not be with instanceof but rather StringElement.  Did 
> you try a fully qualified classname?
> 
> 

Sorry about the delay in replying, but it's a 6 day Easter break in my
locale. Anyway, using the fully qualified class name solves the issue;

<s:if test="%{#element instanceof com.myapp.mypackage.StringElement}">

Regards
-- 
View this message in context: 
http://old.nabble.com/s%3Aif-tag-syntax-help-needed-tp28093648p28165320.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to