1 Reply Latest reply: Oct 24, 2003 3:32 PM by 307050 RSS

    how do you get a train to goto a different page

    405959
      I am trying to use the Train objects (UIX jdev9 version 9.0.3.3)

      I have figured out how to display the train on the screen
      here is the code:

      <location>
      <train selectedIndex ="1" id = "Train" destination="Study_View.uix" >
      <contents>
      <link text="Framework"/>
      <link text="Study"/>
      <link text="Organizations for a Study"/>
      <link text="Regions for a Study"/>
      <link text="Business Units for a Study"/>
      <link text="Vision"/>
      </contents>
      </train>
      </location>

      and I have found out about the goto event, again here is the code:

      <event name="goto" source="Train" value="3">
      <ctrl:go name="third_page" redirect="true"/>
      </event>

      my problem is that I can only have one goto event, even though I tried a second goto with different values

      like:
      <event name="goto" source="Train" value="1">
      <ctrl:go name="first_page" redirect="true"/>
      </event>


      it only goes to the last goto event no matter what I pick.

      what am I doing wrong?

      thanks