widget - How to hide some paths while browsing using the XType browsefield? -
In my component dialog, I enable At the same time, I want to make some pages invisible. Suppose I have the following structure: How do I browsefield
& lt; Page jcr: primary type = "cq: widget" field label = "page" name = "./ path" xtype = "browsefield" />
page / page 1 / page 1_1 / page 1_2 /
page / page 1 / Page 1_2
is invisible, so that they can browse through the page tree, anyone can choose it?
Browsefield is a excluded xxtype; this feature has the option of this replacement is. Pathfind has a property named predicate which can be used for filtering. You can create and register a custom mistake that makes a false return for the paths that appear in the dialog. Name of the custom word can then be given to the pathfile configuration.
You can find a detailed tutorial on this:
For more information about the forecast, the following links may be referenced:
Comments
Post a Comment