Hi,
I want to provide a peace of javascript on every page (google chart api
code).
My problem is that the javascript code in the custom-javascript param-tag
has the '<' sign that throws a rexml exception
<extend tag="page">
<old-page merge>
<after-application-javascript:>
<javascript name="https://www.google.com/jsapi"/>
</after-application-javascript:>
<after-custom-javascript:>
var chartFunctions = [];
google.setOnLoadCallback(drawCharts);
function drawCharts() {
raw 'for (var i=0; i < chartFunctions.length; i++) {
<------ here
chartFunctions[i]();
}
}
</after-custom-javascript:>
</old-page>
</extend>
Sure, I could use the good old
<%= raw 'for (var i=0; i < chartFunctions.length; i++) {' %>
but I would like to know whether there is a better way.
Maybe there is a way to tell that the whole content of
the after-custom-javascript param-tag should be in raw format?
Thanks,
Alex.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.