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

Routing and onBeforeShow

$
0
0

Hi Guys,

 

I am struggeling with how to execute code every time my view is displayed. I am using XML view and routing and a SplitApp. Currently I am using target.display to show views in the detail pane (i am not using a route since there is not reason for the user to access the page i am showing directly via a a url). My problem is i am struggeling to run code the second time the user accesses the page (neither init - obviously - or onBeforeRender are called).

 

Reading arround the web i get the impresseion that onBeforeShow should be automatically called on my detail controller, since it is beeing displayed in a NavConatiner (inside the SplitApp). But i am not getting this call. As an alternative i tried subscribing to the "pattern matched" event, but i guess it is obvious that it is not fired, since i am not using an actual route.

 

Do you have any suggestions on how to accive this?

 

Br Olav


Viewing all articles
Browse latest Browse all 1010

Latest Images

Trending Articles



Latest Images

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