From seam-commits at lists.jboss.org Thu Jan 8 10:39:13 2009 Content-Type: multipart/mixed; boundary="===============3645039328677295918==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r9894 - trunk/doc/Seam_Reference_Guide/en-US. Date: Thu, 08 Jan 2009 10:39:13 -0500 Message-ID: --===============3645039328677295918== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cpopetz Date: 2009-01-08 10:39:13 -0500 (Thu, 08 Jan 2009) New Revision: 9894 Modified: trunk/doc/Seam_Reference_Guide/en-US/Xml.xml Log: Document JBSEAM-3887 Modified: trunk/doc/Seam_Reference_Guide/en-US/Xml.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/doc/Seam_Reference_Guide/en-US/Xml.xml 2009-01-08 14:09:20 UTC (r= ev 9893) +++ trunk/doc/Seam_Reference_Guide/en-US/Xml.xml 2009-01-08 15:39:13 UTC (r= ev 9894) @@ -17,23 +17,25 @@
Configuring components via property settings = - Seam components may be provided with configuration propert= ies either via servlet context parameters, - or via a properties file named seam.properties in the root of the classpath. = + Seam components may be provided with configuration propert= ies either via servlet context parameters, via = + system properties, or via a properties file named seam.properties in the root of the classpath. = = The configurable Seam component must expose JavaBeans-styl= e property setter methods for the configurable attributes. If a Seam component named com.jboss.myapp.settings has a setter method named setLocale(), we can= provide a property named - com.jboss.myapp.settings.locale in the = seam.properties file or + com.jboss.myapp.settings.locale in the = seam.properties file, a system = + property named org.jboss.seam.properties.com.jbos= s.myapp.settings.locale via -D at startup, or as a servlet context parameter, and Seam will set the valu= e of the locale attribute whenever it instantiates the component. = = The same mechanism is used to configure Seam itself. For e= xample, to set the conversation timeout, we provide a value for org.jboss.seam.core.manager.c= onversationTimeout in - web.xml or seam.properties. (There is a built-in Seam + web.xml, seam.properties, or via a system property prefixed with + org.jboss.seam.properties. (There is a = built-in Seam component named org.jboss.seam.core.manager with a setter method named - setConversationTimeout().) = + setConversationTimeout().) =
= --===============3645039328677295918==--