Managing bindings based on active TabPane #5102
-
How can I manage bindings based on the TabPane that is currently active? I would like to see bindings like ("a", "add_project", "Add project") when switching to a TabPane with id "projects", and bindings like ("a", "add_task", "Add task") when switching to a TabPane with id "tasks". I managed to make it so that different bindings are displayed in the footer, but the actions do not execute. Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If your bindings display in the footer, but don't run, it likely means the action syntax is wrong. Where is |
Beta Was this translation helpful? Give feedback.
If your bindings display in the footer, but don't run, it likely means the action syntax is wrong. Where is
action_add_project
defined? If it is not in your TabPane class, you will need a namespace prefix. i.e.app.add_project
, if the action is defined on the app. Orscreen.add_project
if it is defined on the screen.