cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to bind ArrayList object to table view

Former Member
0 Kudos

Hi,

I created a model by importing from webservice. The webservice has a method which return an object of type ArrayList.

Now my problem is that I can't bind this to my table in webdynpro iview as it is saying that it should be of built-in types.

So, is there any way to solve this problem. I can directly use EJB's here but my requirement is to use webservice only.

Appreciate your time and help.

Thanks & Regards,

Shiva Kumar.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Shiva,

Can you please tell me whether u have received any solution for the problem which u have specified, because i am facing the same problem.

Thanks and regards,

Sameer

Former Member
0 Kudos

Hi Shiva,

You should read the values from the ArrayList and put these values in the value nodes one by one. Then you can bind this value node to your table as a datasource.

Hope this helps.

Kind regards, Sandhya

Former Member
0 Kudos

Hi Bruno,

First of all thanks for the reply.

If I use generic List instead of ArrayList, how can I bind to table view.

Please enlight this and thanks for your time.

Thanks and Regards,

Shiva.

Former Member
0 Kudos

No idea if this is your problem, but shouldn't you use the generic List interface rather than a concrete implementing class like ArrayList?

Bruno