1. you must create different xactions and associate them separately
to your map by using the ID (so you will have several maps). The
Geo Server will filter (trougth a WFS request) the cartographic
features by using the ID and the WebGIS client will display only
the features you are interestes in
2. you can use a new mapfish component in your template.html like that:
regionSelector =
{
name: "regionSelector",
type: "select",
listeners: .....
solution: .......,
path: ........,
action: "regions.xaction",
parameters: [["param1","param1"]],
valueAsId: false,
parameter: .........,
htmlObject: .........,
executeAtStart: false,
tooltip: "Regions",
postChange: function(){
//configure an xaction to retreive your regions WKT geometries
by passing some parameters
regions = pentahoAction(regionSelector.solution,
regionsSelector.path,
"getRegionWkt.xaction",
[["param1", param1],["param2", param2],
.....],
null);
//Here you must write the code to update your map in order to
display the Wkt geometries, e.g. trougth new OpenLayers.Format.WKT()
}
};
Hope this help
Fabio
sylvain tacquet ha scritto:
--
*Ing. Fabio D'Ovidio*
/Location Intelligence Unit Manager/
Mail
f.do...@inovaos.it <mailto:f.do...@inovaos.it>
GMail
fabiod...@gmail.com <mailto:fabiod...@gmail.com>
Skype
dovidio_fa <skype:dovidio_fa?add>
Web
www.inovaos.it <http://www.inovaos.it/>
Blog
www.geobi.org <http://www.geobi.org/>
Inova Spa <http://www.inovaos.it/>
* *
*INOVA S.P.A.*
viale Casiraghi, 359
20099 Sesto S.Giovanni (MI)
via A. Nobel, 281
81031 Aversa (CE)
Tel. (Naples): +39 081 197 57 600
Tel. (Milan): +39 02 241 34 41
Fax. +39 081 020 25 75