[opencms-dev] how can ${cms.edited} call javascript
yangguang
sun.java at 163.com
Thu Sep 1 18:59:49 CEST 2011
hi,list
in OpenCms8.0.2, I have code like following in my formatter.
<c:if test="${cms.edited}">
<p>this can be shown on the page,but the javascript didn't execute</p>
<script type="text/javascript">
alert("please work");
</script>
</c:if>
when edit some html, on my page the words between <p> and </p> can shown. but the javascript didn't execute.
is there someone show me the way, please?
thanks
--
*******************************************
yangguang
Tel:+86 13610812320
Email:sun.java at 163.com
QQ:53892777
http://www.ursun.cn
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110902/a8112d65/attachment.htm>
More information about the opencms-dev
mailing list