Hi,

I am using html templates in my TML file...something like the below, to be
used with jQuery and other libraries to dynamically fill values easily.

<script id="AgencySlugTemplate" type="text/html">
...
...
<tr>
  <td id="t2Col1Text"><#= data.yesterday.totalImpressions #></td>
</tr>

</script>

note the '#' in the html, which is parsed by a JS function and replaced with
actual values.

but when the tml loads tapestry is throwing an error

Unexpected character '#' (code 38) in content after '<' (malformed start
element?).
 at [row,col {unknown-source}]: [43,30]

I also tried &#35; instead of # to see if it is escaped.  but the same
error.

Does anyone know a way to tell tapestry to ignore certain parts of the tml
file and not to parse them?

Thanks


-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/how-to-make-tapestry-ignore-some-html-tags-while-parsing-tml-file-tp3257771p3257771.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to