Hi everybody.

here is my problem : I'm writing a "paragraph" template for allowing a user to join sound to an image. To do it, I would use a flash MP3 player. So, here a small part of my JSP code :
[fixed]
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"; xmlns:cms="urn:jsptld:cms-taglib" xmlns:cmsu="urn:jsptld:cms-util-taglib" xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core";>

<%-- other things ... --%>

<object type="application/x-shockwave-flash" data="${pageContext.request.contextPath}/docroot/marc/flash/dewplayer.swf?son=${pageContext.request.contextPath}${soundurl}&amp;autoplay=${sounddata.autoplay}" width="200" height="20" bgcolor="${sounddata.bgcolor}"> <param name="movie" value="${pageContext.request.contextPath}/docroot/marc/flash/dewplayer.swf?son=${pageContext.request.contextPath}${soundurl}&amp;autoplay=${sounddata.autoplay}" />
                <param name="bgcolor" value="${sounddata.bgcolor}"/>
        </object>

<%-- other things ... --%>
</jsp:root>
[/fixed]

This JSP code lead to an error  : ERROR  info.magnolia.cms.taglibs.Include
<p>15: Invalid use of "param" tag outside legitimate parent tag</p><p>16: Invalid use of "param" tag outside legitimate parent tag</p>

It looks that "<param>" is not allowed. So, how could I use this simple HTML tag !?


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to