I'd really like to see a way to iterate through a LargeSelect instance's
previously set search parameters. Here's my suggested implementation, but
anything would do:

public Map getSearchParams() {
    if (params == null) {
        // We do this to be consistent with the getSearchParam() method
which will return "" in the
        // event of a missing params collection
        return java.util.Collections.EMPTY_MAP;
    }
    else {
        // Optional. Solely to prevent outside modification of the Map. Not
sure that this is important
        return java.util.Collections.unmodifiableMap(params);
    }
}

Opinions welcome -- implementation desired :)

Justin Campbell
Project Technical Lead
Profile Systems, Inc.


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

Reply via email to