Author: michiel Date: 2010-03-16 21:53:49 +0100 (Tue, 16 Mar 2010) New Revision: 41452
Modified: mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/lazy.tagx mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/toggle.tagx Log: descriptions Modified: mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/lazy.tagx =================================================================== --- mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/lazy.tagx 2010-03-16 20:42:23 UTC (rev 41451) +++ mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/lazy.tagx 2010-03-16 20:53:49 UTC (rev 41452) @@ -9,9 +9,17 @@ @author Michiel Meeuwissen @version $Id$ --> + <jsp:directive.tag - example="See /mmexamples/searchrelate" - description="" /> + example="" + description="This tag is meant to be used as a child of mm-sr:toggle. Using the 'page' + attribute you specify what must be shown when the toggled block is expanded. + The point is that it is only loaded at the first time that happens. This may be useful + if the items itself contain mm-sr-relatednodes tags and loading everyting at once may + become somewhat costly. That can be avoided by lazy-loading." + /> + + <jsp:directive.attribute name="page" required="true" /> <div class="unloaded"> Modified: mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/toggle.tagx =================================================================== --- mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/toggle.tagx 2010-03-16 20:42:23 UTC (rev 41451) +++ mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/toggle.tagx 2010-03-16 20:53:49 UTC (rev 41452) @@ -10,8 +10,7 @@ @version $Id$ --> <jsp:directive.tag - example="See /mmexamples/searchrelate" - description="" /> + description="This is meant to be isued in an item jsp of mm-sr:relatednodes. A part of the item can be hidden with that, with a toggle button the user can click to show it. A subtag can be mm-sr:lazy" /> <a class="toggle toggle_open"><mm-sr:button type="toggle_open" alt="+" /></a> <a class="toggle toggle_close" style="display: none;"><mm-sr:button type="toggle_close" alt="-" /></a> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs