Send Us Your Feedback

AXURE 301 - Article 1: Affecting Widgets in Masters

Overview

    1. Reuse of Masters
    2. Dynamic Panels
    3. Setting Widget Values
    4. Conditions



1. Reuse of Masters

One of the main benefits of using masters is that you can maintain sections of the design centrally and reuse them as needed. When a change is made, it only needs to be made in one place.

However, some masters may need to be slightly different from page to page. For example, a navigation element created as a master may need a different element highlighted on each page. Or the title in a header master, may need to have different title text on each page.

These cases can be addressed by creating additional masters for each one or by making specific edits on each page, but some features are available that allow you to still maintain them in a single master.


2. Dynamic Panels

Dynamic Panels used within a master can be affected from the page that contains the master.

For example, from the OnPageLoad event of a page, you can hide a dynamic panel within a master on the page. When you are selecting the panel to hide, you will see the label of the master instance (if it has been labeled or name of the master if it has not) with each dynamic panel in the master listed beneath it.


If there is a section in a master that is shown on some pages, but not on others, you can still maintain a single master. This also works for setting states of dynamic panels in masters.


3. Setting Widget Values

Widgets, such as text panels, can also be affected from the page that contains the master.

For example, from the OnPageLoad event of a page, you can set the text in a text panel within a master on the page. When you are selecting the widget to set text on, you will see the label of the master instance (if it has been labeled or name of the master if it has not) with each text panel in the master listed beneath it.


If there is a text panel in a master that has different text on different pages, you can still maintain a single master.


4. Conditions

Similarly, widgets contained in a master can be used to build conditions in pages that contain the master.