Send parameters to JSON service from dialog.xml


hi all,

i have custom component in cq5.4.

 

when author adds component page , sets properties of component, 1 specific property, should choose "select" dropdownbox. options retrieved json service.

 

so far, works nicely following dialog.xml configuration:

                 <fieldname

                    jcr:primarytype="cq:widget"

                    fieldlabel="field name"

                    name="./fieldname"

                    options="/mvc.do/cms4i/wega/fields/text"

                    type="select"

                    xtype="selection"/>

 

now issue is, options should not fixed, should depend on property (name processid) of parent component.

so options url should like

options="/mvc.do/cms4i/wega/fields/text"+processid

where processid different every time.

 

is there way this?

 

an alternative if pass crx path of current component, because enable me reconstruct parent component, not see way achieve this.

 

thanks hints or ideas!

 

ben




More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support