POLALA.COM
welcome to my space
X
Welcome to:polala.com
Search:  
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
 HOME   Nested collection properites in json store
Nested collection properites in json store
Published by: cfz 2009-01-07
  • I have folowing json data:
    entity:{name:'aName', title:'aTitle', cusomFields:[{type:'aType', name:'aName'},...{type:'aType', name:'aName'}]}
    Question: How to write JsonReader correctly, especially property 'fields', for FormPanel?


  • I want to populate this fields to FormPanel. In my app json reader loads data form server to form panel and all fields are showed on form except this dynamic fields. The problem is that I don't know how many elements in collection, only its type. So I dynamicly create TextField for form panel:
    var compTextName = new Ext.form.TextField({
    fieldLabel: 'Custom Field Name',
    ASP.NET 3.5 and Visual Studio 2008::
    NET Framework 3.5, including the new HashSet collection, DateTime offset as a CSS properties pane which clarifies the sometimes-complex hierarchy of
    http://www.livehosting.ro/readnews.aspx?NewsID=27
    HOME
    two dimensional array output,two dimensional array output Tutorial ::
    Array is the collection of same data type. Consider that if have created a variable of type int then, the array of int can only store the int values
    http://www.roseindia.net/tutorialsearch/?t=two dimensional array output
    HOME
    name: 'customFields['+currentIndex+'].name',
    });

    When I post such form all information submits correctly but loading doesn't work, because I don't know how to describe such fields in JsonReder. I tried like this, but it doesn't work:

    var hpReader = new Ext.data.JsonReader({
    fields: ['id','name','type','customFields']
    ..........................


  • What do you want the fields of your store to be?





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market
  • hey wanna buy a subscription
  • microsoft goes from home to work to home again
  • ibm s social network experiment
  • ibm offers a blade just for retailers
  • hyperion s new crystal ball
  • raising the bar in human capital management software
  • subscribe to sun hardware
  • camera phone pictures worth printing
  • compuware takes on big 4 in bsm
  • sunny gupta ceo iconclude
  • hp claims chip advance
  • integration s the rub for new oracle bi
  • sap s big big year
  • online data depositories go beyond mere storage
  •  
  • wireless tool keeps super bowl players in view
  • ibm 10g advance speeds blade system
  • quad core chip leads dell product blitz
  • microsoft has a new deal for small business
  • hp launches print 2 0 campaign
  • ibm pushes quickr in ecm space
  • microsoft looks to extend accessibility push
  • tool cuts vista down to size
  • top ten intranets dare to differ
  • microsoft s after the lotus notes crowd
  • dashboards lure cognos to lava
  • ibm crowd sources with many eyes
  • apple s way to the living room
  • #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 Nested collection properites in json store , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008polala.com All Rights Reserved