on 10-03-2014 10:49 AM
Hi Personas experts,
In Tab control one can check the "Tab cach enabled" to add extra actions. As did for a Script Button, I add simple script, such as displaying a value in a text box, inside such an extra action of the Tab control.
But no matter I click the Tabs or reload the UI, the action did not happen. Can anyone explain:
1. Did I do the right way to add actions for Tab control? and why doesn't my implementation work?
2. How does Tab action work normally?
Thanks a lot!
Dong Zhu
Hi Dong,
Additional actions in tab caching window is for performing simple actions such as clicking on ok/cancel button in popups etc if any during tab caching to allow tab caching to proceed further (otherwise tab caching fails due to popup). Please note, the actions are triggered for every tab cached and hence can be expensive. So it is recommended to use this additional actions only when required.
For displaying value in text box, I would suggest you to use script button.
Thanks
Chinthan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately the Additional Actions options in tab caching are quite limited as Chinthan said and you cannot press a script button using them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to do the same. I could put a couple of steps in additional actions:
- Check if a particular field is empty
- If yes, then push a script button
- Script button has just one line, to default the same empty field to today's date
Unfortunately the script button is not being pushed. Although, I know tab caching is happening and that should call the additional actions.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.