Custom javaScript in Tagx Components
Hello !
I want to include some Javascript in a selfwritten Tagx component.
But during compilation the Tiles/JSp Parser seems to mess around with the javascirpt ....
PHP Code:
<script language="javascript">
function formatEditLink(val) {
val = "<a href='products/"+val+"'</a>";
return val;
}
</script>
As soon as the tiles/JSP Parser detectes a a href in my javascirpt strings something like "java.lang.RuntimeException: org.apache.jasper.JasperException: /WEB-INF/tags/components/productFinder.tagx(55,24) Element type "a" must be f
ollowed by either attribute specifications, ">" or "/>"." gets thrown ...
can anyone help me there ?