on 02-07-2005 11:05 AM
Hi
I want to check that some input fields are valid and force users do not change Tab in TabStrip (until enter valid values for required fields) but I do not know is it possible this in Webdynpro? Does anybody know which is this event and may I use it in my WD Application?
In TabStrip there is action for OnSelect event but this is event when user enters in Tab. I need event when user exits the tab.
Hi Rosen,
Try the following:
1. Bind selectedTab property to context attribute.
2. Save currentTab in some variable
3. Now in onSelect action handler you have access to previously selected tab and the new tab (context attribute will reflect selection). If some validation fails you can re-assign SelectedTabAttr to previous value effectively preventing switching tabs.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.