cancel
Showing results for 
Search instead for 
Did you mean: 

Get all inputfields

bernd_speckmann
Contributor
0 Kudos

Hi there,

I am searching for a method to retrieve all inputfields of my view (IWDInputField). How can i achieve this?

When I try


IWDViewElement[] uiElementList = ((IWDTransparentContainer)v.getElement("RootElement")).getChildren();

not all inputfields are in my list. Especially the ones in a table.

Thanks ahead,

Bernd

Accepted Solutions (0)

Answers (3)

Answers (3)

bernd_speckmann
Contributor
0 Kudos

That's right.

The validation for "normal" input fields is working fine. But when the inputfield is defined within a table it doesn't.

So I tried to determine all input fields in my view, but I cannot find the fields within the table.

junwu
Active Contributor
0 Kudos

why you want this?

bernd_speckmann
Contributor
0 Kudos

Hi,

I want to get all elements because I want to validate them. See here: http://scn.sap.com/thread/3487452

But I cannot get the inputfields within the table.

Regards, Bernd

junwu
Active Contributor
0 Kudos

that's pretty much wrong way.....

when you create an action, you have option to ask system to perform the validation(if my memory is right)

Former Member
0 Kudos