You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by John MccLain <jm...@tcshealthcare.com> on 2004/06/02 00:38:20 UTC

isElIgnored not working???

We have a jstl page and we set the isElIgnored="false" in the page
directtive of the page.
we also have a tag file that we are using. When we run it, the tag file does
not evaluate my el expressions, but prints
them out verbatim. However, this does not happen with variables used in the
jstl page.
When I try to include the isElIgnored page directive in the tag file, it
errors out.
1) should I be able to include the isElIgnored page directive in my tag
file, if I have it in my jstl page??
2) If I should not, then how do I get the el evaluator to evaluate my el
expression in side the tag file??



JSTL FILE - PanelTemplate.jsp
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="tcs" uri="/WEB-INF/provider.tld" %>
<%@ taglib prefix="panel" tagdir="/WEB-INF/tags/paneltags" %>
<%@ page isELIgnored ="false" %>
.
.
.
<panel:makegrid />
.
.

TAG FILE - makegrid.tag in the WEB-INF/tags/paneltags directory
<%@ tag body-content="empty" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="tcs" uri="/WEB-INF/provider.tld" %>


<c:set var="testing" value="44" />

${testing}



John McClain
Senior Software Engineer
TCS Healthcare
jmcclain@tcshealthcare.com
(530)886-1700x235



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: isElIgnored not working???

Posted by Helios Alonso <ha...@atg.com.uy>.
Did you tried

<c:set var "testing" value="44" />
<c:out value="${testing}" />

instead of:



><c:set var="testing" value="44" />
>
>${testing}

?



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org