xtype

How to display a tooltip with the value of a slider field in a Classic UI AEM dialog?

守給你的承諾、 提交于 2019-12-25 04:03:29
问题 I use Slider xtype in dialog.xml Is it possible to automatically display the value of this slider? for example - like a tooltip when the value changes <slider jcr:primaryType="cq:Widget" fieldLabel="Tile Background Transparency" name="./slider" width="{Long}200" value="42" increment="1" minValue="0" maxValue="100" xtype="slider"/> 回答1: You can use the sliderfield xtype which provides this functionality. The useTips property allows to enforce the desired behaviour. <slider jcr:primaryType="cq

How to hide some paths while browsing using the XType browsefield?

烈酒焚心 提交于 2019-12-01 10:41:55
In my component dialog, I use browsefield XType to enable the user to browse through the page tree and select a page: <page jcr:primaryType="cq:Widget" fieldLabel="Page" name="./path" xtype="browsefield" /> At the same time, I would like to make some pages are invisible. Suppose I have the following structure: pages/ page1/ page1_1/ page1_2/ How do I make pages/page1/page1_2 invisible, so that nobody can select it when he browses through the page tree? browsefield is a deprecated xtype, it's replacement the pathfield has this feature. Pathfield has a property called predicate which can be used

How to hide some paths while browsing using the XType browsefield?

江枫思渺然 提交于 2019-12-01 09:43:45
问题 In my component dialog, I use browsefield XType to enable the user to browse through the page tree and select a page: <page jcr:primaryType="cq:Widget" fieldLabel="Page" name="./path" xtype="browsefield" /> At the same time, I would like to make some pages are invisible. Suppose I have the following structure: pages/ page1/ page1_1/ page1_2/ How do I make pages/page1/page1_2 invisible, so that nobody can select it when he browses through the page tree? 回答1: browsefield is a deprecated xtype,