cancel
Showing results for 
Search instead for 
Did you mean: 

Constructing EVS with WDValueServices.createBoundValueSet

Former Member
0 Kudos

According to ,

we have a better way to simplify the creation of EVS. However, checking with the API document, there is another overloaded method with an additional input parameter

IWDBoundValueSet.IWDFilterListener selection

This parameter looks like for filtering of EVS/SVS. Can I have more information on this parameter:

1. what is it purpose?

2. how to use it?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

You can create EVS if you have a simple type (key - value pairs) which are bound to a input field.

Filtering is available per se in EVS.

It does not get simpler than this :).

Can you tell us what exactly you want from EVS ?

Regards

Bharathwaj

Former Member
0 Kudos

Hello,

What I want to do is to customerize the filtering facility provided by EVS. The filter of EVS is prefix matching. However, I want to filter by anywhere matching, which is similar to <b>String.indexOf(String str) != -1</b> in Java.

Is it possible to have my custom filtering class/code to make it happen, during EVS creation?

There is an API of <b>WDValueServices</b>:

public static IWDBoundValueSet createBoundValueSet(
        IWDAttributeInfo attrInfoSelectedKey,
        IWDNode dataSource,
        IWDAttributeInfo attrInfoKey,
        IWDAttributeInfo attrInfoValue,
        IWDBoundValueSet.IWDFilterListener selection)

It seems be able to have custom filtering, with last parameter.

How can the last parameter be used to have the custom filtering on EVS?

Thanks,

Tony Kwan

Former Member
0 Kudos

Hi,

I've got exactly the same request. Is there a solution for a custom filter function on evs?

Regards,

Kalle.