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

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 2878

Trending Articles