Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/

 * Small helper class to make creating <a href=""></a>s from XML data easier. A XmlStore will be automatically configured with a <a href=""></a>.
 <p>A store configuration would be something like:</p><pre><code>var store = new{
 // store configs
 autoDestroy: true,
 storeId: 'myStore',
 url: 'sheldon.xml', // automatically configures a HttpProxy
 // reader configs
 record: 'Item', // records will have an "Item" tag
 idPath: 'ASIN',
 totalRecords: '&#64;TotalResults'
 fields: [
 // set up the fields mapping into the xml doc
 // The first needs mapping, the others are very basic
 {name: 'Author', mapping: 'ItemAttributes &gt; Author'},
 'Title', 'Manufacturer', 'ProductGroup'
 </code></pre><br/><br/> <p>This store is configured to consume a returned object of the form:</p><pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;ItemSearchResponse xmlns=""&gt;
 &lt;Author&gt;Sidney Sheldon&lt;/Author&gt;
 &lt;Author&gt;Sidney Sheldon&lt;/Author&gt;
 &lt;Manufacturer&gt;Warner Books&lt;/Manufacturer&gt;
 &lt;Title&gt;Master of the Game&lt;/Title&gt;
 </code></pre>An object literal of this form could also be used as the <a href="output/">data</a> config option.<br/><br/> <p><b>Note:</b> Although not listed here, this class accepts all of the configuration options of <b><a href="">XmlReader</a></b>.</p>
 * <p>This class represents serves as a typed config object for constructor of class XmlStore.</p>
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see
"public class xmlstore extends",4,function($$private){var $1=ext.config;return[ 

  "public function xmlstore",function xmlstore(config/*:Object = null*/) {if(arguments.length<=0)config=null;


undefined];},[],[""], "0.8.0", "2.0.11"
New to GrepCode? Check out our FAQ X