Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-519

Using Script on a JSPWiki page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.8.1
    • None
    • None
    • None
    • Using JSPWiki on Windows in Internet Explorer and Mozilla

    Description

      I'm working for a company that currently uses VQWiki and wants to convert them to pages that are compatitble with and use JSPWiki. I have everything converted, but some of the pages have some <script> in them. My main problem is laying out some functions between one script tag, having some wiki mark up, then referring to the previously defined function. Here's an example of code,
      {{<script>
      some script code
      function populateTable()
      {
      .......
      }
      </script>
      Example of Wikitext.......
      <script>
      populateTable()
      </script>}}

      When I view that page, and view the errors that are on that page, it says object expected in line (whichever line the populateTable function is called on), or in Mozilla, the error would be "populateTable is not defined." I've checked all opening and closing parenthesis and brackets and all of that stuff. I was wondering if there was something I am doing wrong, or if there is something you could help me with.

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            sthompson Stephen Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: