on 06-13-2006 3:29 PM
Hello,
i have a view with a TabStrip. I validate the input and report it with
msgMgr.reportInvalidContextAttributeException(...)
The navigation of the shown error messages does not behave as i expect.
The validation error messages can only navigate to the wrong input fields, if the corresponding tab is selected.
Is it possible to select the right tab, if the user clicks on a navigation link of an attribute error message?
Thanks and best regards,
Matthias
Hi Matthias,
I think the only option is to do such tab switch manualy:
1) create selectedTab context attribute
2) bind it to selectedTab TabStrip UI`s element.
3) in place where you have <i>msgMgr.reportInvalidContextAttributeException(...)</i> change selectedTab context attribute to appropriate value depending on where invalid UI element is plced.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Maksim,
Thanks for your answer. The place i use <i>msgMgr.reportInvalidContextAttributeException(...)</i> can report errors of more then one tab. In this case i can't decide wich tab i have to select. My idea is to place the tab name in the error message, but that is not my first choice.
Best regards, Matthias
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.