Author: michiel
Date: 2010-02-05 14:33:41 +0100 (Fri, 05 Feb 2010)
New Revision: 40877
Modified:
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/block.tagx
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/blocks.tagx
Log:
added some descriptions
Modified:
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/block.tagx
===================================================================
---
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/block.tagx
2010-02-05 13:33:21 UTC (rev 40876)
+++
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/block.tagx
2010-02-05 13:33:41 UTC (rev 40877)
@@ -4,10 +4,12 @@
xmlns:c="http://java.sun.com/jsp/jstl/core"
version="2.0"
>
+ <jsp:directive.tag
+ description="Using the x/y of the given blockposrel, it determins the
related (Using 'cartesianrel') content to the current (_node), and iterates
those." />
<jsp:directive.attribute name="blockposrel" type="java.lang.Object"
required="true"
- description="" />
+ description="The blockposrel to be used (e.g.
provided by portal:blocks)" />
<jsp:directive.attribute name="type" type="java.lang.String"
- description="" />
+ description="The object type of the related object
to be searched. This defaults to 'object'." />
<mm:node id="pos" referid="blockposrel" />
<mm:relatednodescontainer role="cartesianrel" type="${empty type ? 'object'
: type}">
Modified:
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/blocks.tagx
===================================================================
---
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/blocks.tagx
2010-02-05 13:33:21 UTC (rev 40876)
+++
speeltuin/mihxil/portal/src/main/resources/META-INF/tags/mm/portal/blocks.tagx
2010-02-05 13:33:41 UTC (rev 40877)
@@ -4,8 +4,18 @@
xmlns:c="http://java.sun.com/jsp/jstl/core"
version="2.0"
>
- <jsp:directive.variable name-given="block"
variable-class="org.mmbase.bridge.Node" />
- <jsp:directive.variable name-given="blockposrel"
variable-class="org.mmbase.bridge.Node" />
+ <jsp:directive.tag
+ description="Produces a div, and takes the current node (_node), and
determing the related 'blocks' (using 'blockposrel).
+ For each found node then a div is produced, with the proper
css classes to position them.
+ In the body the variables 'block' and 'blockposrel' are
produced, which are the two MMBase Nodes which are relevant.
+ These blockposrel variable can typically be put into the
portal:block tag."
+ />
+
+ <jsp:directive.variable name-given="block"
variable-class="org.mmbase.bridge.Node"
+ description="The block object"/>
+ <jsp:directive.variable name-given="blockposrel"
variable-class="org.mmbase.bridge.Node"
+ description="The relation object which was followed
to find this block. This contains for example the x and y fields"
+ />
<mm:node id="page">
<div class="mm_portal_content">
<mm:listrelationscontainer type="blocks" role="blockposrel">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs