0 Replies Latest reply on Feb 28, 2010 10:23 PM by Gregory Nikle

    Navigation via js + conversation, question.

    Gregory Nikle Apprentice

      hi,
      I want to do navigation and conversation progragation via js, how can I do it?


      This is my link



      <s:link action="/pages/empire.xhtml" value="empire" />



      this code builds that link



      /pages/empire.seam;jsessionid=221C4D461366F58EB6C6A37D5F64B000?actionOutcome=%2Fpages%2Fempire.xhtml&amp;cid=2"



      so if I want to do navigation via js can I just do function




      function nav(conversationId) {
      window.localtion.href = '/pages/empire.seam;jsessionid=221C4D461366F58EB6C6A37D5F64B000?actionOutcome=%2Fpages%2Fempire.xhtml' + conversationId;
      }