Date: 2004-11-04T16:39:29 Editor: BrianLee <[EMAIL PROTECTED]> Wiki: Jakarta-Slide Wiki Page: BindingDemo URL: http://wiki.apache.org/jakarta-slide/BindingDemo
no comment Change Log: ------------------------------------------------------------------------------ @@ -2,23 +2,29 @@ == Binding Demo == Setup: -1)Enabling binding for a store is simple. It is done by referencing the BindingStore implementation through the classname attribute of the store element when configuring the store in Domain.xml: + 1.Enabling binding for a store is simple. It is done by referencing the [http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/store/BindingStore.html org.apache.slide.store.BindingStore] implementation through the classname attribute of the store element when configuring the store in Domain.xml: +{{{ <store name="mystore" classname="org.apache.slide.store.BindingStore"> <nodestore classname=...> ... </nodestore> ... </store> +}}} -2)set org.apache.slide.binding=true in the configuration file slide.properties. +For more information on the domain.xml file see DomainConfig. + + 2.Set org.apache.slide.binding=true in the configuration file slide.properties. "The properties file is in one of the slide server jars (the slide kernel jar?). So if you want to change the slide.properties then extract it from the archive and put it into the slide/WEB-INF/classes dir so that it overrides the properties in the jar." -IMPORTANT NOTE: +For more information on the slide.properties file see SlidePropertiesFile. + +'''IMPORTANT NOTE:''' Under no circumstances the binding configuration of a store should be changed from disabled to enabled, or vice-versa, while the store contains data, as no migration of the data will take place! Thanks to Warwick Burrows and Neil Padgen (or whoever first posted the example below in the mailing list) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
