Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide
In directory sc8-pr-cvs1:/tmp/cvs-serv8762/Modeling/doc/UserGuide
Modified Files:
FrameworkTypicalUsage.tex
Added Files:
ZECS.png ZECS.eps
Log Message:
Added doc. for the new property bind_saveChanges_to_zope_transactions of the ZEditingContextSessioning product
--- NEW FILE: ZECS.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: ZECS.eps ---
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 68 102
%.....................................
%%Creator: GNU Ghostscript 510 (epswrite)
%%CreationDate: 2003/09/13 15:44:01
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%EndComments
%%BeginProlog
% This copyright applies to everything between here and the %%EndProlog:
% Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA. All rights reserved.
%%BeginResource: procset GS_pswrite_ProcSet
/GS_pswrite_ProcSet 40 dict dup begin
/!{bind def}bind def/X{load def}!
/rg/setrgbcolor X/g/setgray X/w/setlinewidth X/J/setlinecap X
/j/setlinejoin X/M/setmiterlimit X/d/setdash X/i/setflat X
/m/moveto X/l/lineto X/c/curveto X/h/closepath X
/lx{0 rlineto}!/ly{0 exch rlineto}!/v{currentpoint 6 2 roll c}!/y{2 copy c}!
/re{4 -2 roll m exch dup lx exch ly neg lx h}!
[...1686 lines suppressed...]
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!
s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-!rr~>
Q
end showpage restore
%%PageTrailer
%%Trailer
%%Pages: 1
Index: FrameworkTypicalUsage.tex
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/FrameworkTypicalUsage.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** FrameworkTypicalUsage.tex 19 May 2003 16:05:16 -0000 1.6
--- FrameworkTypicalUsage.tex 13 Sep 2003 14:39:31 -0000 1.7
***************
*** 216,221 ****
--- 216,258 ----
\end{notice}
+ \subsection{Binding the default EC transactions to Zope transactions}
+
+ A special property has been added to the \class{ZEditingContextSessioning}
+ product which allows the transactions of a session's default
+ \class{EditingContext} to be bound to Zope's transactions. This means that
+ each time a Zope's transaction/request ends, \method{saveChanges()} is
+ automatically called on the session's \method{defaultEditingContext()}.
+ To enable this feature, go to \code{Control_Panel} \code{>Products}
+ \code{>ZEditingContextSessioning} \code{>Properties} and check the
+ \code{bind_saveChanges_to_zope_transactions} box --see fig.\ref{fig:enable-bind-ec-txn-to-zope-txn}.
+
+ %% Requires that graphicx.perl is changed so that we have:
+ %% $COPY_GRAPHICS = 1 unless defined($COPY_GRAPHICS);
+ \begin{figure}
+ \ifpdf \includegraphics[width=\textwidth]{./UserGuide/ZECS}
+ \else \htmladdimg{ZECS} %\includegraphics[width=10cm]{./UserGuide/ZECS}
+ \fi
+ \caption{Binding Zope txn to SESSION's defaultEC() txn}
+ \label{fig:enable-bind-ec-txn-to-zope-txn}
+ \end{figure}
+
+ %% \begin{figure}
+ %% \ifpdf
+ %% \includegraphics[width=\textwidth]{./UserGuide/ZECS}
+ %% \else
+ %% \begin{htmlonly} % HTML
+ %% \htmladdimg{ZECS}
+ %% \end{htmlonly}
+ %% \fi
+ %% %begin{latexonly}
+ %% \ifpdf% PDF
+ %% \else%LATEX/dvi
+ %% \fi
+ %% %end{latexonly}
+ %% \caption{Binding Zope txn to SESSION's defaultEC() txn}
+ %% \label{fig:enable-bind-ec-txn-to-zope-txn}
+ %% \end{figure}
%%
|