struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khalid K." <gro...@maikada.com>
Subject <logic> tag and <%= %> HELP!
Date Fri, 24 Jan 2003 21:21:18 GMT
Regardless of the value of <logic:present> tag, the expression <%=details.getValue()%>
 gets evaluated.

Does <%= %>  take precedence over <logic:present> or any custom tag ??????

example:

<logic:present name="details" scope="request">
    <%=details.getValue() %>
</logic:present>

the scriplet between the tag get executed regardless of outcome of the logic tag. So, if details
is NOT in request, form, I get an error:
"details does not exist..."  etc...

Any help would be appreciated! 

Khalid


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message