I have a collection that I showing on my jsp page. Im using a html:select tag and I also default the first value to "Please select a filter". I want this selection to be totally hidden if there are none. I was trying to use the html tag notEmpty but still shows the selection. I know the consoleFilters selection has no entries. ConsoleFilters has one attribute, filterName.
Current code that is not working....
<logic:notEmpty name="CONSOLEFILTERS" property= "filterName">
<html:select property="filterNameSelected" style="width: 200px;">
<html:option value="ALL">Please Select a Filter</html:option>
<html:options collection="CONSOLEFILTERS" property="filterName" labelProperty="filterName"/>