Update of
/var/cvs/applications/editwizard/documentation/frontenddevelopers/editwizard
In directory james.mmbase.org:/tmp/cvs-serv29189
Modified Files:
editwizard-reference.xml
Log Message:
documented startnodes that seem to have been missing stangely enough
See also:
http://cvs.mmbase.org/viewcvs/applications/editwizard/documentation/frontenddevelopers/editwizard
Index: editwizard-reference.xml
===================================================================
RCS file:
/var/cvs/applications/editwizard/documentation/frontenddevelopers/editwizard/editwizard-reference.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- editwizard-reference.xml 14 Feb 2008 12:13:12 -0000 1.10
+++ editwizard-reference.xml 20 Feb 2008 15:45:19 -0000 1.11
@@ -177,6 +177,34 @@
<title>The following parameters MAY be specified:</title>
<varlistentry>
+ <term>startnodes</term>
+
+ <listitem>
+ <para>Like in <mm:list /> and other multilevel tags in the
+ MMBase taglibrary you may provide a startnode for a nodepath. That
+ node (multiple nodes seperated by comma's) is used a the starting
+ node for your list. Since when not providing one you will get all
+ the nodes that have such a path.</para>
+
+ <para>For example:</para>
+
+ <programlisting
format="linespecific">list.jsp?wizard=wizards/news/news&nodepath=mags,posrel,news&fields=news.title</programlisting>
+
+ <para>Can list more news articles then:</para>
+
+ <programlisting
format="linespecific">list.jsp?wizard=wizards/news/news&nodepath=mags,posrel,news&fields=news.title&startnodes=default.mags</programlisting>
+
+ <para>Because it the latter only lists the articles in MyNews
+ Magazine and the former all news articles that are related to a
+ magazine via a posrel relation ('default.mags' is the alias for
+ the magazine node in the example MyNews Magazine
+ application).</para>
+
+ <para><programlisting
format="linespecific">startnodes=235</programlisting></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>fields</term>
<listitem>
@@ -686,7 +714,7 @@
<programlisting
format="linespecific">list.jsp?wizard=practice/people&nodepath=people&fields=firstname,lastname</programlisting>
- <programlisting
format="linespecific">list.jsp?wizard=practice/simple&startnodes=1&nodepath=people,news&fields=news.title,people.firstname,people.lastname</programlisting>
+ <programlisting
format="linespecific">list.jsp?wizard=practice/simple&startnodes=341&nodepath=people,news&fields=news.title,people.firstname,people.lastname</programlisting>
</example>
</section>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs