Update of /cvsroot/springnet/Spring.Net/doc/reference/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv15669
Modified Files:
web.xml
Log Message:
added hint to App_GlobalResources pseudo assemblyname
Index: web.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/web.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** web.xml 6 Dec 2007 17:33:17 -0000 1.28
--- web.xml 6 Dec 2007 17:51:57 -0000 1.29
***************
*** 1657,1668 ****
explanation:</para>
! <programlisting>
! <data name="$this.saveButton.Text">
<value>$messageSource.save</value>
</data>
<data name="$this.cancelButton.Text">
<value>$messageSource.cancel</value>
! </data>
! </programlisting>
<para>In some cases it makes sense to apply a resource that is defined
--- 1657,1666 ----
explanation:</para>
! <programlisting><data name="$this.saveButton.Text">
<value>$messageSource.save</value>
</data>
<data name="$this.cancelButton.Text">
<value>$messageSource.cancel</value>
! </data></programlisting>
<para>In some cases it makes sense to apply a resource that is defined
***************
*** 1701,1704 ****
--- 1699,1707 ----
</object></programlisting>
+ <important><title>NET 2.0</title>
+ <para>To use resources from your App_GlobalResources folder, specify <literal>App_GlobalResources</literal> as assembly name (see the SpringAir example application for more):</para>
+ <literal><value>Resources.Strings, App_GlobalResources</value></literal>
+ </important>
+
<para>The global resources are cached within the Spring.NET
<classname>IApplicationContext</classname> and are accessible through
***************
*** 1714,1717 ****
--- 1717,1721 ----
<para>Currently, the <literal>ResourceSetMessageSource</literal> is the
only message source implementation that ships with Spring.NET.</para>
+
</sect2>
|