Author: michiel
Date: 2009-11-17 14:08:47 +0100 (Tue, 17 Nov 2009)
New Revision: 39736

Modified:
   
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
Log:
inherit form from parent

Modified: 
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
===================================================================
--- 
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
   2009-11-17 12:53:02 UTC (rev 39735)
+++ 
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
   2009-11-17 13:08:47 UTC (rev 39736)
@@ -74,7 +74,7 @@
                                                   />
 
   <jsp:directive.attribute name="addposition"      type="java.lang.String"
-                                                  description="Where new items 
will be added to the list. Either 'up' or 'down'. Default is the value of the 
'createposition' attribute."
+                                                  description="Where new items 
will be added to the list. Either 'up' or 'down'. Default is the value of the 
'createposition' attribute"
                                                   />
 
   <jsp:directive.attribute name="constraints"           fragment="true"
@@ -185,7 +185,8 @@
 
   <mm:import id="parentformtag">${parentparameters.formtag}</mm:import>
 
-  <mm:import 
id="_formtag">${requestScope['org.mmbase.bridge.jsp.taglib.form'].name}</mm:import>
+  <mm:import 
id="__formtag">${requestScope['org.mmbase.bridge.jsp.taglib.form'].name}</mm:import>
+  <mm:import id="_formtag">${empty __formtag ? parentformtag : 
__formtag}</mm:import>
   <mm:import id="_orderby">${empty orderby ? _role : orderby}${empty orderby ? 
(_role eq 'posrel' ? '.pos' : '.number') : ''}</mm:import>
   <mm:import id="_fields">${fields}</mm:import>
   <mm:import id="_search">${empty searchRepository ? (empty search ? false : 
search) : true}</mm:import>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to