You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stefan Frank <s....@vierundsechzig.de> on 2001/06/15 09:45:50 UTC
IS there any way to check in a template whether a value has been set?!
I'm using
<template:put name='<%=description%>' content='<%=aBean.getDescription()
%>' direct='true'/>
inside an iterate to fill a template with values - inside the Template i
want to check wether the value is not null -> then show a link or show it,
when it is bull - I tried
<logic:present name="Description">
hey, I'm present
</logic:present>
but the putted values don't seem to be in scope - anyone tried something
like this before and came up with a better solution?!
Greetings
Stefan