Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

View Elements in Method Before Action

Former Member
0 Likes
244

Hi all,

because of a generic validation rule I need to know in Method BeforeAction of a webdynpro view, which elements of a context node are bound to the view.

As an example:

The view has two data container (nodes) - these two nodes should be checked against each other (e.g. a global data and specific data referring the global ones).

On the current view, only specifc data is displayed. So if the validation fails for global data the error message should be suppressed or changed in text.

Therefore I try to get a list of elements on the current view or something similar.

I tried to do something with the view controller but no success. As well with proxy casting, but there the methods are protected.

I know it might be a quite strange demand, but it would be nice, if you can help me with some hints.

Best regards,

Timo

1 REPLY 1
Read only

Former Member
0 Likes
222

I found a way - without context programming - to validate if a field is active on view.