If you've used the ERDControllerButton you may have noticed your branch choices tend to cascade down into your embedded page configurations.  You can block this by using a rule like:

100: pageConfiguration = 'ListEmbeddedMovie' => branchChoices = ()

If you have lots of nested configurations in a page, that can be a bit of a nuisance.  However, there is another way.  You can prevent a branch choice from showing up unless it is explicitly named in the rules by beginning the method name with an underscore like:

public WOComponent _save(WOComponent sender) { ... 

Now, in order to see the _save action's button, you need to name it explicitly in a rule like:

100: pageConfiguration = 'EditRole' => branchChoices = ("_save")

1 Comment

  1. Nice! Thanks for sharing.