RE: Associative array variable in JSP tag file

2004-05-27 Thread Derek Mahar
Very clever! Thank you! Derek -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: May 27, 2004 3:26 PM To: Tag Libraries Users List Subject: Re: Associative array variable in JSP tag file I haven't had time to play with tag files much, but here's a qui

Re: Associative array variable in JSP tag file

2004-05-27 Thread Kris Schneider
I haven't had time to play with tag files much, but here's a quick example that may help: map.jsp: <%@ page contentType="text/plain" %> <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> selected.client before: '${selected.client}' selected.client during: '${selected.client}' selected.

Associative array variable in JSP tag file

2004-05-27 Thread Derek Mahar
How does one create an associative array variable in a JSP tag file using the EL? I had no luck with the following attempt: <%@ variable name-given="selected" variable-class="java.util.Map"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>