[Users] select features by attributs

François Boussuges f.boussuges at gmail.com
Tue May 25 16:19:38 CEST 2010


Hello,

I have think to add a formPanel in m'y application to select features 
points by attributs (exemple search and select the point who's name is 
GGTT23).
I have made a Formapanel with two items ('nom de l'accession', 'nom du 
site') but it's not finish.
this is my script:

var formPanel = new GeoExt.form.FormPanel({
        title: 'Recherche',
        region: 'center',
        collapsible: true,
       
        items: [{
            columnWidth: 0.5,
            layout: 'form',
            items: [{
                xtype: 'textfield',
                fieldLabel: 'Nom de l accession',
                name: 'NOM_ACCESSION'
            },{
                xtype: 'textfield',
                fieldLabel: 'Nom du site',
                name: 'NOM_DU_SITE'
            }]
        }]
    });
   

    formPanel.addButton({
        text: "recherche",
        handler: function() {
            this.search();
        },
        scope: formPanel
    });



More information about the Users mailing list