~Alexis OpresamanJun 28, 2012, 5:29 AM129 PostsRe: How to add passthru HTML in xp:linkRemove the text attribute from the link, and put the "link label" inside the xp:link node. For instance using an xp:text.
~Karl KiresalitnivuJun 28, 2012, 5:07 PM13 PostsRe: How to add passthru HTML in xp:linkAwesome, thanks! That worked like a charm. Here's the new code: *** <xp:link styleClass="lotusFilter"escape="true" id="lnkPortUnitFilter"><xp:text><xp:this.value><![CDATA[#{javascript:if(viewScope.filters_UnitFilter != "" && viewScope.filters_UnitFilter != null && viewScope.filters_UnitFilter != "All"){return viewScope.filters_UnitFilter;}}]]></xp:this.value></xp:text><xp:span styleClass="lotusClose">x</xp:span><xp:eventHandler event="onclick"submit="true" refreshMode="partial" refreshId="portUnitsDiv"><xp:this.action><![CDATA[#{javascript:viewScope.filters_UnitFilter = "";loadPortfolioData("", "", true);}]]></xp:this.action></xp:eventHandler></xp:link>