Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: How to recieve the value in subscribe event??

$
0
0

Hi Dennis

i have a list and i have to display list data on the another page through navigation so for that i use publish event in press function.....

 

press : function(evt) {bus.publish("nav", "to", {

                        id : "page2",

                        data : {

                            context : evt.getSource().getBindingContext(),

                            selectedValue:model[ evt.getSource().getBindingContext()

                                                ]}});}

 

i want to ask how i get this selectedValue in my page2.view.js


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>