2 Replies Latest reply: May 27, 2010 9:58 AM by perosbeck RSS

    javascript API and Url

    perosbeck

      Hi,

      I'm trying to get the <url> out using the javascript API and TableMgr.

      Anyone know if this is possible and how? I only seem to be able to get the text.
      Using a native TableBox from Workbench the link is there and fully functional.

      Any help appreciated.

      /per

        • javascript API and Url
          Chris Brain

          Hi,

          Could you give a little more information, for example what you mean by <url> and the current code you are using.

            • javascript API and Url
              perosbeck

              Hi,

              there is a representation type called "Link" on a table (under Expressions -> Display Options).
              the workbench javascript API only seem to support the type Text.

              If set to "Link" the url part is not handled by the javascript Qww.Table.Mgr.

              rowItem.Text = elem.getAttribute("title") ? elem.getAttribute("title") : elem.getAttribute("text");


              this is the only part I can find in the Qww.Table definition.

              /Per