Hi, I want to create a dynamic select box using JSTL core and xml tags.
// setting a variable called 'selector' <c:set var="selector"><%= strAction %></c:set> // displaying select box...all html tags are not represented...it's not my mistake ;-) <x:forEach select="$xmlMenu/modules/module" var="mod"> <x:if select="$mod/module-load-status = '${selector}'"> <option value="<x:out select="$mod/@id"/>"> <x:out select="$mod/@name"/></option> </x:when> </x:forEach> This problem is that I can't get a value for ${selector} in the line : <x:if select="$mod/module-load-status = '${selector}'"> Any ideas....I am getting a bit confused about the way to access variables from these tags! Xavier -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>