GIGJ.COM
welcome to my space
X
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
Welcome to:gigj.com
Search:  
 HOME   XMLReader error
XMLReader error
Published by: jane 2009-01-08

  • Hi,

    I am getting the following error: 'this.proxy' is null or not an object.
    It probably has something to do with the datastore. Is it correct that when you pass an url to the constructor, it creates its own HttpProxy? (Or do I need to create the HttpProxy myself, and the connection object, etc...?)
    XMLFilterImpl (Java 2 Platform SE v1.4.1)::
    Get the current error event handler. Specified by: getErrorHandler The current error handler, or null if none was set. See Also: XMLReader.getErrorHandler
    http://web.cs.mun.ca/javaapi/org/xml/sax/helpers/XMLFilterImpl.html
    HOME
    Indiana University East - Home::
    D:/inetpub/wwwroot/events/eventfeed.xml:1: parser error : Extra content at the PHP Warning: XMLReader::read() [xmlreader.read]: An Error Occured while reading
    http://www.iue.edu/?approved=90
    HOME

    Or is something else wrong with my code? I'm new to ExtJs:

    var GridUI = function() {

    var ds; //hold our data
    var grid; //component
    var columnModel; // definition of the columns

    var Fund = Ext.data.Record.create([
    {name: 'SubfundId'},
    {name: 'SubfundName'},
    {name: 'AUM'},
    {name: 'Currency'},
    {name: 'Type'}
    ]);

    var xmlReader = new Ext.data.XmlReader({
    Re: What does xml validation with xml schema do? - MSDN Forums::
    The error message is just the xml file cannot be found. I got the same error at. XmlReader reader = XmlReader.Create(xmlFile, settings); as before.
    http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3805423&SiteID=1
    HOME
    record: "Item", // the key in the XML file
    id: "SubfundId"
    }, Fund);

    function setupDataSource() {
    ds = new Ext.data.Store({
    //proxy: new Ext.data.HttpProxy(xmlReader),
    url: "PFOverview.xml",
    reader: xmlReader
    });

    ds.load();
    }


    function getColumnModel() {
    if(!columnModel) {
    columnModel = new Ext.grid.ColumnModel(
    [
    {
    header: 'Subfund',
    width: 50,
    sortable: true,
    dataIndex: 'SubfundId'
    },

    ....

    }
    ]
    );
    }
    return columnModel;
    }

    function buildGrid() {
    grid = new Ext.grid.Grid(
    'gridOverview',
    {
    ds: ds,
    cm: getColumnModel(),
    autoSizeColumns: true
    }
    );


    grid.render();
    }

    return {
    init : function() {
    setupDataSource();
    buildGrid();
    },

    getDataSource: function() {
    return ds;
    }
    }
    }();

    Ext.onReady(GridUI.init, GridUI, true);

    The xml is in a file and looks like:




    TST123
    Fund1
    Test
    USD
    Equity Fund


    TST456
    Fund2
    Test
    USD
    Equity Fund



    Thanks for any help!
    Jan


  • It seems that your code is for Ext 1.1.1...¿?¿?

    In 2.0 doesn't exist Ext.grid.Grid...





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about XMLReader error , Please add it free.
  • tough tub drain
  • the critter under my sink
  • drain clearing chemicals use em or lose em
  • preferred cables
  • pressure washer jetter
  • 1 more drain mechine from the ac guy
  • ancient k 60
  • cable repairs
  • thank you all and letting everyone know
  • bring on your k 60
  • anyone use a rodder
  • try this
  • k 60 vs marco 3 4
  • perfect example
  •  
  • for my money
  • sewer cleaners at work
  • right angle grinder
  • craziest thing you removed from a drain
  • something to contribute and s
  • k 50 drum killer
  • sectional operation questions
  • harbor freight compact electric drain cleaner
  • k 750 a drainer
  • installing cable
  • 8 k 39s which one
  • tile probe
  • small scale grease trap dewatering
  • what size cable for this situation joke post with pic

  • About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 gigj.com All Rights Reserved
    Site made&Support support@gigj.com    E-mail: web@gigj.com