# Router.Push and this.Parameter.onValueChanged not working properly

**URL:** <https://forums.fusetools.com/t/router-push-and-this-parameter-onvaluechanged-not-working-properly/7385>\
**Category:** How-to Discussions\
**Created:** [September 8, 2018, 1:39am UTC](https://forums.fusetools.com/t/router-push-and-this-parameter-onvaluechanged-not-working-properly/7385 "2018-09-08T01:39:09Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![John\_Mohl](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/john_mohl/32/66_2.png) [@John\_Mohl](https://forums.fusetools.com/u/John_Mohl)\
**Post date:** [September 9, 2018, 4:43pm UTC](https://forums.fusetools.com/t/router-push-and-this-parameter-onvaluechanged-not-working-properly/7385/7 "2018-09-09T16:43:02Z")

</div>

After pulling my hair for hours, i found an answer on this post that make figureout what was my mistake

> [@Passing data through this.Parameter](https://forums.fusetools.com/t/passing-data-through-this-parameter/2440/24):
>
> Ok… I figure it out and removed the tag from the Navigator and I do see the data. But… How can I see this data inside a .js file? Example console.log(passed-data-variable);

```auto
<App Background="#263238">
<!-- Global -->
<UserEvent Name="routeContent" />
<OnUserEvent EventName="routeContent" Handler="{routeContent}" />
<JavaScript File="external.js" />
<Router ux:Name="router" />
<Navigator Dock="Fill" DefaultPath="main">
    <Page ux:Template="main">
    <ScrollView>
        <homepage />
    </ScrollView>
    </Page>
    <!-- This call will fire the Parameter.onValueChanged correctly -->
    <content Background="#4266AB" ux:Template="contentPage" />    
    <Page ux:Template="contentPage_b">
        <!-- 
        This call will not, because the parameter is sent to the page contentPage_b and not into the <content> object 
        To make it works, the content shold be direct child of the Navigator object
        -->
        <content Background="#4266AB" />    
    </Page>
</Navigator>
</App>

```

I was triying to catch the value on a chldren of a page element, but the problem was that the parameter is allways sent directly to the Page. Now it’s working.

Thanks and i hope it will help someone that make this easy mistake

John

---

_[View the full topic](https://forums.fusetools.com/t/router-push-and-this-parameter-onvaluechanged-not-working-properly/7385)._
