struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Frank" <s.fr...@vierundsechzig.de>
Subject IS there any way to check in a template whether a value has been set?!
Date Fri, 15 Jun 2001 07:45:50 GMT
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



Mime
View raw message