cancel
Showing results for 
Search instead for 
Did you mean: 

Exception error in filter table column

Former Member
0 Kudos

The error is: com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(TableCompBasketView.vnFilters.filtercolor): does not have a simple type
Exception id: [0012BF1423AB00650000191000001EAC0004283E002D164D]#

i have a component controller -master detail table,

i need to filter the master table with several column

i need to filter the "color " column

In the component controller , i created a node

vnFilter (cardinality 1..1)

- filtercolor (of type type com.sap.tc.webdynpro.tests.utils.TableFilter)

pls help

Product

-color (string)

originalProduct

-color (string)

vnFilter

-filtercolor (com.sap.tc.webdynpro.tests.utils.TableFilter)

Table column -color

filterValue -vnFilters.filtercolor

i refer the blogs

/people/kapil.kamble/blog/2006/12/21/how-to-get-ready-made-filter-for-your-web-dynpro-table-with-minimal-coding

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

In the node u have created

<b>vnFilter

-filtercolor (com.sap.tc.webdynpro.tests.utils.TableFilter)</b>

change the data type of the "filtercolor" to "String".

Create a seperate value attribute say "vaTableFilter" and give the data type as "com.sap.tc.webdynpro.tests.utils.TableFilter". Use this vaTableFilter to filter the value.

Then set the values as in the blog u have refered.

Regards,

Rathna.

Former Member
0 Kudos

To download the sample application...and pls send to my email ..check out where goes wrong

http://www.badongo.com/file/2128667

vnFilter is the node use for filtering ...why do i have to create vaTableFilter ??

filtercolor change to string...

it works ok...this eliminate the simple type error

yet i unable to filter anything.........

can you give your an email...i will forward my project to you...and you try to figure what goes wrong

tyrian2uk@yahoo.co.uk

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme

Answers (0)