Update of /cvsroot/springnet/Spring.Net/doc/reference/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv19615
Modified Files:
index.xml orm.xml quickstarts.xml web.xml
Log Message:
misc doc updates.
Index: quickstarts.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/quickstarts.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** quickstarts.xml 16 Jan 2008 19:42:58 -0000 1.25
--- quickstarts.xml 3 Apr 2008 06:03:10 -0000 1.26
***************
*** 1,3 ****
! <!--
/*
* Copyright 2002-2005 the original author or authors.
--- 1,4 ----
! <?xml version="1.0" encoding="UTF-8"?>
! <!--
/*
* Copyright 2002-2005 the original author or authors.
***************
*** 18,75 ****
[...1188 lines suppressed...]
! mechanism on the subscriber.</para>
!
! <para>The publisher then fires the event using normal .NET eventing
! semantics and the subscriber is called. The subscriber prints a message
! to the console and sets a state variable to indicate it has been called.
! The program then simply prints the state variable of the two
! subscribers, showing that only one of them (the one that registered with
! the event registry) was called.</para>
</sect2>
</sect1>
!
&pooling-example;
<sect1>
<title>AOP</title>
+ <para>Refer to <xref linkend="aop-quickstart" />.</para>
+ </sect1>
+ </chapter>
\ No newline at end of file
Index: index.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/index.xml,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** index.xml 26 Feb 2008 02:04:32 -0000 1.81
--- index.xml 3 Apr 2008 06:03:10 -0000 1.82
***************
*** 46,51 ****
<!ENTITY xml-custom SYSTEM "xml-custom.xml">
<!ENTITY misc SYSTEM "misc.xml">
! <!ENTITY pooling-example
! SYSTEM "pooling-example.xml">
]>
--- 46,50 ----
<!ENTITY xml-custom SYSTEM "xml-custom.xml">
<!ENTITY misc SYSTEM "misc.xml">
! <!ENTITY pooling-example SYSTEM "pooling-example.xml">
]>
Index: orm.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/orm.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** orm.xml 26 Feb 2008 02:04:32 -0000 1.16
--- orm.xml 3 Apr 2008 06:03:10 -0000 1.17
***************
*** 324,336 ****
below and allows you to use Spring's declarative transaction demarcation
functionality with the standard NHibernate API (as compared to using
! HibernateTemplate). </para>
<para>The property <literal>DbProvider</literal> is used to infer two
! NHibernate configurations options. </para>
<itemizedlist>
<listitem>
<para>Infer the connection string, typically done via the hibernate
! property "hibernate.connection.connection_string". </para>
</listitem>
--- 324,336 ----
below and allows you to use Spring's declarative transaction demarcation
functionality with the standard NHibernate API (as compared to using
! HibernateTemplate).</para>
<para>The property <literal>DbProvider</literal> is used to infer two
! NHibernate configurations options.</para>
<itemizedlist>
<listitem>
<para>Infer the connection string, typically done via the hibernate
! property "hibernate.connection.connection_string".</para>
</listitem>
***************
*** 339,343 ****
the NHibernate connection provider instead of listing it via
property hibernate.connection.provider via
! <literal>HibernateProperties</literal>. </para>
</listitem>
</itemizedlist>
--- 339,343 ----
the NHibernate connection provider instead of listing it via
property hibernate.connection.provider via
! <literal>HibernateProperties</literal>.</para>
</listitem>
</itemizedlist>
***************
*** 352,357 ****
linkend="dbprovider-usercredentials">UserCredentialsDbProvider</link>
and <link
! linkend="dbprovider-multidelegating">MultiDelegatingDbProvider</link>.
! </para>
<note>
--- 352,356 ----
linkend="dbprovider-usercredentials">UserCredentialsDbProvider</link>
and <link
! linkend="dbprovider-multidelegating">MultiDelegatingDbProvider</link>.</para>
<note>
Index: web.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/web.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** web.xml 26 Feb 2008 02:04:32 -0000 1.37
--- web.xml 3 Apr 2008 06:03:10 -0000 1.38
***************
*** 632,636 ****
</sect2>
! <sect2>
<title>Customizing control dependency injection</title>
--- 632,636 ----
</sect2>
! <sect2 id="web-controlling-di">
<title>Customizing control dependency injection</title>
***************
*** 662,665 ****
--- 662,684 ----
}
}</programlisting>
+
+ <para>There is a Spring server control, Panel, that provides an easier
+ way to turn of dependency injection for parts of your page. Example use
+ is shown below</para>
+
+ <programlisting><spring:Panel runat="server"
+ suppressDependencyInjection="true"
+ renderContainerTag="false">
+
+ .. put your heavy controls here - they won't be touched by DI
+
+ </spring:Panel></programlisting>
+
+ <para>By wrapping the performance sensitive parts of your page within
+ this panel, you can easily turn off DI using the attribute
+ suppressDependencyInjection. By default <spring:Panel/> won't
+ render a container tag (<div>, <span>, etc.). You can modify
+ this behavior by setting the attribute "renderContainerTag"
+ accordingly.</para>
</sect2>
</sect1>
***************
*** 1486,1490 ****
</sect2>
! <sect2>
<title>Using DataBindingPanel</title>
--- 1505,1509 ----
</sect2>
! <sect2 id="web-databindingpanel">
<title>Using DataBindingPanel</title>
***************
*** 2227,2239 ****
<programlisting>[<mode>:]<targetPage>[?param1,param2,...,paramN]</programlisting>
! <para>There are two possible values for the <literal>mode</literal> value
! referred to in the above notation snippet; they are:</para>
! <programlisting>redirect</programlisting>
! <programlisting>transfer</programlisting>
! <para>One thing to notice is that a comma is used instead of an ampersand
! to separate parameters; this is done so as to avoid the need for laborious
ampersand escaping within an XML object definition. The use of the
ampersand character is still supported if required, but one will then have
--- 2246,2269 ----
<programlisting>[<mode>:]<targetPage>[?param1,param2,...,paramN]</programlisting>
! <para>There are three possible values for the <literal>mode</literal>
! value referred to in the above notation snippet; they are:</para>
! <itemizedlist>
! <listitem>
! <para>redirect</para>
! </listitem>
! <listitem>
! <para>transfer</para>
! </listitem>
! <listitem>
! <para>TransferNoPreserve</para>
! </listitem>
! </itemizedlist>
!
! <para>They correspond to the values of the ResultMode enumeration. One
! thing to notice is that a comma is used instead of an ampersand to
! separate parameters; this is done so as to avoid the need for laborious
ampersand escaping within an XML object definition. The use of the
ampersand character is still supported if required, but one will then have
***************
*** 2384,2389 ****
<title>Spring User Controls</title>
! <para>Spring provides several custom user controls such as those used to
! render errors that occur during databinding.</para>
</sect1>
</chapter>
\ No newline at end of file
--- 2414,2466 ----
<title>Spring User Controls</title>
! <para>Spring provides several custom user controls that are located in the
! <literal>Spring.Web.UI.Controls</literal> namespace. This section
! primarily lists the controls and points to other documentation to provide
! additional information. There are a few other controls not documented
! here, please check the SDK docs for their descriptions.</para>
!
! <sect2>
! <title>Validation Controls</title>
!
! <para>The location in the web page where validation errors are to be
! rendered can be specifies by using the ValidationSummary and
! ValidationError controls. There are two controls since they have
! different defaults for how errors are rendered. ValidationSummary is
! used to display potentially multiple errors identified by the validation
! framework. ValidationError is used to display field-level validation
! errors. Please refer to the validation section <link
! linkend="validation-aspnet-usage">ASP.NET usage tips</link> for more
! information.</para>
! </sect2>
!
! <sect2>
! <title>Databinding Controls</title>
!
! <para>Some standard controls are not easy to use with Spring's
! databinding support. Examples are check boxes and ratio button groups.
! In this case you should use the <classname>CheckBoxList</classname> and
! <classname>RadioButtonGroup</classname> controls. Databinding itself can
! be done using the <link
! linkend="web-databindingpanel">DataBindingPanel</link> instead of the
! using the BindingManager API within the code behind page.</para>
! </sect2>
!
! <sect2>
! <title>Calendar Control</title>
!
! <para>A pop-up DHTML calendar control is provided. It is a slightly
! modified version of the <ulink
! url="http://www.dynarch.com/projects/calendar">Dynarch.com DHTML
! Calendar</ulink> control written by Mihai Bazon.</para>
! </sect2>
!
! <sect2>
! <title>Panel Control</title>
!
! <para>You can suppress dependency injection for controls inside your
! ASP.NET by using the Panel control. See the section <link
! linkend="web-panel-control-di">Customizing control dependency
! injection</link> for more information.</para>
! </sect2>
</sect1>
</chapter>
\ No newline at end of file
|