Tools
Sign in
Login
Forum
How to create tab
Forum
>
Ask Anything
>
How to create tab
n/A
posted
on December 13, 2013
at 6:20 AM
n/A
posted
on December 13, 2013
at 6:20 AM
Hi Mauro,
How tab structure works in appway.I want to display two different sections under two tabs. How we can achieve it in appway? Please can you let me know the steps.Thanks
Emilie Boillat
replied
on December 13, 2013
at 8:58 AM
Emilie Boillat
replied
on December 13, 2013
at 8:58 AM
Hi Goutam,
Have you seen this document yet:
Screen Component: Tab Structure
?
Hope that helps,
Emilie
n/A
replied
on December 13, 2013
at 10:49 AM
n/A
replied
on December 13, 2013
at 10:49 AM
Hi Emilie,
Thanks for your reply. I have gone through the above doc. I have few doubts regarding tab variable. How do we set the value of
selectedTab
variable under tab box properties? There it is mentioned that it will be set whenever the user clicks a tab title but how that possible? Do we have to write any code? I can't switch between tabs due to this confusion.Can you please let me know. Thanks
n/A
replied
on December 16, 2013
at 9:34 AM
n/A
replied
on December 16, 2013
at 9:34 AM
Hi Goutam,
you need to define the selectedTab variable in your screen and set it a "tab variable" in the TabBox component. The selectedTab variable has to be of type String and it has to be defined in a scope which makes it possible to save a value into it, following rules similar to the ones you use when defining variables to bind a text field. This means that you have one of the following options:
Define the variable as Local in the screen with the tab box if it is not used as an included screen
Define the variable as Local in the screen with the tab box if it has the "remember variables" option flagged
Define the variable as Local in the latest subProcess level and Inherit it into the screen with the tab box
If you do as explained above the variable value will be set when you click on the different tabs, making the last "clicked" tab stay open.
n/A
replied
on December 16, 2013
at 10:56 AM
n/A
replied
on December 16, 2013
at 10:56 AM
Hi Mauro,
I am using appway 5.3.2 and don't see any "
tab variable
" property in TabBox component.Instead there is "
Selected Tab ID Expression
" property.
Then how do i set the selectedTab variable?
n/A
replied
on December 16, 2013
at 10:58 AM
n/A
replied
on December 16, 2013
at 10:58 AM
Selected Tab ID Expression is the former tab variable property. The screenshot in the documentation is not updated. You can set the Selected Tab ID Expression in 5.3.2.
n/A
replied
on December 16, 2013
at 11:28 AM
n/A
replied
on December 16, 2013
at 11:28 AM
Sorry Mauro, I have tried defining $selectedTab as Local variable and set the Selected Tab ID Expression and also I have defined $selectedTab as a String variable. Still it's not working!! :-(
n/A
replied
on December 16, 2013
at 11:32 AM
n/A
replied
on December 16, 2013
at 11:32 AM
Is your tab box component in an included screen?
n/A
replied
on December 16, 2013
at 12:02 PM
n/A
replied
on December 16, 2013
at 12:02 PM
I am using Tab box component inside a screen. It's not inside any included screen. I have set everything as said by you.When I run the screen, it's always first tab stay open.
n/A
replied
on December 16, 2013
at 12:03 PM
n/A
replied
on December 16, 2013
at 12:03 PM
Is the screen in a Process? Where do you run it from?
n/A
replied
on December 16, 2013
at 12:46 PM
n/A
replied
on December 16, 2013
at 12:46 PM
I have created one process and in the process have created one screen. Inside the screen i have used the TabBox control.When I run the process , screen shows up.
n/A
replied
on December 16, 2013
at 1:23 PM
n/A
replied
on December 16, 2013
at 1:23 PM
Can you open a support ticket on the issue? I've created a sample process right now on 5.3.2 as you described above and it is working fine. There might be something else in your specific screen that is preventing the variable from being updated.
n/A
replied
on December 16, 2013
at 1:34 PM
n/A
replied
on December 16, 2013
at 1:34 PM
Can you please let me know how did you define the $selectedTab variable? May be I am doing anything wrong.
n/A
replied
on December 16, 2013
at 1:35 PM
n/A
replied
on December 16, 2013
at 1:35 PM
I just defined it as Local String in the screen as shown below
n/A
replied
on December 16, 2013
at 2:07 PM
n/A
replied
on December 16, 2013
at 2:07 PM
Hi Mauro,
It is working for me now. I don't know why. But the content inside the tabs are not visible. I can switch between tabs but contents are not showing. Why is this happening?
Please
sign in
to add a reply
About this site
|
Terms of use
|
Privacy statement
|
Contact us
© 2025 Appway AG. All Rights Reserved.
How tab structure works in appway.I want to display two different sections under two tabs. How we can achieve it in appway? Please can you let me know the steps.Thanks