I want to add an option named "Any Value" into a select, apart from the values already contained in an object. I don't know how to do so...I tried to get the object from the request but it doesn't exist on it,just the "attributeList" object.
this is the select:
<nested:select property="../value" styleId="attributesSelectBoxId" title="Select an option to search attribute" accesskey="D"> <nested ptions property="../possibleValuesAsStringArray"/> </nested:select>
This is the piece of the jsp where the select is displayed.
I do not use the nested tags, so I don't know exactly how they differ from the html tags. The two solutions that I have used for similar behavior are 1) when I populate the list on the form I add an extra entry to the front of the list or 2) in the jsp file just add a htmlption tag before the htmlptionsCollection tag.