Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Technology & Integration
›
Tabs_ClientSide_SetNextActiveTab doesn't work on OS 5.0?
Tabs_ClientSide_SetNextActiveTab doesn't work on OS 5.0?
Pedro Domingues
Rank: #173
Posted on 2010-10-21
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi there mates.
I've recently upgraded my solution from version 4.2 to version 5.0. Among a several issues that i've already solved, there's one that still persist not to work.
I'm refering to Tabs_ClientSide_SetNextActiveTab that belongs to RichWidgets. I'm using it in a Edit Record that has several tabs. Everytime a record is edited, it is mandatory to fill a specific field that is located in the first tab. Actually if the user is in another tab (second or third tab) and press the SAVE button, in version 4.2 it automatically forward to first tab and show the error in the specific field (Input_FocusFirstInvalid, that works fine) but in version 5.0 it does nothing!! It is supposed to forward the user to the first tab in order to fill the mandatory field!
If the user itself go to the first tab after pressing the SAVE button, the message generated by Input_FocusFirstInvalid is there, so, the richwidget Tabs_ClientSide_SetNextActiveTab is not working.
Can anyone help?
Thanks a lot.
Cheers,
Pedro Domingues
Paulo Tavares
Rank: #5
Posted on 2010-10-21
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro,
Indeed there have been some changes between the 4.2 and 5.0 version of RichWidgets. However, it is hard for us to determine what is broken in your case, and how to fix it.
I will suggest looking into our
HOWTO Create Client-side Tabs
, done by Daniel Lourenço, and seeing if it helps.
Also, if you are going to debug CSS and javascript code, I strongly encourage you to use the Firebug extension, from Firefox, and trying to debug it step by step.
Regards,
Paulo Tavares
Pedro Domingues
Rank: #173
Posted on 2010-10-21
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Paulo,
Thanks for answering. I've checked the tutorial made by Daniel and it doesn't say anything about my problem.
I haven't changed anything from version 4.2 to 5.0 and now it doesn't work..
It's a little bit weird.. =\
Regards,
Pedro Domingues
Rodrigo Castelo
Rank: #3
Posted on 2010-10-26
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro,
To explicitly focus a tab you must add the Tabs_ClientSide_SetNextActiveTab Action to the Preparation or the Screen Action.
The Input_FocusFirstInvalid Action will not make the tab with the invalid form visible. You must also explicity add the Tabs_ClientSide_SetNextActiveTab to the Action.
Hope this helps,
Rodrigo Castelo
Pedro Domingues
Rank: #173
Posted on 2010-11-02
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Rodrigo.
It is done exactly how you've described. It doesn't work at all!
Regards,
Pedro Domingues
Allan Cassiano
Rank: #696
Posted on 3 May
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
I not found the Tabs_ClientSide_SetNextActiveTab, where is that? It is an Action? Needs a specific reference?
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Ricardo Silva
Charles Colaço
Gerry
André Vieira
Arnold Grippeling
João Rosado
JD
Robert Chanphakeo
Mizé Williams
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More