<div dir="ltr">Bueno lo solucione de esta manera.<br><br><br>&lt;media id=&quot;salidaCapacitacion&quot; refer=&quot;Csalir&quot; instance=&quot;instSame&quot;/&gt;<br>    &lt;link xconnector=&quot;connector#onKeySelectionAndStopStart&quot;&gt;<br>
            &lt;bind role=&quot;onSelection&quot; component=&quot;salidaCapacitacion&quot;&gt;<br>                &lt;bindParam name=&quot;keyCode&quot; value=&quot;ENTER&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;ruleFocus&quot; component=&quot;settings&quot; interface=&quot;service.currentKeyMaster&quot;&gt;<br>
                &lt;bindParam name=&quot;focus&quot; value=&quot;Csalir&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;stop&quot; component=&quot;Ccapacitacion&quot;/&gt;<br>            &lt;bind role=&quot;start&quot; component=&quot;cHome&quot;&gt;<br>
                <br>            &lt;/bind&gt;<br>        &lt;/link&gt;<br><br><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/17 Franco H <span dir="ltr">&lt;<a href="mailto:gusamh@gmail.com" target="_blank">gusamh@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hola, el problema que planteo es que cuando ingreso a un contexto y luego quiero terminarlo el link aparentemente no funciona estoy utilizando una variable global que creo ahí esta el problema. <br>
Parte del Codigo<br>
<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br>&lt;!-- Generated by NCL Eclipse --&gt;<br>&lt;ncl id=&quot;home&quot; xmlns=&quot;<a href="http://www.ncl.org.br/NCL3.0/EDTVProfile" target="_blank">http://www.ncl.org.br/NCL3.0/EDTVProfile</a>&quot;&gt;<br>

    &lt;head&gt;<br>       <br>        <br>        &lt;regionBase&gt;<br>            &lt;importBase documentURI=&quot;regiones.ncl&quot; alias=&quot;regiones&quot;/&gt;<br>        &lt;/regionBase&gt;<br>        <br>        &lt;descriptorBase&gt;<br>

            &lt;descriptor id=&quot;dFondo&quot; region=&quot;regiones#rgTV&quot;/&gt;<br>            &lt;descriptor id=&quot;dEncabezado&quot; region=&quot;regiones#rgEncabezado&quot; focusBorderWidth=&quot;1&quot;/&gt;<br>

            &lt;descriptor id=&quot;dLogo&quot; region=&quot;regiones#rLogo&quot; /&gt;<br>            &lt;descriptor id=&quot;dUbicacion&quot; region=&quot;regiones#rUbicacion&quot;/&gt;<br>            &lt;descriptor id=&quot;dMenuLateral&quot; region=&quot;regiones#rgMenuLateral&quot; /&gt;<br>

            &lt;descriptor id=&quot;dMenuLateral1&quot; region=&quot;regiones#rgMenuLateral1&quot; focusIndex=&quot;1&quot; moveDown=&quot;2&quot; moveUp=&quot;9&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuLateral2&quot; region=&quot;regiones#rgMenuLateral2&quot; focusIndex=&quot;2&quot; moveUp=&quot;1&quot; moveDown=&quot;3&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuLateral3&quot; region=&quot;regiones#rgMenuLateral3&quot; focusIndex=&quot;3&quot; moveUp=&quot;2&quot;  moveDown=&quot;4&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dDestacado&quot; region=&quot;regiones#rgDestacado&quot; player=&quot;close&quot; freeze=&quot;true&quot; explicitDur=&quot;30s&quot;/&gt;<br>            &lt;descriptor id=&quot;dMenuInferior&quot; region=&quot;regiones#rgMenuInferior&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuInferiorOp1&quot; region=&quot;regiones#rgInferiorOp1&quot; focusIndex=&quot;4&quot; moveUp=&quot;3&quot; moveRight=&quot;5&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuInferiorOp2&quot; region=&quot;regiones#rgInferiorOp2&quot; focusIndex=&quot;5&quot; moveLeft=&quot;4&quot; moveRight=&quot;6&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuInferiorOp3&quot; region=&quot;regiones#rgInferiorOp3&quot; focusIndex=&quot;6&quot; moveLeft=&quot;5&quot; moveRight=&quot;7&quot; moveUp=&quot;4&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dMenuInferiorOp4&quot; region=&quot;regiones#rgInferiorOp4&quot;  focusIndex=&quot;7&quot; moveDown=&quot;8&quot; moveLeft=&quot;6&quot;  focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dPie&quot; region=&quot;regiones#rgPie&quot;/&gt;<br>            &lt;descriptor id=&quot;dBotonAyuda&quot; region=&quot;regiones#rgBotonAyuda&quot; focusIndex=&quot;8&quot; moveUp=&quot;7&quot; moveRight=&quot;9&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dBotonSalir&quot; region=&quot;regiones#rgBotonSalir&quot; focusIndex=&quot;9&quot; moveLeft=&quot;8&quot; moveDown=&quot;1&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dZonaAyuda&quot; region=&quot;regiones#rgAyuda&quot; explicitDur=&quot;5s&quot; transIn=&quot;in&quot; transOut=&quot;in&quot;/&gt;<br>            <br>            &lt;!-- descriptores para FORMACION --&gt;<br>

            &lt;descriptor id=&quot;dFMenuLateral&quot; region=&quot;regiones#rgMenuLateral&quot; /&gt;<br>            &lt;descriptor id=&quot;dFMenuLateral1&quot; region=&quot;regiones#rgMenuLateral1&quot; focusIndex=&quot;1&quot; moveDown=&quot;2&quot; moveUp=&quot;9&quot; focusSrc=&quot;media/image/boton con selector.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFMenuLateral2&quot; region=&quot;regiones#rgMenuLateral2&quot; focusIndex=&quot;2&quot; moveUp=&quot;1&quot; moveDown=&quot;3&quot; focusSrc=&quot;media/image/boton con selector.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFMenuLateral3&quot; region=&quot;regiones#rgMenuLateral3&quot; focusIndex=&quot;3&quot; moveUp=&quot;2&quot;  moveDown=&quot;4&quot; focusSrc=&quot;media/image/boton con selector.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFMenuLateral4&quot; region=&quot;regiones#rgMenuLateral4&quot; focusIndex=&quot;4&quot; moveUp=&quot;3&quot;  moveDown=&quot;5&quot; focusSrc=&quot;media/image/boton con selector.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFBotonAyuda&quot; region=&quot;regiones#rgBotonAyuda&quot; focusIndex=&quot;5&quot; moveUp=&quot;4&quot; moveRight=&quot;6&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFBotonSalir&quot; region=&quot;regiones#rgBotonSalir&quot; focusIndex=&quot;6&quot; moveLeft=&quot;5&quot; moveDown=&quot;1&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

            &lt;!--&lt;descriptor id=&quot;dFprincipal1&quot; region=&quot;regiones#rgDestacado1&quot; focusIndex=&quot;6&quot;  moveLeft=&quot;1&quot; moveRight=&quot;7&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFprincipal2&quot; region=&quot;regiones#rgDestacado2&quot; focusIndex=&quot;7&quot; moveLeft=&quot;6&quot; moveRight=&quot;6&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/barraceleste.png&quot;/&gt;--&gt;<br>

            &lt;descriptor id=&quot;dFprincipal&quot; region=&quot;regiones#rgDestacado&quot;  focusIndex=&quot;7&quot;/&gt;<br>            &lt;descriptor id=&quot;dFVolver&quot;  region=&quot;regiones#rgDestacadoVolver&quot;/&gt;<br>

            &lt;descriptor id=&quot;dFHtml&quot; region=&quot;regiones#rgHtml&quot;/&gt;<br>            &lt;descriptor id=&quot;dFPlano&quot; region=&quot;regiones#rgPlanos&quot;/&gt;<br>            &lt;!-- descriptores para CAPACITACION--&gt;<br>

            &lt;descriptor id=&quot;dCBotonSalir&quot; region=&quot;regiones#rgBotonSalir&quot; focusIndex=&quot;15&quot; focusSrc=&quot;media/image/seleccionbarra.png&quot; focusBorderWidth=&quot;0&quot; focusSelSrc=&quot;media/image/botonconselector celeste.png&quot;/&gt;<br>

        &lt;/descriptorBase&gt;<br>        &lt;connectorBase&gt;<br>            &lt;importBase documentURI=&quot;connectorBase.ncl&quot; alias=&quot;connector&quot;/&gt;<br>        &lt;/connectorBase&gt;<br><br>    &lt;/head&gt;<br>

<br>    &lt;body&gt;<br>        <br>        &lt;media id=&quot;fondo&quot; src=&quot;fondo.lua&quot; descriptor=&quot;dFondo&quot;/&gt;<br>        &lt;media id=&quot;encabezado&quot; src=&quot;encabezado.lua&quot; descriptor=&quot;dEncabezado&quot;/&gt;<br>

        &lt;media id=&quot;logo&quot; src=&quot;encabezadoLogo.lua&quot; descriptor=&quot;dLogo&quot;/&gt;<br>        &lt;port id=&quot;tFondo&quot; component=&quot;fondo&quot;/&gt;<br>        &lt;port id=&quot;tEncabezado&quot; component=&quot;encabezado&quot;/&gt;<br>

        &lt;port id=&quot;tLogo&quot; component=&quot;logo&quot;/&gt;<br>        <br>        &lt;link xconnector=&quot;connector#onBeginStart&quot;&gt;<br>            &lt;bind role=&quot;onBegin&quot; component=&quot;fondo&quot;/&gt;<br>

            &lt;bind role=&quot;start&quot; component=&quot;cHome&quot;/&gt;<br>        &lt;/link&gt;<br>        <br>         &lt;media id=&quot;programSettings&quot; type=&quot;application/x-ginga-settings&quot;&gt;<br>
            &lt;property name=&quot;service.currentFocus&quot; value=&quot;&quot;/&gt;<br>
         &lt;/media&gt;<br>         <br>         &lt;media id=&quot;settings&quot; type=&quot;application/x-ginga-settings&quot;&gt;<br>            &lt;property name=&quot;service.currentKeyMaster&quot; value=&quot;&quot;/&gt;<br>

         &lt;/media&gt;<br>         <br>         &lt;link xconnector=&quot;connector#onBeginSet&quot;&gt;<br>            &lt;bind role=&quot;onBegin&quot; component=&quot;fondo&quot;/&gt;<br>            &lt;bind role=&quot;set&quot; component=&quot;programSettings&quot; interface=&quot;service.currentFocus&quot;&gt;<br>

                &lt;bindParam name=&quot;var&quot; value=&quot;1&quot;/&gt;<br>            &lt;/bind&gt;<br>        &lt;/link&gt;<br>        <br>         <br>&lt;context id=&quot;cHome&quot;&gt;<br>        <br><font color="#ff9900"><b>HACE REFERENCIA A LA VARIBALE GLOBAL, ESTO SE UTILIZA ASÍ? CUANDO ES GLOBAL.?</b></font><br>

        &lt;media id=&quot;pS&quot; refer=&quot;programSettings&quot; instance=&quot;instSame&quot;/&gt;<br>        <br></div>     <span style="color:rgb(255,0,0)"><font color="#ff9900"><b>OTRAS MEDIAS Y PORTS</b></font></span><br>

<div><div><div>            <br>        &lt;port id=&quot;tUbicacion&quot; component=&quot;ubicacion&quot;/&gt;<br>        <br>    <br>     <br>        &lt;port id=&quot;tInferior1&quot; component=&quot;inferior1&quot;/&gt;<br>

      <br></div><div>       <br></div><div>        <br>              <br>&lt;/context&gt;    <br>  <br> <font color="#ff9900"><b>ESTE LINK DETIENE EL CONTEXTO HOME Y COMIENZA EL CONTEXTO CFORMACION <br>ESTO FUNCIONA PERFECTAMENTE<br>

</b></font>   &lt;media id=&quot;EntradaFormacionHome&quot; refer=&quot;inferior1&quot; instance=&quot;instSame&quot;/&gt;<br>  &lt;link xconnector=&quot;connector#onKeySelectionAndStopStart&quot;&gt;<br>            &lt;bind role=&quot;onSelection&quot; component=&quot;EntradaFormacionHome&quot;&gt;<br>

                &lt;bindParam name=&quot;keyCode&quot; value=&quot;ENTER&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;ruleFocus&quot; component=&quot;programSettings&quot; interface=&quot;service.currentFocus&quot;&gt;<br>

                &lt;bindParam name=&quot;focus&quot; value=&quot;4&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;stop&quot; component=&quot;cHome&quot;/&gt;<br>            &lt;bind role=&quot;start&quot; component=&quot;Cformacion&quot;/&gt;<br>

        &lt;/link&gt;<br></div><div>  <font color="#ff9900"><b>OTRO LINK QUE TAMBIEN FUNCIONA BIEN TERMINA EL CONTEXTO CHOME Y COMIENZA CCAPACITACION</b></font><br></div><div>  &lt;media id=&quot;EntradaCapHome&quot; refer=&quot;inferior2&quot; instance=&quot;instSame&quot;/&gt;<br>

  &lt;link xconnector=&quot;connector#onKeySelectionAndStopStart&quot;&gt;<br>            &lt;bind role=&quot;onSelection&quot; component=&quot;EntradaCapHome&quot;&gt;<br>                &lt;bindParam name=&quot;keyCode&quot; value=&quot;ENTER&quot;/&gt;<br>

            &lt;/bind&gt;<br>            &lt;bind role=&quot;ruleFocus&quot; component=&quot;programSettings&quot; interface=&quot;service.currentFocus&quot;&gt;<br>                &lt;bindParam name=&quot;focus&quot; value=&quot;5&quot;/&gt;<br>

            &lt;/bind&gt;<br>            &lt;bind role=&quot;stop&quot; component=&quot;cHome&quot;/&gt;<br>            &lt;bind role=&quot;start&quot; component=&quot;Ccapacitacion&quot;/&gt;<br>        &lt;/link&gt;<br>

    <br>      <font color="#ff9900"><b>OTRO CONTEXTO</b></font><br>&lt;context id=&quot;Cformacion&quot; &gt;<br>    <br>        &lt;media id=&quot;Cs&quot; refer=&quot;programSettings&quot; instance=&quot;instSame&quot;/&gt;     <br>

        &lt;media id=&quot;Fubicacion&quot; src=&quot;Fubicacion.lua&quot; descriptor=&quot;dUbicacion&quot;&gt;<br>            &lt;property name=&quot;text&quot; value=&quot;FORMACION&quot;/&gt;<br>        &lt;/media&gt;<br>

       <br>       <br>         <br>       &lt;/context&gt;<br>    <font color="#ff9900"><b>UNA MEDIA QUE HACE REFERENCIA AL CONTEXTO CFORMACION PARA PODER SALIR<br>Y ACA ES DONDE EL LINK NO FUNCIONA, QUISIERA SABER COMO PUEDO SOLUCIONAR ESTE TEMA<br>

</b></font>    &lt;media id=&quot;SalidaFormacionHome&quot; refer=&quot;Fsalir&quot; instance=&quot;gradSame&quot;/&gt;<br>       <br>    &lt;link xconnector=&quot;connector#onKeySelectionAndStopStart&quot;&gt;<br>            &lt;bind role=&quot;onSelection&quot; component=&quot;SalidaFormacionHome&quot;&gt;<br>

                &lt;bindParam name=&quot;keyCode&quot; value=&quot;ENTER&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;ruleFocus&quot; component=&quot;programSettings&quot; interface=&quot;service.currentFocus&quot;&gt;<br>

                &lt;bindParam name=&quot;focus&quot; value=&quot;6&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;stop&quot; component=&quot;Cformacion&quot;/&gt;<br>            &lt;bind role=&quot;start&quot; component=&quot;cHome&quot;/&gt;<br>

    &lt;/link&gt;<br>        <font color="#ff9900"><b>EN ESTE CONTEXTO LO QUE HICE FUE TERMINAR DENTRO DEL CONTEXTO EL MISMO CONTEXTO PARA LUEGO CON UN ONENDSTART COMENZAR EL OTRO CONTEXTO PERO TAMPOCO FUNCIONA</b></font><br>

&lt;context id=&quot;Ccapacitacion&quot;&gt;<br>      <br>        &lt;media id=&quot;capS&quot; refer=&quot;programSettings&quot; instance=&quot;instSame&quot; /&gt;    <br>        &lt;media id=&quot;Cubicacion&quot; src=&quot;Cubicacion.lua&quot; descriptor=&quot;dUbicacion&quot;&gt;<br>

            &lt;property name=&quot;text&quot; value=&quot;CAPACITACION&quot;/&gt;<br>        &lt;/media&gt;<br>        &lt;media id=&quot;capacitacion&quot; src=&quot;media/image/talleres y cursos.png&quot; descriptor=&quot;dDestacado&quot;&gt;<br>

            &lt;property name=&quot;width&quot; value=&quot;563&quot;/&gt;<br>            &lt;property name=&quot;height&quot; value=&quot;450&quot;/&gt;<br>            &lt;property name=&quot;top&quot; value=&quot;92&quot;/&gt;<br>

            &lt;property name=&quot;left&quot; value=&quot;85&quot;/&gt;<br>        &lt;/media&gt;<br>        &lt;media id=&quot;Csalir&quot; src=&quot;volver.lua&quot; descriptor=&quot;dCBotonSalir&quot;/&gt;    <br>        &lt;port id=&quot;CUbicacion&quot; component=&quot;Cubicacion&quot;/&gt;<br>

        &lt;port id=&quot;Pcapacitaicon&quot; component=&quot;capacitacion&quot;/&gt;<br>        &lt;port id=&quot;Psalir&quot; component=&quot;Csalir&quot;/&gt;<br>        <br>         &lt;link xconnector=&quot;connector#onKeySelectionAndStop&quot;&gt;<br>

            &lt;bind role=&quot;onSelection&quot; component=&quot;Csalir&quot;&gt;<br>                &lt;bindParam name=&quot;keyCode&quot; value=&quot;ENTER&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;ruleFocus&quot; component=&quot;capS&quot; interface=&quot;service.currentFocus&quot;&gt;<br>

                &lt;bindParam name=&quot;focus&quot; value=&quot;15&quot;/&gt;<br>            &lt;/bind&gt;<br>            &lt;bind role=&quot;stop&quot; component=&quot;Ccapacitacion&quot;/&gt;<br>            <br>    &lt;/link&gt;<br>

        <br>&lt;/context&gt;<br>   <br>  <br>    <br>    &lt;link xconnector=&quot;connector#onEndStart&quot;&gt;<br>        &lt;bind role=&quot;onEnd&quot; component=&quot;Ccapacitacion&quot;/&gt;<br>        &lt;bind role=&quot;start&quot; component=&quot;cHome&quot;/&gt;    <br>

    &lt;/link&gt;<br>    <br>      <br><br>   <br>    <br>  <br><br>        <br>    &lt;/body&gt;<br>&lt;/ncl&gt;<br clear="all"></div><div><font color="#ff9900"><b>BUENO ESPERO ME PUEDAN DAR UNA MANO, LES DIGO QUE ESTO ME AYUDARIA MUCHO PARA TERMINAR CON MI TESIS.<span class="HOEnZb"><font color="#888888"><br>

<br></font></span></b></font></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div>Analista Funcional - Poder Judicial de la Nación</div><div>Asistente - UNPA</div>AdeS. Herrera Franco
</div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>Analista Funcional - Poder Judicial de la Nación</div><div>Asistente - UNPA</div>AdeS. Herrera Franco
</div>