Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-91

Provide functions to velocity to allow javascript style XDOM manipulation.

    XMLWordPrintable

Details

    • Idea
    • Resolution: Unresolved
    • Minor
    • None
    • Rendering in the platform
    • None
    • None

    Description

      It would be very nice to be able to manipulate the webpage from velocity or groovy using javascript style functions on the XDOM.
      1. Increased security because user supplied content would be able to be put in an element and not parsed along with privileged code.
      2. When the user templates are ported to syntax 2.0, scripts will be able to manipulate the entire web page.
      3. Better control over output, newlines won't break XHTML validity of a velocity script.

      Attachments

        Activity

          People

            Unassigned Unassigned
            calebjamesdelisle CalebJamesDeLisle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: