Search Type: Posts; User: bowa

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    2,474
    I want to send the data from an ext form in UTF to the server.

    Therefore in my code i use:


    Ext.onReady(function(){
    Ext.Ajax.defaultPostHeader = "application/x-www-form-urlencoded;...
  2. Replies
    173
    Views
    89,118
    i tried a lot of different ObjectReader classes that are on these forums. But only the following one really does what i want. Map javascript objects to Records directly.



    /**
    * @class...
  3. I have a FormPanel that contains a few FieldSets.

    now i would like to add some new FieldSet to the FormPanel after it has been rendered. is this possible ?


    formPanel.add(
    new...
  4. Replies
    1
    Views
    972
    I am adding a combobox to a fieldset


    items :[{
    xtype: 'combo',
    fieldLabel: 'Address',
    hiddenName: 'shipment-' + number + '-addr',
    store: addrStore,
    tpl:...
  5. Replies
    4
    Views
    2,920
    ok i found it ... the html was well formed but somewhere outer the div there already were formtags, looks like the FormPanel didnt like that.
  6. Replies
    4
    Views
    2,920
    well it found the div because it started adding the FormPanel ...

    this is the html that is there when the error occured



    <div id="shipment-forms">
    <div class="x-panel" id="ext-comp-1001">...
  7. Replies
    4
    Views
    2,920
    var formPanel = new Ext.FormPanel({
    labelWidth: 75,
    frame: true,
    title: 'Shipments form panel',
    });

    formPanel.add(createShipmentFS(0));
    formPanel.render('shipment-forms');
  8. Replies
    173
    Views
    89,118
    I am a little confused. in ext 1.x i used an ObjectReader together with DWRProxy, now in the threads about DWRProxy in ext2.0 all i see are MapReaders, ArrayReaders and JSONReaders ... while DWR...
  9. Replies
    1
    Views
    2,094
    the text value of for example a 'span' is reachable in mozillabrowsers with el.dom.textContent, with ie as el.dom.text

    is there a handy Ext way of getting the text content of an element without...
  10. my servercontroller outputs a normal form.
    i applied Ext.form.TextField behaviour for syntaxt checking and so on to my existing forms.

    but once i made my form a BasicForm with


    var frm = new...
  11. Replies
    2
    Views
    3,171
    a 'beforefileadded' event would certainly help ... now i am trying to work with the 'fileadded' event, but its not so easy to retreive the filename of the added file, because the original filename is...
  12. I have a form thats been written out in the html of my page, i want to keep it that way so it still works with clients that don't have javascript enabled, but i d like to add some client side...
  13. var tab0 = tabPanel.getTab(0).bodyEl;
    var fsColor = new Ext.form.FieldSet({legend:'color', hideLabels:true});
    fsColor.render(tab0);

    var fsColorEl = fsColor.getEl();

    new Ext.form.Radio({...
  14. this is the code i use to get a form across multiple tabs.


    var frm = new Ext.form.Form({ labelWidth: 75 });

    var frmContainerTabs = frm.container();
    frm.end();

    var frmTabs = new Array();...
  15. Replies
    1
    Views
    1,171
    i managed to get that working with some method overwriting in a subclass of my View.

    see my post in the bug forum.
  16. I don't know if this is really a bug ... its more like an enhancement.

    in View.js this is how the prepareData method is defined:


    /**
    * Function to override to reformat the data that...
  17. Replies
    132
    Views
    75,006
    but in your picture order example they don't get added ?
  18. that doesn't work for me :s

    i was thinking

    if it works with DWR ...


    var pReader = new Ext.data.ObjectReader(
    {id:'name'}, [
    {name:'name',mapping:'name'},
  19. Ext.myData.array1 = [
    ['AL', 'Alabama'],
    ['AK', 'Alaska'],
    ['AZ', 'Arizona'],
    ['AR', 'Arkansas'],
    ['CA', 'California'],
    ['CO', 'Colorado'],
    ...
  20. Replies
    1
    Views
    1,171
    a short question: is there a variable i can use for the index of the node being created in the Template for an Ext.View ?
  21. Replies
    132
    Views
    75,006
    i commented out this part in DDView code, where it treats tpl as a string and no longer as Template as in Ext.View and now i can use (compiled) templates.

    i don't really see why this code is...
  22. Replies
    132
    Views
    75,006
    euhm ... totally confused now ...
  23. Replies
    1
    Views
    992
    ok i combined some different DWRProxy implementations and came to this result, 'args' is an array of extra arguments, it not needed, just pass []



    Ext.data.DWRProxy = function(dwrCall, args){
    ...
  24. Replies
    132
    Views
    75,006
    ok.

    So any idea how i can create the template outside of DDView, while still being able to use injection of the record data ?

    Or any other approach ?
  25. Replies
    1
    Views
    992
    I am succesfully using <a href="http://extjs.com/forum/showthread.php?p=21858">DWRProxy</a> (i dont know why its posted in ext 2.0 forum it works perfectly in 1.x too).

    But my remote method needs...
Results 1 to 25 of 43
Page 1 of 2 1 2