From: <mol...@us...> - 2009-08-28 14:25:50
|
Revision: 1321 http://openutils.svn.sourceforge.net/openutils/?rev=1321&view=rev Author: molaschi Date: 2009-08-28 14:25:43 +0000 (Fri, 28 Aug 2009) Log Message: ----------- add again ignoreDim attribute to tag media Modified Paths: -------------- trunk/openutils-mgnlmedia/src/main/resources/META-INF/media.tld trunk/openutils-mgnlmedia/src/main/resources/META-INF/tags/media.tag Modified: trunk/openutils-mgnlmedia/src/main/resources/META-INF/media.tld =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/META-INF/media.tld 2009-08-28 13:42:23 UTC (rev 1320) +++ trunk/openutils-mgnlmedia/src/main/resources/META-INF/media.tld 2009-08-28 14:25:43 UTC (rev 1321) @@ -112,6 +112,17 @@ </tr> <tr> <td> + ignoreDim + </td> + <td> + false + </td> + <td> + if true the img element will be rendered without width and height attributes + </td> + </tr> + <tr> + <td> autoPlay </td> <td> Modified: trunk/openutils-mgnlmedia/src/main/resources/META-INF/tags/media.tag =================================================================== --- trunk/openutils-mgnlmedia/src/main/resources/META-INF/tags/media.tag 2009-08-28 13:42:23 UTC (rev 1320) +++ trunk/openutils-mgnlmedia/src/main/resources/META-INF/tags/media.tag 2009-08-28 14:25:43 UTC (rev 1321) @@ -9,6 +9,7 @@ <jsp:directive.attribute name="cssClass" required="false" rtexprvalue="true" /> <jsp:directive.attribute name="style" required="false" rtexprvalue="true" /> <jsp:directive.attribute name="resize" required="false" rtexprvalue="true" /> + <jsp:directive.attribute name="ignoreDim" required="false" rtexprvalue="true" type="java.lang.Boolean" /> <jsp:directive.attribute name="autoPlay" required="false" rtexprvalue="true" type="java.lang.Boolean" /> <jsp:directive.attribute name="loop" required="false" rtexprvalue="true" type="java.lang.Boolean" /> <jsp:directive.attribute name="noPlayIcon" required="false" rtexprvalue="true" type="java.lang.Boolean" /> @@ -38,11 +39,13 @@ <c:if test="${not empty id}"> <![CDATA[ id="${id}"]]> </c:if> - <c:if test="${not empty width"> + <c:if test="${not ignoreDim}"> + <c:if test="${not empty width"> <![CDATA[ width="${width}"]]> - </c:if> - <c:if test="${not empty height"> + </c:if> + <c:if test="${not empty height"> <![CDATA[ height="${height}"]]> + </c:if> </c:if> <c:if test="${not empty cssClass}"> <![CDATA[ class="${cssClass}"]]> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |