tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: test expression within test using jsp:expression <c:when test="<j sp:expression>request.isUserInRole
Date Fri, 17 Oct 2003 17:56:21 GMT
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
...
<c_rt:when test='<%= request.isUserInRole("roleName") %>'>
  ...
</c_rt:when>

Quoting "Balakrishnan, Vijay" <VBalakrishnan@newedgenetworks.com>:

> Hi,
> 
> I want to test request.IsUserInRole within the test. How do i do that ?
> Right now,it says that test must not contain the < character.
> 
> Thanks,
> Vijay
> 
> <c:when test="<jsp:expression>request.isUserInRole("ServiceRequest
> setPon")</jsp:expression>">    				<div><input
> type="text" maxlength="20" name="serviceRequest.pon" value="<c:out
> value='${serviceRequest.pon}' />"></div>
>   					<div><input type="text"
> maxlength="20" name="serviceRequest.pon" value="<c:out
> value='${serviceRequest.pon}' />"></div>
>   				</c:when>

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

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


Mime
View raw message