Author: michiel
Date: 2010-04-02 13:39:44 +0200 (Fri, 02 Apr 2010)
New Revision: 41731
Modified:
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/background.tagx
Log:
support for id
Modified:
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/background.tagx
===================================================================
---
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/background.tagx
2010-04-02 11:26:18 UTC (rev 41730)
+++
didactor/trunk/components/core/src/main/resources/META-INF/tags/di/core/background.tagx
2010-04-02 11:39:44 UTC (rev 41731)
@@ -8,6 +8,7 @@
description="This tag produces 1 div, perhaps with a background image,
defined by the current node (related to by role 'background')" />
<jsp:directive.attribute name="styleClass" />
+ <jsp:directive.attribute name="id" />
<mm:hasrelationmanager sourcemanager="${_node}" destinationmanager="images"
role="background">
<mm:relatednodescontainer type="images" role="background">
@@ -35,6 +36,7 @@
</mm:relatednodescontainer>
</mm:hasrelationmanager>
<div
+ id="${id}"
style="${empty background ? '' : 'background-image:'}${empty background
? '' : background}"
class="${empty styleClass ? 'learnenvironment' : styleClass}">
<jsp:doBody />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs