cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message set Focus

Former Member
0 Kudos

Hi,

we have a WebDynpro with tabstrips and on action save, I check the data and throw out messages with the message manager.

But if I click on a message of an element wich is not in the actual tapstrip the focus is not set.

Can I catch the event to set focus and switch the focus of the tabstrip manually?

Pls, let me know if any one knows.

Thanks

Marcus

Accepted Solutions (0)

Answers (3)

Answers (3)

rainer_liebisch
Contributor
0 Kudos

Hello Marcus,

no, navigation via the message area is not possible, the focus is only set in the actual view.

Regards,

Rainer

Former Member
0 Kudos

Hi Rainer,

yes I know, that's why I would catch the event and switch the tabstrip focus manually.

But therefore I would know if it is possible the get this event.

Regards

Marcus

rainer_liebisch
Contributor
0 Kudos

Hello Marcus,

this is also not possible. There is no way to catch events of the message area.

The only workaround is to force the user to save the entries of the actual tab before changing the tab.

Regards,

Rainer

Former Member
0 Kudos

Hi Koen,

i use this functionality but if I have more than one tabstrip the focus on the element is set but the tabstrip has not the focus.

Greetings

Marcus

Former Member
0 Kudos

hi,

you can use the message_manager->REPORT_ATTRIBUTE_ERROR_MESSAGE

this way you can give a context attribute to the fm and this will make the inputfield

turn red and the message clickable

watch this for more explanation

grtz,

Koen