Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

How to Using dojo publish a topic from a CategoryNode property to another property to subscribe

$
0
0

Hi,

I have two properties, where child widget depends on value selected in parent widget.

For example “CategoryNode" could publish topic with selected node whenever selected node changed. The “TechspecsAttributes" should subscribe to this topic and refresh the available options list when receives the event

My properties

Publish change

[UIHint(EPiServer.Commerce.UIHint.CatalogContent)]

pvirtual ContentReference CategoryNode { get; set; }

Subcrible

[CultureSpecific] [ClientEditor(SelectionFactoryType = typeof(TechspecsSelectionFactory))] [UIHint(GlobalValues.UIHints.IListDefault)]

public virtual IList<string> TechspecsAttributes { get; set; }

Can anyone give me a solution?

Thanks,

Thao Pham


Viewing all articles
Browse latest Browse all 6894

Trending Articles