kursy003 wrote:
iam getting problem with <s:select> tag in struts2. I am populating a list of
values into the drop down box from the database something like search.

        
                <struts:select label="searchCategories"
list="#{'searchCategories':#{searchCategory1}}" >
                        </struts:select>

In select box iam getting output as {null=null}.Please help me

You have a corrupted OGNL expression ("#{...#{...}}"). Try this instead:

    <s:select label="searchCategories"
        list="#{'searchCategories': searchCategory1}">
    </struts:select>

However, that's giving you a single name/value pair, which may not be what you want. Hopefully it'll get you to the next step though.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to