Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv7197

Modified Files:
        create.jspx 
Log Message:
making sure that creating happens in a different transaction, otherwise the 
parent transaction is inadvertetdly commited


See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates


Index: create.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/create.jspx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- create.jspx 19 Jun 2008 12:25:02 -0000      1.9
+++ create.jspx 7 Jul 2008 16:21:17 -0000       1.10
@@ -13,7 +13,8 @@
         <mm:import externid="context"  />
         <mm:import from="session" externid="${queryid}" id="query" 
required="true" />
 
-        <mm:form page="/mmbase/searchrelate/create.jspx" commitonclose="false">
+        <mm:form name="create"
+                 page="/mmbase/searchrelate/create.jspx" commitonclose="false">
           <fmt:message key="createsummary" var="summary">
             <fmt:param><mm:nodeinfo nodetype="${query.nodeManager.name}" 
type="guinodemanager" /></fmt:param>
           </fmt:message>
@@ -32,6 +33,7 @@
             </tfoot>
             <mm:createnode id="newnode" type="${query.nodeManager.name}">
               <c:if test="${! empty context}">
+                <mm:log>Setting context to ${context}</mm:log>
                 <mm:setcontext>${context}</mm:setcontext>
               </c:if>
               <tbody>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to