I know this thread is a little old but maybe someone will find this useful. The variable in this case, listEditEnabled, has to do with enabling editing of an ajaxified list of items.
<c:set var="listEditEnabled"> <sitemesh-decorator:getProperty property="meta.listEditEnabled" /> </c:set> <c:if test="${empty listEditEnabled}"> <c:set var="listEditEnabled" value="true"/> </c:if> I added a metatag to pages that I don't want listEditEnabled with a content value of false, otherwise the value is true. Randy Burgess > From: Christian Priebe <christ...@prie.be> > Reply-To: Struts Users Mailing List <user@struts.apache.org> > Date: Sat, 10 Jan 2009 20:30:32 +0100 > To: Struts Users Mailing List <user@struts.apache.org> > Subject: Re: [S2] Avoiding nested tags / Using Sitemesh properties within > Struts 2 tags > > Thanks Dave für your answer! > > That's what I thought of first :) But I haven't found a solution yet. > > Unfortunately there apparently isn't an accepted notation like <s:set > name="dynInc" scope="request"><decorator:getProperty > property="paramName" /></set>. > The value can only be set by the value-attribute, right? > > I hope there is another possibility. I didn't thought I'm the only one > with such a need. > > Thanks, > Christian > > > Dave Newton schrieb: >> Christian Priebe wrote: >>> <s:include value="<decorator:getProperty property="paramName" />" /> >>> >>> won't work. Now my question: >>> What alternative do I have to achieve what I want (if there is a >>> possibility at all)? >> >> Is there a way to put the decorator properties into a JEE scope? If >> so, you can just use OGNL. >> >> Dave >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org