활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi,
I'm having trouble setting number values in my dialog.xml files. For example I want to specify the width of a dialog and textfield, but it does not actually work for me. Is there a trick to it?
<playSpeed jcr:primaryType="cq:Widget" fieldDescription="Slideshow speed in milliseconds." fieldLabel="Play Speed" defaultValue="3000" emptyText="3000" value="{Long}3000" name="./playSpeed" incrementValue="{Long}100" minValue="{Long}500" maxValue="{Long}20000" vtype="digits" width="{Long}150" xtype="spinner"> </playSpeed>
I saw/read somewhere that you should specify the type, but that doesn't work for me either. I got all the property names from the Widget API documentation so they should exist...
Any help or information is much appreciated!
Thanks,
Paul
해결되었습니다! 솔루션으로 이동.
Refer our oob examples at
/libs/foundation/components/chart/design_dialog/items/bar/items/spacing
/libs/foundation/components/chart/design_dialog/items/bar/items/width
/libs/foundation/components/chart/design_dialog/items/pie/items/angle
/libs/foundation/components/chart/design_dialog/items/line/items/width
조회 수
답글
좋아요 수
Refer our oob examples at
/libs/foundation/components/chart/design_dialog/items/bar/items/spacing
/libs/foundation/components/chart/design_dialog/items/bar/items/width
/libs/foundation/components/chart/design_dialog/items/pie/items/angle
/libs/foundation/components/chart/design_dialog/items/line/items/width
조회 수
답글
좋아요 수
Did you reference an online source or document to build this (other than the reference docs) -- if so -- can you point us to it.
조회 수
답글
좋아요 수
No, nothing special. I just looked at the 'Spinner' type here: http://dev.day.com/docs/en/cq/current/widgets-api/index.html and looked at the allowed properties. And just to confirm, the dialog itself works just fine, it's just those number values that don't seem to work.