2 Replies Latest reply on Jun 1, 2011 9:04 AM by linuxhippy

    Howto include hand-written javascript?

    linuxhippy
      Hi,

      I would like to include a bit of hand-written javascript into faces file, the goal is to poll a webservice located somewhere else regulary.
      Simply pasting the javascript into the xml file gave me the following exception:
      > Error Parsing /mapping/mapping-home.xhtml: Error Traced[line: 14] The entity name must
      > immediately follow the '&' in the entity reference.

      Is there a better way to include hand-written js code for faceless functionality? maybe some include tag?

      Thank you in advance, Clemens