Hello all,
I have a WebDynpro application that contains a number of views. Mostly these views group logicalaly relevant input fields together. Another view contains the submit button. From this submit button view I check mandatory fields in the other views (using the context of a custom controller).
My question is this; How can I, from the submit button view, request focus to a UI element of one of the other views, to a mandatory field that has not been filled?
My fix was to create a plug, out of the submit button view into a view with mandatory fields. This plug is fired from the submit button view only if the mandatory field has not been filled in. This brings me into the view with the incomplete mandatory field and from there I request the focus.
I feel though that there is probably a better way of doing this, that perhaps I can request focus to the UI element from the submit button view itself. Is this possible?
Thanks for your time,
Patrick.